@byteluck-fe/model-driven-core-all 2.7.0-alpha.30 → 2.7.0-alpha.31b

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var Ti=(u,hn,Ht)=>new Promise((sy,Si)=>{var L=Et=>{try{oo(Ht.next(Et))}catch(io){Si(io)}},_y=Et=>{try{oo(Ht.throw(Et))}catch(io){Si(io)}},oo=Et=>Et.done?sy(Et.value):Promise.resolve(Et.value).then(L,_y);oo((Ht=Ht.apply(u,hn)).next())});(function(u,hn){typeof exports=="object"&&typeof module!="undefined"?hn(exports):typeof define=="function"&&define.amd?define(["exports"],hn):(u=typeof globalThis!="undefined"?globalThis:u||self,hn(u.modelDrivenCoreAll={}))})(this,function(u){"use strict";function hn(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}var sy=function e(){hn(this,e),Ht(this,"department_en_name",void 0),Ht(this,"department_id",void 0),Ht(this,"department_name",void 0)};function Si(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 _y=function e(){Si(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)},oo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Et="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",io="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",AA="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",kA="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",DA="{caption}\u5FC5\u586B",LA="\u8BF7\u8F93\u5165\u6807\u9898",jA="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",FA="\u8BF7\u8F93\u5165\u884C\u6807\u9898",CA="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",xA="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",VA="\u8BF7\u7ED1\u5B9A\u8868\u5355",zA="\u8BF7\u7ED1\u5B9A\u5217\u8868",GA="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",YA="\u8BF7\u8F93\u5165\u663E\u793A\u503C",HA="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",qA="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",UA="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",WA="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",KA="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",XA="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",JA="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",QA="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ZA="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ek="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",tk="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",nk="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",rk="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ok="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ik="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",uk="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",ck="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",fk="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",lk="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",ak="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",sk="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",_k="\u8BF7\u7ED1\u5B9A\u670D\u52A1",yk="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",pk="\u8BF7\u9009\u62E9\u7701",dk="\u8BF7\u9009\u62E9\u5E02",vk="\u8BF7\u9009\u62E9\u533A",hk="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",bk="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",gk="\u8BF7\u8F93\u5165\u5217\u5BBD",mk="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ok="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",wk="\u8BF7\u9009\u62E9\u63A7\u4EF6",Pk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",$k="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Rk="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Tk="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Sk="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ek="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ik="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Bk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Nk="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Mk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ak="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",kk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Dk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Lk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",jk="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Fk="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ck="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",xk="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Vk="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",zk="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Gk="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Yk="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Hk="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",qk="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Uk="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Wk="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Kk={isNotNumber:oo,isNotString:Et,isNotObject:io,isNotArray:AA,isNotBoolean:kA,runtimeRequired:DA,pleaseEnterCaption:LA,pleaseEnterCaptionTip:jA,pleaseEnterRowCaption:FA,pleaseEnterPlaceholder:CA,pleaseEnterFieldCode:xA,pleaseEnterForm:VA,pleaseEnterList:zA,pleaseEnterProcess:GA,pleaseEnterLabel:YA,pleaseEnterValue:HA,bizKeyNotBindFiled:qA,pleaseSelectOneField:UA,pleaseEnterNumberRange:WA,pleaseEnterAValueGreaterThanMin:KA,pleaseEnterAValueLessThanMax:XA,numberRangeSetError:JA,stringRangeError:QA,attachmentMaxSize:ZA,pleaseEnterTotalScoreSetting:ek,theTotalScoreMustNotBeLessThan1:tk,scoreDefaultValueRange:nk,attachmentLimitError:rk,PleaseReselectTheOptionalQuantity:ok,TheMaximumLengthIsGreaterThanTheMinimumLength:ik,TheMinimumLengthIsGreaterThanTheMaximumLength:uk,PleaseSelectTheCorrectOptionSettings:ck,optionIdIsRepeat:fk,optionIsRequired:lk,pleaseEnterDataCode:ak,pleaseEnterValueFieldCode:sk,pleaseEnterSvcCode:_k,pleaseBindAtLeastOneDisplayValue:yk,pleaseSelectProvince:pk,pleaseSelectCity:dk,pleaseSelectDistrict:vk,limitRowsCannotBeLessThan0:hk,TheNumberOfRowsCannotBeLessThanMinRows:bk,pleaseEnterColumnWidth:gk,pleaseSetTheLogicalRelationshipOfAllRuleConditions:mk,pleaseCompleteAllRulesAndConditions:Ok,pleaseSelectControl:wk,pleaseSelectAtLeastOneColumn:Pk,pleaseSelectFillBackMode:$k,pleaseSelectDashboard:Rk,rootNodeIsRequired:Tk,theViewNameCannotBeEmpty:Sk,pleaseSelectOcrType:Ek,pleaseSelectAtLeastOneFieldToFillIn:Ik,pleaseChooseAtLeastOne:Bk,pleaseEnterButtonContent:Nk,pleaseEnterDataCodeInDataSetting:Mk,pleaseEnterValueFieldCodeInDataSetting:Ak,pleaseEnterSvcCodeInDataSetting:kk,pleaseBindAtLeastOneDisplayValueInDataSetting:Dk,rootNodeIsRequiredInDataSetting:Lk,pleaseEnterMaxHeight:jk,pleaseEnter:Fk,pleaseEnterWatermark:Ck,pleaseEnterFileName:xk,pleaseUploadAtLeastOnePrintTemplate:Vk,pleaseAssignBusiness:zk,pleaseAssignExternal:Gk,pleaseEnterAliasCode:Yk,pleaseSelectDataCode:Hk,pleaseSelectSvcCode:qk,pleaseSelectJoinFieldCode:Uk,pleaseSelectMainFieldCode:Wk},Xk="Please enter a number",Jk="Please enter a string",Qk="Please enter an object",Zk="Please enter an array",e2="Please enter a boolean",t2="{caption} Required",n2="Please enter the title",r2="Please enter the bubble prompt",o2="Please enter the row title",i2="Please enter the prompt text",u2="Please bind data items",c2="Please bind the form",f2="Please bind the list",l2="Please bind the process",a2="Please enter the displayed value",s2="Please enter the stored value",_2="The document number is not bound to the data item",y2="Please select at least one display field",p2="Please enter a value greater than or equal to {min} and less than or equal to {max}",d2="Please enter a value greater than or equal to {min}",v2="Please enter a value less than or equal to {max}",h2="The value range is set incorrectly",b2="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",g2="The attachment size must be between 0MB and 1000MB",m2="Please fill in the total score setting",O2="The total score cannot be less than 1",w2="The default value must be between {min} and {max}",P2="The number of attachments uploaded must be between {min} and {max}",$2="Please re-select the optional quantity",R2="The maximum length of the control must be greater than the minimum length",T2="The minimum length of the control must be less than the maximum length",S2="Please select the correct option setting",E2="Option ID cannot be repeated",I2="Please enter at least one option",B2="Please bind the data source",N2="Please bind the stored value",M2="Please bind the service",A2="At least one display value must be bound",k2="Please select a province",D2="Please select a city",L2="Please select a district",j2="The minimum number of lines to fill in cannot be less than 0",F2="The number of rows cannot be less than {min} rows",C2="Please enter the column width",x2="Please set the logical relationship of all rule conditions",V2="Please complete all rules and conditions",z2="please select control",G2="Please select the dashboard",Y2="View name cannot be empty",H2="Please select recognition type",q2="Please select at least one field to fill in",U2="Please select at least one",W2="Please enter the button title",K2="Please bind the business model in the data settings",X2="Please bind storage values in data settings",J2="Please bind the service in the data settings",Q2="Please bind at least one display value in the data settings",Z2="Please select the root node in the data settings",eD="Please enter the maximum height",tD="The input content cannot be empty",nD="Watermark cannot be empty",rD="File name cannot be empty",oD="Please upload at least one printing template!\uFF01",iD="Please select a specific business department",uD="Please select a specified external organization",cD="Please enter a sub table alias",fD="Please select the associated table to set the business model",lD="Please select the association table to set the binding service",aD="Select associated sub table fields",sD="Please select the associated main table field",_D={isNotNumber:Xk,isNotString:Jk,isNotObject:Qk,isNotArray:Zk,isNotBoolean:e2,runtimeRequired:t2,pleaseEnterCaption:n2,pleaseEnterCaptionTip:r2,pleaseEnterRowCaption:o2,pleaseEnterPlaceholder:i2,pleaseEnterFieldCode:u2,pleaseEnterForm:c2,pleaseEnterList:f2,pleaseEnterProcess:l2,pleaseEnterLabel:a2,pleaseEnterValue:s2,bizKeyNotBindFiled:_2,pleaseSelectOneField:y2,pleaseEnterNumberRange:p2,pleaseEnterAValueGreaterThanMin:d2,pleaseEnterAValueLessThanMax:v2,numberRangeSetError:h2,stringRangeError:b2,attachmentMaxSize:g2,pleaseEnterTotalScoreSetting:m2,theTotalScoreMustNotBeLessThan1:O2,scoreDefaultValueRange:w2,attachmentLimitError:P2,PleaseReselectTheOptionalQuantity:$2,TheMaximumLengthIsGreaterThanTheMinimumLength:R2,TheMinimumLengthIsGreaterThanTheMaximumLength:T2,PleaseSelectTheCorrectOptionSettings:S2,optionIdIsRepeat:E2,optionIsRequired:I2,pleaseEnterDataCode:B2,pleaseEnterValueFieldCode:N2,pleaseEnterSvcCode:M2,pleaseBindAtLeastOneDisplayValue:A2,pleaseSelectProvince:k2,pleaseSelectCity:D2,pleaseSelectDistrict:L2,limitRowsCannotBeLessThan0:j2,TheNumberOfRowsCannotBeLessThanMinRows:F2,pleaseEnterColumnWidth:C2,pleaseSetTheLogicalRelationshipOfAllRuleConditions:x2,pleaseCompleteAllRulesAndConditions:V2,pleaseSelectControl:z2,pleaseSelectDashboard:G2,theViewNameCannotBeEmpty:Y2,pleaseSelectOcrType:H2,pleaseSelectAtLeastOneFieldToFillIn:q2,pleaseChooseAtLeastOne:U2,pleaseEnterButtonContent:W2,pleaseEnterDataCodeInDataSetting:K2,pleaseEnterValueFieldCodeInDataSetting:X2,pleaseEnterSvcCodeInDataSetting:J2,pleaseBindAtLeastOneDisplayValueInDataSetting:Q2,rootNodeIsRequiredInDataSetting:Z2,pleaseEnterMaxHeight:eD,pleaseEnter:tD,pleaseEnterWatermark:nD,pleaseEnterFileName:rD,pleaseUploadAtLeastOnePrintTemplate:oD,pleaseAssignBusiness:iD,pleaseAssignExternal:uD,pleaseEnterAliasCode:cD,pleaseSelectDataCode:fD,pleaseSelectSvcCode:lD,pleaseSelectJoinFieldCode:aD,pleaseSelectMainFieldCode:sD},yD="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pD="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",dD="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vD="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hD="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bD="{caption}\u5FC5\u9808",gD="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mD="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",OD="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",wD="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",PD="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$D="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",RD="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",TD="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",SD="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ED="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ID="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",BD="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ND="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",MD="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",AD="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kD="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",DD="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",LD="\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",FD="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",CD="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",xD="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",VD="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",zD="\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",GD="\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",YD="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",HD="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",qD="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",UD="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",WD="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",KD="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",XD="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",JD="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",QD="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ZD="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",eL="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",tL="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",nL="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rL="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",oL="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",iL="please select control",uL="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",cL="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",fL="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",lL="\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",aL="\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",_L="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",yL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",pL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",dL="\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",vL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",hL="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bL="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",gL="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",mL="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",OL="\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",wL="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",PL="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$L="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",RL="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",TL="\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",SL="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",EL="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",IL={isNotNumber:yD,isNotString:pD,isNotObject:dD,isNotArray:vD,isNotBoolean:hD,runtimeRequired:bD,pleaseEnterCaption:gD,pleaseEnterCaptionTip:mD,pleaseEnterRowCaption:OD,pleaseEnterPlaceholder:wD,pleaseEnterFieldCode:PD,pleaseEnterForm:$D,pleaseEnterList:RD,pleaseEnterProcess:TD,pleaseEnterLabel:SD,pleaseEnterValue:ED,bizKeyNotBindFiled:ID,pleaseSelectOneField:BD,pleaseEnterNumberRange:ND,pleaseEnterAValueGreaterThanMin:MD,pleaseEnterAValueLessThanMax:AD,numberRangeSetError:kD,stringRangeError:DD,attachmentMaxSize:LD,pleaseEnterTotalScoreSetting:jD,theTotalScoreMustNotBeLessThan1:FD,scoreDefaultValueRange:CD,attachmentLimitError:xD,PleaseReselectTheOptionalQuantity:VD,TheMaximumLengthIsGreaterThanTheMinimumLength:zD,TheMinimumLengthIsGreaterThanTheMaximumLength:GD,PleaseSelectTheCorrectOptionSettings:YD,optionIdIsRepeat:HD,optionIsRequired:qD,pleaseEnterDataCode:UD,pleaseEnterValueFieldCode:WD,pleaseEnterSvcCode:KD,pleaseBindAtLeastOneDisplayValue:XD,pleaseSelectProvince:JD,pleaseSelectCity:QD,pleaseSelectDistrict:ZD,limitRowsCannotBeLessThan0:eL,TheNumberOfRowsCannotBeLessThanMinRows:tL,pleaseEnterColumnWidth:nL,pleaseSetTheLogicalRelationshipOfAllRuleConditions:rL,pleaseCompleteAllRulesAndConditions:oL,pleaseSelectControl:iL,pleaseSelectDashboard:uL,theViewNameCannotBeEmpty:cL,pleaseSelectOcrType:fL,pleaseSelectAtLeastOneFieldToFillIn:lL,pleaseChooseAtLeastOne:aL,pleaseEnterButtonContent:sL,pleaseEnterDataCodeInDataSetting:_L,pleaseEnterValueFieldCodeInDataSetting:yL,pleaseEnterSvcCodeInDataSetting:pL,pleaseBindAtLeastOneDisplayValueInDataSetting:dL,rootNodeIsRequiredInDataSetting:vL,pleaseEnterMaxHeight:hL,pleaseEnter:bL,pleaseEnterWatermark:gL,pleaseEnterFileName:mL,pleaseUploadAtLeastOnePrintTemplate:OL,pleaseAssignBusiness:wL,pleaseAssignExternal:PL,pleaseEnterAliasCode:$L,pleaseSelectDataCode:RL,pleaseSelectSvcCode:TL,pleaseSelectJoinFieldCode:SL,pleaseSelectMainFieldCode:EL},BL={zhCN:Kk,enUS:_D,jaJP:IL};function NL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function or(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}u.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"}(u.CALC_TOKEN_TYPE||(u.CALC_TOKEN_TYPE={})),u.CALC_AGGREGATE_TYPE=void 0,function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"}(u.CALC_AGGREGATE_TYPE||(u.CALC_AGGREGATE_TYPE={}));var ML=function e(t){NL(this,e),or(this,"name",void 0),or(this,"id",void 0),or(this,"type",void 0),or(this,"subTableId",void 0),or(this,"subTableName",void 0),or(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:u.CALC_TOKEN_TYPE.Number;var i;this.subTableId=(i=t==null?void 0:t.subTableId)!==null&&i!==void 0?i:void 0;var c;this.subTableName=(c=t==null?void 0:t.subTableId)!==null&&c!==void 0?c:void 0;var f;this.aggregateType=(f=t==null?void 0:t.aggregateType)!==null&&f!==void 0?f:void 0},hw="zh-CN",AL=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}u.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"}(u.CONTROL_BASE_TYPE||(u.CONTROL_BASE_TYPE={})),u.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.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"}(u.CONTROL_TYPE||(u.CONTROL_TYPE={})),u.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"}(u.FieldTypes||(u.FieldTypes={}));var $e,kL=($e={},Ce($e,u.FieldTypes.ARRAY,u.CONTROL_TYPE.ARRAY_COLUMN),Ce($e,u.FieldTypes.AUTO_NUMBER,u.CONTROL_TYPE.AUTO_NUMBER_COLUMN),Ce($e,u.FieldTypes.DECIMAL,u.CONTROL_TYPE.DECIMAL_COLUMN),Ce($e,u.FieldTypes.DEPARTMENTS,u.CONTROL_TYPE.DEPARTMENT_COLUMN),Ce($e,u.FieldTypes.FILE,u.CONTROL_TYPE.FILE_COLUMN),Ce($e,u.FieldTypes.IMAGE,u.CONTROL_TYPE.IMAGE_COLUMN),Ce($e,u.FieldTypes.ADDRESS,u.CONTROL_TYPE.LOCATION_COLUMN),Ce($e,u.FieldTypes.EMPLOYEES,u.CONTROL_TYPE.EMPLOYEE_COLUMN),Ce($e,u.FieldTypes.TEXT,u.CONTROL_TYPE.TEXT_COLUMN),Ce($e,u.FieldTypes.TIMESCOPE,u.CONTROL_TYPE.TIMESCOPE_COLUMN),Ce($e,u.FieldTypes.TIMESTAMP,u.CONTROL_TYPE.TIMESTAMP_COLUMN),Ce($e,u.FieldTypes.VARCHAR,u.CONTROL_TYPE.VARCHAR_COLUMN),Ce($e,u.FieldTypes.RELATION,u.CONTROL_TYPE.VARCHAR_COLUMN),$e);u.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"}(u.DateType||(u.DateType={}));var bw="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",DL=bw+"0123456789";function rt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?bw:DL,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function yy(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 LL(e){if(Array.isArray(e))return yy(e)}function jL(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 Ei(e,t,r){return ww()?Ei=Reflect.construct:Ei=function(o,i,c){var f=[null];f.push.apply(f,i);var l=Function.bind.apply(o,f),a=new l;return c&&co(a,c.prototype),a},Ei.apply(null,arguments)}function uo(e){return uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uo(e)}function mw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&co(e,t)}function FL(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function CL(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xL(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function VL(e,t){return t&&(zL(t)==="object"||typeof t=="function")?t:jL(e)}function co(e,t){return co=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},co(e,t)}function Ow(e){return LL(e)||CL(e)||GL(e)||xL()}function zL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GL(e,t){if(!!e){if(typeof e=="string")return yy(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 yy(e,t)}}function py(e){var t=typeof Map=="function"?new Map:void 0;return py=function(n){if(n===null||!FL(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 Ei(n,arguments,uo(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),co(o,n)},py(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 Pw(e){var t=ww();return function(){var n=uo(e),o;if(t){var i=uo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VL(this,o)}}var dy=console;function bn(){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=dy).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Ow(o)))}function fo(){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=dy).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Ow(o)))}function YL(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var vy=function(e){mw(r,e);var t=Pw(r);function r(n){gw(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?YL(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(py(Error)),HL=function(e){mw(r,e);var t=Pw(r);function r(n){gw(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(vy);function qt(e){throw new vy(e)}function hy(e){throw new HL(e)}function $w(e){dy.error(new vy(e))}function Ii(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":Ii(r==null?void 0:r.children,t);break;case"wrap":Ii(r==null?void 0:r.children,t);break;case"search":Ii(r==null?void 0:r.children,t);break;case"form":t(r)}})}var qL=Object.prototype.toString;function Rw(e,t){return qL.call(e)==="[object "+t+"]"}function UL(e){return Rw(e,"String")}function WL(e){return Rw(e,"Promise")}var KL=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();WL(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,c,f){if(o!==void 0){var l=o[i];if(!(c===f.length-1&&!UL(l)))return l}},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 XL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JL(e,t,r){return t&&Tw(e.prototype,t),r&&Tw(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}var d=function(){function e(){XL(this,e)}return JL(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]:hw;return new KL({locale:r,messages:BL})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();QL(d,"$i18n",d.resetI18n());function Sw(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,c){return"."+c}).split("."),o=!1;return n.reduce(function(i,c,f,l){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,c)){bn("Can not set ".concat(t,"'s ").concat(c," property in current %o, Because there is no ").concat(c," property on the %o"),i,i);return}return f===l.length-1&&!Object.is(a[c],r)&&(a[c]=r,o=!0),a[c]}},e),o}var ZL=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},by={exports:{}};(function(e){(function(t){var r=function(h,O,P){if(!a(O)||_(O)||y(O)||b(O)||l(O))return O;var w,T=0,$=0;if(s(O))for(w=[],$=O.length;T<$;T++)w.push(r(h,O[T],P));else{w={};for(var S in O)Object.prototype.hasOwnProperty.call(O,S)&&(w[h(S,P)]=r(h,O[S],P))}return w},n=function(h,O){O=O||{};var P=O.separator||"_",w=O.split||/(?=[A-Z])/;return h.split(w).join(P)},o=function(h){return g(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function(O,P){return P?P.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},i=function(h){var O=o(h);return O.substr(0,1).toUpperCase()+O.substr(1)},c=function(h,O){return n(h,O).toLowerCase()},f=Object.prototype.toString,l=function(h){return typeof h=="function"},a=function(h){return h===Object(h)},s=function(h){return f.call(h)=="[object Array]"},_=function(h){return f.call(h)=="[object Date]"},y=function(h){return f.call(h)=="[object RegExp]"},b=function(h){return f.call(h)=="[object Boolean]"},g=function(h){return h=h-0,h===h},p=function(h,O){var P=O&&"process"in O?O.process:O;return typeof P!="function"?h:function(w,T){return P(w,h,T)}},m={camelize:o,decamelize:c,pascalize:i,depascalize:c,camelizeKeys:function(h,O){return r(p(o,O),h)},decamelizeKeys:function(h,O){return r(p(c,O),h,O)},pascalizeKeys:function(h,O){return r(p(i,O),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=m:t.humps=m})(ZL)})(by);var Ew={};Object.defineProperty(Ew,"__esModule",{value:!0});function gy(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:gy(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:gy(n)}return t}}var ej=Ew.default=gy;function It(e){if(e!==void 0)return typeof e=="object"?ej(e):e}function he(e){return my(e)&&"zh"in e}function my(e){return Object.prototype.toString.call(e)==="[object Object]"}function tj(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function gn(e){return Array.isArray(e)}function Iw(e){return typeof e=="string"}function Oy(e){return typeof e=="number"}function nj(e){return typeof e=="function"}function rj(e){return gn(e)&&e.every(function(t){return Iw(t)})}function oj(e){return gn(e)&&e.every(function(t){return Oy(t)})}function ij(e){return gn(e)&&e.every(function(t){return Oy(t)||t===""})}function uj(e){return/^\[.*?]$/.test(e)}function cj(e){return/^{.*?}$/.test(e)}function mn(e){return isNaN(parseFloat(e))?"":Number(e)}function Bw(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function fj(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 c=this;r||(r=setTimeout(function(){e.apply(c,o),clearTimeout(r),r=null},t))}}function lj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function be(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=be(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=be(n.footers,t)),t(o)})),r}function Nw(e){return by.exports.camelizeKeys(e)}function On(e){return by.exports.decamelizeKeys(e)}function aj(e){return Object.values(u.CONTROL_TYPE).includes(e)}function wy(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 sj(e){if(Array.isArray(e))return wy(e)}function Mw(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function _j(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){Mw(i,n,o,c,f,"next",l)}function f(l){Mw(i,n,o,c,f,"throw",l)}c(void 0)})}}function yj(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 pj(e,t,r){return t&&Aw(e.prototype,t),r&&Aw(e,r),e}function kw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vj(){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 Py(e){return sj(e)||dj(e)||hj(e)||vj()}function hj(e,t){if(!!e){if(typeof e=="string")return wy(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 wy(e,t)}}function bj(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)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 c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}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 Dw=function(){function e(){yj(this,e),kw(this,"_events",new Map),kw(this,"debug",!1)}return pj(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 c=this;return _j(function(){var f,l,a,s,_,y,b,g,p,m,h,O;return bj(this,function(P){switch(P.label){case 0:if(f=c._events.get(r),l=[],!f)return[3,10];a=f.slice(),s=!0,_=!1,y=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(p=g.value,!f.includes(p))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),c.debug&&fo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(p.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+p.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Py(o))),[4,p.apply(null,Py(o))];case 4:return m=P.sent(),c.debug&&fo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(p.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+p.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(Py(o),[m])),l.push(m),m===!1?[3,7]:[3,6];case 5:return h=P.sent(),$w(String(h)+":"+String(h.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return O=P.sent(),_=!0,y=O,[3,10];case 9:try{!s&&b.return!=null&&b.return()}finally{if(_)throw y}return[7];case 10:return[2,l]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function gj(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 mj(e,t,r){return t&&Lw(e.prototype,t),r&&Lw(e,r),e}function Oj(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wj=[{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"}],jw=function(){function e(){gj(this,e)}return mj(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}();Oj(jw,"events",wj);function Pj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $j(e,t,r){return t&&Fw(e.prototype,t),r&&Fw(e,r),e}function wn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Cw=[],Bi=function(){function e(t){Pj(this,e),wn(this,"registeredControlTypes",new Set),wn(this,"controlConfigMap",new Map),wn(this,"_controls",[]),wn(this,"_type",void 0),this._type=t,this._initControls(t)}return $j(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&&(bn("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===u.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(r){return r.controlType===u.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===u.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 c=this.getControlFormType(r.type);if(c){var f=r;if(typeof n=="function"){var l=n(f);l&&(f=l)}var a=new c(f);return a}else qt("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{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])})}}],[{key:"register",value:function(r){var n=r.Designer,o=r.Runtime;(!n||!o||!n.__is_control__||!o.__is_control__)&&qt("".concat(r," is can't register as a Control"));var i=this.staticControls.findIndex(function(c){return c.Designer.controlType===n.controlType});return i>-1&&(bn("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(i,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(r),this}}]),e}();wn(Bi,"staticControls",Cw),wn(Bi,"staticRegisteredTypes",new Set(Cw.map(function(e){return e.Designer.controlType}))),wn(Bi,"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 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 Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(e)}function He(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$y(e,t)}function Rj(e,t){return t&&(Tj(t)==="object"||typeof t=="function")?t:j(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(e,t)}function Tj(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 qe(e){var t=Sj();return function(){var n=Ni(e),o;if(t){var i=Ni(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rj(this,o)}}var Ue=function e(t){R(this,e),v(this,"dataCode",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(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},Ry=function e(t){R(this,e),v(this,"minWidth",void 0),v(this,"maxWidth",void 0),v(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},Mi=function(e){He(r,e);var t=qe(r);function r(n){R(this,r);var o;o=t.call(this,n),v(j(o),"width",void 0),v(j(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var c;return o.widthType=(c=n==null?void 0:n.widthType)!==null&&c!==void 0?c:"auto",o}return r}(Ry),xw=function e(t){R(this,e),v(this,"pc",void 0),v(this,"mobile",void 0),this.pc=new Mi(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Mi(t==null?void 0:t.mobile):new Mi({width:130,minWidth:180})},Vw=function e(t){R(this,e),v(this,"type",void 0),v(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:[]},Pn=function e(t){R(this,e),v(this,"dataCode",void 0),v(this,"formKey",void 0),v(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){He(r,e);var t=qe(r);function r(n){R(this,r);var o;o=t.call(this,n),v(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}(Pn),Gw=function e(t){R(this,e),v(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},Ai=function e(t){R(this,e);var r;v(this,"appId",void 0),v(this,"formKey",void 0),v(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(c){return new Gw(c)}))!==null&&i!==void 0?i:[]},Yw=function e(t){R(this,e),v(this,"fieldName",void 0),v(this,"fieldCode",void 0),v(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:u.FieldTypes.VARCHAR},Hw=function(e){He(r,e);var t=qe(r);function r(n){R(this,r);var o;o=t.call(this,n),v(j(o),"title",void 0),v(j(o),"svcCode",void 0),v(j(o),"isOpenFilter",void 0),v(j(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var c;o.svcCode=(c=n==null?void 0:n.svcCode)!==null&&c!==void 0?c:"";var f;o.isOpenFilter=(f=n==null?void 0:n.isOpenFilter)!==null&&f!==void 0?f:!1;var l;return o.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],o}return r}(Pn),qw=function e(t){R(this,e);var r,n;v(this,"type","sublist-page"),v(this,"formBind",void 0),v(this,"displayFields",void 0),v(this,"sublists",void 0),this.formBind=new Pn(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(c){return new Yw(c)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(c){return new Hw(c)}))!==null&&i!==void 0?i:[]},Uw=function e(t){R(this,e),v(this,"type",void 0),v(this,"value",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},ir=function e(t){R(this,e),v(this,"type",void 0),v(this,"value",void 0),v(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:[]},Ty=function e(t){var r=this;R(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","conditions"),v(this,"level",void 0),v(this,"value",void 0),v(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:rt();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 c;this.value=(c=t==null?void 0:t.value)!==null&&c!==void 0?c:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(f){if(f.children!==void 0){var l,a=new e(f);(l=r.children)===null||l===void 0||l.push(a)}else{var s,_=new ki(f);(s=r.children)===null||s===void 0||s.push(_)}}))},ki=function e(t){R(this,e),v(this,"id",void 0),v(this,"ruleId",void 0),v(this,"type","condition"),v(this,"symbol",void 0),v(this,"checked",void 0),v(this,"describe",void 0),v(this,"leftVariableBo",void 0),v(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:rt();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 c;this.describe=(c=t==null?void 0:t.describe)!==null&&c!==void 0?c:"",this.leftVariableBo=new Uw(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new ir(t==null?void 0:t.rightVariableBo)},Ww=function e(t){R(this,e),v(this,"aliasCode",void 0),v(this,"datasourceBind",void 0),v(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),v(this,"controlId",void 0),v(this,"fieldCode",void 0),v(this,"fieldType",void 0),v(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:""},Di=function e(t){R(this,e),v(this,"type",void 0),v(this,"value",void 0),v(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},Sy=function e(t){R(this,e),v(this,"columnName",void 0),v(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},Kw=function e(t){R(this,e),v(this,"code",void 0),v(this,"value",void 0),v(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:u.FieldTypes.ANY},Ej=function e(t){R(this,e);var r,n;v(this,"id",void 0),v(this,"limit",void 0),v(this,"orders",void 0),v(this,"formKey",void 0),v(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 c;this.formKey=(c=t.formKey)!==null&&c!==void 0?c:"";var f;this.orders=(f=(r=t.orders)===null||r===void 0?void 0:r.map(function(a){return new Sy(a)}))!==null&&f!==void 0?f:[];var l;this.dataSet=(l=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(a){return new Kw(a)}))!==null&&l!==void 0?l:[]};function Ey(e){var t,r,n,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(f){return f.children!==void 0?new Ty(f):new ki(f)}))!==null&&o!==void 0?o:[];var i;this.viewFilters=(i=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(f){return f.children!==void 0?new Ty(f):new ki(f)}))!==null&&i!==void 0?i:[];var c;this.orders=(c=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(f){return new Sy(f)}))!==null&&c!==void 0?c:[]}var re=function e(t){var r=this;R(this,e),v(this,"dataCode",void 0),v(this,"valueFieldCode",void 0),v(this,"displayBoList",void 0),v(this,"keywordMapping",void 0),v(this,"svcCode",void 0),v(this,"appId",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"isOpenViewFilters",void 0),v(this,"orders",void 0),v(this,"showOrder",void 0);var 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 c;this.isOpenViewFilters=(c=t==null?void 0:t.isOpenViewFilters)!==null&&c!==void 0?c:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(s){var _;(_=r.displayBoList)===null||_===void 0||_.push(new Di(s))}));var f;this.keywordMapping=(f=t==null?void 0:t.keywordMapping)!==null&&f!==void 0?f:"";var l;this.showOrder=(l=t==null?void 0:t.showOrder)!==null&&l!==void 0?l:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",Ey.call(this,t)},Li=function e(t){R(this,e),v(this,"dataCode",void 0),v(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),v(this,"code",void 0),v(this,"color",void 0),v(this,"command",void 0),v(this,"confirmMessage",void 0),v(this,"defaultState",void 0),v(this,"formKey",void 0),v(this,"formType",void 0),v(this,"icon",void 0),v(this,"needConfirm",void 0),v(this,"openType",void 0),v(this,"priorityProcess",void 0);var 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 c;this.defaultState=(c=t==null?void 0:t.defaultState)!==null&&c!==void 0?c:"default";var f;this.formKey=(f=t==null?void 0:t.formKey)!==null&&f!==void 0?f:void 0,this.formType=t==null?void 0:t.formType;var l;this.icon=(l=t==null?void 0:t.icon)!==null&&l!==void 0?l:"iconliulan1";var a;this.needConfirm=(a=t==null?void 0:t.needConfirm)!==null&&a!==void 0?a:!1;var 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},Iy=function e(t){R(this,e);var r;v(this,"name",void 0),v(this,"key",void 0),v(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(c){return new Di(c)}))!==null&&i!==void 0?i:[]},lo=function(e){He(r,e);var t=qe(r);function r(n){R(this,r);var o,i;o=t.call(this,n),v(j(o),"attributes",void 0);var c;return o.attributes=(c=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(f){return new Iy(f)}))!==null&&c!==void 0?c:[],o}return r}(re),Xw=function(e){He(r,e);var t=qe(r);function r(n){R(this,r);var o,i;o=t.call(this,n),v(j(o),"attributes",void 0),v(j(o),"formCode",void 0);var c;o.attributes=(c=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(l){return new Iy(l)}))!==null&&c!==void 0?c:[];var f;return o.formCode=(f=n==null?void 0:n.formCode)!==null&&f!==void 0?f:"",o}return r}(re),By=function(e){He(r,e);var t=qe(r);function r(n){R(this,r);var o;o=t.call(this,n),v(j(o),"rootNode",void 0),v(j(o),"filterCode",void 0),o.rootNode=new ir(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}(lo),Jw=function e(t){R(this,e);var r;v(this,"dataCode",void 0),v(this,"appId",void 0),v(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(c){return new Re(c)}))!==null&&i!==void 0?i:[]},Ny=function(e){He(r,e);var t=qe(r);function r(n){R(this,r);var o;return o=t.call(this,n),v(j(o),"filters",void 0),v(j(o),"viewFilters",void 0),v(j(o),"orders",void 0),Ey.call(j(o),n),o}return r}(Jw),My=function(e){He(r,e);var t=qe(r);function r(n){R(this,r);var o;o=t.call(this,n),v(j(o),"mode",void 0),v(j(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var c;return o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1,o}return r}(Jw),Ij=function e(t){R(this,e),v(this,"zh",void 0),v(this,"en",void 0),v(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:""},Ay=function e(t){R(this,e),v(this,"stencilName",void 0),v(this,"expression",void 0),v(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:""},ky=function e(t){R(this,e),v(this,"id",void 0),v(this,"label",void 0),v(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:rt(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},Qw=function(e){He(r,e);var t=qe(r);function r(n){R(this,r);var o;o=t.call(this,n),v(j(o),"image",void 0),v(j(o),"type",void 0);var i;o.image=(i=n==null?void 0:n.image)!==null&&i!==void 0?i:"";var c;return o.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:"src",o}return r}(ky);function dt(e){var t;return(t=e==null?void 0:e.map(function(r){return new ky(r)}))!==null&&t!==void 0?t:[]}function Bj(e){var t;return(t=e==null?void 0:e.map(function(r){return new Qw(r)}))!==null&&t!==void 0?t:[]}var ji=function e(){R(this,e)},Zw=function(e){He(r,e);var t=qe(r);function r(n){R(this,r);var o;return o=t.call(this),v(j(o),"amount",void 0),v(j(o),"currency",void 0),o.amount=new Ue(n==null?void 0:n.amount),o.currency=new Ue(n==null?void 0:n.currency),o}return r}(ji),eP=function e(t){R(this,e),v(this,"amount",void 0),v(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:u.AMOUNT_TYPE.CNY},tP=function(e){He(r,e);var t=qe(r);function r(n){R(this,r);var o;return o=t.call(this),v(j(o),"min",void 0),v(j(o),"max",void 0),o.min=new Ue(n==null?void 0:n.min),o.max=new Ue(n==null?void 0:n.max),o}return r}(ji),nP=function e(t){R(this,e),v(this,"min",void 0),v(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:""},rP=function e(t){R(this,e),v(this,"city",void 0),v(this,"cityDisplay",void 0),v(this,"district",void 0),v(this,"districtDisplay",void 0),v(this,"province",void 0),v(this,"provinceDisplay",void 0);var 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 c;this.province=(c=t==null?void 0:t.province)!==null&&c!==void 0?c:"";var f;this.provinceDisplay=(f=t==null?void 0:t.provinceDisplay)!==null&&f!==void 0?f:""},oP=function(e){He(r,e);var t=qe(r);function r(n){R(this,r);var o;return o=t.call(this),v(j(o),"result",void 0),v(j(o),"unit",void 0),o.result=new Ue(n==null?void 0:n.result),o.unit=new Ue(n==null?void 0:n.unit),o}return r}(ji),iP=function e(t){R(this,e),v(this,"result",void 0),v(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:""};u.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"}(u.AMOUNT_TYPE||(u.AMOUNT_TYPE={})),u.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"}(u.COMMON_SETTING_TYPE||(u.COMMON_SETTING_TYPE={})),u.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"}(u.PAGE_STATUS||(u.PAGE_STATUS={}));var Nt=function e(t){R(this,e),v(this,"isShow",void 0),v(this,"priorityProcess",void 0),v(this,"formKey",void 0),v(this,"content",void 0),v(this,"openType",void 0),v(this,"type",void 0);var 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 c;this.type=(c=t==null?void 0:t.type)!==null&&c!==void 0?c:"";var f;this.priorityProcess=(f=t==null?void 0:t.priorityProcess)!==null&&f!==void 0?f:!1},uP=function e(t){R(this,e);var r;v(this,"id",void 0),v(this,"title",void 0),v(this,"filters",void 0),v(this,"viewFilters",void 0),v(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:rt(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(c){return new Gw(c)}))!==null&&i!==void 0?i:[],Ey.call(this,t)},Nj=function e(t){R(this,e),v(this,"key",void 0),v(this,"caption",void 0);var r;this.key=(r=t.key)!==null&&r!==void 0?r:rt(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},cP=function e(t){R(this,e),v(this,"width",void 0),v(this,"height",void 0),v(this,"widthConfig",void 0),v(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"},fP=function e(t){R(this,e),v(this,"optCode",void 0),v(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:""};function Mj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fi(e,t,r){return lP()?Fi=Reflect.construct:Fi=function(o,i,c){var f=[null];f.push.apply(f,i);var l=Function.bind.apply(o,f),a=new l;return c&&so(a,c.prototype),a},Fi.apply(null,arguments)}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 ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ao(e)}function Aj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&so(e,t)}function kj(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Dj(e,t){return t&&(Lj(t)==="object"||typeof t=="function")?t:Mj(e)}function so(e,t){return so=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},so(e,t)}function Lj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ly(e){var t=typeof Map=="function"?new Map:void 0;return Ly=function(n){if(n===null||!kj(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 Fi(n,arguments,ao(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),so(o,n)},Ly(e)}function lP(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jj(e){var t=lP();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 Dj(this,o)}}var ee=function e(t){Dy(this,e),$n(this,"isHide",{type:"boolean"})},Ut=function(e){Aj(r,e);var t=jj(r);function r(n){return Dy(this,r),t.call(this)}return r}(Ly(Array)),te=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Dy(this,e),$n(this,"isHide",void 0),$n(this,"className",void 0),$n(this,"style",void 0),$n(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new cP(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};$n(te,"Rules",ee),$n(te,"RuntimeRules",Ut);function vt(){return vt=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},vt.apply(this,arguments)}function Fj(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function jy(e){return jy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jy(e)}function Ci(e,t){return Ci=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ci(e,t)}function Cj(){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 xi(e,t,r){return Cj()?xi=Reflect.construct:xi=function(o,i,c){var f=[null];f.push.apply(f,i);var l=Function.bind.apply(o,f),a=new l;return c&&Ci(a,c.prototype),a},xi.apply(null,arguments)}function xj(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Fy(e){var t=typeof Map=="function"?new Map:void 0;return Fy=function(n){if(n===null||!xj(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 xi(n,arguments,jy(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Ci(o,n)},Fy(e)}var Vj=/%[sdj%]/g,aP=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(aP=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Cy(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function xe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var c=String(o).replace(Vj,function(f){if(f==="%%")return"%";if(n>=i)return f;switch(f){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(l){return"[Circular]"}break;default:return f}});return c}return o}function zj(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||zj(t)&&typeof e=="string"&&!e)}function Gj(e,t,r){var n=[],o=0,i=e.length;function c(f){n.push.apply(n,f),o++,o===i&&r(n)}e.forEach(function(f){t(f,c)})}function sP(e,t,r){var n=0,o=e.length;function i(c){if(c&&c.length){r(c);return}var f=n;n=n+1,f<o?t(e[f],i):r([])}i([])}function Yj(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var _P=function(e){Fj(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}(Fy(Error));function Hj(e,t,r,n){if(t.first){var o=new Promise(function(_,y){var b=function(m){return n(m),m.length?y(new _P(m,Cy(m))):_()},g=Yj(e);sP(g,r,b)});return o.catch(function(_){return _}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var c=Object.keys(e),f=c.length,l=0,a=[],s=new Promise(function(_,y){var b=function(p){if(a.push.apply(a,p),l++,l===f)return n(a),a.length?y(new _P(a,Cy(a))):_()};c.length||(n(a),_()),c.forEach(function(g){var p=e[g];i.indexOf(g)!==-1?sP(p,r,b):Gj(p,r,b)})});return s.catch(function(_){return _}),s}function yP(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 pP(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]=vt(vt({},e[r]),n):e[r]=n}}return e}function dP(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||oe(t,i||e.type))&&n.push(xe(o.messages.required,e.fullField))}function qj(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(xe(o.messages.whitespace,e.fullField))}var xy={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},_o={integer:function(t){return _o.number(t)&&parseInt(t,10)===t},float:function(t){return _o.number(t)&&!_o.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"&&!_o.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(xy.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(xy.url)},hex:function(t){return typeof t=="string"&&!!t.match(xy.hex)}};function Uj(e,t,r,n,o){if(e.required&&t===void 0){dP(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],c=e.type;i.indexOf(c)>-1?_o[c](t)||n.push(xe(o.messages.types[c],e.fullField,e.type)):c&&typeof t!==e.type&&n.push(xe(o.messages.types[c],e.fullField,e.type))}function Wj(e,t,r,n,o){var i=typeof e.len=="number",c=typeof e.min=="number",f=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,s=null,_=typeof t=="number",y=typeof t=="string",b=Array.isArray(t);if(_?s="number":y?s="string":b&&(s="array"),!s)return!1;b&&(a=t.length),y&&(a=t.replace(l,"_").length),i?a!==e.len&&n.push(xe(o.messages[s].len,e.fullField,e.len)):c&&!f&&a<e.min?n.push(xe(o.messages[s].min,e.fullField,e.min)):f&&!c&&a>e.max?n.push(xe(o.messages[s].max,e.fullField,e.max)):c&&f&&(a<e.min||a>e.max)&&n.push(xe(o.messages[s].range,e.fullField,e.min,e.max))}var ur="enum";function Kj(e,t,r,n,o){e[ur]=Array.isArray(e[ur])?e[ur]:[],e[ur].indexOf(t)===-1&&n.push(xe(o.messages[ur],e.fullField,e[ur].join(", ")))}function Xj(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(xe(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(xe(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var N={required:dP,whitespace:qj,type:Uj,range:Wj,enum:Kj,pattern:Xj};function Jj(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){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 Qj(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){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 Zj(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){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 eF(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){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 tF(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){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 nF(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){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 rF(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){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 oF(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){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 iF(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){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 uF="enum";function cF(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N[uF](e,t,n,i,o)}r(i)}function fF(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){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 lF(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(oe(t,"date")&&!e.required)return r();if(N.required(e,t,n,i,o),!oe(t,"date")){var f;t instanceof Date?f=t:f=new Date(t),N.type(e,f,n,i,o),f&&N.range(e,f.getTime(),n,i,o)}}r(i)}function aF(e,t,r,n,o){var i=[],c=Array.isArray(t)?"array":typeof t;N.required(e,t,n,i,o,c),r(i)}function Vy(e,t,r,n,o){var i=e.type,c=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(oe(t,i)&&!e.required)return r();N.required(e,t,n,c,o,i),oe(t,i)||N.type(e,t,n,c,o)}r(c)}function sF(e,t,r,n,o){var i=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o)}r(i)}var yo={string:Jj,method:Qj,number:Zj,boolean:eF,regexp:tF,integer:nF,float:rF,array:oF,object:iF,enum:cF,pattern:fF,date:lF,url:Vy,hex:Vy,email:Vy,required:aF,any:sF};function zy(){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 Gy=zy();function Wt(e){this.rules=null,this._messages=Gy,this.define(e)}Wt.prototype={messages:function(t){return t&&(this._messages=pP(zy(),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,c=r,f=n;if(typeof c=="function"&&(f=c,c={}),!this.rules||Object.keys(this.rules).length===0)return f&&f(),Promise.resolve();function l(p){var m,h=[],O={};function P(w){if(Array.isArray(w)){var T;h=(T=h).concat.apply(T,w)}else h.push(w)}for(m=0;m<p.length;m++)P(p[m]);h.length?O=Cy(h):(h=null,O=null),f(h,O)}if(c.messages){var a=this.messages();a===Gy&&(a=zy()),pP(a,c.messages),c.messages=a}else c.messages=this.messages();var s,_,y={},b=c.keys||Object.keys(this.rules);b.forEach(function(p){s=o.rules[p],_=i[p],s.forEach(function(m){var h=m;typeof h.transform=="function"&&(i===t&&(i=vt({},i)),_=i[p]=h.transform(_)),typeof h=="function"?h={validator:h}:h=vt({},h),h.validator=o.getValidationMethod(h),h.field=p,h.fullField=h.fullField||p,h.type=o.getType(h),h.validator&&(y[p]=y[p]||[],y[p].push({rule:h,value:_,source:i,field:p}))})});var g={};return Hj(y,c,function(p,m){var h=p.rule,O=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");O=O&&(h.required||!h.required&&p.value),h.field=p.field;function P($,S){return vt(vt({},S),{},{fullField:h.fullField+"."+$})}function w($){$===void 0&&($=[]);var S=$;if(Array.isArray(S)||(S=[S]),!c.suppressWarning&&S.length&&Wt.warning("async-validator:",S),S.length&&h.message!==void 0&&(S=[].concat(h.message)),S=S.map(yP(h)),c.first&&S.length)return g[h.field]=1,m(S);if(!O)m(S);else{if(h.required&&!p.value)return h.message!==void 0?S=[].concat(h.message).map(yP(h)):c.error&&(S=[c.error(h,xe(c.messages.required,h.field))]),m(S);var D={};if(h.defaultField)for(var Fe in p.value)p.value.hasOwnProperty(Fe)&&(D[Fe]=h.defaultField);D=vt(vt({},D),p.rule.fields);for(var de in D)if(D.hasOwnProperty(de)){var ve=Array.isArray(D[de])?D[de]:[D[de]];D[de]=ve.map(P.bind(null,de))}var ro=new Wt(D);ro.messages(c.messages),p.rule.options&&(p.rule.options.messages=c.messages,p.rule.options.error=c.error),ro.validate(p.value,p.rule.options||c,function(rr){var St=[];S&&S.length&&St.push.apply(St,S),rr&&rr.length&&St.push.apply(St,rr),m(St.length?St:null)})}}var T;h.asyncValidator?T=h.asyncValidator(h,p.value,w,p.source,c):h.validator&&(T=h.validator(h,p.value,w,p.source,c),T===!0?w():T===!1?w(h.message||h.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(p){l(p)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!yo.hasOwnProperty(t.type))throw new Error(xe("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?yo.required:yo[this.getType(t)]||!1}},Wt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");yo[t]=r},Wt.warning=aP,Wt.messages=Gy,Wt.validators=yo;var _F={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 vP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Wt(e);return r.messages(Object.assign(_F,t)),r}var hP=new Dw;function Yy(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 yF(e){if(Array.isArray(e))return e}function pF(e){if(Array.isArray(e))return Yy(e)}function bP(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function gP(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){bP(i,n,o,c,f,"next",l)}function f(l){bP(i,n,o,c,f,"throw",l)}c(void 0)})}}function dF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vF(e,t,r){return t&&mP(e.prototype,t),r&&mP(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 OP(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function wP(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hF(){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 bF(){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 PP(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 gF(e){return yF(e)||wP(e)||$P(e)||hF()}function Hy(e){return pF(e)||wP(e)||$P(e)||bF()}function $P(e,t){if(!!e){if(typeof e=="string")return Yy(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 Yy(e,t)}}function RP(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)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 c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}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;dF(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",SP),C(this,"removeSetting",TP),this._callControlHooks("preInstance",r);var o=OP(this,t)?this.constructor:void 0,i=o.controlName,c=o.controlIcon,f=o.controlType,l=o.controlFieldType,a=o.controlEventKeys,s=o.controlCustomEvents,_=o.name,y=o.setting;i&&c&&f||hy("The ".concat(_," controlName,controlIcon,controlType is not define"));var b;this.id=(b=r==null?void 0:r.id)!==null&&b!==void 0?b:rt(10),this.name=i,this.icon=c;var g;this.type=(g=r==null?void 0:r.type)!==null&&g!==void 0?g:f,this.props=new te(r==null?void 0:r.props,(OP(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=It(y);var m;this.fieldType=(m=r==null?void 0:r.fieldType)!==null&&m!==void 0?m:l,this.eventKeys=It(a),this.customEvents=It(s),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return vF(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 c,f=gF(o),l=f[0],a=f.slice(1);return(c=hP).emit.apply(c,[l,this].concat(Hy(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),Sw(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return gP(function(){var o,i,c;return RP(this,function(f){switch(f.label){case 0:return o=PP({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=f.sent(),c=i[i.length-1],[2,c===!1?void 0:c]}})})()}},{key:"validate",value:function(n,o){var i=this;return gP(function(){var c,f,l,a;return RP(this,function(s){switch(s.label){case 0:return[4,i.preValidate()];case 1:c=s.sent(),f=c!==void 0?c:PP({},i.rules),Array.isArray(o)&&o.forEach(function(_){f.hasOwnProperty(_)&&delete f[_]}),l=vP(f,n),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,l.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,c=this.type,f=this.props,l=f.dataBind,a=f.datasourceBind,s=f.optionConfig,_=f.caption,y=f.required,b=f.maxLength,g=f.options,p=f.encrypted,m=f.encryptedMode;if(!(!o&&!l&&!a)){var h={parentId:n,fieldType:o,controlId:i,caption:_,type:c,props:{}};switch(l&&(h.dataBind=l),s){case"datasource":case void 0:a&&(h.datasourceBind=a);break;case"custom":h.props.options=g;break}return y!==void 0&&(h.required=y),b!==void 0&&(h.maxLength=b),p!==void 0&&(h.encrypted=p),m!==void 0&&(h.encryptedMode=m),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:It(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,Hy(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();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",TP),C(F,"updateSettingItem",SP);function TP(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",c=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(a){return a.key===(i?n.key:n)});if(c!==-1){var f,l;i?t.setting[c].showItems=(f=t.setting[c].showItems)===null||f===void 0?void 0:f.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(c,1),i&&!(!((l=t.setting[c].showItems)===null||l===void 0)&&l.length)&&t.setting.splice(c,1)}})}function SP(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 c,f=(c=t.type)!==null&&c!==void 0?c:"replace";if(f==="replace")i.showItems=t.showItems;else{var l;(l=i.showItems).push.apply(l,Hy(t.showItems))}}}})}function mF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OF(e,t,r){return t&&EP(e.prototype,t),r&&EP(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 wF(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var ne=function(){function t(r){mF(this,t),We(this,"id",void 0),We(this,"type",void 0),We(this,"controlType",void 0),We(this,"props",void 0),We(this,"fieldType",void 0),We(this,"customEvents",[]),We(this,"pageStatus",void 0),We(this,"parent",null);var n=wF(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,c=n.name,f=n.controlCustomEvents;o||hy("The ".concat(c," controlType is not define"));var l;this.id=(l=r==null?void 0:r.id)!==null&&l!==void 0?l:rt(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:o,this.props=new te(r==null?void 0:r.props),this.customEvents=f;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 y;this.pageStatus=(y=r==null?void 0:r.pageStatus)!==null&&y!==void 0?y:u.PAGE_STATUS.UNKNOWN}return OF(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}();We(ne,"controlType","control"),We(ne,"controlFieldType",void 0),We(ne,"__is_control__",!0),We(ne,"controlCustomEvents",[]);function Vi(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(f){return f.value}),c=Bw(i);i.length!==c.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 po(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,c){i.length===0&&c(d.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),c()},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 IP(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function z(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 G(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function Yi(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qy(e,t)}function PF(e,t){return t&&($F(t)==="object"||typeof t=="function")?t:z(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qy(e,t)}function $F(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hi(e){var t=RF();return function(){var n=Gi(e),o;if(t){var i=Gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PF(this,o)}}var le=function(e){Yi(r,e);var t=Hi(r);function r(n){zi(this,r);var o;o=t.call(this,n),G(z(o),"dataBind",{}),G(z(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),G(z(o),"isHideCaption",{type:"boolean"}),G(z(o),"labelPosition",{type:"enum",enum:["top","left"]}),G(z(o),"defaultState",{type:"enum",enum:["default","readonly"]}),G(z(o),"required",{type:"boolean"}),G(z(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(IP(n.dataBind))o.dataBind={type:"object",required:!0,fields:It(i),message:d.getMessage("pleaseEnterFieldCode")};else{var c={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(f){c.fields[f]={type:"object",required:!0,fields:It(i),message:d.getMessage("pleaseEnterFieldCode")}}),o.dataBind=c}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ee),x=function(e){Yi(r,e);var t=Hi(r);function r(n){zi(this,r);var o;return o=t.call(this,n),o.push({type:"string",required:n.isHide?!1:n.required,message:n.requiredMessage!==""?n.requiredMessage:d.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(Ut),M=function(e){Yi(r,e);var t=Hi(r);function r(n){zi(this,r);var o;o=t.call(this,n),G(z(o),"caption",void 0),G(z(o),"isHideCaption",void 0),G(z(o),"isShowCaptionTip",void 0),G(z(o),"captionTip",void 0),G(z(o),"labelPosition",void 0),G(z(o),"dataBind",void 0),G(z(o),"defaultValue",void 0),G(z(o),"placeholder",void 0),G(z(o),"defaultState",void 0),G(z(o),"required",void 0),G(z(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var 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 y;o.required=(y=n==null?void 0:n.required)!==null&&y!==void 0?y:!1;var b;o.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",o.dataBind=new Ue(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}(te);G(M,"Rules",le),G(M,"RuntimeRules",x);var Rn=function(e){Yi(r,e);var t=Hi(r);function r(n){zi(this,r);var o;return o=t.call(this,n),G(z(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),G(z(o),"options",[{type:"array",message:d.getMessage("isNotArray")}]),G(z(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Vi.call(z(o),n),o}return r}(le);function Uy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TF(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 Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(e)}function SF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wy(e,t)}function EF(e,t){return t&&(IF(t)==="object"||typeof t=="function")?t:Uy(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wy(e,t)}function IF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=BF();return function(){var n=Ui(e),o;if(t){var i=Ui(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EF(this,o)}}var A=function(e){SF(r,e);var t=NF(r);function r(n){TF(this,r);var o;return o=t.call(this,n),qi(Uy(o),"controlType","form"),qi(Uy(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 Wi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ky(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function AF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xy(e,t)}function kF(e,t){return t&&(DF(t)==="object"||typeof t=="function")?t:Wi(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xy(e,t)}function DF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jF(e){var t=LF();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 kF(this,o)}}var k=function(e){AF(r,e);var t=jF(r);function r(n){MF(this,r);var o;return o=t.call(this,n),Ky(Wi(o),"controlType","form"),Ky(Wi(o),"props",void 0),Ky(Wi(o),"value",void 0),o.props=new M(n==null?void 0:n.props),o}return r}(ne);function FF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(e)}function xF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 VF(e,t){return t&&(zF(t)==="object"||typeof t=="function")?t:FF(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}function zF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YF(e){var t=GF();return function(){var n=Xi(e),o;if(t){var i=Xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VF(this,o)}}var V=function(e){xF(r,e);var t=YF(r);function r(n){return CF(this,r),t.call(this,n)}return r}(te);function Qy(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 HF(e){if(Array.isArray(e))return Qy(e)}function qF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function UF(){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 BP(e){return HF(e)||qF(e)||WF(e)||UF()}function WF(e,t){if(!!e){if(typeof e=="string")return Qy(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 Qy(e,t)}}function NP(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function Zy(e,t){e.parent=t,NP(e,"parent")}function MP(e,t){e.forEach(function(r){Zy(r,t)})}var AP=Symbol("targetKey");function kP(e){var t;return(t=e[AP])!==null&&t!==void 0?t:e}function DP(e,t){return MP(e,t),new Proxy(e,{get:function(n,o){for(var i=arguments.length,c=new Array(i>2?i-2:0),f=2;f<i;f++)c[f-2]=arguments[f];var l;return o===AP?n:(l=Reflect).get.apply(l,[n,o].concat(BP(c)))},set:function(n,o,i){for(var c=arguments.length,f=new Array(c>3?c-3:0),l=3;l<c;l++)f[l-3]=arguments[l];var a;if(gn(e)&&o==="length"&&i===e.length)return!0;var s=(a=Reflect).set.apply(a,[n,o,i].concat(BP(f)));return my(i)&&Zy(i,t),s}})}function ot(e,t,r,n){var o=n!=null?n:e,i=DP(kP(r!=null?r:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(f){i=DP(kP(f),o)},enumerable:!0})}function ep(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 KF(e){if(Array.isArray(e))return ep(e)}function Tn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LP(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function XF(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){LP(i,n,o,c,f,"next",l)}function f(l){LP(i,n,o,c,f,"throw",l)}c(void 0)})}}function JF(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 QF(e,t,r){return t&&jP(e.prototype,t),r&&jP(e,r),e}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 cr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?cr=Reflect.get:cr=function(o,i,c){var f=c4(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},cr(e,t,r||e)}function Xt(e){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xt(e)}function ZF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 e4(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function t4(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function n4(){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 r4(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Kt(e,o,r[o])})}return e}function o4(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 i4(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function u4(e,t){return t&&(f4(t)==="object"||typeof t=="function")?t:Tn(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}function c4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xt(e),e!==null););return e}function FP(e){return KF(e)||t4(e)||l4(e)||n4()}function f4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l4(e,t){if(!!e){if(typeof e=="string")return ep(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 ep(e,t)}}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 s4(e){var t=a4();return function(){var n=Xt(e),o;if(t){var i=Xt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u4(this,o)}}function _4(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)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 c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}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 y4=1e4,Y=function(t){ZF(n,t);var r=s4(n);function n(o){JF(this,n);var i;i=r.call(this,o),Kt(Tn(i),"controlType","layout"),Kt(Tn(i),"children",void 0),Kt(Tn(i),"excludes",void 0),Kt(Tn(i),"childrenMaxLength",void 0),Kt(Tn(i),"props",void 0);var c=e4(this,n)?this.constructor:void 0,f=c.excludes,l=c.childrenMaxLength;return i.props=new V(o==null?void 0:o.props),ot(Tn(i),"children",o==null?void 0:o.children),i.excludes=It(f),i.childrenMaxLength=l,i}return QF(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var c=this.judgeExcludesChildren(i);return c&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,c){var f=this,l=this,a=function(){return cr(Xt(n.prototype),"validate",f)};return XF(function(){return _4(this,function(s){switch(s.label){case 0:return[4,a().call(l,i,c)];case 1:return s.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(i,c)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,c=cr(Xt(n.prototype),"toDataBindModel",this).call(this),f=c?[c]:[];return this.children.reduce(function(l,a){var s=a.toDataBindModel(i);if(Array.isArray(s)){var _=s.filter(function(y){return!!y});return FP(l).concat(FP(_))}return s&&l.push(s),l},f)}},{key:"toSchema",value:function(){var i=cr(Xt(n.prototype),"toSchema",this).call(this),c=this.children.map(function(f){var l=f.toSchema();return l});return i4(r4({},i),{children:c})}}]),n}(F);Kt(Y,"excludes",!1),Kt(Y,"childrenMaxLength",y4);function vo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function np(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(e)}function d4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function v4(e,t){return t&&(h4(t)==="object"||typeof t=="function")?t:vo(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}function h4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=b4();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 v4(this,o)}}var W=function(e){d4(r,e);var t=g4(r);function r(n){p4(this,r);var o;return o=t.call(this,n),np(vo(o),"controlType","layout"),np(vo(o),"children",void 0),np(vo(o),"props",void 0),o.props=new V(n==null?void 0:n.props),ot(vo(o),"children",n==null?void 0:n.children),o}return r}(ne);function ho(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 CP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(e)}function O4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 w4(e,t){return t&&(P4(t)==="object"||typeof t=="function")?t:ho(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}function P4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R4(e){var t=$4();return function(){var n=Qi(e),o;if(t){var i=Qi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w4(this,o)}}var bo=function(e){O4(r,e);var t=R4(r);function r(n,o){m4(this,r);var i;return i=t.call(this,o),CP(ho(i),"headers",void 0),CP(ho(i),"footers",void 0),ot(ho(i),"headers",o==null?void 0:o.headers,n),ot(ho(i),"footers",o==null?void 0:o.footers,n),i}return r}(te);function ip(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 T4(e){if(Array.isArray(e))return ip(e)}function Zi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xP(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).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 c(l){xP(i,n,o,c,f,"next",l)}function f(l){xP(i,n,o,c,f,"throw",l)}c(void 0)})}}function E4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I4(e,t,r){return t&&VP(e.prototype,t),r&&VP(e,r),e}function eu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?fr=Reflect.get:fr=function(o,i,c){var f=D4(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},fr(e,t,r||e)}function Jt(e){return Jt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jt(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&&up(e,t)}function N4(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 zP(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){eu(e,o,r[o])})}return e}function A4(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 GP(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):A4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function k4(e,t){return t&&(L4(t)==="object"||typeof t=="function")?t:Zi(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}function D4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Jt(e),e!==null););return e}function YP(e){return T4(e)||N4(e)||j4(e)||M4()}function L4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j4(e,t){if(!!e){if(typeof e=="string")return ip(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 ip(e,t)}}function F4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C4(e){var t=F4();return function(){var n=Jt(e),o;if(t){var i=Jt(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k4(this,o)}}function x4(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)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 c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}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 tu=function(e){B4(r,e);var t=C4(r);function r(n){E4(this,r);var o;return o=t.call(this,n),eu(Zi(o),"controlType","list"),eu(Zi(o),"props",void 0),o.props=new bo(Zi(o),n==null?void 0:n.props),o}return I4(r,[{key:"validate",value:function(o,i){var c=this,f=this,l=function(){return fr(Jt(r.prototype),"validate",c)};return S4(function(){return x4(this,function(a){switch(a.label){case 0:return[4,l().call(f,o)];case 1:return a.sent(),[4,Promise.all(f.props.headers.map(function(s){return s.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=fr(Jt(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],c=this.id;return this.props.headers.reduce(function(f,l){var a=l.toDataBindModel(c);if(Array.isArray(a)){var s=a.filter(function(_){return!!_});return YP(f).concat(YP(s))}return a&&f.push(a),f},i)}},{key:"toSchema",value:function(){var o,i,c=fr(Jt(r.prototype),"toSchema",this).call(this),f=this.props.headers.map(function(a){return a.toSchema()}),l=(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 GP(zP({},c),{props:GP(zP({},this.props),{headers:f,footers:l})})}}]),r}(F);eu(tu,"controlFieldType",u.FieldTypes.LIST);function lr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z4(e,t,r){return t&&HP(e.prototype,t),r&&HP(e,r),e}function cp(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 G4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fp(e,t)}function Y4(e,t){return t&&(H4(t)==="object"||typeof t=="function")?t:lr(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}function H4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U4(e){var t=q4();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 Y4(this,o)}}var lp=function(e){G4(r,e);var t=U4(r);function r(n){V4(this,r);var o;return o=t.call(this,n),cp(lr(o),"controlType","list"),cp(lr(o),"children",void 0),cp(lr(o),"props",void 0),o.props=new bo(lr(o),n==null?void 0:n.props),ot(lr(o),"children",n==null?void 0:n.children),o}return z4(r,[{key:"length",get:function(){return this.children.length}}]),r}(ne);function ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ap(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function sp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_p(e,t)}function W4(e,t){return t&&(K4(t)==="object"||typeof t=="function")?t:ae(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}function K4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yp(e){var t=X4();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 W4(this,o)}}var ht=function(e){sp(r,e);var t=yp(r);function r(n){ap(this,r);var o;return o=t.call(this,n),ge(ae(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),ge(ae(o),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(ee),K=function(e){sp(r,e);var t=yp(r);function r(n){ap(this,r);var o;o=t.call(this,n),ge(ae(o),"widthType",void 0),ge(ae(o),"width",void 0),ge(ae(o),"caption",void 0),ge(ae(o),"dataBind",void 0),ge(ae(o),"autoWidth",void 0),ge(ae(o),"fixed",void 0),ge(ae(o),"sort",void 0),ge(ae(o),"align",void 0),ge(ae(o),"colSpan",void 0),ge(ae(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 c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:"";var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"none",o.autoWidth=new Ry(n==null?void 0:n.autoWidth),o.dataBind=new Ue(n==null?void 0:n.dataBind);var l;o.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return r}(te);ge(K,"Rules",ht);var pp=function(e){sp(r,e);var t=yp(r);function r(n){ap(this,r);var o;return o=t.call(this,n),ge(ae(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),ge(ae(o),"options",[{type:"array",message:d.getMessage("isNotArray")}]),ge(ae(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Vi.call(ae(o),n),o}return r}(ht);function dp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J4(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 ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(e)}function Q4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vp(e,t)}function Z4(e,t){return t&&(eC(t)==="object"||typeof t=="function")?t:dp(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}function eC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nC(e){var t=tC();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 Z4(this,o)}}var ie=function(e){Q4(r,e);var t=nC(r);function r(n){J4(this,r);var o;return o=t.call(this,n),qP(dp(o),"controlType","column"),qP(dp(o),"props",void 0),o.props=new K(n==null?void 0:n.props),o}return r}(F);function hp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(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&&bp(e,t)}function iC(e,t){return t&&(uC(t)==="object"||typeof t=="function")?t:hp(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(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 fC(e){var t=cC();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 iC(this,o)}}var ue=function(e){oC(r,e);var t=fC(r);function r(n){rC(this,r);var o;return o=t.call(this,n),UP(hp(o),"controlType","column"),UP(hp(o),"props",void 0),o.props=new K(n==null?void 0:n.props),o}return r}(ne);function WP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function sC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gp(e,t)}function _C(e,t){return t&&(yC(t)==="object"||typeof t=="function")?t:WP(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gp(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 dC(e){var t=pC();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 _C(this,o)}}var cu=function(e){sC(r,e);var t=dC(r);function r(n){lC(this,r);var o;return o=t.call(this,n),aC(WP(o),"dataBind",void 0),o.dataBind=new Ue(n==null?void 0:n.dataBind),o}return r}(V);function mp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(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&&Op(e,t)}function bC(e,t){return t&&(gC(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 gC(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 OC(e){var t=mC();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 bC(this,o)}}var XP=function(e){hC(r,e);var t=OC(r);function r(n){vC(this,r);var o;return o=t.call(this,n),KP(mp(o),"controlType","search"),KP(mp(o),"props",void 0),o.props=new cu(n==null?void 0:n.props),o}return r}(Y);function wp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JP(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 PC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function $C(e,t){return t&&(RC(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 RC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=TC();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 $C(this,o)}}var QP=function(e){PC(r,e);var t=SC(r);function r(n){wC(this,r);var o;return o=t.call(this,n),JP(wp(o),"controlType","search"),JP(wp(o),"props",void 0),o.props=new cu(n==null?void 0:n.props),o}return r}(W);function EC(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 au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function BC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 NC(e,t){return t&&(MC(t)==="object"||typeof t=="function")?t:EC(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(e,t)}function MC(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 kC(e){var t=AC();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 NC(this,o)}}var su=function(e){BC(r,e);var t=kC(r);function r(n){return IC(this,r),t.call(this,n)}return r}(V);function Rp(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 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 _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function LC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}function jC(e,t){return t&&(FC(t)==="object"||typeof t=="function")?t:Rp(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}function FC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xC(e){var t=CC();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 jC(this,o)}}var e$=function(e){LC(r,e);var t=xC(r);function r(n){DC(this,r);var o;return o=t.call(this,n),ZP(Rp(o),"controlType","wrap"),ZP(Rp(o),"props",void 0),o.props=new su(n==null?void 0:n.props),o}return r}(Y);function Sp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VC(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 yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(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&&Ep(e,t)}function GC(e,t){return t&&(YC(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 YC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=HC();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 GC(this,o)}}var n$=function(e){zC(r,e);var t=qC(r);function r(n){VC(this,r);var o;return o=t.call(this,n),t$(Sp(o),"controlType","wrap"),t$(Sp(o),"props",void 0),o.props=new su(n==null?void 0:n.props),o}return r}(W);function Qt(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}])}function Sn(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 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 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&&Ip(e,t)}function KC(e,t){return t&&(XC(t)==="object"||typeof t=="function")?t:Sn(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(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 Bp=function(e){WC(r,e);var t=QC(r);function r(n){UC(this,r);var o;o=t.call(this,n),ar(Sn(o),"content",void 0),ar(Sn(o),"fontSize",void 0),ar(Sn(o),"color",void 0),ar(Sn(o),"icon",void 0),ar(Sn(o),"align",void 0),ar(Sn(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"#646A73";var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"page-hint";var l;o.showState=(l=n==null?void 0:n.showState)!==null&&l!==void 0?l:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57";var s;return o.align=(s=n==null?void 0:n.align)!==null&&s!==void 0?s:"",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 ZC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function e5(e,t,r){return t&&o$(e.prototype,t),r&&o$(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 du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function t5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 n5(e,t){return t&&(r5(t)==="object"||typeof t=="function")?t:r$(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}function r5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i5(e){var t=o5();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 n5(this,o)}}var u$=function(e){t5(r,e);var t=i5(r);function r(n){ZC(this,r);var o;return o=t.call(this,n),i$(r$(o),"props",void 0),o.props=new Bp(n==null?void 0:n.props),o}return e5(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);i$(u$,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[u.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 c$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c5(e,t,r){return t&&f$(e.prototype,t),r&&f$(e,r),e}function f5(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 l5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mp(e,t)}function a5(e,t){return t&&(s5(t)==="object"||typeof t=="function")?t:c$(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mp(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=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a5(this,o)}}var p5=function(e){l5(r,e);var t=y5(r);function r(n){u5(this,r);var o;return o=t.call(this,n),f5(c$(o),"props",void 0),o.props=new Bp(n==null?void 0:n.props),o}return c5(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(ne),l$={Designer:u$,Runtime:p5,Property:Bp};function hu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ap(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(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&&kp(e,t)}function h5(e,t){return t&&(b5(t)==="object"||typeof t=="function")?t:hu(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kp(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=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return h5(this,o)}}var Dp=function(e){v5(r,e);var t=m5(r);function r(n){d5(this,r);var o;o=t.call(this,n),Ap(hu(o),"content",void 0),Ap(hu(o),"url",void 0),Ap(hu(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 c;o.url=(c=n==null?void 0:n.url)!==null&&c!==void 0?c:"";var f;return o.openMode=(f=n==null?void 0:n.openMode)!==null&&f!==void 0?f:"new",o}return r}(te);function a$(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 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 w5(e,t,r){return t&&s$(e.prototype,t),r&&s$(e,r),e}function Lp(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 P5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $5(e,t){return t&&(R5(t)==="object"||typeof t=="function")?t:a$(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}function R5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S5(e){var t=T5();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 $5(this,o)}}var Fp=function(e){P5(r,e);var t=S5(r);function r(n){O5(this,r);var o;return o=t.call(this,n),Lp(a$(o),"props",void 0),o.props=new Dp(n==null?void 0:n.props),o}return w5(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(F);Lp(Fp,"controlEventKeys",["on_click"]),Lp(Fp,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function _$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E5(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 I5(e,t,r){return t&&y$(e.prototype,t),r&&y$(e,r),e}function B5(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 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&&Cp(e,t)}function M5(e,t){return t&&(A5(t)==="object"||typeof t=="function")?t:_$(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(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=mu(e),o;if(t){var i=mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M5(this,o)}}var L5=function(e){N5(r,e);var t=D5(r);function r(n){E5(this,r);var o;return o=t.call(this,n),B5(_$(o),"props",void 0),o.props=new Dp(n==null?void 0:n.props),o}return I5(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(ne),p$={Designer:Fp,Runtime:L5,Property:Dp};function bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(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&&xp(e,t)}function C5(e,t){return t&&(x5(t)==="object"||typeof t=="function")?t:bt(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}function x5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=V5();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 C5(this,o)}}var Te=function(e){F5(r,e);var t=z5(r);function r(n){j5(this,r);var o;o=t.call(this,n),Mt(bt(o),"content",void 0),Mt(bt(o),"buttonType",void 0),Mt(bt(o),"showType",void 0),Mt(bt(o),"color",void 0),Mt(bt(o),"icon",void 0),Mt(bt(o),"defaultState",void 0),Mt(bt(o),"command",void 0),Mt(bt(o),"isLoading",void 0),Mt(bt(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var 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 y;o.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1;var b;return o.optObj=new fP((b=n==null?void 0:n.optObj)!==null&&b!==void 0?b:{}),o}return r}(te);function d$(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 v$(e,t){for(var r=0;r<t.length;r++){var 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&&v$(e.prototype,t),r&&v$(e,r),e}function Vp(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 H5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 q5(e,t){return t&&(U5(t)==="object"||typeof t=="function")?t:d$(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zp(e,t)}function U5(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 K5(e){var t=W5();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 q5(this,o)}}var Se=function(e){H5(r,e);var t=K5(r);function r(n){G5(this,r);var o;return o=t.call(this,n),Vp(d$(o),"props",void 0),o.props=new Te(n==null?void 0:n.props),o}return Y5(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(F);Vp(Se,"controlEventKeys",["on_click","on_click_finish"]),Vp(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:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function h$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function J5(e,t,r){return t&&b$(e.prototype,t),r&&b$(e,r),e}function Q5(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 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&&Gp(e,t)}function e6(e,t){return t&&(t6(t)==="object"||typeof t=="function")?t:h$(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(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=Pu(e),o;if(t){var i=Pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e6(this,o)}}var Ve=function(e){Z5(r,e);var t=r6(r);function r(n){X5(this,r);var o;return o=t.call(this,n),Q5(h$(o),"props",void 0),o.props=new Te(n==null?void 0:n.props),o}return J5(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(ne),g$={Designer:Se,Runtime:Ve,Property:Te};function At(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}u.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"}(u.TitleConfigEnum||(u.TitleConfigEnum={})),u.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(u.DATE_CONFIG_TYPE||(u.DATE_CONFIG_TYPE={})),u.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(u.DATE_LIMIT_TYPE||(u.DATE_LIMIT_TYPE={}));var $u=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:u.DATE_CONFIG_TYPE.UN_SELECT_ABLE_INTERVAL,dateLimitType:u.DATE_LIMIT_TYPE.FILE_IN_TIME,id:rt(8),value:["",""]};At(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};u.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(u.SCORE_TYPE||(u.SCORE_TYPE={}));var Ru=function e(t){At(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:rt();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};u.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"}(u.LINE_STYLE||(u.LINE_STYLE={}));var Yp=function e(t){At(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 ir((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,c;this.telephone=(c=t==null?void 0:t.telephone)!==null&&c!==void 0?c:new ir((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var f,l;this.company=(l=t==null?void 0:t.company)!==null&&l!==void 0?l:new ir((f=t==null?void 0:t.company)!==null&&f!==void 0?f:{type:"form"});var a;this.remark=(a=t==null?void 0:t.remark)!==null&&a!==void 0?a:""},m$=function e(t){At(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(l){return new Yp(l)}))!==null&&o!==void 0?o:[new Yp];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var c;this.completeControl=(c=t==null?void 0:t.completeControl)!==null&&c!==void 0?c:"";var f;this.completeTimeControl=(f=t==null?void 0:t.completeTimeControl)!==null&&f!==void 0?f:""},Hp=function e(t){At(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:rt(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 c;this.name=(c=t==null?void 0:t.name)!==null&&c!==void 0?c:"";var f;this.fieldList=(f=t==null?void 0:t.fieldList)!==null&&f!==void 0?f:[];var l;this.active=(l=t==null?void 0:t.active)!==null&&l!==void 0?l:!1},qp=function e(t){At(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:""},O$=function e(t){At(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)},w$=480;function go(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var P$=function e(t){At(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 c;this.rules=(c=t.rules)!==null&&c!==void 0?c:[]},$$=function e(t){At(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"};u.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(u.EncryptTypeEnum||(u.EncryptTypeEnum={})),u.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(u.OrganizeType||(u.OrganizeType={})),u.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(u.DepartmentType||(u.DepartmentType={})),u.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(u.AssignType||(u.AssignType={})),u.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(u.InternalType||(u.InternalType={}));function Up(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 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 Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function i6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 u6(e,t){return t&&(c6(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 c6(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 l6(e){var t=f6();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 u6(this,o)}}var Kp=function(e){i6(r,e);var t=l6(r);function r(n){o6(this,r);var o;o=t.call(this,n),R$(Up(o),"color",void 0),R$(Up(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var c;return o.lineStyle=(c=n==null?void 0:n.lineStyle)!==null&&c!==void 0?c:u.LINE_STYLE.SOLID,o}return r}(te);function T$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a6(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 s6(e,t,r){return t&&S$(e.prototype,t),r&&S$(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 Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function _6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 y6(e,t){return t&&(p6(t)==="object"||typeof t=="function")?t:T$(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}function p6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=d6();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 y6(this,o)}}var I$=function(e){_6(r,e);var t=v6(r);function r(n){a6(this,r);var o;return o=t.call(this,n),E$(T$(o),"props",void 0),o.props=new Kp(n==null?void 0:n.props),o}return s6(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(F);E$(I$,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]}]);function B$(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 N$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b6(e,t,r){return t&&N$(e.prototype,t),r&&N$(e,r),e}function g6(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 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&&Jp(e,t)}function O6(e,t){return t&&(w6(t)==="object"||typeof t=="function")?t:B$(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jp(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=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O6(this,o)}}var R6=function(e){m6(r,e);var t=$6(r);function r(n){h6(this,r);var o;return o=t.call(this,n),g6(B$(o),"props",void 0),o.props=new Kp(n==null?void 0:n.props),o}return b6(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(ne),M$={Designer:I$,Runtime:R6,Property:Kp};function Zt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(e)}function k$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qp(e,t)}function T6(e,t){return t&&(S6(t)==="object"||typeof t=="function")?t:Zt(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qp(e,t)}function S6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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){var t=E6();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 T6(this,o)}}var I6=function(e){k$(r,e);var t=D$(r);function r(n){A$(this,r);var o;return o=t.call(this,n),en(Zt(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),en(Zt(o),"dataBind",{type:"any"}),en(Zt(o),"config",{type:"array"}),n.config.includes(u.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}(ee),Bu=function(e){k$(r,e);var t=D$(r);function r(n){A$(this,r);var o;o=t.call(this,n),en(Zt(o),"dataBind",void 0),en(Zt(o),"caption",void 0),en(Zt(o),"config",void 0),en(Zt(o),"position",void 0),o.dataBind=new Ue(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[u.TitleConfigEnum.ShowSubmitUser,u.TitleConfigEnum.ShowSubmitDept,u.TitleConfigEnum.ShowSubmitTime,u.TitleConfigEnum.ShowCurrentApprovar,u.TitleConfigEnum.ShowTitle];var c,f;o.caption=(f=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:sr==null?void 0:sr.controlName)!==null&&f!==void 0?f:"";var l;return o.position=(l=n==null?void 0:n.position)!==null&&l!==void 0?l:"top",o}return r}(te);en(Bu,"Rules",I6);function L$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B6(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 N6(e,t,r){return t&&j$(e.prototype,t),r&&j$(e,r),e}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 Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(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 A6(e,t){return t&&(k6(t)==="object"||typeof t=="function")?t:L$(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}function k6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L6(e){var t=D6();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 A6(this,o)}}var sr=function(e){M6(r,e);var t=L6(r);function r(n){B6(this,r);var o;return o=t.call(this,n),Zp(L$(o),"props",void 0),o.props=new Bu(n==null?void 0:n.props),o}return N6(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);Zp(sr,"controlFieldType",u.FieldTypes.AUTO_NUMBER),Zp(sr,"setting",[{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function F$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j6(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 F6(e,t,r){return t&&C$(e.prototype,t),r&&C$(e,r),e}function C6(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 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&&td(e,t)}function V6(e,t){return t&&(z6(t)==="object"||typeof t=="function")?t:F$(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(e,t)}function z6(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 Y6(e){var t=G6();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 V6(this,o)}}var H6=function(e){x6(r,e);var t=Y6(r);function r(n){j6(this,r);var o;return o=t.call(this,n),C6(F$(o),"props",void 0),o.props=new Bu(n==null?void 0:n.props),o}return F6(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(ne),x$={Designer:sr,Runtime:H6,Property:Bu};function Au(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 ku(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 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&&nd(e,t)}function q6(e,t){return t&&(U6(t)==="object"||typeof t=="function")?t:Au(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}function U6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G$(e){var t=W6();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 q6(this,o)}}var K6=function(e){z$(r,e);var t=G$(r);function r(n){V$(this,r);var o;return o=t.call(this,n),ku(Au(o),"formKey",{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return r}(ee),Lu=function(e){z$(r,e);var t=G$(r);function r(n){V$(this,r);var o;o=t.call(this,n),ku(Au(o),"formKey",void 0),ku(Au(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:mo.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:mo.controlName;var f;o.formKey=(f=n==null?void 0:n.formKey)!==null&&f!==void 0?f:"";var l;return o.openType=(l=n==null?void 0:n.openType)!==null&&l!==void 0?l:"modal",o}return r}(Te);ku(Lu,"Rules",K6);function Y$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X6(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 J6(e,t,r){return t&&H$(e.prototype,t),r&&H$(e,r),e}function rd(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 Q6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(ex(t)==="object"||typeof t=="function")?t:Y$(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}function ex(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nx(e){var t=tx();return function(){var n=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z6(this,o)}}var mo=function(e){Q6(r,e);var t=nx(r);function r(n){X6(this,r);var o;return o=t.call(this,n),rd(Y$(o),"props",void 0),o.props=new Lu(n==null?void 0:n.props),o}return J6(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);rd(mo,"controlEventKeys",["on_click","on_click_finish"]),rd(mo,"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 q$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ox(e,t,r){return t&&U$(e.prototype,t),r&&U$(e,r),e}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 Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(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&&id(e,t)}function cx(e,t){return t&&(fx(t)==="object"||typeof t=="function")?t:q$(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 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 ax(e){var t=lx();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 cx(this,o)}}var sx=function(e){ux(r,e);var t=ax(r);function r(n){rx(this,r);var o;return o=t.call(this,n),ix(q$(o),"props",void 0),o.props=new Lu(n==null?void 0:n.props),o}return ox(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Ve),W$={Designer:mo,Runtime:sx,Property:Lu};function _r(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K$(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 Cu(e){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cu(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&&ud(e,t)}function _x(e,t){return t&&(yx(t)==="object"||typeof t=="function")?t:_r(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function yx(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 J$(e){var t=px();return function(){var n=Cu(e),o;if(t){var i=Cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _x(this,o)}}var dx=function(e){X$(r,e);var t=J$(r);function r(n){K$(this,r);var o;return o=t.call(this,n),yr(_r(o),"processKey",[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]),o}return r}(ee),xu=function(e){X$(r,e);var t=J$(r);function r(n){K$(this,r);var o;o=t.call(this,n),yr(_r(o),"processKey",void 0),yr(_r(o),"initiatorMode",void 0),yr(_r(o),"fieldCode",void 0),yr(_r(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Oo.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Oo.controlName;var f;o.initiatorMode=(f=n==null?void 0:n.initiatorMode)!==null&&f!==void 0?f:"currentInitiator";var l;o.processKey=(l=n==null?void 0:n.processKey)!==null&&l!==void 0?l:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var s;return o.employeeId=(s=n==null?void 0:n.employeeId)!==null&&s!==void 0?s:"",o}return r}(Te);yr(xu,"Rules",dx);function Q$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hx(e,t,r){return t&&Z$(e.prototype,t),r&&Z$(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 Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function bx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fd(e,t)}function gx(e,t){return t&&(mx(t)==="object"||typeof t=="function")?t:Q$(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}function mx(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 wx(e){var t=Ox();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 gx(this,o)}}var Oo=function(e){bx(r,e);var t=wx(r);function r(n){vx(this,r);var o;return o=t.call(this,n),cd(Q$(o),"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return hx(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);cd(Oo,"controlEventKeys",["on_click","on_click_finish"]),cd(Oo,"setting",[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function eR(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 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 $x(e,t,r){return t&&tR(e.prototype,t),r&&tR(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 zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(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&&ld(e,t)}function Sx(e,t){return t&&(Ex(t)==="object"||typeof t=="function")?t:eR(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(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 Bx(e){var t=Ix();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 Sx(this,o)}}var Nx=function(e){Tx(r,e);var t=Bx(r);function r(n){Px(this,r);var o;return o=t.call(this,n),Rx(eR(o),"props",void 0),o.props=new xu(n==null?void 0:n.props),o}return $x(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Ve),nR={Designer:Oo,Runtime:Nx,Property:xu};function Mx(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 Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(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&&ad(e,t)}function Dx(e,t){return t&&(Lx(t)==="object"||typeof t=="function")?t:Mx(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}function Lx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fx(e){var t=jx();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 Dx(this,o)}}var sd=function(e){kx(r,e);var t=Fx(r);function r(n){Ax(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:wo.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:wo.controlIcon,o}return r}(Te);function rR(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 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 xx(e,t,r){return t&&oR(e.prototype,t),r&&oR(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 Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(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&&yd(e,t)}function zx(e,t){return t&&(Gx(t)==="object"||typeof t=="function")?t:rR(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(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=Yu(e),o;if(t){var i=Yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zx(this,o)}}var wo=function(e){Vx(r,e);var t=Hx(r);function r(n){Cx(this,r);var o;return o=t.call(this,n),_d(rR(o),"props",void 0),o.props=new sd(n==null?void 0:n.props),o}return xx(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);_d(wo,"controlEventKeys",["on_click"]),_d(wo,"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 iR(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 uR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ux(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}function Wx(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 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&&pd(e,t)}function Xx(e,t){return t&&(Jx(t)==="object"||typeof t=="function")?t:iR(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(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=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xx(this,o)}}var e7=function(e){Kx(r,e);var t=Zx(r);function r(n){qx(this,r);var o;return o=t.call(this,n),Wx(iR(o),"props",void 0),o.props=new sd(n==null?void 0:n.props),o}return Ux(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Ve),cR={Designer:wo,Runtime:e7,Property:sd};function dd(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 fR(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 n7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function r7(e,t){return t&&(o7(t)==="object"||typeof t=="function")?t:dd(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}function o7(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 u7(e){var t=i7();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 r7(this,o)}}var hd=function(e){n7(r,e);var t=u7(r);function r(n){t7(this,r);var o,i;o=t.call(this,n),fR(dd(o),"templateList",void 0),fR(dd(o),"templateType",void 0);var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:Po.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Po.controlName;var l;o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system";var a;return o.templateList=(a=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(s){return new Hp(s)}))!==null&&a!==void 0?a:[new Hp({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Te);function lR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c7(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 f7(e,t,r){return t&&aR(e.prototype,t),r&&aR(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 Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function l7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function a7(e,t){return t&&(s7(t)==="object"||typeof t=="function")?t:lR(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}function s7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y7(e){var t=_7();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 a7(this,o)}}var Po=function(e){l7(r,e);var t=y7(r);function r(n){c7(this,r);var o;return o=t.call(this,n),bd(lR(o),"props",void 0),o.props=new hd(n==null?void 0:n.props),o}return f7(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);bd(Po,"controlEventKeys",["on_click","on_click_finish"]),bd(Po,"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 sR(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 _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 d7(e,t,r){return t&&_R(e.prototype,t),r&&_R(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 Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function h7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 b7(e,t){return t&&(g7(t)==="object"||typeof t=="function")?t:sR(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}function g7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O7(e){var t=m7();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 b7(this,o)}}var w7=function(e){h7(r,e);var t=O7(r);function r(n){p7(this,r);var o;return o=t.call(this,n),v7(sR(o),"props",void 0),o.props=new hd(n==null?void 0:n.props),o}return d7(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Ve),yR={Designer:Po,Runtime:w7,Property:hd};function P7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $7(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 R7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 T7(e,t){return t&&(S7(t)==="object"||typeof t=="function")?t:P7(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}function S7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I7(e){var t=E7();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 T7(this,o)}}var wd=function(e){R7(r,e);var t=I7(r);function r(n){$7(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:$o.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:$o.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 B7(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 N7(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function Pd(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 M7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$d(e,t)}function A7(e,t){return t&&(k7(t)==="object"||typeof t=="function")?t:pR(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}function k7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L7(e){var t=D7();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 A7(this,o)}}var $o=function(e){M7(r,e);var t=L7(r);function r(n){B7(this,r);var o;return o=t.call(this,n),Pd(pR(o),"props",void 0),o.props=new wd(n==null?void 0:n.props),o}return N7(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);Pd($o,"controlEventKeys",["on_click"]),Pd($o,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function vR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F7(e,t,r){return t&&hR(e.prototype,t),r&&hR(e,r),e}function C7(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 x7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rd(e,t)}function V7(e,t){return t&&(z7(t)==="object"||typeof t=="function")?t:vR(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}function z7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y7(e){var t=G7();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 V7(this,o)}}var H7=function(e){x7(r,e);var t=Y7(r);function r(n){j7(this,r);var o;return o=t.call(this,n),C7(vR(o),"props",void 0),o.props=new wd(n==null?void 0:n.props),o}return F7(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Ve),bR={Designer:$o,Runtime:H7,Property:wd};function Td(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 Sd(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 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&&Ed(e,t)}function U7(e,t){return t&&(W7(t)==="object"||typeof t=="function")?t:Td(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(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=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U7(this,o)}}var J7=function e(t){gR(this,e),Sd(this,"dataCode",void 0),this.dataCode=t.dataCode},Id=function(e){q7(r,e);var t=X7(r);function r(n){gR(this,r);var o,i;o=t.call(this,n),Sd(Td(o),"canImportList",void 0),Sd(Td(o),"templateType",void 0);var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Ro.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:Ro.controlIcon;var l;o.canImportList=(l=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(s){return new J7(s)}))!==null&&l!==void 0?l:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return r}(Te);function mR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q7(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 Z7(e,t,r){return t&&OR(e.prototype,t),r&&OR(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 Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(e)}function e8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nd(e,t)}function t8(e,t){return t&&(n8(t)==="object"||typeof t=="function")?t:mR(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}function n8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o8(e){var t=r8();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 t8(this,o)}}var Ro=function(e){e8(r,e);var t=o8(r);function r(n){Q7(this,r);var o;return o=t.call(this,n),Bd(mR(o),"props",void 0),o.props=new Id(n==null?void 0:n.props),o}return Z7(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);Bd(Ro,"controlEventKeys",["on_click","on_click_finish"]),Bd(Ro,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function wR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u8(e,t,r){return t&&PR(e.prototype,t),r&&PR(e,r),e}function c8(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 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&&Md(e,t)}function l8(e,t){return t&&(a8(t)==="object"||typeof t=="function")?t:wR(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}function a8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _8(e){var t=s8();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 l8(this,o)}}var y8=function(e){f8(r,e);var t=_8(r);function r(n){i8(this,r);var o;return o=t.call(this,n),c8(wR(o),"props",void 0),o.props=new Id(n==null?void 0:n.props),o}return u8(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Ve),$R={Designer:Ro,Runtime:y8,Property:Id};function tc(){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 tn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RR(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 nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(e)}function TR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 SR(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){kt(e,o,r[o])})}return e}function p8(e,t){return t&&(d8(t)==="object"||typeof t=="function")?t:tn(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function d8(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 ER(e){var t=v8();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 p8(this,o)}}var h8=function(e){TR(r,e);var t=ER(r);function r(n){RR(this,r);var o;return o=t.call(this,n),kt(tn(o),"fillPayload",{type:"object",fields:SR({},tc())}),kt(tn(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}}),kt(tn(o),"fillBack",{type:"object",fields:SR({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},tc())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}),o}return r}(ee),rc=function(e){TR(r,e);var t=ER(r);function r(n){RR(this,r);var o;o=t.call(this,n),kt(tn(o),"fillPayload",void 0),kt(tn(o),"formBind",void 0),kt(tn(o),"fillBack",void 0),kt(tn(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:To.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:To.controlIcon;var f;return o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"create",o.fillPayload=new Ny(n==null?void 0:n.fillPayload),o.formBind=new zw(n==null?void 0:n.formBind),o.fillBack=new My(n==null?void 0:n.fillBack),o}return r}(Te);kt(rc,"Rules",h8);function IR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b8(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 g8(e,t,r){return t&&BR(e.prototype,t),r&&BR(e,r),e}function kd(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 m8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dd(e,t)}function O8(e,t){return t&&(w8(t)==="object"||typeof t=="function")?t:IR(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(e,t)}function w8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $8(e){var t=P8();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 O8(this,o)}}var To=function(e){m8(r,e);var t=$8(r);function r(n){b8(this,r);var o;return o=t.call(this,n),kd(IR(o),"props",void 0),o.props=new rc(n==null?void 0:n.props),o}return g8(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);kd(To,"controlEventKeys",["on_click","on_click_finish"]),kd(To,"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:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",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 R8(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 T8(e,t,r){return t&&MR(e.prototype,t),r&&MR(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 E8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function I8(e,t){return t&&(B8(t)==="object"||typeof t=="function")?t:NR(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}function B8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M8(e){var t=N8();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 I8(this,o)}}var A8=function(e){E8(r,e);var t=M8(r);function r(n){R8(this,r);var o;return o=t.call(this,n),S8(NR(o),"props",void 0),o.props=new rc(n==null?void 0:n.props),o}return T8(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(Ve),AR={Designer:To,Runtime:A8,Property:rc};function Dt(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 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 uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(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&&jd(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){gt(e,o,r[o])})}return e}function k8(e,t){return t&&(D8(t)==="object"||typeof t=="function")?t:Dt(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}function D8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=L8();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 k8(this,o)}}var j8=function(e){DR(r,e);var t=jR(r);function r(n){kR(this,r);var o;return o=t.call(this,n),gt(Dt(o),"fillPayload",{type:"object",fields:LR({},tc())}),gt(Dt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}),gt(Dt(o),"fillBack",{type:"object",fields:LR({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},tc())}),o}return r}(ee),cc=function(e){DR(r,e);var t=jR(r);function r(n){kR(this,r);var o;o=t.call(this,n),gt(Dt(o),"fillPayload",void 0),gt(Dt(o),"listPageBind",void 0),gt(Dt(o),"fillBack",void 0),gt(Dt(o),"showSelectedDetail",void 0),gt(Dt(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:So.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:So.controlIcon,o.fillPayload=new Ny(n==null?void 0:n.fillPayload),o.listPageBind=new Ai(n==null?void 0:n.listPageBind),o.fillBack=new My(n==null?void 0:n.fillBack);var f;return o.showSelectedDetail=(f=n==null?void 0:n.showSelectedDetail)!==null&&f!==void 0?f:!1,o.selectedContentConfig=new Li(n==null?void 0:n.selectedContentConfig),o}return r}(Te);gt(cc,"Rules",j8);function FR(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 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 C8(e,t,r){return t&&CR(e.prototype,t),r&&CR(e,r),e}function Fd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function x8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function V8(e,t){return t&&(z8(t)==="object"||typeof t=="function")?t:FR(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}function z8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=G8();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 V8(this,o)}}var So=function(e){x8(r,e);var t=Y8(r);function r(n){F8(this,r);var o;return o=t.call(this,n),Fd(FR(o),"props",void 0),o.props=new cc(n==null?void 0:n.props),o}return C8(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);Fd(So,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),Fd(So,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[u.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 H8(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 q8(e,t,r){return t&&VR(e.prototype,t),r&&VR(e,r),e}function U8(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 W8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 K8(e,t){return t&&(X8(t)==="object"||typeof t=="function")?t:xR(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function X8(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 Q8(e){var t=J8();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 K8(this,o)}}var Z8=function(e){W8(r,e);var t=Q8(r);function r(n){H8(this,r);var o;return o=t.call(this,n),U8(xR(o),"props",void 0),o.props=new cc(n==null?void 0:n.props),o}return q8(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(Ve),zR={Designer:So,Runtime:Z8,Property:cc};function eV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vd(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 ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function zd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function tV(e,t){return t&&(nV(t)==="object"||typeof t=="function")?t:eV(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gd(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 Yd(e){var t=rV();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 tV(this,o)}}var oV=function(e){zd(r,e);var t=Yd(r);function r(n){return Vd(this,r),t.call(this,n)}return r}(ee),iV=function(e){zd(r,e);var t=Yd(r);function r(n){return Vd(this,r),t.call(this,n)}return r}(Ut),Eo=function(e){zd(r,e);var t=Yd(r);function r(n){return Vd(this,r),t.call(this,n)}return r}(te);GR(Eo,"Rules",oV),GR(Eo,"RuntimeRules",iV);function YR(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 HR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cV(e,t,r){return t&&HR(e.prototype,t),r&&HR(e,r),e}function qR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(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&&Hd(e,t)}function lV(e,t){return t&&(aV(t)==="object"||typeof t=="function")?t:YR(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function aV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=sV();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 lV(this,o)}}var UR=function(e){fV(r,e);var t=_V(r);function r(n){uV(this,r);var o;return o=t.call(this,n),qR(YR(o),"props",void 0),o.props=new Eo(n==null?void 0:n.props),o}return cV(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(F);qR(UR,"setting",[]);function WR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pV(e,t,r){return t&&KR(e.prototype,t),r&&KR(e,r),e}function dV(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 vV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function hV(e,t){return t&&(bV(t)==="object"||typeof t=="function")?t:WR(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}function bV(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 mV(e){var t=gV();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 hV(this,o)}}var OV=function(e){vV(r,e);var t=mV(r);function r(n){yV(this,r);var o;return o=t.call(this,n),dV(WR(o),"props",void 0),o.props=new Eo(n==null?void 0:n.props),o}return pV(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(ne),XR={Designer:UR,Runtime:OV,Property:Eo};function Ke(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 Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(e)}function QR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ud(e,t)}function wV(e,t){return t&&(PV(t)==="object"||typeof t=="function")?t:Ke(e)}function Ud(e,t){return Ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ud(e,t)}function PV(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 ZR(e){var t=$V();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 wV(this,o)}}var RV=function(e){QR(r,e);var t=ZR(r);function r(n){JR(this,r);var o;return o=t.call(this,n),Xe(Ke(o),"dashboardKey",{type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")}),Xe(Ke(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Xe(Ke(o),"isHideCaption",{type:"boolean"}),Xe(Ke(o),"labelPosition",{type:"enum",enum:["top","left"]}),Xe(Ke(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ee),pc=function(e){QR(r,e);var t=ZR(r);function r(n){JR(this,r);var o;o=t.call(this,n),Xe(Ke(o),"dashboardKey",void 0),Xe(Ke(o),"caption",void 0),Xe(Ke(o),"isHideCaption",void 0),Xe(Ke(o),"isShowCaptionTip",void 0),Xe(Ke(o),"captionTip",void 0),Xe(Ke(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:"";var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;return o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top",o}return r}(te);Xe(pc,"Rules",RV);function eT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tT(e,t){for(var r=0;r<t.length;r++){var 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&&tT(e.prototype,t),r&&tT(e,r),e}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 dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(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&&Wd(e,t)}function IV(e,t){return t&&(BV(t)==="object"||typeof t=="function")?t:eT(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function BV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MV(e){var t=NV();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 IV(this,o)}}var rT=function(e){EV(r,e);var t=MV(r);function r(n){TV(this,r);var o;return o=t.call(this,n),nT(eT(o),"props",void 0),o.props=new pc(n==null?void 0:n.props),o}return SV(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);nT(rT,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function oT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kV(e,t,r){return t&&iT(e.prototype,t),r&&iT(e,r),e}function DV(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 LV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kd(e,t)}function jV(e,t){return t&&(FV(t)==="object"||typeof t=="function")?t:oT(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}function FV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xV(e){var t=CV();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 jV(this,o)}}var VV=function(e){LV(r,e);var t=xV(r);function r(n){AV(this,r);var o;return o=t.call(this,n),DV(oT(o),"props",void 0),o.props=new pc(n==null?void 0:n.props),o}return kV(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(ne),uT={Designer:rT,Runtime:VV,Property:pc};function Io(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bo(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&&Xd(e,t)}function zV(e,t){return t&&(GV(t)==="object"||typeof t=="function")?t:Io(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function GV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=YV();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 zV(this,o)}}var HV=function(e){fT(r,e);var t=lT(r);function r(n){cT(this,r);var o;return o=t.call(this,n),Bo(Io(o),"showType",{type:"enum",enum:["select","tabs"]}),Bo(Io(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}(ee),bc=function(e){fT(r,e);var t=lT(r);function r(n){cT(this,r);var o,i;o=t.call(this,n),Bo(Io(o),"showType",void 0),Bo(Io(o),"viewList",void 0);var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"select";var f;return o.viewList=(f=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(l){return new uP(l)}))!==null&&f!==void 0?f:[],o}return r}(te);Bo(bc,"Rules",HV);function aT(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 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 UV(e,t,r){return t&&sT(e.prototype,t),r&&sT(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 gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function WV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KV(e,t){return t&&(XV(t)==="object"||typeof t=="function")?t:aT(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}function XV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QV(e){var t=JV();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 KV(this,o)}}var yT=function(e){WV(r,e);var t=QV(r);function r(n){qV(this,r);var o;return o=t.call(this,n),_T(aT(o),"props",void 0),o.props=new bc(n==null?void 0:n.props),o}return UV(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(yT,"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 ZV(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 e9(e,t,r){return t&&dT(e.prototype,t),r&&dT(e,r),e}function t9(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 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&&Qd(e,t)}function r9(e,t){return t&&(o9(t)==="object"||typeof t=="function")?t:pT(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}function o9(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 u9(e){var t=i9();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 r9(this,o)}}var c9=function(e){n9(r,e);var t=u9(r);function r(n){ZV(this,r);var o;return o=t.call(this,n),t9(pT(o),"props",void 0),o.props=new bc(n==null?void 0:n.props),o}return e9(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(ne),vT={Designer:yT,Runtime:c9,Property:bc};function Ne(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 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 Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(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&&Zd(e,t)}function f9(e,t){return t&&(l9(t)==="object"||typeof t=="function")?t:Ne(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}function l9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gT(e){var t=a9();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 f9(this,o)}}var s9=function(e){bT(r,e);var t=gT(r);function r(n){hT(this,r);var o;return o=t.call(this,n),Me(Ne(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Me(Ne(o),"isHideCaption",{type:"boolean"}),Me(Ne(o),"labelPosition",{type:"enum",enum:["top","left"]}),Me(Ne(o),"ocrType",{type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")}),Me(Ne(o),"fillList",{type:"array",validator:function(c,f,l){var a=f.every(function(s){return!s.controlId});if(a){l(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),Me(Ne(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ee),wc=function(e){bT(r,e);var t=gT(r);function r(n){hT(this,r);var o,i;o=t.call(this,n),Me(Ne(o),"caption",void 0),Me(Ne(o),"isHideCaption",void 0),Me(Ne(o),"isShowCaptionTip",void 0),Me(Ne(o),"captionTip",void 0),Me(Ne(o),"labelPosition",void 0),Me(Ne(o),"ocrType",void 0),Me(Ne(o),"fillList",void 0);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:pr.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var 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?_:pr.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:pr.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(p){return new Re(p)}))!==null&&g!==void 0?g:[],o}return r}(Te);Me(wc,"Rules",s9);function mT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _9(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 y9(e,t,r){return t&&OT(e.prototype,t),r&&OT(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 Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(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&&tv(e,t)}function d9(e,t){return t&&(v9(t)==="object"||typeof t=="function")?t:mT(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}function v9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=h9();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 d9(this,o)}}var pr=function(e){p9(r,e);var t=b9(r);function r(n){_9(this,r);var o;return o=t.call(this,n),ev(mT(o),"props",void 0),o.props=new wc(n==null?void 0:n.props),o}return y9(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);ev(pr,"controlEventKeys",["on_click","on_click_finish"]),ev(pr,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function wT(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 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 m9(e,t,r){return t&&PT(e.prototype,t),r&&PT(e,r),e}function O9(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 w9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 P9(e,t){return t&&($9(t)==="object"||typeof t=="function")?t:wT(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}function $9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T9(e){var t=R9();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 P9(this,o)}}var S9=function(e){w9(r,e);var t=T9(r);function r(n){g9(this,r);var o;return o=t.call(this,n),O9(wT(o),"props",void 0),o.props=new wc(n==null?void 0:n.props),o}return m9(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Ve),$T={Designer:pr,Runtime:S9,Property:wc};function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function TT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rv(e,t)}function E9(e,t){return t&&(I9(t)==="object"||typeof t=="function")?t:Ae(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function I9(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 ST(e){var t=B9();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 E9(this,o)}}var N9=function(e){TT(r,e);var t=ST(r);function r(n){RT(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),"invoiceCheck",{type:"boolean"}),ke(Ae(o),"fillList",{type:"array",validator:function(c,f,l){var a=f.every(function(s){return!s.controlId});if(a){l(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),ke(Ae(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ee),Tc=function(e){TT(r,e);var t=ST(r);function r(n){RT(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),"invoiceCheck",void 0),ke(Ae(o),"fillList",void 0);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:dr.controlName;var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var 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?_:dr.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:dr.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(p){return new Re(p)}))!==null&&g!==void 0?g:[],o}return r}(Te);ke(Tc,"Rules",N9);function ET(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 IT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A9(e,t,r){return t&&IT(e.prototype,t),r&&IT(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 Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(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&&iv(e,t)}function D9(e,t){return t&&(L9(t)==="object"||typeof t=="function")?t:ET(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(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=Sc(e),o;if(t){var i=Sc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D9(this,o)}}var dr=function(e){k9(r,e);var t=F9(r);function r(n){M9(this,r);var o;return o=t.call(this,n),ov(ET(o),"props",void 0),o.props=new Tc(n==null?void 0:n.props),o}return A9(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);ov(dr,"controlEventKeys",["on_click","on_click_finish"]),ov(dr,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function BT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NT(e,t){for(var r=0;r<t.length;r++){var 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&&NT(e.prototype,t),r&&NT(e,r),e}function V9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(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&&uv(e,t)}function G9(e,t){return t&&(Y9(t)==="object"||typeof t=="function")?t:BT(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function Y9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q9(e){var t=H9();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 G9(this,o)}}var U9=function(e){z9(r,e);var t=q9(r);function r(n){C9(this,r);var o;return o=t.call(this,n),V9(BT(o),"props",void 0),o.props=new Tc(n==null?void 0:n.props),o}return x9(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Ve),MT={Designer:dr,Runtime:U9,Property:Tc};function Ic(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function kT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}function W9(e,t){return t&&(K9(t)==="object"||typeof t=="function")?t:Ic(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}function K9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DT(e){var t=X9();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 W9(this,o)}}var J9=function(e){kT(r,e);var t=DT(r);function r(){AT(this,r);var n;return n=t.apply(this,arguments),Bc(Ic(n),"printTemplates",{type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(ee),Mc=function(e){kT(r,e);var t=DT(r);function r(n){AT(this,r);var o,i;o=t.call(this,n),Bc(Ic(o),"printTemplates",void 0),Bc(Ic(o),"autoSelectTemplate",void 0);var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:No.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:No.controlName;var l;o.printTemplates=(l=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new P$(s)}))!==null&&l!==void 0?l:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return r}(Te);Bc(Mc,"Rules",J9);function LT(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 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 Z9(e,t,r){return t&&jT(e.prototype,t),r&&jT(e,r),e}function fv(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 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&&lv(e,t)}function tz(e,t){return t&&(nz(t)==="object"||typeof t=="function")?t:LT(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function nz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oz(e){var t=rz();return function(){var n=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tz(this,o)}}var No=function(e){ez(r,e);var t=oz(r);function r(n){Q9(this,r);var o;return o=t.call(this,n),fv(LT(o),"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return Z9(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);fv(No,"controlEventKeys",["on_click","on_click_finish"]),fv(No,"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 FT(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 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 uz(e,t,r){return t&&CT(e.prototype,t),r&&CT(e,r),e}function cz(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 fz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function lz(e,t){return t&&(az(t)==="object"||typeof t=="function")?t:FT(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}function az(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 _z(e){var t=sz();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 lz(this,o)}}var yz=function(e){fz(r,e);var t=_z(r);function r(n){iz(this,r);var o;return o=t.call(this,n),cz(FT(o),"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return uz(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Ve),xT={Designer:No,Runtime:yz,Property:Mc};function pz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function vz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sv(e,t)}function hz(e,t){return t&&(bz(t)==="object"||typeof t=="function")?t:pz(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}function bz(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 mz(e){var t=gz();return function(){var n=Dc(e),o;if(t){var i=Dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hz(this,o)}}var _v=function(e){vz(r,e);var t=mz(r);function r(n){dz(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Mo.controlName;var c;return o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:Mo.controlIcon,o}return r}(Te);function VT(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 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 wz(e,t,r){return t&&zT(e.prototype,t),r&&zT(e,r),e}function yv(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 Pz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function $z(e,t){return t&&(Rz(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 Rz(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 Sz(e){var t=Tz();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 $z(this,o)}}var Mo=function(e){Pz(r,e);var t=Sz(r);function r(n){Oz(this,r);var o;return o=t.call(this,n),yv(VT(o),"props",void 0),o.props=new _v(n==null?void 0:n.props),o}return wz(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);yv(Mo,"controlEventKeys",["on_click"]),yv(Mo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function GT(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 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 Iz(e,t,r){return t&&YT(e.prototype,t),r&&YT(e,r),e}function Bz(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 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&&dv(e,t)}function Mz(e,t){return t&&(Az(t)==="object"||typeof t=="function")?t:GT(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(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=jc(e),o;if(t){var i=jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mz(this,o)}}var Lz=function(e){Nz(r,e);var t=Dz(r);function r(n){Ez(this,r);var o;return o=t.call(this,n),Bz(GT(o),"props",void 0),o.props=new _v(n==null?void 0:n.props),o}return Iz(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Ve),HT={Designer:Mo,Runtime:Lz,Property:_v};function Ee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qT(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 Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function UT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function jz(e,t){return t&&(Fz(t)==="object"||typeof t=="function")?t:Ee(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function Fz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WT(e){var t=Cz();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 jz(this,o)}}var xz=function(e){UT(r,e);var t=WT(r);function r(n){qT(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}(ee),Cc=function(e){UT(r,e);var t=WT(r);function r(n){qT(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 c;o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"custom";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return r}(te);Ie(Cc,"Rules",xz);function KT(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 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 zz(e,t,r){return t&&XT(e.prototype,t),r&&XT(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 xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(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&&bv(e,t)}function Yz(e,t){return t&&(Hz(t)==="object"||typeof t=="function")?t:KT(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(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=xc(e),o;if(t){var i=xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yz(this,o)}}var Vc=function(e){Gz(r,e);var t=Uz(r);function r(n){Vz(this,r);var o;return o=t.call(this,n),hv(KT(o),"props",void 0),o.props=new Cc(n==null?void 0:n.props),o}return zz(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);hv(Vc,"controlEventKeys",["on_click"]),hv(Vc,"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:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function JT(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 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 Kz(e,t,r){return t&&QT(e.prototype,t),r&&QT(e,r),e}function Xz(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 Jz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function Qz(e,t){return t&&(Zz(t)==="object"||typeof t=="function")?t:JT(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}function Zz(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 tG(e){var t=eG();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 Qz(this,o)}}var nG=function(e){Jz(r,e);var t=tG(r);function r(n){Wz(this,r);var o;return o=t.call(this,n),Xz(JT(o),"props",void 0),o.props=new Cc(n==null?void 0:n.props),o}return Kz(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(ne),Ao={Designer:Vc,Runtime:nG,Property:Cc};function Lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(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&&mv(e,t)}function iG(e,t){return t&&(uG(t)==="object"||typeof t=="function")?t:Lt(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(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 fG(e){var t=cG();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 iG(this,o)}}var Ov=function(e){oG(r,e);var t=fG(r);function r(n){rG(this,r);var o;o=t.call(this,n),nn(Lt(o),"content",void 0),nn(Lt(o),"buttonType",void 0),nn(Lt(o),"showType",void 0),nn(Lt(o),"color",void 0),nn(Lt(o),"icon",void 0),nn(Lt(o),"defaultState",void 0),nn(Lt(o),"command",void 0),nn(Lt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:ko.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:ko.controlIcon;var f;o.buttonType=(f=n==null?void 0:n.buttonType)!==null&&f!==void 0?f:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var 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 y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var b;return o.isLoading=(b=n==null?void 0:n.isLoading)!==null&&b!==void 0?b:!1,o}return r}(te);function ZT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lG(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 aG(e,t,r){return t&&eS(e.prototype,t),r&&eS(e,r),e}function wv(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 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&&Pv(e,t)}function _G(e,t){return t&&(yG(t)==="object"||typeof t=="function")?t:ZT(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function yG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=pG();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 _G(this,o)}}var ko=function(e){sG(r,e);var t=dG(r);function r(n){lG(this,r);var o;return o=t.call(this,n),wv(ZT(o),"props",void 0),o.props=new Ov(n==null?void 0:n.props),o}return aG(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);wv(ko,"controlEventKeys",["on_click"]),wv(ko,"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:[u.COMMON_SETTING_TYPE.IS_HIDE]},{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 vG(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 hG(e,t,r){return t&&nS(e.prototype,t),r&&nS(e,r),e}function bG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(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&&$v(e,t)}function mG(e,t){return t&&(OG(t)==="object"||typeof t=="function")?t:tS(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(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=Hc(e),o;if(t){var i=Hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mG(this,o)}}var $G=function(e){gG(r,e);var t=PG(r);function r(n){vG(this,r);var o;return o=t.call(this,n),bG(tS(o),"props",void 0),o.props=new Ov(n==null?void 0:n.props),o}return hG(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(ne),rS={Designer:ko,Runtime:$G,Property:Ov},RG=Object.freeze({__proto__:null,Text:l$,Link:p$,Button:g$,Divider:M$,Title:x$,CreateFormListButton:W$,BatchSubmissionListButton:nR,SubmissionRecordListButton:cR,ExportListButton:yR,ExportRecordListButton:bR,ImportRecordListButton:$R,FormSelectButton:AR,ListSelectButton:zR,Pagination:XR,Dashboard:uT,ListViewSelect:vT,TextOcrButton:$T,InvoiceCheckButton:MT,BatchPrintListButton:xT,BatchPrintRecordListButton:HT,OperationButton:Ao,BatchDeleteButton:rS});function mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rv(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 qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(e)}function Tv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sv(e,t)}function TG(e,t){return t&&(SG(t)==="object"||typeof t=="function")?t:mt(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}function SG(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 Ev(e){var t=EG();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 TG(this,o)}}var IG=function(e){Tv(r,e);var t=Ev(r);function r(n){Rv(this,r);var o;return o=t.call(this,n),it(mt(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),it(mt(o),"minLength",{type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),it(mt(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=go(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(le),BG=function(e){Tv(r,e);var t=Ev(r);function r(n){Rv(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:go(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(x),vr=function(e){Tv(r,e);var t=Ev(r);function r(n){Rv(this,r);var o;o=t.call(this,n),it(mt(o),"maxLength",void 0),it(mt(o),"minLength",void 0),it(mt(o),"regularRules",void 0),it(mt(o),"defaultValue",void 0),it(mt(o),"encrypted",void 0),it(mt(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var c;o.minLength=(c=n==null?void 0:n.minLength)!==null&&c!==void 0?c:0,o.regularRules=new Ay(n==null?void 0:n.regularRules);var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:hr.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);it(vr,"Rules",IG),it(vr,"RuntimeRules",BG);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 MG(e,t,r){return t&&iS(e.prototype,t),r&&iS(e,r),e}function Uc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function AG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iv(e,t)}function kG(e,t){return t&&(DG(t)==="object"||typeof t=="function")?t:oS(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(e,t)}function DG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jG(e){var t=LG();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 kG(this,o)}}var hr=function(e){AG(r,e);var t=jG(r);function r(n){NG(this,r);var o;return o=t.call(this,n),Uc(oS(o),"props",void 0),o.props=new vr(n==null?void 0:n.props),o}return MG(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);Uc(hr,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Uc(hr,"controlFieldType",u.FieldTypes.VARCHAR),Uc(hr,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.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 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 CG(e,t,r){return t&&cS(e.prototype,t),r&&cS(e,r),e}function fS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function xG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function VG(e,t){return t&&(zG(t)==="object"||typeof t=="function")?t:uS(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}function zG(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 YG(e){var t=GG();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 VG(this,o)}}var lS=function(e){xG(r,e);var t=YG(r);function r(n){FG(this,r);var o;return o=t.call(this,n),fS(uS(o),"props",void 0),o.props=new vr(n==null?void 0:n.props),o}return CG(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(k);fS(lS,"controlFieldType",u.FieldTypes.VARCHAR);var aS={Designer:hr,Runtime:lS,Property:vr};function me(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 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 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&&Av(e,t)}function HG(e,t){return t&&(qG(t)==="object"||typeof t=="function")?t:me(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}function qG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=UG();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 HG(this,o)}}var WG=function(e){Mv(r,e);var t=kv(r);function r(n){Nv(this,r);var o;o=t.call(this,n),se(me(o),"limitMax",{type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var c=function(f){return f==="unlimited"?void 0:f};return o.limitMax.min=c(n.limitMin),o}return r}(Rn),KG=function(e){Mv(r,e);var t=kv(r);function r(n){Nv(this,r);var o;return o=t.call(this,n),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}(x),Do=function(e){Mv(r,e);var t=kv(r);function r(n){Nv(this,r);var o;o=t.call(this,n),se(me(o),"checkboxMode",void 0),se(me(o),"options",void 0),se(me(o),"optionsOrder",void 0),se(me(o),"limitMax",void 0),se(me(o),"limitMin",void 0),se(me(o),"otherOption",void 0),se(me(o),"optionConfig",void 0),se(me(o),"optionsFormat",void 0),se(me(o),"defaultShowOptions",void 0),se(me(o),"datasourceBind",void 0),se(me(o),"multistageFilling",void 0),se(me(o),"interreaction",void 0),se(me(o),"defaultValue",void 0),se(me(o),"openMultistageFilling",void 0);var i;o.options=dt((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 c;o.checkboxMode=(c=n==null?void 0:n.checkboxMode)!==null&&c!==void 0?c:"horizontal";var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom";var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var 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 y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Lo.controlName;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:[];var p;o.optionsFormat=(p=n==null?void 0:n.optionsFormat)!==null&&p!==void 0?p:"horizontal";var m;o.defaultShowOptions=(m=n==null?void 0:n.defaultShowOptions)!==null&&m!==void 0?m:!0;var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Re(O))})),o}return r}(M);se(Do,"Rules",WG),se(Do,"RuntimeRules",KG);function sS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XG(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 JG(e,t,r){return t&&_S(e.prototype,t),r&&_S(e,r),e}function Jc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(e)}function QG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function ZG(e,t){return t&&(eY(t)==="object"||typeof t=="function")?t:sS(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}function eY(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 nY(e){var t=tY();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 Lo=function(e){QG(r,e);var t=nY(r);function r(n){XG(this,r);var o;return o=t.call(this,n),Jc(sS(o),"props",void 0),o.props=new Do(n==null?void 0:n.props),o}return JG(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(A);Jc(Lo,"controlEventKeys",["on_change","on_click"]),Jc(Lo,"controlFieldType",u.FieldTypes.ARRAY),Jc(Lo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.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 yS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rY(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 oY(e,t,r){return t&&pS(e.prototype,t),r&&pS(e,r),e}function dS(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 iY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lv(e,t)}function uY(e,t){return t&&(cY(t)==="object"||typeof t=="function")?t:yS(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}function cY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=fY();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 uY(this,o)}}var vS=function(e){iY(r,e);var t=lY(r);function r(n){rY(this,r);var o;return o=t.call(this,n),dS(yS(o),"props",void 0),o.props=new Do(n==null?void 0:n.props),o}return oY(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(k);dS(vS,"controlFieldType",u.FieldTypes.ARRAY);var hS={Designer:Lo,Runtime:vS,Property:Do};function ze(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 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 ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function gS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jv(e,t)}function aY(e,t){return t&&(sY(t)==="object"||typeof t=="function")?t:ze(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}function sY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _Y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=_Y();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 aY(this,o)}}var yY=function(e){gS(r,e);var t=mS(r);function r(n){return bS(this,r),t.call(this,n)}return r}(Rn),tf=function(e){gS(r,e);var t=mS(r);function r(n){bS(this,r);var o;o=t.call(this,n),Ge(ze(o),"radioMode",void 0),Ge(ze(o),"options",void 0),Ge(ze(o),"optionConfig",void 0),Ge(ze(o),"optionsFormat",void 0),Ge(ze(o),"defaultShowOptions",void 0),Ge(ze(o),"otherOption",void 0),Ge(ze(o),"optionsOrder",void 0),Ge(ze(o),"datasourceBind",void 0),Ge(ze(o),"multistageFilling",void 0),Ge(ze(o),"interreaction",void 0),Ge(ze(o),"defaultValue",void 0),Ge(ze(o),"openMultistageFilling",void 0);var i;o.options=dt((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 c;o.radioMode=(c=n==null?void 0:n.radioMode)!==null&&c!==void 0?c:"horizontal";var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom";var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var 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 y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:jo.controlName;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:"";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(m){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new Re(m))})),o}return r}(M);Ge(tf,"Rules",yY);function OS(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 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 dY(e,t,r){return t&&wS(e.prototype,t),r&&wS(e,r),e}function nf(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 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&&Fv(e,t)}function hY(e,t){return t&&(bY(t)==="object"||typeof t=="function")?t:OS(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(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=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hY(this,o)}}var jo=function(e){vY(r,e);var t=mY(r);function r(n){pY(this,r);var o;return o=t.call(this,n),nf(OS(o),"props",void 0),o.props=new tf(n==null?void 0:n.props),o}return dY(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(A);nf(jo,"controlEventKeys",["on_change","on_click"]),nf(jo,"controlFieldType",u.FieldTypes.VARCHAR),nf(jo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function PS(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 $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 wY(e,t,r){return t&&$S(e.prototype,t),r&&$S(e,r),e}function RS(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 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&&Cv(e,t)}function $Y(e,t){return t&&(RY(t)==="object"||typeof t=="function")?t:PS(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(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=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $Y(this,o)}}var TS=function(e){PY(r,e);var t=SY(r);function r(n){OY(this,r);var o;return o=t.call(this,n),RS(PS(o),"props",void 0),o.props=new tf(n==null?void 0:n.props),o}return wY(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(k);RS(TS,"controlFieldType",u.FieldTypes.VARCHAR);var SS={Designer:jo,Runtime:TS,Property:tf};function Be(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 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 uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(e)}function Vv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zv(e,t)}function EY(e,t){return t&&(IY(t)==="object"||typeof t=="function")?t:Be(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(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 Gv(e){var t=BY();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 EY(this,o)}}var NY=function(e){Vv(r,e);var t=Gv(r);function r(n){xv(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,c=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=c,o.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:i,min:c}),c&&i!==void 0&&(o.rangeMax={type:"number",min:c,message:d.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=go(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(le),MY=function(e){Vv(r,e);var t=Gv(r);function r(n){xv(this,r);var o;o=t.call(this,n),o[0].type="number";var i=n.rangeMax!==""?n.rangeMax:void 0,c=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:c,message:d.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":c===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:c})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:go(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(x),Fo=function(e){Vv(r,e);var t=Gv(r);function r(n){xv(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 c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var f;o.numberType=(f=n==null?void 0:n.numberType)!==null&&f!==void 0?f:"number";var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var 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 y;o.isShowUnit=(y=n==null?void 0:n.isShowUnit)!==null&&y!==void 0?y:!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 p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Co.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u8F93\u5165";var h;return o.defaultValue=(h=n==null?void 0:n.defaultValue)!==null&&h!==void 0?h:"",o.regularRules=new Ay(n==null?void 0:n.regularRules),o}return r}(M);Oe(Fo,"Rules",NY),Oe(Fo,"RuntimeRules",MY);function ES(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AY(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 kY(e,t,r){return t&&IS(e.prototype,t),r&&IS(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 ff(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ff=Reflect.get:ff=function(o,i,c){var f=jY(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},ff(e,t,r||e)}function br(e){return br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},br(e)}function DY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}function LY(e,t){return t&&(FY(t)==="object"||typeof t=="function")?t:ES(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}function jY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=br(e),e!==null););return e}function FY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xY(e){var t=CY();return function(){var n=br(e),o;if(t){var i=br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LY(this,o)}}var Co=function(e){DY(r,e);var t=xY(r);function r(n){AY(this,r);var o;return o=t.call(this,n),cf(ES(o),"props",void 0),o.props=new Fo(n==null?void 0:n.props),o}return kY(r,[{key:"toDataBindModel",value:function(o){var i=ff(br(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.precision,l=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(A);cf(Co,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),cf(Co,"controlFieldType",u.FieldTypes.DECIMAL),cf(Co,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_UNIT,u.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:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],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 VY(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 zY(e,t,r){return t&&NS(e.prototype,t),r&&NS(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 lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(e)}function GY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function YY(e,t){return t&&(HY(t)==="object"||typeof t=="function")?t:BS(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}function HY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UY(e){var t=qY();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 YY(this,o)}}var AS=function(e){GY(r,e);var t=UY(r);function r(n){VY(this,r);var o;return o=t.call(this,n),MS(BS(o),"props",void 0),o.props=new Fo(n==null?void 0:n.props),o}return zY(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(k);MS(AS,"controlFieldType",u.FieldTypes.DECIMAL);var kS={Designer:Co,Runtime:AS,Property:Fo};function jt(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 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 af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(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 XY(e,t){return t&&(JY(t)==="object"||typeof t=="function")?t:jt(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}function JY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZY(e){var t=QY();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 XY(this,o)}}var Uv=function(e){KY(r,e);var t=ZY(r);function r(n){WY(this,r);var o,i;o=t.call(this,n),rn(jt(o),"dateType",void 0),rn(jt(o),"dateFormat",void 0),rn(jt(o),"commonTimeSetting",void 0),rn(jt(o),"setValueType",void 0),rn(jt(o),"defaultValue",void 0),rn(jt(o),"limitDateList",void 0),rn(jt(o),"allowDateRange",void 0),rn(jt(o),"filterWeekend",void 0);var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:u.DateType.DATE;var f;o.dateFormat=(f=n==null?void 0:n.dateFormat)!==null&&f!==void 0?f:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:_f.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u65E5\u671F";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"";var b;o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(m){return new $u(m)}))!==null&&b!==void 0?b:[];var g;o.allowDateRange=(g=n==null?void 0:n.allowDateRange)!==null&&g!==void 0?g:["",""];var p;return o.filterWeekend=(p=n==null?void 0:n.filterWeekend)!==null&&p!==void 0?p:!1,o}return r}(M);function DS(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 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 tH(e,t,r){return t&&LS(e.prototype,t),r&&LS(e,r),e}function Wv(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?sf=Reflect.get:sf=function(o,i,c){var f=oH(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},sf(e,t,r||e)}function gr(e){return gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gr(e)}function nH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function rH(e,t){return t&&(iH(t)==="object"||typeof t=="function")?t:DS(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}function oH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=gr(e),e!==null););return e}function iH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cH(e){var t=uH();return function(){var n=gr(e),o;if(t){var i=gr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rH(this,o)}}var _f=function(e){nH(r,e);var t=cH(r);function r(n){eH(this,r);var o;return o=t.call(this,n),Wv(DS(o),"props",void 0),o.props=new Uv(n==null?void 0:n.props),o}return tH(r,[{key:"toDataBindModel",value:function(o){var i=sf(gr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props.dateType;i.props.dateType=c}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(A);Wv(_f,"controlFieldType",u.FieldTypes.TIMESTAMP),Wv(_f,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function jS(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 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 lH(e,t,r){return t&&FS(e.prototype,t),r&&FS(e,r),e}function CS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(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&&Xv(e,t)}function sH(e,t){return t&&(_H(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 _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=yf(e),o;if(t){var i=yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sH(this,o)}}var xS=function(e){aH(r,e);var t=pH(r);function r(n){fH(this,r);var o;return o=t.call(this,n),CS(jS(o),"props",void 0),o.props=new Uv(n==null?void 0:n.props),o}return lH(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(k);CS(xS,"controlFieldType",u.FieldTypes.TIMESTAMP);var VS={Designer:_f,Runtime:xS,Property:Uv};function Je(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zS(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 pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function GS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jv(e,t)}function dH(e,t){return t&&(vH(t)==="object"||typeof t=="function")?t:Je(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function vH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YS(e){var t=hH();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 dH(this,o)}}var bH=function(e){GS(r,e);var t=YS(r);function r(n){zS(this,r);var o;return o=t.call(this,n),o[0].type="object",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}(x),df=function(e){GS(r,e);var t=YS(r);function r(n){zS(this,r);var o,i;o=t.call(this,n),Qe(Je(o),"dataBind",void 0),Qe(Je(o),"rangeMin",void 0),Qe(Je(o),"rangeMax",void 0),Qe(Je(o),"placeholderStart",void 0),Qe(Je(o),"placeholderEnd",void 0),Qe(Je(o),"dateFormat",void 0),Qe(Je(o),"commonTimeSetting",void 0),Qe(Je(o),"dateType",void 0),Qe(Je(o),"setValueType",void 0),Qe(Je(o),"defaultValue",void 0),Qe(Je(o),"limitDateList",void 0),o.dataBind=new tP(n==null?void 0:n.dataBind),o.defaultValue=new nP(n==null?void 0:n.defaultValue);var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:u.DateType.DATE;var f;o.dateFormat=(f=n==null?void 0:n.dateFormat)!==null&&f!==void 0?f:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var 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 y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y:"\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:hf.controlName;var p;return o.limitDateList=(p=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(m){return new $u(m)}))!==null&&p!==void 0?p:[],o}return r}(M);Qe(df,"RuntimeRules",bH);function HS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mH(e,t,r){return t&&qS(e.prototype,t),r&&qS(e,r),e}function Qv(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?vf=Reflect.get:vf=function(o,i,c){var f=PH(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},vf(e,t,r||e)}function mr(e){return mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mr(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&&Zv(e,t)}function wH(e,t){return t&&($H(t)==="object"||typeof t=="function")?t:HS(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zv(e,t)}function PH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=mr(e),e!==null););return e}function $H(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 TH(e){var t=RH();return function(){var n=mr(e),o;if(t){var i=mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wH(this,o)}}var hf=function(e){OH(r,e);var t=TH(r);function r(n){gH(this,r);var o;return o=t.call(this,n),Qv(HS(o),"props",void 0),o.props=new df(n==null?void 0:n.props),o}return mH(r,[{key:"toDataBindModel",value:function(o){var i=vf(mr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props.dateType;i.props.dateType=c}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);Qv(hf,"controlFieldType",u.FieldTypes.TIMESCOPE),Qv(hf,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{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 SH(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 EH(e,t,r){return t&&WS(e.prototype,t),r&&WS(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 bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(e)}function IH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function BH(e,t){return t&&(NH(t)==="object"||typeof t=="function")?t:US(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(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 AH(e){var t=MH();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 BH(this,o)}}var XS=function(e){IH(r,e);var t=AH(r);function r(n){SH(this,r);var o;return o=t.call(this,n),KS(US(o),"props",void 0),o.props=new df(n==null?void 0:n.props),o}return EH(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(k);KS(XS,"controlFieldType",u.FieldTypes.TIMESCOPE);var JS={Designer:hf,Runtime:XS,Property:df};function on(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 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 gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function nh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function kH(e,t){return t&&(DH(t)==="object"||typeof t=="function")?t:on(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}function DH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oh(e){var t=LH();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 kH(this,o)}}var jH=function(e){nh(r,e);var t=oh(r);function r(n){th(this,r);var o;return o=t.call(this,n),Ft(on(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Ft(on(o),"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Ft(on(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}(le),FH=function(e){nh(r,e);var t=oh(r);function r(n){th(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}(x),xo=function(e){nh(r,e);var t=oh(r);function r(n){th(this,r);var o;o=t.call(this,n),Ft(on(o),"maxLength",void 0),Ft(on(o),"minLength",void 0),Ft(on(o),"defaultValue",void 0),Ft(on(o),"lineEllipsis",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var c;o.minLength=(c=n==null?void 0:n.minLength)!==null&&c!==void 0?c:0;var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Vo.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var s;return o.lineEllipsis=(s=n==null?void 0:n.lineEllipsis)!==null&&s!==void 0?s:4,o}return r}(M);Ft(xo,"Rules",jH),Ft(xo,"RuntimeRules",FH);function QS(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 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 xH(e,t,r){return t&&ZS(e.prototype,t),r&&ZS(e,r),e}function mf(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 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&&ih(e,t)}function zH(e,t){return t&&(GH(t)==="object"||typeof t=="function")?t:QS(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function GH(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 HH(e){var t=YH();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 zH(this,o)}}var Vo=function(e){VH(r,e);var t=HH(r);function r(n){CH(this,r);var o;return o=t.call(this,n),mf(QS(o),"props",void 0),o.props=new xo(n==null?void 0:n.props),o}return xH(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);mf(Vo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),mf(Vo,"controlFieldType",u.FieldTypes.TEXT),mf(Vo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.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 eE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qH(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 UH(e,t,r){return t&&tE(e.prototype,t),r&&tE(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 wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(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&&uh(e,t)}function KH(e,t){return t&&(XH(t)==="object"||typeof t=="function")?t:eE(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(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 QH(e){var t=JH();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 KH(this,o)}}var rE=function(e){WH(r,e);var t=QH(r);function r(n){qH(this,r);var o;return o=t.call(this,n),nE(eE(o),"props",void 0),o.props=new xo(n==null?void 0:n.props),o}return UH(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(k);nE(rE,"controlFieldType",u.FieldTypes.TEXT);var oE={Designer:Vo,Runtime:rE,Property:xo};function En(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 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 Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function fh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lh(e,t)}function ZH(e,t){return t&&(eq(t)==="object"||typeof t=="function")?t:En(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(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 ah(e){var t=tq();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 ZH(this,o)}}var nq=function(e){fh(r,e);var t=ah(r);function r(n){ch(this,r);var o;return o=t.call(this,n),un(En(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),un(En(o),"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),un(En(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}(le),rq=function(e){fh(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}(x),zo=function(e){fh(r,e);var t=ah(r);function r(n){ch(this,r);var o;o=t.call(this,n),un(En(o),"maxLength",void 0),un(En(o),"minLength",void 0),un(En(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var c;o.minLength=(c=n==null?void 0:n.minLength)!==null&&c!==void 0?c:0;var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Go.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);un(zo,"Rules",nq),un(zo,"RuntimeRules",rq);function iE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oq(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 iq(e,t,r){return t&&uE(e.prototype,t),r&&uE(e,r),e}function $f(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 uq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function cq(e,t){return t&&(fq(t)==="object"||typeof t=="function")?t:iE(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}function fq(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 aq(e){var t=lq();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 cq(this,o)}}var Go=function(e){uq(r,e);var t=aq(r);function r(n){oq(this,r);var o;return o=t.call(this,n),$f(iE(o),"props",void 0),o.props=new zo(n==null?void 0:n.props),o}return iq(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);$f(Go,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),$f(Go,"controlFieldType",u.FieldTypes.TEXT),$f(Go,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.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 cE(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 fE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _q(e,t,r){return t&&fE(e.prototype,t),r&&fE(e,r),e}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 Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function yq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function pq(e,t){return t&&(dq(t)==="object"||typeof t=="function")?t:cE(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(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 hq(e){var t=vq();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 pq(this,o)}}var aE=function(e){yq(r,e);var t=hq(r);function r(n){sq(this,r);var o;return o=t.call(this,n),lE(cE(o),"props",void 0),o.props=new zo(n==null?void 0:n.props),o}return _q(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(k);lE(aE,"controlFieldType",u.FieldTypes.TEXT);var sE={Designer:Go,Runtime:aE,Property:zo};function Ze(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 et(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 yE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bq(e,t){return t&&(gq(t)==="object"||typeof t=="function")?t:Ze(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}function gq(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 pE(e){var t=mq();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 bq(this,o)}}var Oq=function(e){yE(r,e);var t=pE(r);function r(n){return _E(this,r),t.call(this,n)}return r}(Rn),Ef=function(e){yE(r,e);var t=pE(r);function r(n){_E(this,r);var o;o=t.call(this,n),et(Ze(o),"options",void 0),et(Ze(o),"defaultShowOptions",void 0),et(Ze(o),"optionConfig",void 0),et(Ze(o),"defaultValue",void 0),et(Ze(o),"datasourceBind",void 0),et(Ze(o),"multistageFilling",void 0),et(Ze(o),"allowCopyOptions",void 0),et(Ze(o),"openMultistageFilling",void 0),et(Ze(o),"viewFormModelType",void 0),et(Ze(o),"canViewForm",void 0),et(Ze(o),"formBind",void 0);var i;o.options=dt((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 c;o.defaultShowOptions=(c=n==null?void 0:n.defaultShowOptions)!==null&&c!==void 0?c:!0;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom",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:Bf.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 y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(p){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new Re(p))}));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 Pn(n==null?void 0:n.formBind),o}return r}(M);et(Ef,"Rules",Oq);function dE(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 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 Pq(e,t,r){return t&&vE(e.prototype,t),r&&vE(e,r),e}function ph(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 $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&&dh(e,t)}function Rq(e,t){return t&&(Tq(t)==="object"||typeof t=="function")?t:dE(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(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=If(e),o;if(t){var i=If(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rq(this,o)}}var Bf=function(e){$q(r,e);var t=Eq(r);function r(n){wq(this,r);var o;return o=t.call(this,n),ph(dE(o),"props",void 0),o.props=new Ef(n==null?void 0:n.props),o}return Pq(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);ph(Bf,"controlFieldType",u.FieldTypes.VARCHAR),ph(Bf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.CAN_VIEW_FORM,u.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function hE(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 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 Bq(e,t,r){return t&&bE(e.prototype,t),r&&bE(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 Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(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&&vh(e,t)}function Mq(e,t){return t&&(Aq(t)==="object"||typeof t=="function")?t:hE(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(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=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mq(this,o)}}var mE=function(e){Nq(r,e);var t=Dq(r);function r(n){Iq(this,r);var o;return o=t.call(this,n),gE(hE(o),"props",void 0),o.props=new Ef(n==null?void 0:n.props),o}return Bq(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(k);gE(mE,"controlFieldType",u.FieldTypes.VARCHAR);var OE={Designer:Bf,Runtime:mE,Property:Ef};function ut(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 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 Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function bh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function Lq(e,t){return t&&(jq(t)==="object"||typeof t=="function")?t:ut(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(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 mh(e){var t=Fq();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 Lq(this,o)}}var Cq=function(e){bh(r,e);var t=mh(r);function r(n){return hh(this,r),t.call(this,n)}return r}(Rn),xq=function(e){bh(r,e);var t=mh(r);function r(n){hh(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),Yo=function(e){bh(r,e);var t=mh(r);function r(n){hh(this,r);var o;o=t.call(this,n),tt(ut(o),"options",void 0),tt(ut(o),"defaultShowOptions",void 0),tt(ut(o),"optionConfig",void 0),tt(ut(o),"defaultValue",void 0),tt(ut(o),"datasourceBind",void 0),tt(ut(o),"multistageFilling",void 0),tt(ut(o),"openMultistageFilling",void 0),tt(ut(o),"viewFormModelType",void 0),tt(ut(o),"canViewForm",void 0),tt(ut(o),"formBind",void 0);var i;o.options=dt((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 c;o.defaultShowOptions=(c=n==null?void 0:n.defaultShowOptions)!==null&&c!==void 0?c:!0;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"custom",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:kf.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 p;(p=o.multistageFilling)===null||p===void 0||p.push(new Re(g))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Pn(n==null?void 0:n.formBind),o}return r}(M);tt(Yo,"Rules",Cq),tt(Yo,"RuntimeRules",xq);function wE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zq(e,t,r){return t&&PE(e.prototype,t),r&&PE(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 Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(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&&wh(e,t)}function Yq(e,t){return t&&(Hq(t)==="object"||typeof t=="function")?t:wE(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}function Hq(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 Uq(e){var t=qq();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 Yq(this,o)}}var kf=function(e){Gq(r,e);var t=Uq(r);function r(n){Vq(this,r);var o;return o=t.call(this,n),Oh(wE(o),"props",void 0),o.props=new Yo(n==null?void 0:n.props),o}return zq(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);Oh(kf,"controlFieldType",u.FieldTypes.ARRAY),Oh(kf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.CAN_VIEW_FORM,u.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{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 Wq(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 Kq(e,t,r){return t&&RE(e.prototype,t),r&&RE(e,r),e}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 Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function Xq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function Jq(e,t){return t&&(Qq(t)==="object"||typeof t=="function")?t:$E(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(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 eU(e){var t=Zq();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 Jq(this,o)}}var SE=function(e){Xq(r,e);var t=eU(r);function r(n){Wq(this,r);var o;return o=t.call(this,n),TE($E(o),"props",void 0),o.props=new Yo(n==null?void 0:n.props),o}return Kq(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(k);TE(SE,"controlFieldType",u.FieldTypes.ARRAY);var EE={Designer:kf,Runtime:SE,Property:Yo};function Ct(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 xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function BE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tU(e,t){return t&&(nU(t)==="object"||typeof t=="function")?t:Ct(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}function nU(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 NE(e){var t=rU();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 tU(this,o)}}var oU=function(e){BE(r,e);var t=NE(r);function r(n){IE(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),jf=function(e){BE(r,e);var t=NE(r);function r(n){IE(this,r);var o;o=t.call(this,n),xt(Ct(o),"showType",void 0),xt(Ct(o),"range",void 0),xt(Ct(o),"rangeOptions",void 0),xt(Ct(o),"multiple",void 0),xt(Ct(o),"defaultValueType",void 0),xt(Ct(o),"defaultValue",void 0),xt(Ct(o),"multistageFilling",void 0),xt(Ct(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var 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?_:Cf.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var 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 p;(p=o.multistageFilling)===null||p===void 0||p.push(new Re(g))})),o}return r}(M);xt(jf,"RuntimeRules",oU);function ME(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 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 uU(e,t,r){return t&&AE(e.prototype,t),r&&AE(e,r),e}function Rh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(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&&Th(e,t)}function fU(e,t){return t&&(lU(t)==="object"||typeof t=="function")?t:ME(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}function lU(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=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fU(this,o)}}var Cf=function(e){cU(r,e);var t=sU(r);function r(n){iU(this,r);var o;return o=t.call(this,n),Rh(ME(o),"props",void 0),o.props=new jf(n==null?void 0:n.props),o}return uU(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(A);Rh(Cf,"controlFieldType",u.FieldTypes.EMPLOYEES),Rh(Cf,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.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 kE(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 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 yU(e,t,r){return t&&DE(e.prototype,t),r&&DE(e,r),e}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 xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(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&&Sh(e,t)}function dU(e,t){return t&&(vU(t)==="object"||typeof t=="function")?t:kE(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(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=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dU(this,o)}}var jE=function(e){pU(r,e);var t=bU(r);function r(n){_U(this,r);var o;return o=t.call(this,n),LE(kE(o),"props",void 0),o.props=new jf(n==null?void 0:n.props),o}return yU(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(k);LE(jE,"controlFieldType",u.FieldTypes.EMPLOYEES);var FE={Designer:Cf,Runtime:jE,Property:jf};function Vt(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 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 Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function Ih(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bh(e,t)}function gU(e,t){return t&&(mU(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 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 Nh(e){var t=OU();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 gU(this,o)}}var wU=10485760,PU=104857600,$U=1048576e3,RU=function(e){Ih(r,e);var t=Nh(r);function r(n){Eh(this,r);var o;return o=t.call(this,n),Ot(Vt(o),"maxSize",{type:"number",min:0,max:$U,message:d.getMessage("attachmentMaxSize")}),o}return r}(le),TU=function(e){Ih(r,e);var t=Nh(r);function r(n){Eh(this,r);var o;return o=t.call(this,n),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}(x),Or=function(e){Ih(r,e);var t=Nh(r);function r(n){Eh(this,r);var o;o=t.call(this,n),Ot(Vt(o),"defaultValue",void 0),Ot(Vt(o),"showType",void 0),Ot(Vt(o),"resultShowType",void 0),Ot(Vt(o),"attachmentAccept",void 0),Ot(Vt(o),"maxLimit",void 0),Ot(Vt(o),"minLimit",void 0),Ot(Vt(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"default";var f;o.resultShowType=(f=n==null?void 0:n.resultShowType)!==null&&f!==void 0?f:"simple";var l;o.attachmentAccept=(l=n==null?void 0:n.attachmentAccept)!==null&&l!==void 0?l:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var 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?_:PU;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:wr.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);Ot(Or,"Rules",RU),Ot(Or,"RuntimeRules",TU);function CE(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 xE(e,t){for(var r=0;r<t.length;r++){var 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&&xE(e.prototype,t),r&&xE(e,r),e}function zf(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 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&&Mh(e,t)}function BU(e,t){return t&&(NU(t)==="object"||typeof t=="function")?t:CE(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(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=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BU(this,o)}}var wr=function(e){IU(r,e);var t=AU(r);function r(n){SU(this,r);var o;return o=t.call(this,n),zf(CE(o),"props",void 0),o.props=new Or(n==null?void 0:n.props),o}return EU(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(A);zf(wr,"controlEventKeys",["on_change"]),zf(wr,"controlFieldType",u.FieldTypes.FILE),zf(wr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.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 VE(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 zE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DU(e,t,r){return t&&zE(e.prototype,t),r&&zE(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){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function LU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jU(e,t){return t&&(FU(t)==="object"||typeof t=="function")?t:VE(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(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 xU(e){var t=CU();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 jU(this,o)}}var kh=function(e){LU(r,e);var t=xU(r);function r(n){kU(this,r);var o;return o=t.call(this,n),GE(VE(o),"props",void 0),o.props=new Or(n==null?void 0:n.props),o}return DU(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(k);GE(kh,"controlFieldType",u.FieldTypes.FILE);var YE={Designer:wr,Runtime:kh,Property:Or};function VU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 GU(e,t,r){return t&&HE(e.prototype,t),r&&HE(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 Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(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&&Dh(e,t)}function HU(e,t){return t&&(qU(t)==="object"||typeof t=="function")?t:VU(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(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=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HU(this,o)}}var Lh=function(e){YU(r,e);var t=WU(r);function r(n){zU(this,r);var o,i,c;o=t.call(this,n),o.props.showType="image";var f;o.props.caption=(f=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:r.controlName;var l;return o.props.placeholder=(l=n==null||(c=n.props)===null||c===void 0?void 0:c.placeholder)!==null&&l!==void 0?l:"\u4E0A\u4F20\u56FE\u7247",o}return GU(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(wr);qE(Lh,"controlFieldType",u.FieldTypes.IMAGE),qE(Lh,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function KU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XU(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 JU(e,t,r){return t&&UE(e.prototype,t),r&&UE(e,r),e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function QU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZU(e,t){return t&&(eW(t)==="object"||typeof t=="function")?t:KU(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}function eW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nW(e){var t=tW();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 ZU(this,o)}}var rW=function(e){QU(r,e);var t=nW(r);function r(n){XU(this,r);var o,i,c,f;o=t.call(this,n),o.props.showType="image";var l;o.props.maxLimit=(l=n==null||(i=n.props)===null||i===void 0?void 0:i.maxLimit)!==null&&l!==void 0?l:9;var a;o.props.caption=(a=n==null||(c=n.props)===null||c===void 0?void 0:c.caption)!==null&&a!==void 0?a:"\u56FE\u7247";var s;return o.props.placeholder=(s=n==null||(f=n.props)===null||f===void 0?void 0:f.placeholder)!==null&&s!==void 0?s:"\u4E0A\u4F20\u56FE\u7247",o}return JU(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(kh);function oW(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 Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function uW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fh(e,t)}function cW(e,t){return t&&(fW(t)==="object"||typeof t=="function")?t:oW(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}function fW(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 aW(e){var t=lW();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 cW(this,o)}}var sW=function(e){uW(r,e);var t=aW(r);function r(n){return iW(this,r),t.call(this,n)}return r}(Or),WE={Designer:Lh,Runtime:rW,Property:sW};function De(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 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 Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function xh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function _W(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 yW(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 pW(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yW(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function dW(e,t){return t&&(vW(t)==="object"||typeof t=="function")?t:De(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}function vW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=hW();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 dW(this,o)}}var bW=function(e){xh(r,e);var t=zh(r);function r(n){Ch(this,r);var o;o=t.call(this,n),we(De(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}}),we(De(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,c=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=c,o.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:i,min:c}),c&&i!==void 0&&(o.rangeMax={type:"number",min:c,message:d.getMessage("numberRangeSetError")}),o}return r}(Rn),gW=function(e){xh(r,e);var t=zh(r);function r(n){Ch(this,r);var o;o=t.call(this,n),o[0].type="object";var i=n.rangeMax===""?void 0:n.rangeMax,c=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[pW(_W({},o[0]),{type:"number"}),{type:"number",min:c,max:i,message:d.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":c===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:c})}],currency:{type:"string"}}}),o}return r}(x),Ho=function(e){xh(r,e);var t=zh(r);function r(n){Ch(this,r);var o;o=t.call(this,n),we(De(o),"rangeMin",void 0),we(De(o),"rangeMax",void 0),we(De(o),"showUpperCase",void 0),we(De(o),"submitSelectCurrency",void 0),we(De(o),"micrometer",void 0),we(De(o),"precision",void 0),we(De(o),"optionConfig",void 0),we(De(o),"dataBind",void 0),we(De(o),"datasourceBind",void 0),we(De(o),"defaultValue",void 0),we(De(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"datasource";var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new Zw(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 Di({value:"name"})]});var _;o.defaultValue=new eP((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:u.AMOUNT_TYPE.CNY}),o.options=dt(n==null?void 0:n.options);var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y: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 p;return o.showUpperCase=(p=n==null?void 0:n.showUpperCase)!==null&&p!==void 0?p:!1,o}return r}(M);we(Ho,"Rules",bW),we(Ho,"RuntimeRules",gW);function KE(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 XE(e,t){for(var r=0;r<t.length;r++){var 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&&XE(e.prototype,t),r&&XE(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 Xf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Xf=Reflect.get:Xf=function(o,i,c){var f=$W(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},Xf(e,t,r||e)}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pr(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&&Gh(e,t)}function PW(e,t){return t&&(RW(t)==="object"||typeof t=="function")?t:KE(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}function $W(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pr(e),e!==null););return e}function RW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SW(e){var t=TW();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 PW(this,o)}}var qo=function(e){wW(r,e);var t=SW(r);function r(n){mW(this,r);var o;return o=t.call(this,n),Kf(KE(o),"props",void 0),o.props=new Ho(n==null?void 0:n.props),o}return OW(r,[{key:"toDataBindModel",value:function(o){var i=Xf(Pr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.precision,l=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(A);Kf(qo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Kf(qo,"controlFieldType",u.FieldTypes.MONEY),Kf(qo,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,u.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:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function JE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EW(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 IW(e,t,r){return t&&QE(e.prototype,t),r&&QE(e,r),e}function ZE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jf(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&&Yh(e,t)}function NW(e,t){return t&&(MW(t)==="object"||typeof t=="function")?t:JE(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}function MW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=AW();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 NW(this,o)}}var eI=function(e){BW(r,e);var t=kW(r);function r(n){EW(this,r);var o;return o=t.call(this,n),ZE(JE(o),"props",void 0),o.props=new Ho(n==null?void 0:n.props),o}return IW(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(k);ZE(eI,"controlFieldType",u.FieldTypes.MONEY);var tI={Designer:qo,Runtime:eI,Property:Ho};function cn(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 zt(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 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 DW(e,t){return t&&(LW(t)==="object"||typeof t=="function")?t:cn(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}function LW(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 Wh(e){var t=jW();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 DW(this,o)}}var FW=function(e){qh(r,e);var t=Wh(r);function r(n){Hh(this,r);var o;return o=t.call(this,n),zt(cn(o),"totalScore",[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}]),zt(cn(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}(le),CW=function(e){qh(r,e);var t=Wh(r);function r(n){Hh(this,r);var o;o=t.call(this,n),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}(x),Uo=function(e){qh(r,e);var t=Wh(r);function r(n){Hh(this,r);var o,i;o=t.call(this,n),zt(cn(o),"totalScore",void 0),zt(cn(o),"scoreType",void 0),zt(cn(o),"isShowExplain",void 0),zt(cn(o),"explain",void 0),zt(cn(o),"defaultValue",void 0);var c;o.totalScore=(c=n==null?void 0:n.totalScore)!==null&&c!==void 0?c:5;var f;o.scoreType=(f=n==null?void 0:n.scoreType)!==null&&f!==void 0?f:u.SCORE_TYPE.STAR;var l;o.isShowExplain=(l=n==null?void 0:n.isShowExplain)!==null&&l!==void 0?l:!0;var a;o.explain=(a=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(y){return new Ru(y)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new Ru});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?_:Wo.controlName,o}return r}(M);zt(Uo,"Rules",FW),zt(Uo,"RuntimeRules",CW);function Kh(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 xW(e){if(Array.isArray(e))return Kh(e)}function nI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VW(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 zW(e,t,r){return t&&rI(e.prototype,t),r&&rI(e,r),e}function Zf(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?el=Reflect.get:el=function(o,i,c){var f=UW(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},el(e,t,r||e)}function $r(e){return $r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$r(e)}function GW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xh(e,t)}function YW(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function HW(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function qW(e,t){return t&&(KW(t)==="object"||typeof t=="function")?t:nI(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}function UW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=$r(e),e!==null););return e}function WW(e){return xW(e)||YW(e)||XW(e)||HW()}function KW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XW(e,t){if(!!e){if(typeof e=="string")return Kh(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 Kh(e,t)}}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=$r(e),o;if(t){var i=$r(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qW(this,o)}}var Wo=function(e){GW(r,e);var t=QW(r);function r(n){VW(this,r);var o;return o=t.call(this,n),Zf(nI(o),"props",void 0),o.props=new Uo(n==null?void 0:n.props),o}return zW(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 c,f=i-this.props.explain.length,l=Array(f).fill(void 0).map(function(){return new Ru});(c=this.props.explain).push.apply(c,WW(l))}}el($r(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);Zf(Wo,"controlEventKeys",["on_change","on_click"]),Zf(Wo,"controlFieldType",u.FieldTypes.DECIMAL),Zf(Wo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.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 oI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 eK(e,t,r){return t&&iI(e.prototype,t),r&&iI(e,r),e}function uI(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 tK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jh(e,t)}function nK(e,t){return t&&(rK(t)==="object"||typeof t=="function")?t:oI(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}function rK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iK(e){var t=oK();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 nK(this,o)}}var cI=function(e){tK(r,e);var t=iK(r);function r(n){ZW(this,r);var o;return o=t.call(this,n),uI(oI(o),"props",void 0),o.props=new Uo(n==null?void 0:n.props),o}return eK(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(k);uI(cI,"controlFieldType",u.FieldTypes.DECIMAL);var fI={Designer:Wo,Runtime:cI,Property:Uo};function nl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 aI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uK(e,t){return t&&(cK(t)==="object"||typeof t=="function")?t:nl(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}function cK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sI(e){var t=fK();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 uK(this,o)}}var lK=function(e){aI(r,e);var t=sI(r);function r(n){lI(this,r);var o;if(o=t.call(this,n),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}(x),il=function(e){aI(r,e);var t=sI(r);function r(n){lI(this,r);var o;o=t.call(this,n),rl(nl(o),"defaultValueType",void 0),rl(nl(o),"defaultValue",void 0),rl(nl(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:cl.controlName;var c;o.defaultValueType=(c=n==null?void 0:n.defaultValueType)!==null&&c!==void 0?c:"default";var f;o.addressType=(f=n==null?void 0:n.addressType)!==null&&f!==void 0?f:["province","city","district"];var l;o.defaultValue=new rP((l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(M);rl(il,"RuntimeRules",lK);function _I(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sK(e,t,r){return t&&yI(e.prototype,t),r&&yI(e,r),e}function Zh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(e)}function _K(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eb(e,t)}function yK(e,t){return t&&(pK(t)==="object"||typeof t=="function")?t:_I(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}function pK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vK(e){var t=dK();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 yK(this,o)}}var cl=function(e){_K(r,e);var t=vK(r);function r(n){aK(this,r);var o;return o=t.call(this,n),Zh(_I(o),"props",void 0),o.props=new il(n==null?void 0:n.props),o}return sK(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(A);Zh(cl,"controlFieldType",u.FieldTypes.ADDRESS),Zh(cl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.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 hK(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 bK(e,t,r){return t&&dI(e.prototype,t),r&&dI(e,r),e}function vI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fl(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&&tb(e,t)}function mK(e,t){return t&&(OK(t)==="object"||typeof t=="function")?t:pI(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(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=fl(e),o;if(t){var i=fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mK(this,o)}}var hI=function(e){gK(r,e);var t=PK(r);function r(n){hK(this,r);var o;return o=t.call(this,n),vI(pI(o),"props",void 0),o.props=new il(n==null?void 0:n.props),o}return bK(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);vI(hI,"controlFieldType",u.FieldTypes.ADDRESS);var bI={Designer:cl,Runtime:hI,Property:il};function ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gI(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 ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(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&&nb(e,t)}function $K(e,t){return t&&(RK(t)==="object"||typeof t=="function")?t:ct(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(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 OI(e){var t=TK();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 $K(this,o)}}var SK=function(e){mI(r,e);var t=OI(r);function r(n){gI(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),al=function(e){mI(r,e);var t=OI(r);function r(n){gI(this,r);var o;o=t.call(this,n),ft(ct(o),"showType",void 0),ft(ct(o),"range",void 0),ft(ct(o),"defaultValueType",void 0),ft(ct(o),"multiple",void 0),ft(ct(o),"rangeOptions",void 0),ft(ct(o),"defaultValue",void 0),ft(ct(o),"displayLevel",void 0),ft(ct(o),"showSubDept",void 0),ft(ct(o),"multistageFilling",void 0),ft(ct(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var 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 y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Ko.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u90E8\u95E8";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(m){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new Re(m))})),o}return r}(M);ft(al,"RuntimeRules",SK);function wI(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 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 IK(e,t,r){return t&&PI(e.prototype,t),r&&PI(e,r),e}function sl(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?_l=Reflect.get:_l=function(o,i,c){var f=MK(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},_l(e,t,r||e)}function Rr(e){return Rr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rr(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&&rb(e,t)}function NK(e,t){return t&&(AK(t)==="object"||typeof t=="function")?t:wI(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function MK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Rr(e),e!==null););return e}function AK(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 DK(e){var t=kK();return function(){var n=Rr(e),o;if(t){var i=Rr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NK(this,o)}}var Ko=function(e){BK(r,e);var t=DK(r);function r(n){EK(this,r);var o;return o=t.call(this,n),sl(wI(o),"props",void 0),o.props=new al(n==null?void 0:n.props),o}return IK(r,[{key:"toDataBindModel",value:function(o){var i=_l(Rr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.displayLevel,l=c.showSubDept;i.props.displayLevel=f,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(A);sl(Ko,"controlName","\u90E8\u95E8"),sl(Ko,"controlFieldType",u.FieldTypes.DEPARTMENTS),sl(Ko,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.MULTIPLE,u.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 $I(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 jK(e,t,r){return t&&RI(e.prototype,t),r&&RI(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 yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(e)}function FK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ob(e,t)}function CK(e,t){return t&&(xK(t)==="object"||typeof t=="function")?t:$I(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function xK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=VK();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 CK(this,o)}}var SI=function(e){FK(r,e);var t=zK(r);function r(n){LK(this,r);var o;return o=t.call(this,n),TI($I(o),"props",void 0),o.props=new al(n==null?void 0:n.props),o}return jK(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(k);TI(SI,"controlFieldType",u.FieldTypes.DEPARTMENTS);var EI={Designer:Ko,Runtime:SI,Property:al};function II(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 YK(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 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&&ib(e,t)}function qK(e,t){return t&&(UK(t)==="object"||typeof t=="function")?t:II(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}function UK(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 KK(e){var t=WK();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 qK(this,o)}}var ub=function(e){HK(r,e);var t=KK(r);function r(n){GK(this,r);var o;o=t.call(this,n),YK(II(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Xo.controlName;var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(M);function BI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XK(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 JK(e,t,r){return t&&NI(e.prototype,t),r&&NI(e,r),e}function dl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function QK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZK(e,t){return t&&(eX(t)==="object"||typeof t=="function")?t:BI(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function eX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nX(e){var t=tX();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZK(this,o)}}var Xo=function(e){QK(r,e);var t=nX(r);function r(n){XK(this,r);var o;return o=t.call(this,n),dl(BI(o),"props",void 0),o.props=new ub(n==null?void 0:n.props),o}return JK(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);dl(Xo,"controlEventKeys",["on_change"]),dl(Xo,"controlFieldType",u.FieldTypes.AUTO_NUMBER),dl(Xo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function MI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rX(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 oX(e,t,r){return t&&AI(e.prototype,t),r&&AI(e,r),e}function kI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function iX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function uX(e,t){return t&&(cX(t)==="object"||typeof t=="function")?t:MI(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function cX(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 lX(e){var t=fX();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 uX(this,o)}}var DI=function(e){iX(r,e);var t=lX(r);function r(n){rX(this,r);var o;return o=t.call(this,n),kI(MI(o),"props",void 0),o.props=new ub(n==null?void 0:n.props),o}return oX(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(k);kI(DI,"controlFieldType",u.FieldTypes.AUTO_NUMBER);var LI={Designer:Xo,Runtime:DI,Property:ub};function fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lb(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 bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(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&&sb(e,t)}function aX(e,t){return t&&(sX(t)==="object"||typeof t=="function")?t:fn(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(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 _b(e){var t=_X();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 aX(this,o)}}var yX=function(e){ab(r,e);var t=_b(r);function r(n){lb(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}(le),pX=function(e){ab(r,e);var t=_b(r);function r(n){lb(this,r);var o;return o=t.call(this,n),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}(x),Jo=function(e){ab(r,e);var t=_b(r);function r(n){lb(this,r);var o;o=t.call(this,n),Gt(fn(o),"precision",void 0),Gt(fn(o),"micrometer",void 0),Gt(fn(o),"showUpperCase",void 0),Gt(fn(o),"scriptSrc",void 0),Gt(fn(o),"scriptEcho",void 0),Gt(fn(o),"dataBind",void 0),Gt(fn(o),"defaultValue",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var f;o.showUpperCase=(f=n==null?void 0:n.showUpperCase)!==null&&f!==void 0?f:!1,o.dataBind=new oP(n==null?void 0:n.dataBind),o.defaultValue=new iP(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Qo.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);Gt(Jo,"Rules",yX),Gt(Jo,"RuntimeRules",pX);function jI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FI(e,t){for(var r=0;r<t.length;r++){var 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&&FI(e.prototype,t),r&&FI(e,r),e}function gl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ml(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ml=Reflect.get:ml=function(o,i,c){var f=gX(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},ml(e,t,r||e)}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tr(e)}function hX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yb(e,t)}function bX(e,t){return t&&(mX(t)==="object"||typeof t=="function")?t:jI(e)}function yb(e,t){return yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yb(e,t)}function gX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tr(e),e!==null););return e}function mX(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 wX(e){var t=OX();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 bX(this,o)}}var Qo=function(e){hX(r,e);var t=wX(r);function r(n){dX(this,r);var o;return o=t.call(this,n),gl(jI(o),"props",void 0),o.props=new Jo(n==null?void 0:n.props),o}return vX(r,[{key:"toDataBindModel",value:function(o){var i=ml(Tr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.precision,l=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=l}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);gl(Qo,"controlEventKeys",["on_change"]),gl(Qo,"controlFieldType",u.FieldTypes.CALC),gl(Qo,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function CI(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 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 VI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function RX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function TX(e,t){return t&&(SX(t)==="object"||typeof t=="function")?t:CI(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function SX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=EX();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 TX(this,o)}}var zI=function(e){RX(r,e);var t=IX(r);function r(n){PX(this,r);var o;return o=t.call(this,n),VI(CI(o),"props",void 0),o.props=new Jo(n==null?void 0:n.props),o}return $X(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(k);VI(zI,"controlFieldType",u.FieldTypes.CALC);var GI={Designer:Qo,Runtime:zI,Property:Jo};function Sr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function HI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 BX(e,t){return t&&(NX(t)==="object"||typeof t=="function")?t:Sr(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(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 qI(e){var t=MX();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 BX(this,o)}}var AX=function(e){HI(r,e);var t=qI(r);function r(n){YI(this,r);var o;return o=t.call(this,n),o[0].type="array",o.push({validator:function(c,f){if(n.required){var l=f.every(function(a){return!a});return l?Promise.reject(d.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(x),Pl=function(e){HI(r,e);var t=qI(r);function r(n){YI(this,r);var o;o=t.call(this,n),Er(Sr(o),"rangeMin",void 0),Er(Sr(o),"rangeMax",void 0),Er(Sr(o),"placeholderStart",void 0),Er(Sr(o),"placeholderEnd",void 0),Er(Sr(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var c;o.rangeMin=(c=n==null?void 0:n.rangeMin)!==null&&c!==void 0?c:"";var f;o.rangeMax=(f=n==null?void 0:n.rangeMax)!==null&&f!==void 0?f:"";var l;o.placeholderStart=(l=n==null?void 0:n.placeholderStart)!==null&&l!==void 0?l:"\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:Rl.controlName,o}return r}(M);Er(Pl,"RuntimeRules",AX);function UI(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 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 DX(e,t,r){return t&&WI(e.prototype,t),r&&WI(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 $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(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&&hb(e,t)}function jX(e,t){return t&&(FX(t)==="object"||typeof t=="function")?t:UI(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(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=$l(e),o;if(t){var i=$l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jX(this,o)}}var Rl=function(e){LX(r,e);var t=xX(r);function r(n){kX(this,r);var o;return o=t.call(this,n),vb(UI(o),"props",void 0),o.props=new Pl(n==null?void 0:n.props),o}return DX(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);vb(Rl,"controlFieldType",u.FieldTypes.DECIMAL_RANGE),vb(Rl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function KI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VX(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 zX(e,t,r){return t&&XI(e.prototype,t),r&&XI(e,r),e}function JI(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 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&&bb(e,t)}function YX(e,t){return t&&(HX(t)==="object"||typeof t=="function")?t:KI(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(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=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YX(this,o)}}var QI=function(e){GX(r,e);var t=UX(r);function r(n){VX(this,r);var o;return o=t.call(this,n),JI(KI(o),"props",void 0),o.props=new Pl(n==null?void 0:n.props),o}return zX(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(k);JI(QI,"controlFieldType",u.FieldTypes.DECIMAL_RANGE);var ZI={Designer:Rl,Runtime:QI,Property:Pl};function lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function at(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function tB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gb(e,t)}function WX(e,t){return t&&(KX(t)==="object"||typeof t=="function")?t:lt(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(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 nB(e){var t=XX();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 WX(this,o)}}var JX=function(e){tB(r,e);var t=nB(r);function r(n){eB(this,r);var o;return o=t.call(this,n),o[0].type="array",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}(x),El=function(e){tB(r,e);var t=nB(r);function r(n){eB(this,r);var o,i;o=t.call(this,n),at(lt(o),"rangeMin",void 0),at(lt(o),"rangeMax",void 0),at(lt(o),"placeholderStart",void 0),at(lt(o),"placeholderEnd",void 0),at(lt(o),"dateType",void 0),at(lt(o),"dateFormat",void 0),at(lt(o),"commonTimeSetting",void 0),at(lt(o),"setValueType",void 0),at(lt(o),"defaultValue",void 0),at(lt(o),"limitDateList",void 0);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:["",""];var f;o.dateType=(f=n==null?void 0:n.dateType)!==null&&f!==void 0?f:u.DateType.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var 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 y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";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 p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Bl.controlName;var m;return o.limitDateList=(m=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(h){return new $u(h)}))!==null&&m!==void 0?m:[],o}return r}(M);at(El,"RuntimeRules",JX);function rB(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 oB(e,t){for(var r=0;r<t.length;r++){var 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&&oB(e.prototype,t),r&&oB(e,r),e}function mb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(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&&Ob(e,t)}function tJ(e,t){return t&&(nJ(t)==="object"||typeof t=="function")?t:rB(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(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=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tJ(this,o)}}var Bl=function(e){eJ(r,e);var t=oJ(r);function r(n){QX(this,r);var o;return o=t.call(this,n),mb(rB(o),"props",void 0),o.props=new El(n==null?void 0:n.props),o}return ZX(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);mb(Bl,"controlFieldType",u.FieldTypes.ARRAY),mb(Bl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function iB(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 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 uJ(e,t,r){return t&&uB(e.prototype,t),r&&uB(e,r),e}function cB(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 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&&wb(e,t)}function fJ(e,t){return t&&(lJ(t)==="object"||typeof t=="function")?t:iB(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function lJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sJ(e){var t=aJ();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 fJ(this,o)}}var fB=function(e){cJ(r,e);var t=sJ(r);function r(n){iJ(this,r);var o;return o=t.call(this,n),cB(iB(o),"props",void 0),o.props=new El(n==null?void 0:n.props),o}return uJ(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(k);cB(fB,"controlFieldType",u.FieldTypes.ARRAY);var lB={Designer:Bl,Runtime:fB,Property:El};function Zo(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 Ir(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(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 _J(e,t){return t&&(yJ(t)==="object"||typeof t=="function")?t:Zo(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(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 Tb(e){var t=pJ();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 _J(this,o)}}var dJ=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={type:"any"},o}return r}(le),vJ=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].type="any",o}return r}(x),ei=function(e){$b(r,e);var t=Tb(r);function r(n){Pb(this,r);var o;o=t.call(this,n),Ir(Zo(o),"controlExportName",void 0),Ir(Zo(o),"permissions",void 0),Ir(Zo(o),"defaultValue",void 0),Ir(Zo(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ti.controlName;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:void 0;var f;o.controlExportName=(f=n==null?void 0:n.controlExportName)!==null&&f!==void 0?f:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return r}(M);Ir(ei,"Rules",dJ),Ir(ei,"RuntimeRules",vJ);function aB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bJ(e,t,r){return t&&sB(e.prototype,t),r&&sB(e,r),e}function Al(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 gJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sb(e,t)}function mJ(e,t){return t&&(OJ(t)==="object"||typeof t=="function")?t:aB(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function OJ(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 PJ(e){var t=wJ();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 mJ(this,o)}}var ti=function(e){gJ(r,e);var t=PJ(r);function r(n){hJ(this,r);var o;return o=t.call(this,n),Al(aB(o),"props",void 0),o.props=new ei(n==null?void 0:n.props),o}return bJ(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);Al(ti,"controlFieldType",u.FieldTypes.ANY),Al(ti,"controlEventKeys",[]),Al(ti,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.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 $J(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 RJ(e,t,r){return t&&yB(e.prototype,t),r&&yB(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 Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dl(e)}function TJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eb(e,t)}function SJ(e,t){return t&&(EJ(t)==="object"||typeof t=="function")?t:_B(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(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 BJ(e){var t=IJ();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 SJ(this,o)}}var dB=function(e){TJ(r,e);var t=BJ(r);function r(n){$J(this,r);var o;return o=t.call(this,n),pB(_B(o),"props",void 0),o.props=new ei(n==null?void 0:n.props),o}return RJ(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(k);pB(dB,"controlFieldType",u.FieldTypes.ANY);var vB={Designer:ti,Runtime:dB,Property:ei};function Le(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(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&&Ib(e,t)}function NJ(e,t){return t&&(MJ(t)==="object"||typeof t=="function")?t:Le(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}function MJ(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 gB(e){var t=AJ();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 NJ(this,o)}}var kJ=function(e){bB(r,e);var t=gB(r);function r(n){hB(this,r);var o;return o=t.call(this,n),je(Le(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")}]}}]),o}return r}(Rn),jl=function(e){bB(r,e);var t=gB(r);function r(n){hB(this,r);var o;o=t.call(this,n),je(Le(o),"options",void 0),je(Le(o),"optionConfig",void 0),je(Le(o),"defaultValue",void 0),je(Le(o),"listPageBind",void 0),je(Le(o),"datasourceBind",void 0),je(Le(o),"multistageFilling",void 0),je(Le(o),"viewFormModelType",void 0),je(Le(o),"canViewForm",void 0),je(Le(o),"formBind",void 0),je(Le(o),"openMultistageFilling",void 0),je(Le(o),"showSelectedDetail",void 0),je(Le(o),"selectedContentConfig",void 0);var i;o.options=dt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource",o.listPageBind=new Ai(n==null?void 0:n.listPageBind),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:ni.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\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 Li(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var p;(p=o.multistageFilling)===null||p===void 0||p.push(new Re(g))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Pn(n==null?void 0:n.formBind),o}return r}(M);je(jl,"Rules",kJ);function mB(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 OB(e,t){for(var r=0;r<t.length;r++){var 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&&OB(e.prototype,t),r&&OB(e,r),e}function Fl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cl(e)}function 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&&Bb(e,t)}function FJ(e,t){return t&&(CJ(t)==="object"||typeof t=="function")?t:mB(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(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 VJ(e){var t=xJ();return function(){var n=Cl(e),o;if(t){var i=Cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FJ(this,o)}}var ni=function(e){jJ(r,e);var t=VJ(r);function r(n){DJ(this,r);var o;return o=t.call(this,n),Fl(mB(o),"props",void 0),o.props=new jl(n==null?void 0:n.props),o}return LJ(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);Fl(ni,"controlFieldType",u.FieldTypes.VARCHAR),Fl(ni,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.CAN_VIEW_FORM,u.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),Fl(ni,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function wB(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 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 GJ(e,t,r){return t&&PB(e.prototype,t),r&&PB(e,r),e}function $B(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(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&&Nb(e,t)}function HJ(e,t){return t&&(qJ(t)==="object"||typeof t=="function")?t:wB(e)}function Nb(e,t){return Nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nb(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=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HJ(this,o)}}var RB=function(e){YJ(r,e);var t=WJ(r);function r(n){zJ(this,r);var o;return o=t.call(this,n),$B(wB(o),"props",void 0),o.props=new jl(n==null?void 0:n.props),o}return GJ(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(k);$B(RB,"controlFieldType",u.FieldTypes.VARCHAR);var TB={Designer:ni,Runtime:RB,Property:jl};function KJ(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 Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(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&&Mb(e,t)}function QJ(e,t){return t&&(ZJ(t)==="object"||typeof t=="function")?t:KJ(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}function ZJ(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 tQ(e){var t=eQ();return function(){var n=Vl(e),o;if(t){var i=Vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QJ(this,o)}}var Ab=function(e){JJ(r,e);var t=tQ(r);function r(n){return XJ(this,r),t.call(this,n)}return r}(vr);function SB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EB(e,t){for(var r=0;r<t.length;r++){var 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&&EB(e.prototype,t),r&&EB(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 zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(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&&kb(e,t)}function iQ(e,t){return t&&(uQ(t)==="object"||typeof t=="function")?t:SB(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}function uQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=cQ();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 iQ(this,o)}}var BB=function(e){oQ(r,e);var t=fQ(r);function r(n){nQ(this,r);var o;return o=t.call(this,n),IB(SB(o),"props",void 0),o.props=new Ab(n==null?void 0:n.props),o}return rQ(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(hr);IB(BB,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}]);function NB(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 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 aQ(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 Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function sQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Db(e,t)}function _Q(e,t){return t&&(yQ(t)==="object"||typeof t=="function")?t:NB(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function yQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=pQ();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 _Q(this,o)}}var kB=function(e){sQ(r,e);var t=dQ(r);function r(n){lQ(this,r);var o;return o=t.call(this,n),AB(NB(o),"props",void 0),o.props=new Ab(n==null?void 0:n.props),o}return aQ(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(k);AB(kB,"controlFieldType",u.FieldTypes.VARCHAR);var DB={Designer:BB,Runtime:kB,Property:Ab};function X(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lb(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 Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(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&&Fb(e,t)}function vQ(e,t){return t&&(hQ(t)==="object"||typeof t=="function")?t:X(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(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 Cb(e){var t=bQ();return function(){var n=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vQ(this,o)}}var gQ=function(e){jb(r,e);var t=Cb(r);function r(n){Lb(this,r);var o;return o=t.call(this,n),J(X(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),po.call(X(o),n,ln.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}(le),mQ=function(e){jb(r,e);var t=Cb(r);function r(n){Lb(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),ri=function(e){jb(r,e);var t=Cb(r);function r(n){Lb(this,r);var o,i;o=t.call(this,n),J(X(o),"placeholder",void 0),J(X(o),"multiple",void 0),J(X(o),"canSearch",void 0),J(X(o),"levelType",void 0),J(X(o),"optionalLevel",void 0),J(X(o),"containsSubNode",void 0),J(X(o),"defaultDisplay",void 0),J(X(o),"isShowIncludeSub",void 0),J(X(o),"isDefaultCheckSub",void 0),J(X(o),"isShowFilterItem",void 0),J(X(o),"defaultCollapse",void 0),J(X(o),"defaultCollapseLevel",void 0),J(X(o),"optionConfig","datasource"),J(X(o),"datasourceBind",void 0),J(X(o),"filterItemDatasourceBind",void 0),J(X(o),"multistageFilling",void 0),J(X(o),"defaultValue",void 0),J(X(o),"openMultistageFilling",void 0);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ln.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u9009\u62E9";var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var 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 y;o.containsSubNode=(y=n==null?void 0:n.containsSubNode)!==null&&y!==void 0?y:!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 p;o.isDefaultCheckSub=(p=n==null?void 0:n.isDefaultCheckSub)!==null&&p!==void 0?p:!1;var m;o.defaultCollapse=(m=n==null?void 0:n.defaultCollapse)!==null&&m!==void 0?m:"all";var h;o.defaultCollapseLevel=(h=n==null?void 0:n.defaultCollapseLevel)!==null&&h!==void 0?h:1;var O;o.datasourceBind=new By((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:ln.controlCustomAttributes});var P;o.filterItemDatasourceBind=new By((P=n==null?void 0:n.filterItemDatasourceBind)!==null&&P!==void 0?P:{attributes:ln.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);J(ri,"Rules",gQ),J(ri,"RuntimeRules",mQ);function LB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OQ(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 wQ(e,t,r){return t&&jB(e.prototype,t),r&&jB(e,r),e}function Hl(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 PQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $Q(e,t){return t&&(RQ(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 RQ(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 SQ(e){var t=TQ();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 $Q(this,o)}}var ln=function(e){PQ(r,e);var t=SQ(r);function r(n){OQ(this,r);var o;return o=t.call(this,n),Hl(LB(o),"props",void 0),o.props=new ri(n==null?void 0:n.props),o}return wQ(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);Hl(ln,"controlEventKeys",["on_change","on_click"]),Hl(ln,"controlFieldType",u.FieldTypes.ARRAY),Hl(ln,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.CAN_SEARCH,u.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,u.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,u.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 FB(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 CB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IQ(e,t,r){return t&&CB(e.prototype,t),r&&CB(e,r),e}function xB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(e)}function BQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vb(e,t)}function NQ(e,t){return t&&(MQ(t)==="object"||typeof t=="function")?t:FB(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vb(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 kQ(e){var t=AQ();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 NQ(this,o)}}var VB=function(e){BQ(r,e);var t=kQ(r);function r(n){EQ(this,r);var o;return o=t.call(this,n),xB(FB(o),"props",void 0),o.props=new ri(n==null?void 0:n.props),o}return IQ(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(k);xB(VB,"controlFieldType",u.FieldTypes.ARRAY);var zB={Designer:ln,Runtime:VB,Property:ri};function _e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(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 DQ(e,t){return t&&(LQ(t)==="object"||typeof t=="function")?t:_e(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}function LQ(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 Hb(e){var t=jQ();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 DQ(this,o)}}var FQ=function(e){Gb(r,e);var t=Hb(r);function r(n){zb(this,r);var o;return o=t.call(this,n),ye(_e(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),ye(_e(o),"externalScope",{type:"any"}),po.call(_e(o),n,Br.controlCustomAttributes),n.externalType===u.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")}),o}return r}(le),CQ=function(e){Gb(r,e);var t=Hb(r);function r(n){zb(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),oi=function(e){Gb(r,e);var t=Hb(r);function r(n){zb(this,r);var o;o=t.call(this,n),ye(_e(o),"showType",void 0),ye(_e(o),"range",void 0),ye(_e(o),"rangeOptions",void 0),ye(_e(o),"multiple",void 0),ye(_e(o),"defaultValueType",void 0),ye(_e(o),"defaultValue",void 0),ye(_e(o),"multistageFilling",void 0),ye(_e(o),"datasourceBind",void 0),ye(_e(o),"datasourceType",void 0),ye(_e(o),"insideType",void 0),ye(_e(o),"externalType",void 0),ye(_e(o),"externalScope",void 0),ye(_e(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var 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?_:Br.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;o.datasourceBind=new lo((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Br.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:u.OrganizeType.INTERNAL;var p;o.insideType=(p=n==null?void 0:n.insideType)!==null&&p!==void 0?p:u.InternalType.ADMIN;var m;o.externalType=(m=n==null?void 0:n.externalType)!==null&&m!==void 0?m:u.AssignType.ALL;var h;o.externalScope=(h=n==null?void 0:n.externalScope)!==null&&h!==void 0?h:[];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);ye(oi,"Rules",FQ),ye(oi,"RuntimeRules",CQ);function GB(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 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 VQ(e,t,r){return t&&YB(e.prototype,t),r&&YB(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 Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(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&&Ub(e,t)}function GQ(e,t){return t&&(YQ(t)==="object"||typeof t=="function")?t:GB(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(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=Kl(e),o;if(t){var i=Kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GQ(this,o)}}var Br=function(e){zQ(r,e);var t=qQ(r);function r(n){xQ(this,r);var o;return o=t.call(this,n),qb(GB(o),"props",void 0),o.props=new oi(n==null?void 0:n.props),o}return VQ(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(Br,"controlFieldType",u.FieldTypes.EMPLOYEES),qb(Br,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.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 HB(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 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 WQ(e,t,r){return t&&qB(e.prototype,t),r&&qB(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 Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(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&&Wb(e,t)}function XQ(e,t){return t&&(JQ(t)==="object"||typeof t=="function")?t:HB(e)}function Wb(e,t){return Wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wb(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=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XQ(this,o)}}var WB=function(e){KQ(r,e);var t=ZQ(r);function r(n){UQ(this,r);var o;return o=t.call(this,n),UB(HB(o),"props",void 0),o.props=new oi(n==null?void 0:n.props),o}return WQ(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(k);UB(WB,"controlFieldType",u.FieldTypes.EMPLOYEES);var KB={Designer:Br,Runtime:WB,Property:oi};function wt(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 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 Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jl(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&&Kb(e,t)}function eZ(e,t){return t&&(tZ(t)==="object"||typeof t=="function")?t:wt(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}function tZ(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 QB(e){var t=nZ();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 eZ(this,o)}}var rZ=function(e){JB(r,e);var t=QB(r);function r(n){XB(this,r);var o;return o=t.call(this,n),Pt(wt(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,c,f){return i[f]={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(c.type==="public"&&gn(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(c.type==="public"&&c.signatureType.includes("company")&&gn(s.value)&&s.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},i},{})}}},o}return r}(le),Ql=function(e){JB(r,e);var t=QB(r);function r(n){XB(this,r);var o;o=t.call(this,n),Pt(wt(o),"buttonType",void 0),Pt(wt(o),"content",void 0),Pt(wt(o),"showType",void 0),Pt(wt(o),"color",void 0),Pt(wt(o),"icon",void 0),Pt(wt(o),"command",""),Pt(wt(o),"isLoading",!1),Pt(wt(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ii.controlName;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:"\u53D1\u8D77\u7B7E\u7F72";var f;o.buttonType=(f=n==null?void 0:n.buttonType)!==null&&f!==void 0?f:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var s;return o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:"iconfenlei2",o.signatureConfig=new m$(n==null?void 0:n.signatureConfig),o}return r}(M);Pt(Ql,"Rules",rZ);function ZB(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 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 iZ(e,t,r){return t&&eN(e.prototype,t),r&&eN(e,r),e}function Zl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(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&&Xb(e,t)}function cZ(e,t){return t&&(fZ(t)==="object"||typeof t=="function")?t:ZB(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}function fZ(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 aZ(e){var t=lZ();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 cZ(this,o)}}var ii=function(e){uZ(r,e);var t=aZ(r);function r(n){oZ(this,r);var o;return o=t.call(this,n),Zl(ZB(o),"props",void 0),o.props=new Ql(n==null?void 0:n.props),o}return iZ(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);Zl(ii,"controlEventKeys",["on_click","on_click_finish"]),Zl(ii,"controlFieldType",u.FieldTypes.VARCHAR),Zl(ii,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.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 tN(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 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 _Z(e,t,r){return t&&nN(e.prototype,t),r&&nN(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 ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(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&&Jb(e,t)}function pZ(e,t){return t&&(dZ(t)==="object"||typeof t=="function")?t:tN(e)}function Jb(e,t){return Jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jb(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=ta(e),o;if(t){var i=ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pZ(this,o)}}var oN=function(e){yZ(r,e);var t=hZ(r);function r(n){sZ(this,r);var o;return o=t.call(this,n),rN(tN(o),"props",void 0),o.props=new Ql(n==null?void 0:n.props),o}return _Z(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(k);rN(oN,"controlFieldType",u.FieldTypes.VARCHAR);var iN={Designer:ii,Runtime:oN,Property:Ql};function Pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qb(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 na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function Zb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bZ(e,t){return t&&(gZ(t)==="object"||typeof t=="function")?t:Pe(e)}function eg(e,t){return eg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eg(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 tg(e){var t=mZ();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 bZ(this,o)}}var OZ=function(e){Zb(r,e);var t=tg(r);function r(n){Qb(this,r);var o;return o=t.call(this,n),pe(Pe(o),"content",{type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")}),pe(Pe(o),"canAdd",void 0),pe(Pe(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(c,f,l){if(f.active&&!f.text){l(d.getMessage("pleaseEnterWatermark"));return}l()}},autoRename:{type:"object",validator:function(c,f,l){if(f.active&&!f.text){l(d.getMessage("pleaseEnterFileName"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(c,f,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l(d.getMessage("pleaseChooseAtLeastOne"));return}l()}},o}return r}(le),wZ=function(e){Zb(r,e);var t=tg(r);function r(n){Qb(this,r);var o;return o=t.call(this,n),o[0].type="array",o}return r}(x),ui=function(e){Zb(r,e);var t=tg(r);function r(n){Qb(this,r);var o;o=t.call(this,n),pe(Pe(o),"content",void 0),pe(Pe(o),"canAdd",void 0),pe(Pe(o),"addLocal",void 0),pe(Pe(o),"addOnline",void 0),pe(Pe(o),"canDownload",void 0),pe(Pe(o),"canEdit",void 0),pe(Pe(o),"canExport",void 0),pe(Pe(o),"canDelete",void 0),pe(Pe(o),"wpsSetting",void 0),pe(Pe(o),"maxSize",void 0),pe(Pe(o),"defaultValue",void 0),pe(Pe(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ci.controlName;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:"\u65B0\u5EFA\u6587\u6863";var f;o.canAdd=(f=n==null?void 0:n.canAdd)!==null&&f!==void 0?f:!0;var l;o.addLocal=(l=n==null?void 0:n.addLocal)!==null&&l!==void 0?l:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var 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 y;o.canExport=(y=n==null?void 0:n.canExport)!==null&&y!==void 0?y:!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:wU;var p;o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:[],o.wpsSetting=new O$(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);pe(ui,"Rules",OZ),pe(ui,"RuntimeRules",wZ);function uN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PZ(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 $Z(e,t,r){return t&&cN(e.prototype,t),r&&cN(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 oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(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&&ng(e,t)}function TZ(e,t){return t&&(SZ(t)==="object"||typeof t=="function")?t:uN(e)}function ng(e,t){return ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ng(e,t)}function SZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IZ(e){var t=EZ();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 TZ(this,o)}}var ci=function(e){RZ(r,e);var t=IZ(r);function r(n){PZ(this,r);var o;return o=t.call(this,n),ra(uN(o),"props",void 0),o.props=new ui(n==null?void 0:n.props),o}return $Z(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);ra(ci,"controlEventKeys",["on_change","on_wps_open"]),ra(ci,"controlFieldType",u.FieldTypes.FILE),ra(ci,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.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 fN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lN(e,t){for(var r=0;r<t.length;r++){var 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&&lN(e.prototype,t),r&&lN(e,r),e}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 ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(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&&rg(e,t)}function AZ(e,t){return t&&(kZ(t)==="object"||typeof t=="function")?t:fN(e)}function rg(e,t){return rg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rg(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=ia(e),o;if(t){var i=ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AZ(this,o)}}var sN=function(e){MZ(r,e);var t=LZ(r);function r(n){BZ(this,r);var o;return o=t.call(this,n),aN(fN(o),"props",void 0),o.props=new ui(n==null?void 0:n.props),o}return NZ(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(k);aN(sN,"controlFieldType",u.FieldTypes.FILE);var _N={Designer:ci,Runtime:sN,Property:ui};function ce(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 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 ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(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 jZ(e,t){return t&&(FZ(t)==="object"||typeof t=="function")?t:ce(e)}function ug(e,t){return ug=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ug(e,t)}function FZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cg(e){var t=CZ();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 jZ(this,o)}}var xZ=function(e){ig(r,e);var t=cg(r);function r(n){og(this,r);var o;return o=t.call(this,n),fe(ce(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),fe(ce(o),"businessScope",{type:"any"}),po.call(ce(o),n,In.controlCustomAttributes),n.businessType===u.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return r}(le),VZ=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].type="array",o}return r}(x),fi=function(e){ig(r,e);var t=cg(r);function r(n){og(this,r);var o;o=t.call(this,n),fe(ce(o),"showType",void 0),fe(ce(o),"range",void 0),fe(ce(o),"defaultValueType",void 0),fe(ce(o),"multiple",void 0),fe(ce(o),"rangeOptions",void 0),fe(ce(o),"defaultValue",void 0),fe(ce(o),"displayLevel",void 0),fe(ce(o),"showSubDept",void 0),fe(ce(o),"multistageFilling",void 0),fe(ce(o),"datasourceBind",void 0),fe(ce(o),"datasourceType",void 0),fe(ce(o),"businessType",void 0),fe(ce(o),"businessScope",void 0),fe(ce(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var 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 y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:In.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u90E8\u95E8";var p;o.datasourceBind=new lo((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:In.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:u.DepartmentType.INTERNAL;var h;o.businessScope=(h=n==null?void 0:n.businessScope)!==null&&h!==void 0?h:[];var O;o.businessType=(O=n==null?void 0:n.businessType)!==null&&O!==void 0?O:u.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(fi,"Rules",xZ),fe(fi,"RuntimeRules",VZ);function yN(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 pN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GZ(e,t,r){return t&&pN(e.prototype,t),r&&pN(e,r),e}function ca(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?fa=Reflect.get:fa=function(o,i,c){var f=qZ(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},fa(e,t,r||e)}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(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&&fg(e,t)}function HZ(e,t){return t&&(UZ(t)==="object"||typeof t=="function")?t:yN(e)}function fg(e,t){return fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fg(e,t)}function qZ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Nr(e),e!==null););return e}function UZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KZ(e){var t=WZ();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 HZ(this,o)}}var In=function(e){YZ(r,e);var t=KZ(r);function r(n){zZ(this,r);var o;return o=t.call(this,n),ca(yN(o),"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return GZ(r,[{key:"toDataBindModel",value:function(o){var i=fa(Nr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.displayLevel,l=c.showSubDept;i.props.displayLevel=f,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(A);ca(In,"controlName","\u90E8\u95E8"),ca(In,"controlFieldType",u.FieldTypes.DEPARTMENTS),ca(In,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.MULTIPLE,u.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 dN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XZ(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 JZ(e,t,r){return t&&vN(e.prototype,t),r&&vN(e,r),e}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 la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function QZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lg(e,t)}function ZZ(e,t){return t&&(eee(t)==="object"||typeof t=="function")?t:dN(e)}function lg(e,t){return lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lg(e,t)}function eee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nee(e){var t=tee();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 ZZ(this,o)}}var bN=function(e){QZ(r,e);var t=nee(r);function r(n){XZ(this,r);var o;return o=t.call(this,n),hN(dN(o),"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return JZ(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(k);hN(bN,"controlFieldType",u.FieldTypes.DEPARTMENTS);var gN={Designer:In,Runtime:bN,Property:fi};function H(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 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 aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(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 ree(e,t){return t&&(oee(t)==="object"||typeof t=="function")?t:H(e)}function _g(e,t){return _g=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_g(e,t)}function oee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yg(e){var t=iee();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 ree(this,o)}}var uee=function(e){sg(r,e);var t=yg(r);function r(n){ag(this,r);var o;return o=t.call(this,n),q(H(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),q(H(o),"businessScope",{type:"any"}),po.call(H(o),n,Bn.controlCustomAttributes),n.businessType===u.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return r}(le),cee=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].type="array",o}return r}(x),li=function(e){sg(r,e);var t=yg(r);function r(n){ag(this,r);var o;o=t.call(this,n),q(H(o),"showType",void 0),q(H(o),"range",void 0),q(H(o),"defaultValueType",void 0),q(H(o),"multiple",void 0),q(H(o),"rangeOptions",void 0),q(H(o),"defaultValue",void 0),q(H(o),"displayLevel",void 0),q(H(o),"showSubDept",void 0),q(H(o),"multistageFilling",void 0),q(H(o),"datasourceBind",void 0),q(H(o),"listPageBind",void 0),q(H(o),"datasourceType",void 0),q(H(o),"businessType",void 0),q(H(o),"businessScope",void 0),q(H(o),"organizingFunction",void 0),q(H(o),"organizationView",void 0),q(H(o),"openMultistageFilling",void 0),q(H(o),"showSelectedDetail",void 0),q(H(o),"selectedContentConfig",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.multiple=(c=n==null?void 0:n.multiple)!==null&&c!==void 0?c:!1;var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all",o.listPageBind=new Ai(n==null?void 0:n.listPageBind);var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var 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 y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!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\u7EC4\u7EC7";var p;o.datasourceBind=new Xw((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:Bn.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:u.DepartmentType.INTERNAL;var h;o.businessScope=(h=n==null?void 0:n.businessScope)!==null&&h!==void 0?h:[];var O;o.businessType=(O=n==null?void 0:n.businessType)!==null&&O!==void 0?O:u.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 Li(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);q(li,"Rules",uee),q(li,"RuntimeRules",cee);function mN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fee(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 lee(e,t,r){return t&&ON(e.prototype,t),r&&ON(e,r),e}function sa(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?_a=Reflect.get:_a=function(o,i,c){var f=_ee(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},_a(e,t,r||e)}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mr(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&&pg(e,t)}function see(e,t){return t&&(yee(t)==="object"||typeof t=="function")?t:mN(e)}function pg(e,t){return pg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pg(e,t)}function _ee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Mr(e),e!==null););return e}function yee(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 dee(e){var t=pee();return function(){var n=Mr(e),o;if(t){var i=Mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return see(this,o)}}var Bn=function(e){aee(r,e);var t=dee(r);function r(n){fee(this,r);var o;return o=t.call(this,n),sa(mN(o),"props",void 0),o.props=new li(n==null?void 0:n.props),o}return lee(r,[{key:"toDataBindModel",value:function(o){var i=_a(Mr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var c=this.props,f=c.displayLevel,l=c.showSubDept;i.props.displayLevel=f,i.props.showSubDept=l}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);sa(Bn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),sa(Bn,"controlFieldType",u.FieldTypes.DEPARTMENTS),sa(Bn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.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:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.MULTIPLE,u.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 wN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hee(e,t,r){return t&&PN(e.prototype,t),r&&PN(e,r),e}function $N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function bee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dg(e,t)}function gee(e,t){return t&&(mee(t)==="object"||typeof t=="function")?t:wN(e)}function dg(e,t){return dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dg(e,t)}function mee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wee(e){var t=Oee();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 gee(this,o)}}var RN=function(e){bee(r,e);var t=wee(r);function r(n){vee(this,r);var o;return o=t.call(this,n),$N(wN(o),"props",void 0),o.props=new li(n==null?void 0:n.props),o}return hee(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(k);$N(RN,"controlFieldType",u.FieldTypes.DEPARTMENTS);var TN={Designer:Bn,Runtime:RN,Property:li},Pee=Object.freeze({__proto__:null,Input:aS,Checkbox:hS,Radio:SS,Number:kS,DatePicker:VS,DateRange:JS,Textarea:oE,RichText:sE,Select:OE,SelectMultiple:EE,Employee:FE,Image:WE,Attachment:YE,Amount:tI,Score:fI,Address:bI,Department:EI,AutoNumber:LI,Calc:GI,SearchNumberRange:ZI,SearchDateRange:lB,VueFormItem:vB,SelectRelation:TB,SearchInput:DB,Tree:zB,Employee2:KB,ElectronicSignature:iN,WPS:_N,Department2:gN,OrganizationSelection:TN});function $ee(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 SN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tee(e,t,r){return t&&SN(e.prototype,t),r&&SN(e,r),e}function See(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 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&&vg(e,t)}function Iee(e,t){return t&&(Bee(t)==="object"||typeof t=="function")?t:$ee(e)}function vg(e,t){return vg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vg(e,t)}function Bee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Nee();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 Iee(this,o)}}var EN=function(e){Eee(r,e);var t=Mee(r);function r(n){return Ree(this,r),t.call(this,n)}return Tee(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(Y);See(EN,"excludes",[u.CONTROL_TYPE.GRID]);function Aee(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 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 Dee(e,t,r){return t&&IN(e.prototype,t),r&&IN(e,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&&hg(e,t)}function jee(e,t){return t&&(Fee(t)==="object"||typeof t=="function")?t:Aee(e)}function hg(e,t){return hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hg(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 Vee=function(e){Lee(r,e);var t=xee(r);function r(n){return kee(this,r),t.call(this,n)}return Dee(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(W),BN={Designer:EN,Runtime:Vee,Property:V};function bg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(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&&gg(e,t)}function Yee(e,t){return t&&(Hee(t)==="object"||typeof t=="function")?t:bg(e)}function gg(e,t){return gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gg(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=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yee(this,o)}}var Wee=24,Nn=function(e){Gee(r,e);var t=Uee(r);function r(n){zee(this,r);var o;o=t.call(this,n),NN(bg(o),"span",void 0),NN(bg(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:Wee;var c;return o.offset=(c=n==null?void 0:n.offset)!==null&&c!==void 0?c:0,o}return r}(V);function MN(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 AN(e,t){for(var r=0;r<t.length;r++){var 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&&AN(e.prototype,t),r&&AN(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 ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(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&&Og(e,t)}function Qee(e,t){return t&&(Zee(t)==="object"||typeof t=="function")?t:MN(e)}function Og(e,t){return Og=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Og(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=ha(e),o;if(t){var i=ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qee(this,o)}}var ai=function(e){Jee(r,e);var t=tte(r);function r(n){Kee(this,r);var o;return o=t.call(this,n),mg(MN(o),"props",void 0),o.props=new Nn(n==null?void 0:n.props),o}return Xee(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(Y);mg(ai,"excludes",[u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,u.CONTROL_TYPE.DIVIDER]),mg(ai,"childrenMaxLength",1);function kN(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 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 rte(e,t,r){return t&&DN(e.prototype,t),r&&DN(e,r),e}function ote(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 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&&wg(e,t)}function ute(e,t){return t&&(cte(t)==="object"||typeof t=="function")?t:kN(e)}function wg(e,t){return wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wg(e,t)}function cte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=fte();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 ute(this,o)}}var Pg=function(e){ite(r,e);var t=lte(r);function r(n){nte(this,r);var o;return o=t.call(this,n),ote(kN(o),"props",void 0),o.props=new Nn(n==null?void 0:n.props),o}return rte(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(W),ga={Designer:ai,Runtime:Pg,Property:Nn};function $g(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 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 ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function ste(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _te(e,t){return t&&(yte(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 yte(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 dte(e){var t=pte();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 _te(this,o)}}var Oa=function(e){ste(r,e);var t=dte(r);function r(n){ate(this,r);var o;o=t.call(this,n),LN($g(o),"layoutMode",void 0),LN($g(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var c;return o.gutter=(c=n==null?void 0:n.gutter)!==null&&c!==void 0?c:0,o}return r}(V);function jN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vte(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 hte(e,t,r){return t&&FN(e.prototype,t),r&&FN(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 wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function bte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sg(e,t)}function gte(e,t){return t&&(mte(t)==="object"||typeof t=="function")?t:jN(e)}function Sg(e,t){return Sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sg(e,t)}function mte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ote(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Ote();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 gte(this,o)}}var Pa=function(e){bte(r,e);var t=wte(r);function r(n){vte(this,r);var o;return o=t.call(this,n),Tg(jN(o),"props",void 0),o.props=new Oa(n==null?void 0:n.props),o}return hte(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(Y);Tg(Pa,"excludes",[u.CONTROL_TYPE.ROW]),Tg(Pa,"setting",[{key:"col-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 Pte(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 $te(e,t,r){return t&&xN(e.prototype,t),r&&xN(e,r),e}function Rte(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 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&&Eg(e,t)}function Ste(e,t){return t&&(Ete(t)==="object"||typeof t=="function")?t:CN(e)}function Eg(e,t){return Eg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eg(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=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ste(this,o)}}var VN=function(e){Tte(r,e);var t=Bte(r);function r(n){Pte(this,r);var o;return o=t.call(this,n),Rte(CN(o),"props",void 0),o.props=new Oa(n==null?void 0:n.props),o}return $te(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(W),zN={Designer:Pa,Runtime:VN,Property:Oa};function Nte(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 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 Ate(e,t,r){return t&&GN(e.prototype,t),r&&GN(e,r),e}function Ig(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 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&&Bg(e,t)}function Dte(e,t){return t&&(Lte(t)==="object"||typeof t=="function")?t:Nte(e)}function Bg(e,t){return Bg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bg(e,t)}function Lte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fte(e){var t=jte();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 Dte(this,o)}}var Cte=4,Ta=function(e){kte(r,e);var t=Fte(r);function r(n){return Mte(this,r),t.call(this,n)}return Ate(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}(Pa);Ig(Ta,"excludes",[u.CONTROL_TYPE.GRID_ROW]),Ig(Ta,"setting",[]),Ig(Ta,"childrenMaxLength",Cte);function xte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zte(e,t,r){return t&&YN(e.prototype,t),r&&YN(e,r),e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function Gte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yte(e,t){return t&&(Hte(t)==="object"||typeof t=="function")?t:xte(e)}function Ng(e,t){return Ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ng(e,t)}function Hte(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 Ute(e){var t=qte();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 Yte(this,o)}}var Wte=function(e){Gte(r,e);var t=Ute(r);function r(n){return Vte(this,r),t.call(this,n)}return zte(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(VN);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 Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(e)}function Jte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qte(e,t){return t&&(Zte(t)==="object"||typeof t=="function")?t:Kte(e)}function Mg(e,t){return Mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mg(e,t)}function Zte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ene(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tne(e){var t=ene();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 Qte(this,o)}}var nne=function(e){Jte(r,e);var t=tne(r);function r(n){return Xte(this,r),t.call(this,n)}return r}(Oa),Ag={Designer:Ta,Runtime:Wte,Property:nne};function Ia(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ba(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 qN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kg(e,t)}function rne(e,t){return t&&(one(t)==="object"||typeof t=="function")?t:Ia(e)}function kg(e,t){return kg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kg(e,t)}function one(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ine(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UN(e){var t=ine();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 rne(this,o)}}var une=function(e){qN(r,e);var t=UN(r);function r(){HN(this,r);var n;return n=t.apply(this,arguments),Ba(Ia(n),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),n}return r}(V.Rules),Ma=function(e){qN(r,e);var t=UN(r);function r(n){HN(this,r);var o;o=t.call(this,n),Ba(Ia(o),"caption",void 0),Ba(Ia(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var c;return o.collapse=(c=n==null?void 0:n.collapse)!==null&&c!==void 0?c:"none",o}return r}(V);Ba(Ma,"Rules",une);function WN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cne(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 fne(e,t,r){return t&&KN(e.prototype,t),r&&KN(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 Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function lne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ane(e,t){return t&&(sne(t)==="object"||typeof t=="function")?t:WN(e)}function Lg(e,t){return Lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lg(e,t)}function sne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yne(e){var t=_ne();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 ane(this,o)}}var jg=function(e){lne(r,e);var t=yne(r);function r(n){cne(this,r);var o;return o=t.call(this,n),Dg(WN(o),"props",void 0),o.props=new Ma(n==null?void 0:n.props),o}return fne(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(Y);Dg(jg,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Dg(jg,"excludes",[u.CONTROL_TYPE.CARD_GROUP]);function XN(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 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 dne(e,t,r){return t&&JN(e.prototype,t),r&&JN(e,r),e}function vne(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 hne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fg(e,t)}function bne(e,t){return t&&(gne(t)==="object"||typeof t=="function")?t:XN(e)}function Fg(e,t){return Fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fg(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 One(e){var t=mne();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 bne(this,o)}}var wne=function(e){hne(r,e);var t=One(r);function r(n){pne(this,r);var o;return o=t.call(this,n),vne(XN(o),"props",void 0),o.props=new Ma(n==null?void 0:n.props),o}return dne(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(W),QN={Designer:jg,Runtime:wne,Property:Ma};function $t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZN(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 Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function e3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cg(e,t)}function Pne(e,t){return t&&($ne(t)==="object"||typeof t=="function")?t:$t(e)}function Cg(e,t){return Cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cg(e,t)}function $ne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t3(e){var t=Rne();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 Pne(this,o)}}var Tne=function(e){e3(r,e);var t=t3(r);function r(n){ZN(this,r);var o;return o=t.call(this,n),Rt($t(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Rt($t(o),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),Rt($t(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ee),La=function(e){e3(r,e);var t=t3(r);function r(n){ZN(this,r);var o;o=t.call(this,n),Rt($t(o),"metaAutoWidth",void 0),Rt($t(o),"caption",void 0),Rt($t(o),"fixed",void 0),Rt($t(o),"isShowCaptionTip",void 0),Rt($t(o),"captionTip",void 0),Rt($t(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new xw(n==null?void 0:n.metaAutoWidth),o}return r}(V);Rt(La,"Rules",Tne);function n3(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 Mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function Ene(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ine(e,t){return t&&(Bne(t)==="object"||typeof t=="function")?t:n3(e)}function xg(e,t){return xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xg(e,t)}function Bne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mne(e){var t=Nne();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 Ine(this,o)}}var st=function(e){Ene(r,e);var t=Mne(r);function r(n){Sne(this,r);var o;return o=t.call(this,n),Mn(n3(o),"props",void 0),o.props=new La(n==null?void 0:n.props),o}return r}(Y);Mn(st,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Mn(st,"controlType","subtable-column"),Mn(st,"controlIcon","subtable-column"),Mn(st,"childrenMaxLength",1),Mn(st,"excludes",[u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),Mn(st,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",showItems:[u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",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 Ane(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o3(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 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&&Vg(e,t)}function Dne(e,t){return t&&(Lne(t)==="object"||typeof t=="function")?t:r3(e)}function Vg(e,t){return Vg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vg(e,t)}function Lne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fne(e){var t=jne();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 Dne(this,o)}}var i3=function(e){kne(r,e);var t=Fne(r);function r(n){Ane(this,r);var o;return o=t.call(this,n),o3(r3(o),"props",void 0),o.props=new La(n==null?void 0:n.props),o}return r}(W);o3(i3,"controlType","subtable-column");var zg={Designer:st,Runtime:i3,Property:La};function Cne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function Vne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gg(e,t)}function zne(e,t){return t&&(Gne(t)==="object"||typeof t=="function")?t:Cne(e)}function Gg(e,t){return Gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gg(e,t)}function Gne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hne(e){var t=Yne();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 zne(this,o)}}var Yg=function(e){Vne(r,e);var t=Hne(r);function r(n){return xne(this,r),t.call(this,n)}return r}(V);function u3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qne(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 xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function Une(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wne(e,t){return t&&(Kne(t)==="object"||typeof t=="function")?t:u3(e)}function Hg(e,t){return Hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hg(e,t)}function Kne(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 Jne(e){var t=Xne();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 Wne(this,o)}}var kn=function(e){Une(r,e);var t=Jne(r);function r(n){qne(this,r);var o;return o=t.call(this,n),An(u3(o),"props",void 0),o.props=new Yg(n==null?void 0:n.props),o}return r}(Y);An(kn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),An(kn,"controlType","subtable-row"),An(kn,"controlIcon","subtable-row"),An(kn,"childrenMaxLength",1),An(kn,"excludes",[u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.SUBTABLE_ROW,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),An(kn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0}]);function c3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qne(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 Zne(e,t,r){return t&&f3(e.prototype,t),r&&f3(e,r),e}function ere(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 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&&qg(e,t)}function nre(e,t){return t&&(rre(t)==="object"||typeof t=="function")?t:c3(e)}function qg(e,t){return qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qg(e,t)}function rre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ore(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ire(e){var t=ore();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 nre(this,o)}}var ure=function(e){tre(r,e);var t=ire(r);function r(n){Qne(this,r);var o;return o=t.call(this,n),ere(c3(o),"props",void 0),o.props=new Yg(n==null?void 0:n.props),o}return Zne(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(W),l3={Designer:kn,Runtime:ure,Property:Yg};function Ye(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 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 za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},za(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&&Ug(e,t)}function lre(e,t){return t&&(are(t)==="object"||typeof t=="function")?t:Ye(e)}function Ug(e,t){return Ug=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ug(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=za(e),o;if(t){var i=za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lre(this,o)}}var Wg=function(e){fre(r,e);var t=_re(r);function r(n){cre(this,r);var o;o=t.call(this,n),nt(Ye(o),"widthType",void 0),nt(Ye(o),"width",void 0),nt(Ye(o),"caption",void 0),nt(Ye(o),"fieldCode",void 0),nt(Ye(o),"fieldType",void 0),nt(Ye(o),"fieldName",void 0),nt(Ye(o),"datasourceBind",void 0),nt(Ye(o),"fixed",void 0),nt(Ye(o),"textCleanFormart",void 0),nt(Ye(o),"decimalKeepPrecision",void 0),nt(Ye(o),"timestampDateType",void 0),nt(Ye(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 c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:"";var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:!1;var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:u.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 y;o.decimalKeepPrecision=(y=n==null?void 0:n.decimalKeepPrecision)!==null&&y!==void 0?y:0;var b;o.timestampDateType=(b=n==null?void 0:n.timestampDateType)!==null&&b!==void 0?b:u.DateType.DATE;var g;return o.departmentDisplayLevel=(g=n==null?void 0:n.departmentDisplayLevel)!==null&&g!==void 0?g:1,o}return r}(V);function a3(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 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 Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(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&&Kg(e,t)}function dre(e,t){return t&&(vre(t)==="object"||typeof t=="function")?t:a3(e)}function Kg(e,t){return Kg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kg(e,t)}function vre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=hre();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 dre(this,o)}}var Ln=function(e){pre(r,e);var t=bre(r);function r(n){yre(this,r);var o;return o=t.call(this,n),Dn(a3(o),"props",void 0),o.props=new Wg(n==null?void 0:n.props),o}return r}(Y);Dn(Ln,"controlName","\u5217\u8868\u5355\u5143\u683C"),Dn(Ln,"controlType","gridtable-column"),Dn(Ln,"controlIcon","gridtable-column"),Dn(Ln,"childrenMaxLength",1),Dn(Ln,"excludes",[u.CONTROL_TYPE.GRID_TABLE,u.CONTROL_TYPE.GRID_TABLE_COLUMN,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),Dn(Ln,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",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 gre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(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&&Xg(e,t)}function Ore(e,t){return t&&(wre(t)==="object"||typeof t=="function")?t:s3(e)}function Xg(e,t){return Xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xg(e,t)}function wre(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 $re(e){var t=Pre();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 Ore(this,o)}}var y3=function(e){mre(r,e);var t=$re(r);function r(n){gre(this,r);var o;return o=t.call(this,n),_3(s3(o),"props",void 0),o.props=new Wg(n==null?void 0:n.props),o}return r}(W);_3(y3,"controlType","gridtable-column");var p3={Designer:Ln,Runtime:y3,Property:Wg};function Jg(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 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 Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(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&&Qg(e,t)}function Sre(e,t){return t&&(Ere(t)==="object"||typeof t=="function")?t:Jg(e)}function Qg(e,t){return Qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qg(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=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sre(this,o)}}var Zg=function(e){Tre(r,e);var t=Bre(r);function r(n){Rre(this,r);var o;o=t.call(this,n),d3(Jg(o),"childMinWidth",void 0),d3(Jg(o),"colGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var c;return o.colGap=(c=n==null?void 0:n.colGap)!==null&&c!==void 0?c:24,o}return r}(V);function v3(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 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 Mre(e,t,r){return t&&h3(e.prototype,t),r&&h3(e,r),e}function em(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 Are(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kre(e,t){return t&&(Dre(t)==="object"||typeof t=="function")?t:v3(e)}function tm(e,t){return tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tm(e,t)}function Dre(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 jre(e){var t=Lre();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 nm=function(e){Are(r,e);var t=jre(r);function r(n){Nre(this,r);var o;return o=t.call(this,n),em(v3(o),"props",void 0),o.props=new Zg(n==null?void 0:n.props),o}return Mre(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}(Y);em(nm,"excludes",[u.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.TAB]),em(nm,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function b3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fre(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 Cre(e,t,r){return t&&g3(e.prototype,t),r&&g3(e,r),e}function xre(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&&rm(e,t)}function zre(e,t){return t&&(Gre(t)==="object"||typeof t=="function")?t:b3(e)}function rm(e,t){return rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rm(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=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zre(this,o)}}var qre=function(e){Vre(r,e);var t=Hre(r);function r(n){Fre(this,r);var o;return o=t.call(this,n),xre(b3(o),"props",void 0),o.props=new Zg(n==null?void 0:n.props),o}return Cre(r,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),r}(W),m3={Designer:nm,Runtime:qre,Property:Zg};function O3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ure(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wre(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 Kre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xre(e,t){return t&&(Jre(t)==="object"||typeof t=="function")?t:O3(e)}function om(e,t){return om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},om(e,t)}function Jre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zre(e){var t=Qre();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 Xre(this,o)}}var im=function(e){Kre(r,e);var t=Zre(r);function r(n){Ure(this,r);var o;o=t.call(this,n),Wre(O3(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}(V);function um(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cm(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 P3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eoe(e,t){return t&&(toe(t)==="object"||typeof t=="function")?t:um(e)}function fm(e,t){return fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fm(e,t)}function toe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function noe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $3(e){var t=noe();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 eoe(this,o)}}var roe=function(e){P3(r,e);var t=$3(r);function r(n){w3(this,r);var o;return o=t.call(this,n),cm(um(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),o}return r}(ee),Xa=function(e){P3(r,e);var t=$3(r);function r(n){w3(this,r);var o;o=t.call(this,n),cm(um(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_i.controlName,o}return r}(V);cm(Xa,"Rules",roe);function R3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ooe(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 ioe(e,t,r){return t&&T3(e.prototype,t),r&&T3(e,r),e}function lm(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 uoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 coe(e,t){return t&&(foe(t)==="object"||typeof t=="function")?t:R3(e)}function am(e,t){return am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},am(e,t)}function foe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function loe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aoe(e){var t=loe();return function(){var n=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return coe(this,o)}}var si=function(e){uoe(r,e);var t=aoe(r);function r(n){ooe(this,r);var o;return o=t.call(this,n),lm(R3(o),"props",void 0),o.props=new Xa(n==null?void 0:n.props),o}return ioe(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}(Y);lm(si,"excludes",[u.CONTROL_TYPE.TAB]),lm(si,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{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 soe(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 _oe(e,t,r){return t&&E3(e.prototype,t),r&&E3(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 Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(e)}function poe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 doe(e,t){return t&&(voe(t)==="object"||typeof t=="function")?t:S3(e)}function sm(e,t){return sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sm(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 boe(e){var t=hoe();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 doe(this,o)}}var goe=function(e){poe(r,e);var t=boe(r);function r(n){soe(this,r);var o;return o=t.call(this,n),yoe(S3(o),"props",void 0),o.props=new Xa(n==null?void 0:n.props),o}return _oe(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(W),I3={Designer:si,Runtime:goe,Property:Xa};function B3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function moe(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 Ooe(e,t,r){return t&&N3(e.prototype,t),r&&N3(e,r),e}function Za(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 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&&_m(e,t)}function Poe(e,t){return t&&($oe(t)==="object"||typeof t=="function")?t:B3(e)}function _m(e,t){return _m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_m(e,t)}function $oe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Roe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Roe();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 Poe(this,o)}}var _i=function(e){woe(r,e);var t=Toe(r);function r(n){moe(this,r);var o;o=t.call(this,n),Za(B3(o),"props",void 0),o.props=new im(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new si,new si],o}return Ooe(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(Y);Za(_i,"excludes",[u.CONTROL_TYPE.TAB]),Za(_i,"controlEventKeys",["on_change_tab"]),Za(_i,"setting",[{key:"tab-mobile-show-type",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 Soe(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 Eoe(e,t,r){return t&&A3(e.prototype,t),r&&A3(e,r),e}function Ioe(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 Boe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Noe(e,t){return t&&(Moe(t)==="object"||typeof t=="function")?t:M3(e)}function ym(e,t){return ym=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ym(e,t)}function Moe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Aoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Aoe();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 Noe(this,o)}}var Doe=function(e){Boe(r,e);var t=koe(r);function r(n){Soe(this,r);var o;return o=t.call(this,n),Ioe(M3(o),"props",void 0),o.props=new im(n==null?void 0:n.props),o}return Eoe(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(W),k3={Designer:_i,Runtime:Doe,Property:im};function Loe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function joe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function Foe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Coe(e,t){return t&&(xoe(t)==="object"||typeof t=="function")?t:Loe(e)}function pm(e,t){return pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pm(e,t)}function xoe(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 zoe(e){var t=Voe();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 Coe(this,o)}}var D3=function(e){Foe(r,e);var t=zoe(r);function r(n){return joe(this,r),t.call(this,n)}return r}(V);function L3(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 j3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yoe(e,t,r){return t&&j3(e.prototype,t),r&&j3(e,r),e}function F3(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 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&&dm(e,t)}function qoe(e,t){return t&&(Uoe(t)==="object"||typeof t=="function")?t:L3(e)}function dm(e,t){return dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dm(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=rs(e),o;if(t){var i=rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qoe(this,o)}}var C3=function(e){Hoe(r,e);var t=Koe(r);function r(n){Goe(this,r);var o;return o=t.call(this,n),F3(L3(o),"props",void 0),o.props=new D3({}),o.children=(n==null?void 0:n.children)||[new ai({props:new Nn({span:12})}),new ai({props:new Nn({span:12})})],o}return Yoe(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(Y);F3(C3,"excludes",[u.CONTROL_TYPE.GRID_ROW,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.GRID,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.TAB,u.CONTROL_TYPE.TOOLBOX]);function Xoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Joe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Qoe(e,t,r){return t&&x3(e.prototype,t),r&&x3(e,r),e}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(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&&vm(e,t)}function eie(e,t){return t&&(tie(t)==="object"||typeof t=="function")?t:Xoe(e)}function vm(e,t){return vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vm(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=os(e),o;if(t){var i=os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eie(this,o)}}var oie=function(e){Zoe(r,e);var t=rie(r);function r(n){Joe(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new Pg({props:new Nn({span:12})}),new Pg({props:new Nn({span:12})})],o}return Qoe(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(W),V3={Designer:C3,Runtime:oie,Property:D3};function Q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hm(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 is(e){return is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},is(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&&gm(e,t)}function iie(e,t){return t&&(uie(t)==="object"||typeof t=="function")?t:Q(e)}function gm(e,t){return gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gm(e,t)}function uie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mm(e){var t=cie();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 iie(this,o)}}var us;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(us||(us={}));var fie=function(e){bm(r,e);var t=mm(r);function r(n){hm(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Ut),lie=function(e){bm(r,e);var t=mm(r);function r(n){hm(this,r);var o;if(o=t.call(this,n),Z(Q(o),"triggerFieldCode",{type:"any"}),Z(Q(o),"datasourceBind",{type:"any"}),Z(Q(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===us.CLICK_CELL&&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")}}}}]}}]),Vi.call(Q(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(c){return c.type==="object"&&c.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(ee),yi=function(e){bm(r,e);var t=mm(r);function r(n){hm(this,r);var o;o=t.call(this,n),Z(Q(o),"datasourceBind",void 0),Z(Q(o),"isLoading",void 0),Z(Q(o),"isShowSubList",void 0),Z(Q(o),"triggerType",void 0),Z(Q(o),"triggerFieldCode",void 0),Z(Q(o),"sublistPage",void 0),Z(Q(o),"isShowJoinRelation",void 0),Z(Q(o),"joinRelation",void 0),Z(Q(o),"showType",void 0),Z(Q(o),"showFullScreen",void 0),Z(Q(o),"isFixedHeader",void 0),Z(Q(o),"selectionType",void 0),Z(Q(o),"isShowSelection",void 0),Z(Q(o),"isAllLoaded",void 0),Z(Q(o),"countType",void 0),Z(Q(o),"countLimit",void 0),o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var c;o.isShowSubList=(c=n==null?void 0:n.isShowSubList)!==null&&c!==void 0?c:!1;var f;o.triggerType=(f=n==null?void 0:n.triggerType)!==null&&f!==void 0?f:us.CLICK_ROW;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new qw(n==null?void 0:n.sublistPage);var a;o.isShowJoinRelation=(a=n==null?void 0:n.isShowJoinRelation)!==null&&a!==void 0?a:!1,o.joinRelation=new Ww(n==null?void 0:n.joinRelation);var s;o.showType=(s=n==null?void 0:n.showType)!==null&&s!==void 0?s:"stretch";var _;o.showFullScreen=(_=n==null?void 0:n.showFullScreen)!==null&&_!==void 0?_:!1;var y;o.selectionType=(y=n==null?void 0:n.selectionType)!==null&&y!==void 0?y:"multiple";var b;o.isFixedHeader=(b=n==null?void 0:n.isFixedHeader)!==null&&b!==void 0?b:!1;var g;o.isShowSelection=(g=n==null?void 0:n.isShowSelection)!==null&&g!==void 0?g:!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 m;return o.countLimit=(m=n==null?void 0:n.countLimit)!==null&&m!==void 0?m:1e5,o}return r}(V);Z(yi,"Rules",lie),Z(yi,"RuntimeRules",fie);function z3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 sie(e,t,r){return t&&G3(e.prototype,t),r&&G3(e,r),e}function cs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fs(e)}function _ie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Om(e,t)}function yie(e,t){return t&&(pie(t)==="object"||typeof t=="function")?t:z3(e)}function Om(e,t){return Om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Om(e,t)}function pie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function die(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=die();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 yie(this,o)}}var ls=function(e){_ie(r,e);var t=vie(r);function r(n){aie(this,r);var o;return o=t.call(this,n),cs(z3(o),"props",void 0),o.props=new yi(n==null?void 0:n.props),o}return sie(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}(Y);cs(ls,"excludes",[u.CONTROL_TYPE.ROW]),cs(ls,"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"]),cs(ls,"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:"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 hie(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 bie(e,t,r){return t&&H3(e.prototype,t),r&&H3(e,r),e}function gie(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 mie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Oie(e,t){return t&&(wie(t)==="object"||typeof t=="function")?t:Y3(e)}function wm(e,t){return wm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wm(e,t)}function wie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ie(e){var t=Pie();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 Oie(this,o)}}var Rie=function(e){mie(r,e);var t=$ie(r);function r(n){hie(this,r);var o;return o=t.call(this,n),gie(Y3(o),"props",void 0),o.props=new yi(n==null?void 0:n.props),o}return bie(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(W),Pm={Designer:ls,Runtime:Rie,Property:yi};function an(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q3(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 ss(e){return ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ss(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&&$m(e,t)}function Tie(e,t){return t&&(Sie(t)==="object"||typeof t=="function")?t:an(e)}function $m(e,t){return $m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$m(e,t)}function Sie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W3(e){var t=Eie();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 Tie(this,o)}}var Iie=function(e){U3(r,e);var t=W3(r);function r(n){q3(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Ut),_s=function(e){U3(r,e);var t=W3(r);function r(n){q3(this,r);var o;o=t.call(this,n),sn(an(o),"save",void 0),sn(an(o),"cancel",void 0),sn(an(o),"saveAs",void 0),sn(an(o),"print",void 0),sn(an(o),"custom",void 0),sn(an(o),"isLoading",void 0),sn(an(o),"datasourceBind",void 0);var i;o.save=new Nt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var c;o.cancel=new Nt((c=n==null?void 0:n.cancel)!==null&&c!==void 0?c:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var f;o.saveAs=new Nt((f=n==null?void 0:n.saveAs)!==null&&f!==void 0?f:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var l;o.print=new Nt((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{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 Nt(_)});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}(V);sn(_s,"RuntimeRules",Iie);function K3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bie(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 Nie(e,t,r){return t&&X3(e.prototype,t),r&&X3(e,r),e}function J3(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 Mie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Aie(e,t){return t&&(kie(t)==="object"||typeof t=="function")?t:K3(e)}function Rm(e,t){return Rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rm(e,t)}function kie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Die(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lie(e){var t=Die();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 Aie(this,o)}}var Q3=function(e){Mie(r,e);var t=Lie(r);function r(n){Bie(this,r);var o;return o=t.call(this,n),J3(K3(o),"props",void 0),o.props=new _s(n==null?void 0:n.props),o}return Nie(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(Y);J3(Q3,"excludes",[]);function Z3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Fie(e,t,r){return t&&e1(e.prototype,t),r&&e1(e,r),e}function Cie(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 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&&Tm(e,t)}function Vie(e,t){return t&&(zie(t)==="object"||typeof t=="function")?t:Z3(e)}function Tm(e,t){return Tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tm(e,t)}function zie(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 Yie(e){var t=Gie();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 Vie(this,o)}}var Hie=function(e){xie(r,e);var t=Yie(r);function r(n){jie(this,r);var o;return o=t.call(this,n),Cie(Z3(o),"props",void 0),o.props=new _s(n==null?void 0:n.props),o}return Fie(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(W),Sm={Designer:Q3,Runtime:Hie,Property:_s};function qie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uie(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 Wie(e,t,r){return t&&t1(e.prototype,t),r&&t1(e,r),e}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function Kie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Em(e,t)}function Xie(e,t){return t&&(Jie(t)==="object"||typeof t=="function")?t:qie(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 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 Zie(e){var t=Qie();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 Xie(this,o)}}var eue=function(e){Kie(r,e);var t=Zie(r);function r(n){return Uie(this,r),t.call(this,n)}return Wie(r,null,[{key:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(Y);function tue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 rue(e,t,r){return t&&n1(e.prototype,t),r&&n1(e,r),e}function vs(e){return vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vs(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&&Im(e,t)}function iue(e,t){return t&&(uue(t)==="object"||typeof t=="function")?t:tue(e)}function Im(e,t){return Im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Im(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 fue(e){var t=cue();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 iue(this,o)}}var lue=function(e){oue(r,e);var t=fue(r);function r(n){return nue(this,r),t.call(this,n)}return rue(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(W);function Ar(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 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 hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function sue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _ue(e,t){return t&&(yue(t)==="object"||typeof t=="function")?t:Ar(e)}function Bm(e,t){return Bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bm(e,t)}function yue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function due(e){var t=pue();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 _ue(this,o)}}var vue=function(e){sue(r,e);var t=due(r);function r(n){aue(this,r);var o;o=t.call(this,n),pi(Ar(o),"hideHeader",void 0),pi(Ar(o),"background","#fff"),pi(Ar(o),"minWidth",""),pi(Ar(o),"maxWidth",""),pi(Ar(o),"heightConfig","auto");var i;return o.hideHeader=(i=n==null?void 0:n.hideHeader)!==null&&i!==void 0?i:!1,o}return r}(V),r1={Designer:eue,Runtime:lue,Property:vue};function hue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bue(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 gue(e,t,r){return t&&o1(e.prototype,t),r&&o1(e,r),e}function bs(e){return bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bs(e)}function mue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Oue(e,t){return t&&(wue(t)==="object"||typeof t=="function")?t:hue(e)}function Nm(e,t){return Nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nm(e,t)}function wue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ue(e){var t=Pue();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 Oue(this,o)}}var Rue=function(e){mue(r,e);var t=$ue(r);function r(n){return bue(this,r),t.call(this,n)}return gue(r,null,[{key:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Y);function Tue(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 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 Eue(e,t,r){return t&&i1(e.prototype,t),r&&i1(e,r),e}function gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gs(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&&Mm(e,t)}function Bue(e,t){return t&&(Nue(t)==="object"||typeof t=="function")?t:Tue(e)}function Mm(e,t){return Mm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mm(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=gs(e),o;if(t){var i=gs(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){return Sue(this,r),t.call(this,n)}return Eue(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(W);function Am(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Due(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u1(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 Lue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jue(e,t){return t&&(Fue(t)==="object"||typeof t=="function")?t:Am(e)}function km(e,t){return km=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},km(e,t)}function Fue(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 xue(e){var t=Cue();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 jue(this,o)}}var Vue=function(e){Lue(r,e);var t=xue(r);function r(n){Due(this,r);var o;return o=t.call(this,n),u1(Am(o),"display",void 0),u1(Am(o),"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new $$(n==null?void 0:n.flexConfig),o}return r}(V),c1={Designer:Rue,Runtime:kue,Property:Vue};function zue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gue(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 Yue(e,t,r){return t&&f1(e.prototype,t),r&&f1(e,r),e}function Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Os(e)}function Hue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dm(e,t)}function que(e,t){return t&&(Uue(t)==="object"||typeof t=="function")?t:zue(e)}function Dm(e,t){return Dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dm(e,t)}function Uue(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 Kue(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 que(this,o)}}var Xue=function(e){Hue(r,e);var t=Kue(r);function r(n){return Gue(this,r),t.call(this,n)}return Yue(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Y);function Jue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Que(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zue(e,t,r){return t&&l1(e.prototype,t),r&&l1(e,r),e}function ws(e){return ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ws(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&&Lm(e,t)}function tce(e,t){return t&&(nce(t)==="object"||typeof t=="function")?t:Jue(e)}function Lm(e,t){return Lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lm(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=ws(e),o;if(t){var i=ws(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){return Que(this,r),t.call(this,n)}return Zue(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(W);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 Ps(e){return Ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ps(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&&jm(e,t)}function lce(e,t){return t&&(ace(t)==="object"||typeof t=="function")?t:uce(e)}function jm(e,t){return jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jm(e,t)}function ace(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ce(e){var t=sce();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 lce(this,o)}}var yce=function(e){fce(r,e);var t=_ce(r);function r(n){return cce(this,r),t.call(this,n)}return r}(V),a1={Designer:Xue,Runtime:ice,Property:yce};function pce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dce(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 vce(e,t,r){return t&&s1(e.prototype,t),r&&s1(e,r),e}function $s(e){return $s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$s(e)}function hce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fm(e,t)}function bce(e,t){return t&&(gce(t)==="object"||typeof t=="function")?t:pce(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fm(e,t)}function gce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=mce();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 bce(this,o)}}var wce=function(e){hce(r,e);var t=Oce(r);function r(n){return dce(this,r),t.call(this,n)}return vce(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}(Y);function Pce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 Rce(e,t,r){return t&&_1(e.prototype,t),r&&_1(e,r),e}function Rs(e){return Rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rs(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&&Cm(e,t)}function Sce(e,t){return t&&(Ece(t)==="object"||typeof t=="function")?t:Pce(e)}function Cm(e,t){return Cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cm(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=Rs(e),o;if(t){var i=Rs(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 $ce(this,r),t.call(this,n)}return Rce(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(W);function di(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ts(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 Ace(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kce(e,t){return t&&(Dce(t)==="object"||typeof t=="function")?t:di(e)}function xm(e,t){return xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xm(e,t)}function Dce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jce(e){var t=Lce();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 kce(this,o)}}var Fce=function(e){Ace(r,e);var t=jce(r);function r(n){Mce(this,r);var o;o=t.call(this,n),Ts(di(o),"widthSpan",void 0),Ts(di(o),"heightSpan",void 0),Ts(di(o),"left",void 0),Ts(di(o),"top",void 0);var i;o.widthSpan=(i=n==null?void 0:n.widthSpan)!==null&&i!==void 0?i:12;var c;o.heightSpan=(c=n==null?void 0:n.heightSpan)!==null&&c!==void 0?c:12;var f;o.left=(f=n==null?void 0:n.left)!==null&&f!==void 0?f:0;var l;return o.top=(l=n==null?void 0:n.top)!==null&&l!==void 0?l:0,o}return r}(V),y1={Designer:wce,Runtime:Nce,Property:Fce};function Es(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 Vm(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 xce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Vce(e,t){return t&&(zce(t)==="object"||typeof t=="function")?t:Es(e)}function zm(e,t){return zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zm(e,t)}function zce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Gce();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 Vce(this,o)}}var Gm=function(e){xce(r,e);var t=Yce(r);function r(n){Cce(this,r);var o;o=t.call(this,n),Vm(Es(o),"position",void 0),Vm(Es(o),"opacity",void 0),Vm(Es(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var c;o.opacity=(c=n==null?void 0:n.opacity)!==null&&c!==void 0?c:!0;var f;return o.align=(f=n==null?void 0:n.align)!==null&&f!==void 0?f:"right",o}return r}(V);function p1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qce(e,t,r){return t&&d1(e.prototype,t),r&&d1(e,r),e}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 Bs(e){return Bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bs(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&&Hm(e,t)}function Wce(e,t){return t&&(Kce(t)==="object"||typeof t=="function")?t:p1(e)}function Hm(e,t){return Hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hm(e,t)}function Kce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jce(e){var t=Xce();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 Wce(this,o)}}var qm=function(e){Uce(r,e);var t=Jce(r);function r(n){Hce(this,r);var o;o=t.call(this,n),Ym(p1(o),"props",void 0);var i;return o.props=new Gm((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return qce(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}(Y);Ym(qm,"excludes",[]),Ym(qm,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function v1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qce(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 Zce(e,t,r){return t&&h1(e.prototype,t),r&&h1(e,r),e}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 Ns(e){return Ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ns(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&&Um(e,t)}function nfe(e,t){return t&&(rfe(t)==="object"||typeof t=="function")?t:v1(e)}function Um(e,t){return Um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Um(e,t)}function rfe(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 ife(e){var t=ofe();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 nfe(this,o)}}var ufe=function(e){tfe(r,e);var t=ife(r);function r(n){Qce(this,r);var o;o=t.call(this,n),efe(v1(o),"props",void 0);var i;return o.props=new Gm((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return Zce(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(W),b1={Designer:qm,Runtime:ufe,Property:Gm},cfe=Object.freeze({__proto__:null,Grid:BN,Col:ga,Row:zN,GridRow:Ag,CardGroup:QN,SubTableColumn:zg,SubTableRow:l3,GridTableColumn:p3,GridLayoutContainer:m3,Tab:k3,TabPane:I3,Toolbox:V3,ListView:Pm,DataView:Sm,Page:r1,AdvancedContainer:c1,PositioningContainer:a1,Position:y1,ActionBar:b1});function B(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 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 Ms(e){return Ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ms(e)}function Km(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xm(e,t)}function ffe(e,t){return t&&(lfe(t)==="object"||typeof t=="function")?t:B(e)}function Xm(e,t){return Xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xm(e,t)}function lfe(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 Jm(e){var t=afe();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 ffe(this,o)}}var sfe=function(e){Km(r,e);var t=Jm(r);function r(n){Wm(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}(ee),_fe=function(e){Km(r,e);var t=Jm(r);function r(n){Wm(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(c,f,l){f.length<n.limitRows&&l(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),l()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(Ut),vi=function(e){Km(r,e);var t=Jm(r);function r(n,o){Wm(this,r);var i;i=t.call(this,n,o),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),"canExport",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 c;i.caption=(c=o==null?void 0:o.caption)!==null&&c!==void 0?c:ks.controlName;var f;i.isHideCaption=(f=o==null?void 0:o.isHideCaption)!==null&&f!==void 0?f:!1;var l;i.defaultState=(l=o==null?void 0:o.defaultState)!==null&&l!==void 0?l:"default";var a;i.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var 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 y;i.useCustomHeight=(y=o==null?void 0:o.useCustomHeight)!==null&&y!==void 0?y:!1;var b;i.maxHeight=(b=o==null?void 0:o.maxHeight)!==null&&b!==void 0?b:w$;var g;i.printMode=(g=o==null?void 0:o.printMode)!==null&&g!==void 0?g:"row";var p;i.limitRows=(p=o==null?void 0:o.limitRows)!==null&&p!==void 0?p:1;var m;i.maxRows=(m=o==null?void 0:o.maxRows)!==null&&m!==void 0?m:null;var h;i.defaultRows=(h=o==null?void 0:o.defaultRows)!==null&&h!==void 0?h: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 de;i.isShowCaptionTip=(de=o==null?void 0:o.isShowCaptionTip)!==null&&de!==void 0?de:!1;var ve;i.captionTip=(ve=o==null?void 0:o.captionTip)!==null&&ve!==void 0?ve:"";var ro;i.mobileShowType=(ro=o==null?void 0:o.mobileShowType)!==null&&ro!==void 0?ro:"list";var rr;i.mobileDefaultNum=(rr=o==null?void 0:o.mobileDefaultNum)!==null&&rr!==void 0?rr:10;var St;i.dataStorageDoc=(St=o==null?void 0:o.dataStorageDoc)!==null&&St!==void 0?St:new Vw;var yw;i.fixedColumn=(yw=o==null?void 0:o.fixedColumn)!==null&&yw!==void 0?yw:[];var pw;i.mobileRowCaption=(pw=o==null?void 0:o.mobileRowCaption)!==null&&pw!==void 0?pw:"\u660E\u7EC6";var dw;i.mobileIsTile=(dw=o==null?void 0:o.mobileIsTile)!==null&&dw!==void 0?dw:!1;var vw;return i.isPaste=(vw=o==null?void 0:o.isPaste)!==null&&vw!==void 0?vw:!1,i}return r}(bo);I(vi,"Rules",sfe),I(vi,"RuntimeRules",_fe);function Qm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yfe(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 pfe(e,t,r){return t&&g1(e.prototype,t),r&&g1(e,r),e}function Zm(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 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&&e0(e,t)}function vfe(e,t){return t&&(hfe(t)==="object"||typeof t=="function")?t:Qm(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e0(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=As(e),o;if(t){var i=As(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vfe(this,o)}}var ks=function(e){dfe(r,e);var t=gfe(r);function r(n){yfe(this,r);var o,i,c;return o=t.call(this,n),Zm(Qm(o),"props",void 0),o.props=new vi(Qm(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new st,new st,new st]),(n==null||(c=n.props)===null||c===void 0?void 0:c.footers)===void 0&&(o.props.footers=[]),o}return pfe(r,[{key:"addColumn",value:function(o,i){var c=o!==void 0&&typeof o!="number"?o:new st,f=typeof o=="number"?o:i;return f===void 0?this.props.headers.push(c):this.props.headers.splice(f,0,c),c}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(tu);Zm(ks,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),Zm(ks,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.IS_PASTE]},{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:"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 t0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mfe(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 Ofe(e,t,r){return t&&m1(e.prototype,t),r&&m1(e,r),e}function wfe(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 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&&n0(e,t)}function $fe(e,t){return t&&(Rfe(t)==="object"||typeof t=="function")?t:t0(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n0(e,t)}function Rfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sfe(e){var t=Tfe();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 $fe(this,o)}}var Efe=function(e){Pfe(r,e);var t=Sfe(r);function r(n){mfe(this,r);var o;return o=t.call(this,n),wfe(t0(o),"props",void 0),o.props=new vi(t0(o),n==null?void 0:n.props),o}return Ofe(r,[{key:"getChildrenDataSourceBindLayout",value:function(){qt("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(lp),O1={Designer:ks,Runtime:Efe,Property:vi};function kr(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 hi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ls(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&&r0(e,t)}function Nfe(e,t){return t&&(Mfe(t)==="object"||typeof t=="function")?t:kr(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r0(e,t)}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=Ls(e),o;if(t){var i=Ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nfe(this,o)}}var o0=function(e){Bfe(r,e);var t=kfe(r);function r(n,o){Ife(this,r);var i;i=t.call(this,n,o),hi(kr(i),"isFixedHeader",void 0),hi(kr(i),"selectionType",void 0),hi(kr(i),"isShowToolbar",void 0),hi(kr(i),"isShowSelection",void 0),hi(kr(i),"isShowCustomColumns",void 0);var c;i.isFixedHeader=(c=o==null?void 0:o.isFixedHeader)!==null&&c!==void 0?c:!1,i.selectionType=o==null?void 0:o.selectionType;var f;i.isShowToolbar=(f=o==null?void 0:o.isShowToolbar)!==null&&f!==void 0?f:!0;var l;i.isShowSelection=(l=o==null?void 0:o.isShowSelection)!==null&&l!==void 0?l:!1;var a;return i.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0,i}return r}(bo);function Dfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lfe(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 P1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jfe(e,t){return t&&(Ffe(t)==="object"||typeof t=="function")?t:Dfe(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function Ffe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $1(e){var t=Cfe();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 jfe(this,o)}}var xfe=function(e){P1(r,e);var t=$1(r);function r(n){w1(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(ht),Fs=function(e){P1(r,e);var t=$1(r);function r(n){w1(this,r);var o,i,c;o=t.call(this,n);var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"left";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:jn.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||(c=n.autoWidth)===null||c===void 0?void 0:c.flex)!==null&&_!==void 0?_:.4;var y;return o.widthType=(y=n==null?void 0:n.widthType)!==null&&y!==void 0?y:"px",o}return r}(K);Lfe(Fs,"Rules",xfe);function R1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vfe(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 Cs(e){return Cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cs(e)}function zfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gfe(e,t){return t&&(Yfe(t)==="object"||typeof t=="function")?t:R1(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u0(e,t)}function Yfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qfe(e){var t=Hfe();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 Gfe(this,o)}}var jn=function(e){zfe(r,e);var t=qfe(r);function r(n){Vfe(this,r);var o;return o=t.call(this,n),bi(R1(o),"props",void 0),o.props=new Fs(n==null?void 0:n.props),o}return r}(ie);bi(jn,"controlType","order-column"),bi(jn,"controlName","\u5E8F\u53F7"),bi(jn,"controlIcon","order-column"),bi(jn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",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 Ufe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c0(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 Wfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Kfe(e,t){return t&&(Xfe(t)==="object"||typeof t=="function")?t:T1(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}function Xfe(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 Qfe(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 Kfe(this,o)}}var l0=function(e){Wfe(r,e);var t=Qfe(r);function r(n){Ufe(this,r);var o;return o=t.call(this,n),c0(T1(o),"props",void 0),o.props=new Fs(n==null?void 0:n.props),o}return r}(ue);c0(l0,"controlType","order-column"),c0(l0,"controlFieldType",u.FieldTypes.DECIMAL);var S1={Designer:jn,Runtime:l0,Property:Fs};function a0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E1(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 ele(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tle(e,t){return t&&(nle(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 nle(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 ole(e){var t=rle();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 tle(this,o)}}var _0=function(e){ele(r,e);var t=ole(r);function r(n){Zfe(this,r);var o,i;o=t.call(this,n),E1(a0(o),"showType",void 0),E1(a0(o),"limit",void 0);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"right",o.widthType="auto";var f;o.autoWidth.minWidth=(f=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&f!==void 0?f:84;var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Cn.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}(K);function zs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I1(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function ile(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){I1(i,n,o,c,f,"next",l)}function f(l){I1(i,n,o,c,f,"throw",l)}c(void 0)})}}function ule(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 cle(e,t,r){return t&&B1(e.prototype,t),r&&B1(e,r),e}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 Dr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Dr=Reflect.get:Dr=function(o,i,c){var f=yle(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},Dr(e,t,r||e)}function _n(e){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_n(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&&y0(e,t)}function lle(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){Fn(e,o,r[o])})}return e}function ale(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 sle(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ale(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function _le(e,t){return t&&(ple(t)==="object"||typeof t=="function")?t:zs(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}function yle(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_n(e),e!==null););return e}function ple(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=dle();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 _le(this,o)}}function hle(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)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 c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}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 Cn=function(e){fle(r,e);var t=vle(r);function r(n){ule(this,r);var o;return o=t.call(this,n),Fn(zs(o),"props",void 0),Fn(zs(o),"children",void 0),o.props=new _0(n==null?void 0:n.props),ot(zs(o),"children",n==null?void 0:n.children),o}return cle(r,[{key:"toDataBindModel",value:function(){var o=Dr(_n(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===Vc.controlType){var c=i;o.props[c.props.command]=c.props}}),o}},{key:"toSchema",value:function(){var o=Dr(_n(r.prototype),"toSchema",this).call(this);return sle(lle({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var c=this,f=this,l=function(){return Dr(_n(r.prototype),"validate",c)};return ile(function(){return hle(this,function(a){switch(a.label){case 0:return[4,l().call(f,o,i)];case 1:return a.sent(),[4,Promise.all(f.children.map(function(s){return s.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}]),r}(ie);Fn(Cn,"controlType","operation-column"),Fn(Cn,"controlName","\u64CD\u4F5C"),Fn(Cn,"controlIcon","operation-column"),Fn(Cn,"setting",[{key:"caption",showItems:[u.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 Gs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ble(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ys(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hs(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&&p0(e,t)}function mle(e,t){return t&&(Ole(t)==="object"||typeof t=="function")?t:Gs(e)}function p0(e,t){return p0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p0(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=Hs(e),o;if(t){var i=Hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mle(this,o)}}var d0=function(e){gle(r,e);var t=Ple(r);function r(n){ble(this,r);var o;return o=t.call(this,n),Ys(Gs(o),"props",void 0),Ys(Gs(o),"children",void 0),o.props=new _0(n==null?void 0:n.props),ot(Gs(o),"children",n==null?void 0:n.children),o}return r}(ue);Ys(d0,"controlType","operation-column"),Ys(d0,"controlFieldType",u.FieldTypes.FILE);var N1={Designer:Cn,Runtime:d0,Property:_0};function gi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M1(e,t,r,n,o,i,c){try{var f=e[i](c),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function $le(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function c(l){M1(i,n,o,c,f,"next",l)}function f(l){M1(i,n,o,c,f,"throw",l)}c(void 0)})}}function Rle(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 Tle(e,t,r){return t&&A1(e.prototype,t),r&&A1(e,r),e}function qs(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,c){var f=Mle(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},mi(e,t,r||e)}function xn(e){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xn(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&&v0(e,t)}function Ele(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){qs(e,o,r[o])})}return e}function Ile(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 Ble(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ile(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Nle(e,t){return t&&(Ale(t)==="object"||typeof t=="function")?t:gi(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v0(e,t)}function Mle(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=xn(e),e!==null););return e}function Ale(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=kle();return function(){var n=xn(e),o;if(t){var i=xn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nle(this,o)}}function Lle(e,t){var r,n,o,i,c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(a){return function(s){return l([a,s])}}function l(a){if(r)throw new TypeError("Generator is already executing.");for(;c;)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 c.label++,{value:a[1],done:!1};case 5:c.label++,n=a[1],a=[0];continue;case 7:a=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){c=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){c.label=a[1];break}if(a[0]===6&&c.label<o[1]){c.label=o[1],o=a;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(a);break}o[2]&&c.ops.pop(),c.trys.pop();continue}a=t.call(e,c)}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 k1=function(e){Sle(r,e);var t=Dle(r);function r(n){Rle(this,r);var o,i;return o=t.call(this,n),qs(gi(o),"props",void 0),qs(gi(o),"children",void 0),o.props=new o0(gi(o),n==null?void 0:n.props),ot(gi(o),"children",n==null?void 0:n.children),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new jn,new Cn]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return Tle(r,[{key:"toSchema",value:function(){var o=mi(xn(r.prototype),"toSchema",this).call(this),i=this.children.map(function(c){return c.toSchema()});return Ble(Ele({},o),{children:i})}},{key:"validate",value:function(o,i){var c=this,f=this,l=function(){return mi(xn(r.prototype),"validate",c)};return $le(function(){return Lle(this,function(a){switch(a.label){case 0:return[4,l().call(f,o,i)];case 1:return a.sent(),[4,Promise.all(f.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}(tu);qs(k1,"setting",[{key:"list-fixed-header",visible:!0}]);function h0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Fle(e,t,r){return t&&D1(e.prototype,t),r&&D1(e,r),e}function Cle(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 xle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b0(e,t)}function Vle(e,t){return t&&(zle(t)==="object"||typeof t=="function")?t:h0(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b0(e,t)}function zle(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 Yle(e){var t=Gle();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 Vle(this,o)}}var Hle=function(e){xle(r,e);var t=Yle(r);function r(n){jle(this,r);var o;return o=t.call(this,n),Cle(h0(o),"props",void 0),o.props=new o0(h0(o),n==null?void 0:n.props),o}return Fle(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}(lp),L1={Designer:k1,Runtime:Hle,Property:o0},qle=Object.freeze({__proto__:null,SubTable:O1,GridTable:L1});function yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j1(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 Ws(e){return Ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ws(e)}function F1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ule(e,t){return t&&(Wle(t)==="object"||typeof t=="function")?t:yn(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g0(e,t)}function Wle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Kle();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 Ule(this,o)}}var Xle=function(e){F1(r,e);var t=C1(r);function r(n){j1(this,r);var o;return o=t.call(this,n),Qt.call(yn(o),n),o}return r}(pp),Ks=function(e){F1(r,e);var t=C1(r);function r(n){j1(this,r);var o;o=t.call(this,n),Vn(yn(o),"optionConfig",void 0),Vn(yn(o),"datasourceBind",void 0),Vn(yn(o),"showLinkOperation",void 0),Vn(yn(o),"linkOperationOption",void 0),Vn(yn(o),"options",void 0),Vn(yn(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:zn.controlName;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"none",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var f;o.options=dt((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);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 a;return o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1,o}return r}(K);Vn(Ks,"Rules",Xle);function x1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xs(e){return Xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xs(e)}function Qle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zle(e,t){return t&&(eae(t)==="object"||typeof t=="function")?t:x1(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m0(e,t)}function eae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nae(e){var t=tae();return function(){var n=Xs(e),o;if(t){var i=Xs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zle(this,o)}}var zn=function(e){Qle(r,e);var t=nae(r);function r(n){Jle(this,r);var o;return o=t.call(this,n),Lr(x1(o),"props",void 0),o.props=new Ks(n==null?void 0:n.props),o}return r}(ie);Lr(zn,"controlType","varchar-column"),Lr(zn,"controlName","\u77ED\u6587\u672C"),Lr(zn,"controlIcon","varchar-column"),Lr(zn,"controlFieldType",u.FieldTypes.VARCHAR),Lr(zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.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 V1(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 O0(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 oae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w0(e,t)}function iae(e,t){return t&&(uae(t)==="object"||typeof t=="function")?t:V1(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(e,t)}function uae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fae(e){var t=cae();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 iae(this,o)}}var P0=function(e){oae(r,e);var t=fae(r);function r(n){rae(this,r);var o;return o=t.call(this,n),O0(V1(o),"props",void 0),o.props=new Ks(n==null?void 0:n.props),o}return r}(ue);O0(P0,"controlType","varchar-column"),O0(P0,"controlFieldType",u.FieldTypes.VARCHAR);var z1={Designer:zn,Runtime:P0,Property:Ks};function jr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Qs(e){return Qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qs(e)}function Y1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lae(e,t){return t&&(aae(t)==="object"||typeof t=="function")?t:jr(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}function aae(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 H1(e){var t=sae();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 lae(this,o)}}var _ae=function(e){Y1(r,e);var t=H1(r);function r(n){G1(this,r);var o;return o=t.call(this,n),Qt.call(jr(o),n),o}return r}(ht),Zs=function(e){Y1(r,e);var t=H1(r);function r(n){G1(this,r);var o;o=t.call(this,n),Oi(jr(o),"escapeHTML",void 0),Oi(jr(o),"showLinkOperation",void 0),Oi(jr(o),"linkOperationOption",void 0),Oi(jr(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Gn.controlName;var f;o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1;var l;return 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),o}return r}(K);Oi(Zs,"Rules",_ae);function q1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yae(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 pae(e,t,r){return t&&U1(e.prototype,t),r&&U1(e,r),e}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}function e_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?e_=Reflect.get:e_=function(o,i,c){var f=hae(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},e_(e,t,r||e)}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cr(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&&R0(e,t)}function vae(e,t){return t&&(bae(t)==="object"||typeof t=="function")?t:q1(e)}function R0(e,t){return R0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R0(e,t)}function hae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Cr(e),e!==null););return e}function bae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mae(e){var t=gae();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 vae(this,o)}}var Gn=function(e){dae(r,e);var t=mae(r);function r(n){yae(this,r);var o;return o=t.call(this,n),Fr(q1(o),"props",void 0),o.props=new Zs(n==null?void 0:n.props),o}return pae(r,[{key:"toDataBindModel",value:function(o){var i=e_(Cr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.escapeHTML;i.props.escapeHTML=c}return i}}]),r}(ie);Fr(Gn,"controlType","text-column"),Fr(Gn,"controlName","\u957F\u6587\u672C"),Fr(Gn,"controlIcon","text-column"),Fr(Gn,"controlFieldType",u.FieldTypes.TEXT),Fr(Gn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.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 W1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oae(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 t_(e){return t_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},t_(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&&S0(e,t)}function Pae(e,t){return t&&($ae(t)==="object"||typeof t=="function")?t:W1(e)}function S0(e,t){return S0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S0(e,t)}function $ae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tae(e){var t=Rae();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 E0=function(e){wae(r,e);var t=Tae(r);function r(n){Oae(this,r);var o;return o=t.call(this,n),T0(W1(o),"props",void 0),o.props=new Zs(n==null?void 0:n.props),o}return r}(ue);T0(E0,"controlType","text-column"),T0(E0,"controlFieldType",u.FieldTypes.TEXT);var K1={Designer:Gn,Runtime:E0,Property:Zs};function Tt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X1(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 n_(e){return n_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},n_(e)}function J1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Sae(e,t){return t&&(Eae(t)==="object"||typeof t=="function")?t:Tt(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I0(e,t)}function Eae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q1(e){var t=Iae();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 Sae(this,o)}}var Bae=function(e){J1(r,e);var t=Q1(r);function r(n){X1(this,r);var o;return o=t.call(this,n),Qt.call(Tt(o),n),o}return r}(ht),r_=function(e){J1(r,e);var t=Q1(r);function r(n){X1(this,r);var o;o=t.call(this,n),Yt(Tt(o),"optionConfig",void 0),Yt(Tt(o),"datasourceBind",void 0),Yt(Tt(o),"showLinkOperation",void 0),Yt(Tt(o),"linkOperationOption",void 0),Yt(Tt(o),"options",void 0),Yt(Tt(o),"precision",void 0),Yt(Tt(o),"micrometer",void 0),Yt(Tt(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Yn.controlName;var c;o.precision=(c=n==null?void 0:n.precision)!==null&&c!==void 0?c:0;var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!1;var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var s;o.options=dt((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}(K);Yt(r_,"Rules",Bae);function Z1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mae(e,t,r){return t&&eM(e.prototype,t),r&&eM(e,r),e}function xr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?o_=Reflect.get:o_=function(o,i,c){var f=Dae(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},o_(e,t,r||e)}function Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vr(e)}function Aae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kae(e,t){return t&&(Lae(t)==="object"||typeof t=="function")?t:Z1(e)}function B0(e,t){return B0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B0(e,t)}function Dae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vr(e),e!==null););return e}function Lae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fae(e){var t=jae();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 kae(this,o)}}var Yn=function(e){Aae(r,e);var t=Fae(r);function r(n){Nae(this,r);var o;return o=t.call(this,n),xr(Z1(o),"props",void 0),o.props=new r_(n==null?void 0:n.props),o}return Mae(r,[{key:"toDataBindModel",value:function(o){var i=o_(Vr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props,f=c.precision,l=c.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=l}return i}}]),r}(ie);xr(Yn,"controlType","decimal-column"),xr(Yn,"controlName","\u6570\u503C"),xr(Yn,"controlIcon","decimal-column"),xr(Yn,"controlFieldType",u.FieldTypes.DECIMAL),xr(Yn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.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:[u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION,u.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function tM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i_(e){return i_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},i_(e)}function xae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Vae(e,t){return t&&(zae(t)==="object"||typeof t=="function")?t:tM(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M0(e,t)}function zae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yae(e){var t=Gae();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 Vae(this,o)}}var A0=function(e){xae(r,e);var t=Yae(r);function r(n){Cae(this,r);var o;return o=t.call(this,n),N0(tM(o),"props",void 0),o.props=new r_(n==null?void 0:n.props),o}return r}(ue);N0(A0,"controlType","decimal-column"),N0(A0,"controlFieldType",u.FieldTypes.DECIMAL);var nM={Designer:Yn,Runtime:A0,Property:r_};function wi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rM(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 c_(e){return c_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},c_(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&&k0(e,t)}function Hae(e,t){return t&&(qae(t)==="object"||typeof t=="function")?t:wi(e)}function k0(e,t){return k0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k0(e,t)}function qae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Uae();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 Hae(this,o)}}var Wae=function(e){oM(r,e);var t=iM(r);function r(n){rM(this,r);var o;return o=t.call(this,n),Qt.call(wi(o),n),o}return r}(ht),f_=function(e){oM(r,e);var t=iM(r);function r(n){rM(this,r);var o;o=t.call(this,n),u_(wi(o),"dateType",void 0),u_(wi(o),"showLinkOperation",void 0),u_(wi(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:u.DateType.DATE;var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Bt(n==null?void 0:n.linkOperationOption);var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Hn.controlName,o}return r}(K);u_(f_,"Rules",Wae);function uM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xae(e,t,r){return t&&cM(e.prototype,t),r&&cM(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 l_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?l_=Reflect.get:l_=function(o,i,c){var f=Zae(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},l_(e,t,r||e)}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gr(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&&D0(e,t)}function Qae(e,t){return t&&(ese(t)==="object"||typeof t=="function")?t:uM(e)}function D0(e,t){return D0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D0(e,t)}function Zae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gr(e),e!==null););return e}function ese(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 nse(e){var t=tse();return function(){var n=Gr(e),o;if(t){var i=Gr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qae(this,o)}}var Hn=function(e){Jae(r,e);var t=nse(r);function r(n){Kae(this,r);var o;return o=t.call(this,n),zr(uM(o),"props",void 0),o.props=new f_(n==null?void 0:n.props),o}return Xae(r,[{key:"toDataBindModel",value:function(o){var i=l_(Gr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.dateType;i.props.dateType=c}return i}}]),r}(ie);zr(Hn,"controlType","timescope-column"),zr(Hn,"controlName","\u65E5\u671F\u533A\u95F4"),zr(Hn,"controlIcon","timescope-column"),zr(Hn,"controlFieldType",u.FieldTypes.TIMESCOPE),zr(Hn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.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 fM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a_(e){return a_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},a_(e)}function ose(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ise(e,t){return t&&(use(t)==="object"||typeof t=="function")?t:fM(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(e,t)}function use(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 fse(e){var t=cse();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 ise(this,o)}}var F0=function(e){ose(r,e);var t=fse(r);function r(n){rse(this,r);var o;return o=t.call(this,n),L0(fM(o),"props",void 0),o.props=new f_(n==null?void 0:n.props),o}return r}(ue);L0(F0,"controlType","timescope-column"),L0(F0,"controlFieldType",u.FieldTypes.TIMESCOPE);var lM={Designer:Hn,Runtime:F0,Property:f_};function Pi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aM(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 sM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C0(e,t)}function lse(e,t){return t&&(ase(t)==="object"||typeof t=="function")?t:Pi(e)}function C0(e,t){return C0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C0(e,t)}function ase(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 _M(e){var t=sse();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 lse(this,o)}}var _se=function(e){sM(r,e);var t=_M(r);function r(n){aM(this,r);var o;return o=t.call(this,n),Qt.call(Pi(o),n),o}return r}(ht),y_=function(e){sM(r,e);var t=_M(r);function r(n){aM(this,r);var o;o=t.call(this,n),s_(Pi(o),"dateType",void 0),s_(Pi(o),"showLinkOperation",void 0),s_(Pi(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:u.DateType.DATE;var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Bt(n==null?void 0:n.linkOperationOption);var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:qn.controlName,o}return r}(K);s_(y_,"Rules",_se);function yM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pse(e,t,r){return t&&pM(e.prototype,t),r&&pM(e,r),e}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 p_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?p_=Reflect.get:p_=function(o,i,c){var f=hse(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},p_(e,t,r||e)}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hr(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&&x0(e,t)}function vse(e,t){return t&&(bse(t)==="object"||typeof t=="function")?t:yM(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x0(e,t)}function hse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hr(e),e!==null););return e}function bse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mse(e){var t=gse();return function(){var n=Hr(e),o;if(t){var i=Hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vse(this,o)}}var qn=function(e){dse(r,e);var t=mse(r);function r(n){yse(this,r);var o;return o=t.call(this,n),Yr(yM(o),"props",void 0),o.props=new y_(n==null?void 0:n.props),o}return pse(r,[{key:"toDataBindModel",value:function(o){var i=p_(Hr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.dateType;i.props.dateType=c}return i}}]),r}(ie);Yr(qn,"controlType","timestamp-column"),Yr(qn,"controlName","\u65E5\u671F"),Yr(qn,"controlIcon","timestamp-column"),Yr(qn,"controlFieldType",u.FieldTypes.TIMESTAMP),Yr(qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.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 dM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ose(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 wse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Pse(e,t){return t&&($se(t)==="object"||typeof t=="function")?t:dM(e)}function z0(e,t){return z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z0(e,t)}function $se(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 Tse(e){var t=Rse();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 Pse(this,o)}}var G0=function(e){wse(r,e);var t=Tse(r);function r(n){Ose(this,r);var o;return o=t.call(this,n),V0(dM(o),"props",void 0),o.props=new y_(n==null?void 0:n.props),o}return r}(ue);V0(G0,"controlType","timestamp-column"),V0(G0,"controlFieldType",u.FieldTypes.TIMESTAMP);var vM={Designer:qn,Runtime:G0,Property:y_};function v_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b_(e){return b_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},b_(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&&Y0(e,t)}function Sse(e,t){return t&&(Ese(t)==="object"||typeof t=="function")?t:v_(e)}function Y0(e,t){return Y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y0(e,t)}function Ese(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ise(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gM(e){var t=Ise();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 Sse(this,o)}}var Bse=function(e){bM(r,e);var t=gM(r);function r(n){return hM(this,r),t.call(this,n)}return r}(pp),g_=function(e){bM(r,e);var t=gM(r);function r(n){hM(this,r);var o;o=t.call(this,n),h_(v_(o),"optionConfig",void 0),h_(v_(o),"datasourceBind",void 0),h_(v_(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Un.controlName;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"none",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var f;return o.options=dt((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(K);h_(g_,"Rules",Bse);function mM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nse(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 m_(e){return m_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},m_(e)}function Mse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ase(e,t){return t&&(kse(t)==="object"||typeof t=="function")?t:mM(e)}function H0(e,t){return H0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H0(e,t)}function kse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lse(e){var t=Dse();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 Ase(this,o)}}var Un=function(e){Mse(r,e);var t=Lse(r);function r(n){Nse(this,r);var o;return o=t.call(this,n),qr(mM(o),"props",void 0),o.props=new g_(n==null?void 0:n.props),o}return r}(ie);qr(Un,"controlType","array-column"),qr(Un,"controlName","\u6570\u7EC4"),qr(Un,"controlIcon","array-column"),qr(Un,"controlFieldType",u.FieldTypes.ARRAY),qr(Un,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.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 OM(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 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 O_(e){return O_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},O_(e)}function Fse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cse(e,t){return t&&(xse(t)==="object"||typeof t=="function")?t:OM(e)}function U0(e,t){return U0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U0(e,t)}function xse(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 zse(e){var t=Vse();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 Cse(this,o)}}var W0=function(e){Fse(r,e);var t=zse(r);function r(n){jse(this,r);var o;return o=t.call(this,n),q0(OM(o),"props",void 0),o.props=new g_(n==null?void 0:n.props),o}return r}(ue);q0(W0,"controlType","array-column"),q0(W0,"controlFieldType",u.FieldTypes.ARRAY);var wM={Designer:Un,Runtime:W0,Property:g_};function PM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yse(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 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&&K0(e,t)}function qse(e,t){return t&&(Use(t)==="object"||typeof t=="function")?t:PM(e)}function K0(e,t){return K0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K0(e,t)}function Use(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 Kse(e){var t=Wse();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 qse(this,o)}}var X0=function(e){Hse(r,e);var t=Kse(r);function r(n){Gse(this,r);var o;o=t.call(this,n),Yse(PM(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Wn.controlName;var c;return o.displayLevel=(c=n==null?void 0:n.displayLevel)!==null&&c!==void 0?c:1,o}return r}(K);function $M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xse(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 Jse(e,t,r){return t&&RM(e.prototype,t),r&&RM(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 P_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?P_=Reflect.get:P_=function(o,i,c){var f=e_e(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},P_(e,t,r||e)}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(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&&J0(e,t)}function Zse(e,t){return t&&(t_e(t)==="object"||typeof t=="function")?t:$M(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J0(e,t)}function e_e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wr(e),e!==null););return e}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=Wr(e),o;if(t){var i=Wr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zse(this,o)}}var Wn=function(e){Qse(r,e);var t=r_e(r);function r(n){Xse(this,r);var o;return o=t.call(this,n),Ur($M(o),"props",void 0),o.props=new X0(n==null?void 0:n.props),o}return Jse(r,[{key:"toDataBindModel",value:function(o){var i=P_(Wr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var c=this.props.displayLevel;i.props.displayLevel=c}return i}}]),r}(ie);Ur(Wn,"controlType","department-column"),Ur(Wn,"controlName","\u90E8\u95E8"),Ur(Wn,"controlIcon","department-column"),Ur(Wn,"controlFieldType",u.FieldTypes.DEPARTMENTS),Ur(Wn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.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 TM(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 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 i_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&&Z0(e,t)}function u_e(e,t){return t&&(c_e(t)==="object"||typeof t=="function")?t:TM(e)}function Z0(e,t){return Z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z0(e,t)}function c_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 l_e(e){var t=f_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 u_e(this,o)}}var eO=function(e){i_e(r,e);var t=l_e(r);function r(n){o_e(this,r);var o;return o=t.call(this,n),Q0(TM(o),"props",void 0),o.props=new X0(n==null?void 0:n.props),o}return r}(ue);Q0(eO,"controlType","department-column"),Q0(eO,"controlFieldType",u.FieldTypes.DEPARTMENTS);var SM={Designer:Wn,Runtime:eO,Property:X0};function R_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 T_(e){return T_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},T_(e)}function IM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 a_e(e,t){return t&&(s_e(t)==="object"||typeof t=="function")?t:R_(e)}function nO(e,t){return nO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nO(e,t)}function s_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function __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 BM(e){var t=__e();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 a_e(this,o)}}var y_e=function(e){IM(r,e);var t=BM(r);function r(n){EM(this,r);var o;return o=t.call(this,n),Qt.call(R_(o),n),o}return r}(ht),S_=function(e){IM(r,e);var t=BM(r);function r(n){EM(this,r);var o;o=t.call(this,n),tO(R_(o),"showLinkOperation",void 0),tO(R_(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Kn.controlName;var c;return o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Bt(n==null?void 0:n.linkOperationOption),o}return r}(K);tO(S_,"Rules",y_e);function NM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p_e(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 E_(e){return E_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},E_(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&&rO(e,t)}function v_e(e,t){return t&&(h_e(t)==="object"||typeof t=="function")?t:NM(e)}function rO(e,t){return rO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rO(e,t)}function h_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b_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 g_e(e){var t=b_e();return function(){var n=E_(e),o;if(t){var i=E_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v_e(this,o)}}var Kn=function(e){d_e(r,e);var t=g_e(r);function r(n){p_e(this,r);var o;return o=t.call(this,n),Kr(NM(o),"props",void 0),o.props=new S_(n==null?void 0:n.props),o}return r}(ie);Kr(Kn,"controlType","auto-number-column"),Kr(Kn,"controlName","\u81EA\u52A8\u7F16\u53F7"),Kr(Kn,"controlIcon","auto-number-column"),Kr(Kn,"controlFieldType",u.FieldTypes.AUTO_NUMBER),Kr(Kn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.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 MM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m_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 I_(e){return I_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},I_(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&&iO(e,t)}function w_e(e,t){return t&&(P_e(t)==="object"||typeof t=="function")?t:MM(e)}function iO(e,t){return iO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iO(e,t)}function P_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $_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=$_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 w_e(this,o)}}var uO=function(e){O_e(r,e);var t=R_e(r);function r(n){m_e(this,r);var o;return o=t.call(this,n),oO(MM(o),"props",void 0),o.props=new S_(n==null?void 0:n.props),o}return r}(ue);oO(uO,"controlType","auto-number-column"),oO(uO,"controlFieldType",u.FieldTypes.AUTO_NUMBER);var AM={Designer:Kn,Runtime:uO,Property:S_};function T_e(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 B_(e){return B_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},B_(e)}function E_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&&cO(e,t)}function I_e(e,t){return t&&(B_e(t)==="object"||typeof t=="function")?t:T_e(e)}function cO(e,t){return cO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cO(e,t)}function B_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 M_e(e){var t=N_e();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 I_e(this,o)}}var fO=function(e){E_e(r,e);var t=M_e(r);function r(n){S_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:Xn.controlName,o}return r}(K);function kM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A_e(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 N_(e){return N_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},N_(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&&lO(e,t)}function D_e(e,t){return t&&(L_e(t)==="object"||typeof t=="function")?t:kM(e)}function lO(e,t){return lO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lO(e,t)}function L_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 F_e(e){var t=j_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 D_e(this,o)}}var Xn=function(e){k_e(r,e);var t=F_e(r);function r(n){A_e(this,r);var o;return o=t.call(this,n),Xr(kM(o),"props",void 0),o.props=new fO(n==null?void 0:n.props),o}return r}(ie);Xr(Xn,"controlType","file-column"),Xr(Xn,"controlName","\u9644\u4EF6"),Xr(Xn,"controlIcon","file-column"),Xr(Xn,"controlFieldType",u.FieldTypes.FILE),Xr(Xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.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 DM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C_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 x_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 V_e(e,t){return t&&(z_e(t)==="object"||typeof t=="function")?t:DM(e)}function sO(e,t){return sO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sO(e,t)}function z_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G_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 Y_e(e){var t=G_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 V_e(this,o)}}var _O=function(e){x_e(r,e);var t=Y_e(r);function r(n){C_e(this,r);var o;return o=t.call(this,n),aO(DM(o),"props",void 0),o.props=new fO(n==null?void 0:n.props),o}return r}(ue);aO(_O,"controlType","file-column"),aO(_O,"controlFieldType",u.FieldTypes.FILE);var LM={Designer:Xn,Runtime:_O,Property:fO};function H_e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q_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 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&&yO(e,t)}function W_e(e,t){return t&&(K_e(t)==="object"||typeof t=="function")?t:H_e(e)}function yO(e,t){return yO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yO(e,t)}function K_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X_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 J_e(e){var t=X_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 W_e(this,o)}}var pO=function(e){U_e(r,e);var t=J_e(r);function r(n){q_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:Jn.controlName,o}return r}(K);function jM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k_(e){return k_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},k_(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&&dO(e,t)}function eye(e,t){return t&&(tye(t)==="object"||typeof t=="function")?t:jM(e)}function dO(e,t){return dO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dO(e,t)}function tye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rye(e){var t=nye();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 eye(this,o)}}var Jn=function(e){Z_e(r,e);var t=rye(r);function r(n){Q_e(this,r);var o;return o=t.call(this,n),Jr(jM(o),"props",void 0),o.props=new pO(n==null?void 0:n.props),o}return r}(ie);Jr(Jn,"controlType","image-column"),Jr(Jn,"controlName","\u56FE\u7247"),Jr(Jn,"controlIcon","image-column"),Jr(Jn,"controlFieldType",u.FieldTypes.IMAGE),Jr(Jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.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 FM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oye(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 iye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uye(e,t){return t&&(cye(t)==="object"||typeof t=="function")?t:FM(e)}function hO(e,t){return hO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hO(e,t)}function cye(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 lye(e){var t=fye();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 uye(this,o)}}var bO=function(e){iye(r,e);var t=lye(r);function r(n){oye(this,r);var o;return o=t.call(this,n),vO(FM(o),"props",void 0),o.props=new pO(n==null?void 0:n.props),o}return r}(ue);vO(bO,"controlType","image-column"),vO(bO,"controlFieldType",u.FieldTypes.IMAGE);var CM={Designer:Jn,Runtime:bO,Property:pO};function aye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sye(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 _ye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yye(e,t){return t&&(pye(t)==="object"||typeof t=="function")?t:aye(e)}function gO(e,t){return gO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gO(e,t)}function pye(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 vye(e){var t=dye();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 yye(this,o)}}var mO=function(e){_ye(r,e);var t=vye(r);function r(n){sye(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}(K);function xM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hye(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 j_(e){return j_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},j_(e)}function bye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gye(e,t){return t&&(mye(t)==="object"||typeof t=="function")?t:xM(e)}function OO(e,t){return OO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OO(e,t)}function mye(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 wye(e){var t=Oye();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 gye(this,o)}}var Qn=function(e){bye(r,e);var t=wye(r);function r(n){hye(this,r);var o;return o=t.call(this,n),Qr(xM(o),"props",void 0),o.props=new mO(n==null?void 0:n.props),o}return r}(ie);Qr(Qn,"controlType","people-column"),Qr(Qn,"controlName","\u4EBA\u5458"),Qr(Qn,"controlIcon","people-column"),Qr(Qn,"controlFieldType",u.FieldTypes.EMPLOYEES),Qr(Qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.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 VM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pye(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 $ye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rye(e,t){return t&&(Tye(t)==="object"||typeof t=="function")?t:VM(e)}function PO(e,t){return PO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PO(e,t)}function Tye(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 Eye(e){var t=Sye();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 Rye(this,o)}}var $O=function(e){$ye(r,e);var t=Eye(r);function r(n){Pye(this,r);var o;return o=t.call(this,n),wO(VM(o),"props",void 0),o.props=new mO(n==null?void 0:n.props),o}return r}(ue);wO($O,"controlType","people-column"),wO($O,"controlFieldType",u.FieldTypes.EMPLOYEES);var zM={Designer:Qn,Runtime:$O,Property:mO};function C_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 x_(e){return x_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},x_(e)}function YM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&TO(e,t)}function Iye(e,t){return t&&(Bye(t)==="object"||typeof t=="function")?t:C_(e)}function TO(e,t){return TO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TO(e,t)}function Bye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Nye();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 Iye(this,o)}}var Mye=function(e){YM(r,e);var t=HM(r);function r(n){GM(this,r);var o;return o=t.call(this,n),Qt.call(C_(o),n),o}return r}(ht),V_=function(e){YM(r,e);var t=HM(r);function r(n){GM(this,r);var o;o=t.call(this,n),RO(C_(o),"showLinkOperation",void 0),RO(C_(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Zn.controlName;var c;return o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Bt(n==null?void 0:n.linkOperationOption),o}return r}(K);RO(V_,"Rules",Mye);function qM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aye(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 z_(e){return z_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},z_(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&&SO(e,t)}function Dye(e,t){return t&&(Lye(t)==="object"||typeof t=="function")?t:qM(e)}function SO(e,t){return SO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},SO(e,t)}function Lye(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 Fye(e){var t=jye();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 Dye(this,o)}}var Zn=function(e){kye(r,e);var t=Fye(r);function r(n){Aye(this,r);var o;return o=t.call(this,n),Zr(qM(o),"props",void 0),o.props=new V_(n==null?void 0:n.props),o}return r}(ie);Zr(Zn,"controlType","location-column"),Zr(Zn,"controlName","\u5730\u5740"),Zr(Zn,"controlIcon","location-column"),Zr(Zn,"controlFieldType",u.FieldTypes.ADDRESS),Zr(Zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.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 UM(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 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 G_(e){return G_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},G_(e)}function xye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Vye(e,t){return t&&(zye(t)==="object"||typeof t=="function")?t:UM(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 Gye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yye(e){var t=Gye();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 Vye(this,o)}}var BO=function(e){xye(r,e);var t=Yye(r);function r(n){Cye(this,r);var o;return o=t.call(this,n),EO(UM(o),"props",void 0),o.props=new V_(n==null?void 0:n.props),o}return r}(ue);EO(BO,"controlType","location-column"),EO(BO,"controlFieldType",u.FieldTypes.ADDRESS);var WM={Designer:Zn,Runtime:BO,Property:V_};function NO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KM(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 qye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Uye(e,t){return t&&(Wye(t)==="object"||typeof t=="function")?t:NO(e)}function MO(e,t){return MO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},MO(e,t)}function Wye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xye(e){var t=Kye();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 Uye(this,o)}}var AO=function(e){qye(r,e);var t=Xye(r);function r(n){Hye(this,r);var o;o=t.call(this,n),KM(NO(o),"fieldCodeList",void 0),KM(NO(o),"sortFieldCode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:pn.controlName;var c;o.fieldCodeList=(c=n==null?void 0:n.fieldCodeList)!==null&&c!==void 0?c:[];var f;return o.sortFieldCode=(f=n==null?void 0:n.sortFieldCode)!==null&&f!==void 0?f:"",o}return r}(K);function eo(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 XM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qye(e,t,r){return t&&XM(e.prototype,t),r&&XM(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 $i(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?$i=Reflect.get:$i=function(o,i,c){var f=ipe(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(c||o):l.value}},$i(e,t,r||e)}function er(e){return er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},er(e)}function Zye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 epe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function tpe(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 npe(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 rpe(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):npe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ope(e,t){return t&&(upe(t)==="object"||typeof t=="function")?t:eo(e)}function kO(e,t){return kO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kO(e,t)}function ipe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=er(e),e!==null););return e}function upe(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 fpe(e){var t=cpe();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 ope(this,o)}}var lpe=1,pn=function(t){Zye(n,t);var r=fpe(n);function n(o){Jye(this,n);var i;i=r.call(this,o),_t(eo(i),"excludes",void 0),_t(eo(i),"childrenMaxLength",void 0),_t(eo(i),"props",void 0),_t(eo(i),"children",void 0);var c=epe(this,n)?this.constructor:void 0,f=c.excludes,l=c.childrenMaxLength;return i.props=new AO(o==null?void 0:o.props),ot(eo(i),"children",o==null?void 0:o.children),i.excludes=It(f),i.childrenMaxLength=l,i}return Qye(n,[{key:"judgeJoinChildren",value:function(i){var c=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return c&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var c=$i(er(n.prototype),"toDataBindModel",this).call(this,i);if(c){var f=this.props.fieldCodeList;c.props.fieldCodeList=f}return c}},{key:"toSchema",value:function(){var i=$i(er(n.prototype),"toSchema",this).call(this);return rpe(tpe({},i),{children:this.children.map(function(c){return c.toSchema()})})}}]),n}(ie);_t(pn,"controlType","custom-column"),_t(pn,"controlName","\u81EA\u5B9A\u4E49"),_t(pn,"controlIcon","custom-column"),_t(pn,"excludes",[]),_t(pn,"childrenMaxLength",lpe),_t(pn,"setting",[{key:"caption",showItems:[u.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 H_(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 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 q_(e){return q_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},q_(e)}function spe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _pe(e,t){return t&&(ype(t)==="object"||typeof t=="function")?t:H_(e)}function LO(e,t){return LO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LO(e,t)}function ype(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ppe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ppe();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 _pe(this,o)}}var JM=function(e){spe(r,e);var t=dpe(r);function r(n){ape(this,r);var o;return o=t.call(this,n),DO(H_(o),"props",void 0),DO(H_(o),"children",void 0),o.props=new AO(n==null?void 0:n.props),ot(H_(o),"children",n==null?void 0:n.children),o}return r}(ue);DO(JM,"controlType","custom-column");var QM={Designer:pn,Runtime:JM,Property:AO};function ZM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hpe(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 bpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gpe(e,t){return t&&(mpe(t)==="object"||typeof t=="function")?t:ZM(e)}function jO(e,t){return jO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jO(e,t)}function mpe(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 wpe(e){var t=Ope();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 gpe(this,o)}}var FO=function(e){bpe(r,e);var t=wpe(r);function r(n){vpe(this,r);var o;o=t.call(this,n),hpe(ZM(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:dn.controlName;var c;return o.datasourceBind=new lo((c=n==null?void 0:n.datasourceBind)!==null&&c!==void 0?c:{attributes:dn.controlCustomAttributes}),o}return r}(K);function eA(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 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 $pe(e,t,r){return t&&tA(e.prototype,t),r&&tA(e,r),e}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 W_(e){return W_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},W_(e)}function Rpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&CO(e,t)}function Tpe(e,t){return t&&(Spe(t)==="object"||typeof t=="function")?t:eA(e)}function CO(e,t){return CO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},CO(e,t)}function Spe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Epe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Epe();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 Tpe(this,o)}}var dn=function(e){Rpe(r,e);var t=Ipe(r);function r(n){Ppe(this,r);var o;return o=t.call(this,n),to(eA(o),"props",void 0),o.props=new FO(n==null?void 0:n.props),o}return $pe(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ie);to(dn,"controlType","employee-column"),to(dn,"controlName","\u4EBA\u5458"),to(dn,"controlIcon","employee-column"),to(dn,"controlFieldType",u.FieldTypes.EMPLOYEES),to(dn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.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 nA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function K_(e){return K_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},K_(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&&VO(e,t)}function Mpe(e,t){return t&&(Ape(t)==="object"||typeof t=="function")?t:nA(e)}function VO(e,t){return VO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},VO(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=K_(e),o;if(t){var i=K_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mpe(this,o)}}var zO=function(e){Npe(r,e);var t=Dpe(r);function r(n){Bpe(this,r);var o;return o=t.call(this,n),xO(nA(o),"props",void 0),o.props=new FO(n==null?void 0:n.props),o}return r}(ue);xO(zO,"controlType","employee-column"),xO(zO,"controlFieldType",u.FieldTypes.EMPLOYEES);var rA={Designer:dn,Runtime:zO,Property:FO};function X_(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 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 J_(e){return J_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},J_(e)}function jpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fpe(e,t){return t&&(Cpe(t)==="object"||typeof t=="function")?t:X_(e)}function YO(e,t){return YO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YO(e,t)}function Cpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=xpe();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 Fpe(this,o)}}var HO=function(e){jpe(r,e);var t=Vpe(r);function r(n){Lpe(this,r);var o;o=t.call(this,n),GO(X_(o),"lineEllipsis",void 0),GO(X_(o),"showLinkOperation",void 0),GO(X_(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:nr.controlName;var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Bt(n==null?void 0:n.linkOperationOption);var f;return o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1,o}return r}(K);function qO(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 tr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q_(e){return Q_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Q_(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&&UO(e,t)}function Ype(e,t){return t&&(Hpe(t)==="object"||typeof t=="function")?t:qO(e)}function UO(e,t){return UO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UO(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=Q_(e),o;if(t){var i=Q_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ype(this,o)}}var nr=function(e){Gpe(r,e);var t=Upe(r);function r(n){zpe(this,r);var o;return o=t.call(this,n),tr(qO(o),"props",void 0),tr(qO(o),"children",void 0),o.props=new HO(n==null?void 0:n.props),o}return r}(ie);tr(nr,"controlType","approval-status-column"),tr(nr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),tr(nr,"controlIcon","approval-status-column"),tr(nr,"excludes",[]),tr(nr,"setting",[{key:"caption",showItems:[u.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 WO(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 Z_(e){return Z_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Z_(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:WO(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=Z_(e),o;if(t){var i=Z_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xpe(this,o)}}var oA=function(e){Kpe(r,e);var t=Zpe(r);function r(n){Wpe(this,r);var o;return o=t.call(this,n),KO(WO(o),"props",void 0),KO(WO(o),"children",void 0),o.props=new HO(n==null?void 0:n.props),o}return r}(ue);KO(oA,"controlType","approval-status-column");var iA={Designer:nr,Runtime:oA,Property:HO},ede=Object.freeze({__proto__:null,VarcharColumn:z1,TextColumn:K1,DecimalColumn:nM,TimescopeColumn:lM,TimestampColumn:vM,ArrayColumn:wM,DepartmentColumn:SM,AutoNumberColumn:AM,FileColumn:LM,ImageColumn:CM,PeopleColumn:zM,LocationColumn:WM,CustomColumn:QM,OrderColumn:S1,OperationColumn:N1,EmployeeColumn:rA,ApprovalStatusColumn:iA});function yt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uA(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 ey(e){return ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ey(e)}function cA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tde(e,t){return t&&(nde(t)==="object"||typeof t=="function")?t:yt(e)}function JO(e,t){return JO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},JO(e,t)}function nde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=rde();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 tde(this,o)}}var ode=function(e){cA(r,e);var t=fA(r);function r(n){uA(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Ut),ty=function(e){cA(r,e);var t=fA(r);function r(n){uA(this,r);var o;o=t.call(this,n),pt(yt(o),"search",void 0),pt(yt(o),"cancel",void 0),pt(yt(o),"searchType",void 0),pt(yt(o),"labelPosition",void 0),pt(yt(o),"viewType",void 0),pt(yt(o),"isLoading",void 0),pt(yt(o),"custom",void 0),pt(yt(o),"queryTypeMap",void 0),pt(yt(o),"childMinWidth",void 0),pt(yt(o),"colGap",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var c;o.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var f;o.viewType=(f=n==null?void 0:n.viewType)!==null&&f!==void 0?f:"mini";var l;o.search=new Nt((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new Nt((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(p){return new Nt(p)});var y;o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[];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}(cu);pt(ty,"RuntimeRules",ode);function lA(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 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 ny(e){return ny=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ny(e)}function ude(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cde(e,t){return t&&(fde(t)==="object"||typeof t=="function")?t:lA(e)}function ZO(e,t){return ZO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZO(e,t)}function fde(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 ade(e){var t=lde();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 cde(this,o)}}var ew=function(e){ude(r,e);var t=ade(r);function r(n){ide(this,r);var o;return o=t.call(this,n),QO(lA(o),"props",void 0),o.props=new ty(n==null?void 0:n.props),o}return r}(XP);QO(ew,"controlType","simple-search"),QO(ew,"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:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}]);function tw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sde(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 ry(e){return ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ry(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&&rw(e,t)}function yde(e,t){return t&&(pde(t)==="object"||typeof t=="function")?t:tw(e)}function rw(e,t){return rw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rw(e,t)}function pde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=dde();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 yde(this,o)}}var aA=function(e){_de(r,e);var t=vde(r);function r(n){sde(this,r);var o;o=t.call(this,n),nw(tw(o),"props",void 0),nw(tw(o),"children",void 0),o.props=new ty(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}(QP);nw(aA,"controlType","simple-search");var sA={Designer:ew,Runtime:aA,Property:ty},hde=Object.freeze({__proto__:null,SimpleSearch:sA});function _A(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 gde(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 mde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ow(e,t)}function Ode(e,t){return t&&(wde(t)==="object"||typeof t=="function")?t:_A(e)}function ow(e,t){return ow=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ow(e,t)}function wde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Pde();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 Ode(this,o)}}var iw=function(e){mde(r,e);var t=$de(r);function r(n){bde(this,r);var o;o=t.call(this,n),gde(_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}(su);function yA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tde(e,t,r){return t&&pA(e.prototype,t),r&&pA(e,r),e}function Sde(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 Ede(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ide(e,t){return t&&(Bde(t)==="object"||typeof t=="function")?t:yA(e)}function uw(e,t){return uw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uw(e,t)}function Bde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mde(e){var t=Nde();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 Ide(this,o)}}var Ade=function(e){Ede(r,e);var t=Mde(r);function r(n){Rde(this,r);var o;return o=t.call(this,n),Sde(yA(o),"props",void 0),o.props=new iw(n==null?void 0:n.props),o}return Tde(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}(e$);function dA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dde(e,t,r){return t&&vA(e.prototype,t),r&&vA(e,r),e}function Lde(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 jde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fde(e,t){return t&&(Cde(t)==="object"||typeof t=="function")?t:dA(e)}function cw(e,t){return cw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cw(e,t)}function Cde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=xde();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 Fde(this,o)}}var zde=function(e){jde(r,e);var t=Vde(r);function r(n){kde(this,r);var o;return o=t.call(this,n),Lde(dA(o),"props",void 0),o.props=new iw(n==null?void 0:n.props),o}return Dde(r,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(n$);function Zve(e){return e}var Gde={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},hA={Designer:Ade,Runtime:zde,Property:iw,Setting:Gde},Yde=Object.freeze({__proto__:null,GridLayoutWrap:hA});function fw(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 Hde(e){if(Array.isArray(e))return e}function qde(e){if(Array.isArray(e))return fw(e)}function Ude(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Wde(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,c,f;try{for(r=r.call(e);!(o=(c=r.next()).done)&&(n.push(c.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,f=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw f}}return n}}function Kde(){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 Xde(){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 Jde(e,t){return Hde(e)||Wde(e,t)||gA(e,t)||Kde()}function bA(e){return qde(e)||Ude(e)||gA(e)||Xde()}function gA(e,t){if(!!e){if(typeof e=="string")return fw(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 fw(e,t)}}var Qde=function(e,t){var r=Array.isArray(e),n=r?e:[e];ave(t==null?void 0:t.events),ove(n),ive(n);var o=rve(n),i=uve(o,t),c=On(be(i,function(f){return nve(f,t)}));return r?c:c[0]},Zde=[u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT,u.CONTROL_TYPE.TITLE,u.CONTROL_TYPE.LINK,u.CONTROL_TYPE.BUTTON,"list-btn-export-list","list-btn-export-record"],eve=["subtable","grid-table"],tve=["simple-search"];function nve(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":Zde.includes(i.type)?i.controlType="base":i.controlType="form",eve.includes(i.type)&&(i.controlType="list"),tve.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),he(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),he(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),he(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 c;i.type="attachment",i.props.attachmentAccept=(c=e.attachment_format)===null||c===void 0?void 0:c.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var f;i.props.attachmentAccept=(f=e.attachment_format)===null||f===void 0?void 0:f.split(",")}if(e.type==="date-pick"&&(i.type="date-picker"),e.type==="rich-text"&&(he(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(he(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 l,a=i.props.entry_type||i.props.entryType;i.props.openType=a==="subpage"?"modal":"default",((l=i.children[0])===null||l===void 0?void 0:l.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function($,S){var D=new zg.Designer;D.props.caption=he($.field_name)?$.field_name.zh:$.field_name;var Fe=D.toSchema();Fe.id=$.header_id;var de=i.children[0].children[S].children[0];return de&&(Fe.children=[de]),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=he($.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 ga.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 y=i==null?void 0:i.children[0],b=i==null?void 0:i.children[1],g={};y&&(mA(i,t),g.result=y.props.data_bind,i.id=y.id,i.props=y.props,i.props.script_src=y.props.script_src,i.props.script_echo=y.props.script_echo,i.props.precision=y.props.precision,i.props.micrometer=y.props.is_show_money,i.props.showUpperCase=y.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 p=i==null?void 0:i.children[0],m=i==null?void 0:i.children[1],h={},O={};p&&(mA(i,t),i.id=p.id,h.amount=p.props.data_bind,i.props.range_min=mn(p.props.range_min),i.props.range_max=mn(p.props.range_max),O.amount=mn(p.props.value),i.props.required=p.props.required,i.props.is_hide=p.props.is_hide,i.props.default_state=p.props.default_state,i.props.caption=he(p.props.caption)?p.props.caption.zh:p.props.caption,i.props.is_hide_caption=p.props.is_hide_caption,i.props.showUpperCase=p.props.is_show_chn),m&&(h.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=h,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=he(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=he(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=he(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=mn(e.props.range_min),i.props.range_max=mn(e.props.range_max),i.props.defaultValue=mn(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"),sve(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,c=e.id,f=e.children[0].id;n.forEach(function(l){l.id===c&&(l.id=f);var a=l.show_controls.findIndex(function(_){return _===c}),s=l.hide_controls.findIndex(function(_){return _===c});a>-1&&l.show_controls.splice(a,1,f),s>-1&&l.hide_controls.splice(s,1,f)}),i.forEach(function(l){l.ctrl_id===c&&(l.id=f)})}}function rve(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new Sm.Designer,n=r.toSchema();return n.children=e,[n]}function ove(e){e.forEach(function(t){t.children&&lve(t.children)})}function ive(e){e.forEach(function(t){if(!!(t&&t.children))for(var r=t.children,n=0;n<r.length;n++){var o,i,c=r[n],f=(i=r[n])===null||i===void 0||(o=i.children)===null||o===void 0?void 0:o[0];c.type==="grid-row"&&f&&["group-panel","subtable","tab"].includes(f.type)&&r.splice(n,1,f)}})}function uve(e,t){var r,n,o,i,c;if(!(Array.isArray(e)&&e.length===1))return e;var f=e[0];if(f.type!=="list-page")return e;var l=f.props,a=f.children,s=Jde(a,3),_=s[0],y=s[1],b=s[2];cve(_),b.props.is_fixed_header=l==null||(r=l.source_config)===null||r===void 0?void 0:r.is_fixed_header,fve(b,y);var g,p=(g=l==null||(n=l.source_config)===null||n===void 0?void 0:n.data_code)!==null&&g!==void 0?g:t==null?void 0:t.dataCode,m,h=((m=l==null||(o=l.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&m!==void 0?m:p)?"".concat(p,"_selectMore"):void 0,O,P=(O=l==null||(i=l.source_config)===null||i===void 0?void 0:i.orders)!==null&&O!==void 0?O:[],w=new Pm.Designer;w.props.datasourceBind=new re({dataCode:p,svcCode:h,orders:Nw(P)}),w.props.isShowSubList=l.is_show_sublist,w.props.triggerType=l.timing_type,w.props.triggerFieldCode=l.ctrl_field_code,l==null||(c=l.sublist_page)===null||c===void 0||c.sublists.forEach(function($){$.title=he($.title)?$.title.zh:$.title}),w.props.sublistPage=l.sublist_page;var T=w.toSchema();return T.children.push(_,b),[T]}function cve(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=he(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 fve(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:he(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=he(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 c;n.props.edit=(c=r.edit)!==null&&c!==void 0?c:{},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 lve(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 ave(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 sve(e,t){var r;if(!(!t||!e.props.events)){var n=Object.keys(e.props.events);if(!!n.length&&(n.forEach(function(i){var c;!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),(c=t[e.id][i]).push.apply(c,bA(e.props.events[i].map(function(f){return f.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 _ve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=On(be(n,function(i){return yve(i)}));return r?o:o[0]};function yve(e,t){if(e.type===u.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===u.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Ue({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var pve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=On(be(n,function(i){return dve(i)}));return r?o:o[0]};function dve(e,t){return[u.CONTROL_TYPE.BUTTON,u.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,u.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,u.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,u.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,u.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,u.CONTROL_TYPE.EXPORT_LIST_BUTTON,u.CONTROL_TYPE.FORM_SELECT_BUTTON,u.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===u.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===u.CONTROL_TYPE.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}var vve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=On(be(n,function(i){return hve(i)}));return r?o:o[0]};function hve(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 bve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=On(be(n,function(i){return mve(i)}));return r?o:o[0]},gve=[u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.TAB,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.GRID_ROW,u.CONTROL_TYPE.CARD_GROUP];function mve(e,t){return e.type===u.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(gve.includes(r.type))return r;var n=new Ag.Designer,o=new ga.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var Ove=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=On(be(n,function(i){return wve(i)}));return r?o:o[0]};function wve(e,t){return e.type===u.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type===u.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}var Pve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=be(n,function(i){return $ve(i)});return r?o:o[0]};function $ve(e,t){return e.type===u.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}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}var Rve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=be(n,function(i){return Tve(i)});return r?o:o[0]};function vn(e,t){e.field_code&&(e.field_type=t)}function Tve(e,t){var r,n=(r={},U(r,u.CONTROL_TYPE.TITLE,u.FieldTypes.AUTO_NUMBER),U(r,u.CONTROL_TYPE.ADDRESS,u.FieldTypes.ADDRESS),U(r,u.CONTROL_TYPE.ATTACHMENT,u.FieldTypes.FILE),U(r,u.CONTROL_TYPE.AUTO_NUMBER,u.FieldTypes.AUTO_NUMBER),U(r,u.CONTROL_TYPE.CHECKBOX,u.FieldTypes.ARRAY),U(r,u.CONTROL_TYPE.DATE_PICKER,u.FieldTypes.TIMESTAMP),U(r,u.CONTROL_TYPE.DEPARTMENT,u.FieldTypes.DEPARTMENTS),U(r,u.CONTROL_TYPE.EMPLOYEE,u.FieldTypes.EMPLOYEES),U(r,u.CONTROL_TYPE.EMPLOYEE2,u.FieldTypes.EMPLOYEES),U(r,u.CONTROL_TYPE.IMAGE,u.FieldTypes.IMAGE),U(r,u.CONTROL_TYPE.INPUT,u.FieldTypes.VARCHAR),U(r,u.CONTROL_TYPE.NUMBER,u.FieldTypes.DECIMAL),U(r,u.CONTROL_TYPE.RADIO,u.FieldTypes.VARCHAR),U(r,u.CONTROL_TYPE.RICH_TEXT,u.FieldTypes.TEXT),U(r,u.CONTROL_TYPE.SCORE,u.FieldTypes.DECIMAL),U(r,u.CONTROL_TYPE.SELECT,u.FieldTypes.VARCHAR),U(r,u.CONTROL_TYPE.SELECT_MULTIPLE,u.FieldTypes.ARRAY),U(r,u.CONTROL_TYPE.SELECT_RELATION,u.FieldTypes.VARCHAR),U(r,u.CONTROL_TYPE.TEXTAREA,u.FieldTypes.TEXT),U(r,u.CONTROL_TYPE.TREE,u.FieldTypes.ARRAY),U(r,u.CONTROL_TYPE.SEARCH_DATE_RANGE,u.FieldTypes.ARRAY),U(r,u.CONTROL_TYPE.SEARCH_INPUT,u.FieldTypes.VARCHAR),U(r,u.CONTROL_TYPE.SEARCH_NUMBER_RANGE,u.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&vn(e.props.data_bind,n[e.type]),e.type===u.CONTROL_TYPE.AMOUNT&&(vn(e.props.data_bind.amount,u.FieldTypes.DECIMAL),vn(e.props.data_bind.currency,u.FieldTypes.VARCHAR)),e.type===u.CONTROL_TYPE.CALC&&(vn(e.props.data_bind.result,u.FieldTypes.DECIMAL),vn(e.props.data_bind.unit,u.FieldTypes.VARCHAR)),e.type===u.CONTROL_TYPE.DATE_RANGE&&(vn(e.props.data_bind.min,u.FieldTypes.TIMESTAMP),vn(e.props.data_bind.max,u.FieldTypes.TIMESTAMP)),e.type===u.CONTROL_TYPE.VUE_FORM_ITEM){var o;vn(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:u.FieldTypes.ANY)}return e}var Sve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=be(n,function(i){return Eve(i)});return r?o:o[0]};function Eve(e,t){return e.type===u.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===u.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}var Ive=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=be(n,function(i){return Bve(i)});return r?o:o[0]};function Bve(e,t){return e.type===u.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;[u.FieldTypes.VARCHAR,u.FieldTypes.TEXT,u.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 Nve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=be(n,function(i){return Mve(i)});return r?o:o[0]};function Mve(e,t){return[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===u.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.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 Ave=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=be(n,function(i){return kve(i)});return r?o:o[0]};function kve(e,t){return[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===u.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.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 Dve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=be(n,function(i){return Lve(i)});return r?o:o[0]};function Lve(e,t){return e.type===u.CONTROL_TYPE.TITLE&&e.props.config.push(u.TitleConfigEnum.ShowTitle),e.type===u.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(r){if(r.type===u.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 c;if(r.children=(c=r==null?void 0:r.children)!==null&&c!==void 0?c:[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var f,l,a,s,_,y,b=new Ao.Designer;Object.defineProperty(b,"id",{value:"listPageCheckBtnId"}),b.props.code="view",b.props.icon="iconliulan1",b.props.command="view",b.props.content=(f=r.props)===null||f===void 0?void 0:f.check.content,b.props.priorityProcess=(l=r.props)===null||l===void 0?void 0:l.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()),(y=r.props)===null||y===void 0||delete y.check}if(((o=r.props)===null||o===void 0?void 0:o.edit)!==void 0){var g,p,m,h,O,P,w=new Ao.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=(p=r.props)===null||p===void 0?void 0:p.edit.priority_process,w.props.openType=(m=r.props)===null||m===void 0?void 0:m.edit.open_type,w.props.formKey=(h=r.props)===null||h===void 0?void 0:h.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,de,ve=new Ao.Designer;Object.defineProperty(ve,"id",{value:"listPageDeleteBtnId"}),ve.props.code="delete",ve.props.icon="iconlajitong",ve.props.command="delete",ve.props.content=(T=r.props)===null||T===void 0?void 0:T.delete.content,ve.props.priorityProcess=($=r.props)===null||$===void 0?void 0:$.delete.priority_process,ve.props.openType=(S=r.props)===null||S===void 0?void 0:S.delete.open_type,ve.props.formKey=(D=r.props)===null||D===void 0?void 0:D.delete.form_key,ve.props.needConfirm=!0,ve.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(ve.toSchema()),(de=r.props)===null||de===void 0||delete de.delete}}}),[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===u.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.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 OA={"v1.0":Qde,"v2.0":_ve,"v2.1":pve,"v2.2":vve,"v2.3":bve,"v2.4":Ove,"v2.5":Pve,"v2.6":Rve,"v2.7":Sve,"v2.8":Ive,"v2.9":Nve,"v2.10":Ave,"v3.0":Dve,"v3.1":function(){}};const wA=(e,t)=>{const r=PA(e),n=PA(t),o=r.pop(),i=n.pop(),c=TA(r,n);return c!==0?c:o&&i?TA(o.split("."),i.split(".")):o||i?o?-1:1:0},cy=(e,t,r)=>{xve(r);const n=wA(e,t);return SA[r].includes(n)},jve=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,PA=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(jve);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},$A=e=>e==="*"||e==="x"||e==="X",RA=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Fve=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Cve=(e,t)=>{if($A(e)||$A(t))return 0;const[r,n]=Fve(RA(e),RA(t));return r>n?1:r<n?-1:0},TA=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Cve(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},SA={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},EA=Object.keys(SA),xve=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(EA.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${EA.join("|")}`)};function Vve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zve(e,t,r){return t&&IA(e.prototype,t),r&&IA(e,r),e}function BA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lw(e){return e.replace(/^v/,"")}var no=Object.keys(OA).map(function(e){return lw(e)}).sort(wA),Ri=no[no.length-1],Gve=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ri;Vve(this,e),BA(this,"toVersion",void 0),BA(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=r,cy(r,Ri,">")?qt("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(Ri)):(!no.includes(lw(r))||!no.includes(lw(t)))&&qt("Version Builder: Please give me a valid version number, The valid version is: ".concat(no.join(","),", But give me a ").concat(t))}return zve(e,[{key:"dataCleaner",value:function(r,n){var o=this;if(cy(this.toVersion,this.schemaVersion,"="))return r;var i=this.callDataCleanerKeys.reduce(function(c,f,l,a){var s,_=(s=a[l+1])!==null&&s!==void 0?s:o.toVersion;fo("Version Builder: current version: ".concat(f,", nextVersion: ").concat(_));var y=OA[f],b=c;if(typeof y=="function"){var g=y(c,n);g&&(b=g)}return b},r);return fo("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var r=this;return no.filter(function(n){return cy(n,r.schemaVersion,">=")&&cy(n,r.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(r){return"v"+r})}},{key:"version",get:function(){return Ri}}],[{key:"version",get:function(){return Ri}}]),e}();const fy=[],aw={exports:{}};let sw=!1;const Yve=window.module,Hve=window.exports,qve=window.require;function Uve(e){return sw||(window.module=aw,window.exports=aw.exports,window.require=function(t){return e[t]},sw=!0),function(){window.module=Yve,window.exports=Hve,window.require=qve,sw=!1}}function Wve(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),c=Uve(t);i.src=e,i.type="text/javascript";const f=()=>{document.head.removeChild(i);const l=fy.findIndex(a=>a===r);fy.splice(l,1),fy.length===0&&c()};i.onerror=function(l){f(),o(l)},i.onload=function(){n(aw.exports),f()},document.head.appendChild(i)});return fy.push(r),r}function _w(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 NA(e,t,r={fetch:_w}){return new Promise((n,o)=>{r.fetch(e).then(i=>{const c={exports:{}};new Function("module","exports","require",i)(c,c.exports,function(f){return t[f]}),n(c.exports)}).catch(i=>{o(i)})})}function ly(e,t){return NA(e,t)}function Kve(e,t){return Ti(this,null,function*(){return yield Promise.all(e.map(r=>ly(r,t)))})}function ay(e,t,r){let n;t==="runtime"?n=class extends ne{constructor(l){super(l),this.props={}}static get controlType(){return e}}:n=class extends F{constructor(l){super(l),this.props={}}static get controlType(){return e}};class o extends te{}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:f=>f}}function Xve(e,t,r,n){return Ti(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>Ti(this,null,function*(){let c=!0,f;try{c=!0;let l="";n.type==="runtime"?l=i.runtime:l=i.designer,l+="?v="+i.version,f=yield ly(l,r)}catch(l){c=!1,bn("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,l),f=ay(i.id,n.type,n.tipMessage)}if(c){let l="";if(n.type==="runtime"&&i.runtimecss!==void 0){const a=new RegExp(i.id+"-runtime-.*?$");l=i.runtime.replace(a,i.runtimecss)}else if(n.type==="designer"&&i.designercss!==void 0){const a=new RegExp(i.id+"-designer-.*?$");l=i.designer.replace(a,i.designercss)}if(l!==""){const a=document.createElement("link");a.href=l,a.rel="stylesheet",document.head.appendChild(a)}}MA(n.type,f,o,c,i)}))),e==null||e.map(i=>{const[c,f]=i.split(":");if(o.has(c)===!1){const a=ay(c,n.type,n.tipMessage);MA(n.type,a,o,!1,{fieldType:"",id:c,name:"",runtime:"",designer:"",type:"",version:f})}})),o})}function MA(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&bn(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&bn(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function Jve(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";r==null||r.map(c=>{const[f,l]=c.split(":");o.props.id===f&&(i=l!=null?l:"")}),e=o.control.upgrade(e,o.version,i,n)}return e}function Qve(e,t){return Ti(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield _w(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const c=yield ly(`${e}/${t.type}.js?v=${r}`,t.globalModules);i.map(f=>{let l=c.find(a=>t.type==="runtime"?a.Runtime.controlType===f.id:a.Designer.controlType===f.id);l===void 0&&(l=ay(f.id,t.type,"\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF")),n.set(f.id,{props:f,version:f.version,isLoaded:!0,control:l})})}return n})}u.ActionBar=b1,u.Address=bI,u.AddressValue=rP,u.AdvancedContainer=c1,u.Amount=tI,u.AmountDataBind=Zw,u.AmountValue=eP,u.ApprovalStatusColumn=iA,u.ArrayColumn=wM,u.Attachment=YE,u.AutoNumber=LI,u.AutoNumberColumn=AM,u.AutoWidth=Ry,u.BaseControlProperty=M,u.BaseControlPropertyRules=le,u.BaseControlPropertyRuntimeRules=x,u.BaseStyle=cP,u.BatchDeleteButton=rS,u.BatchPrintListButton=xT,u.BatchPrintRecordListButton=HT,u.BatchSubmissionListButton=nR,u.Button=g$,u.Calc=GI,u.CalcDataBind=oP,u.CalcScriptEchoItem=ML,u.CalcValue=iP,u.CardGroup=QN,u.Checkbox=hS,u.Col=ga,u.ColumnControlProperty=K,u.ColumnControlPropertyRules=ht,u.ColumnOptionAndDataSourcePropertyRules=pp,u.CreateFormListButton=W$,u.CustomAttributeItem=Iy,u.CustomColumn=QM,u.CustomPermissionItem=Nj,u.DEFAULT_LOCALE=hw,u.Dashboard=uT,u.DataBind=Ue,u.DataSourceBind=re,u.DataSourceDataSetValue=Kw,u.DataSourceOrderItem=Sy,u.DataSourceParamItem=Ej,u.DataStorageDoc=Vw,u.DataView=Sm,u.DatePicker=VS,u.DateRange=JS,u.DecimalColumn=nM,u.Department=EI,u.Department2=gN,u.DepartmentColumn=SM,u.DepartmentEntity=sy,u.DesignerColumnControl=ie,u.DesignerControl=F,u.DesignerFormControl=A,u.DesignerLayoutControl=Y,u.DesignerListControl=tu,u.DesignerSearchControl=XP,u.DesignerWrapControl=e$,u.DisplayBoListItem=Di,u.Divider=M$,u.ElectronicSignature=iN,u.ElectronicSignatureConfig=m$,u.Employee=FE,u.Employee2=KB,u.EmployeeColumn=rA,u.EventLogic=jw,u.Explain=Ru,u.ExportListButton=yR,u.ExportRecordListButton=bR,u.ExportTemplate=Hp,u.FieldBindItem=Yw,u.FieldFilterCondition=ki,u.FieldFilterConditions=Ty,u.FieldTypeToColumnType=kL,u.FileColumn=LM,u.FillBackBind=My,u.FillPayloadBind=Ny,u.FlexStyleConfig=$$,u.FormBind=Pn,u.FormSelectBind=zw,u.FormSelectButton=AR,u.Grid=BN,u.GridLayoutContainer=m3,u.GridLayoutWrap=hA,u.GridRow=Ag,u.GridTable=L1,u.GridTableColumn=p3,u.Image=WE,u.ImageColumn=CM,u.ImageOptionSetting=Qw,u.ImportRecordListButton=$R,u.Input=aS,u.InvoiceCheckButton=MT,u.JSONCopy=It,u.JoinRelation=Ww,u.Language=Ij,u.LayoutControlProperty=V,u.LeftVariable=Uw,u.LimitDate=$u,u.Link=p$,u.LinkOperationOption=Bt,u.ListBind=Ai,u.ListControlProperty=bo,u.ListSelectButton=zR,u.ListView=Pm,u.ListViewSelect=vT,u.LocationColumn=WM,u.MetaAutoWidth=xw,u.MetaWidth=Mi,u.MultistageFillingItem=Re,u.Number=kS,u.ObjectDataBind=ji,u.OperationButton=Ao,u.OperationColumn=N1,u.OperationItem=Nt,u.OptObject=fP,u.OptionAndDataSourcePropertyRules=Rn,u.OptionSetting=ky,u.OrderColumn=S1,u.OrganizationDataSourceBind=Xw,u.OrganizationSelection=TN,u.Page=r1,u.Pagination=XR,u.PeopleColumn=zM,u.Position=y1,u.PositioningContainer=a1,u.PrintTemplate=P$,u.Property=te,u.PropertyRules=ee,u.PropertyRuntimeRules=Ut,u.Radio=SS,u.RangeDataBind=tP,u.RangeDateValue=nP,u.RegisterControls=Bi,u.RegularRules=Ay,u.RichText=sE,u.RightVariable=ir,u.Row=zN,u.RulesMessage=d,u.RuntimeColumnControl=ue,u.RuntimeControl=ne,u.RuntimeFormControl=k,u.RuntimeLayoutControl=W,u.RuntimeListControl=lp,u.RuntimeSearchControl=QP,u.RuntimeWrapControl=n$,u.SUBTABLE_DEFAULT_MAX_HEIGHT=w$,u.Score=fI,u.SearchControlProperty=cu,u.SearchDateRange=lB,u.SearchInput=DB,u.SearchNumberRange=ZI,u.Select=OE,u.SelectMultiple=EE,u.SelectRelation=TB,u.SelectedContentConfig=Li,u.SimpleSearch=sA,u.SubListItem=Hw,u.SubListPageConfig=qw,u.SubTable=O1,u.SubTableColumn=zg,u.SubTableRow=l3,u.SubmissionRecordListButton=cR,u.SuperDataSourceBind=lo,u.Tab=k3,u.TabPane=I3,u.Text=l$,u.TextColumn=K1,u.TextOcrButton=$T,u.Textarea=oE,u.TimescopeColumn=lM,u.TimestampColumn=vM,u.Title=x$,u.Toolbox=V3,u.Tree=zB,u.TreeDataSourceBind=By,u.UndersignedPerson=Yp,u.UserEntity=_y,u.VarcharColumn=z1,u.VersionBuilder=Gve,u.ViewOperationItem=uP,u.VueFormItem=vB,u.WPS=_N,u.WPSSetting=O$,u.Watcher=Dw,u.WpsOperationItem=qp,u.WrapControlProperty=su,u.baseControls=RG,u.camelizeKeys=Nw,u.columnControls=ede,u.controlHooksEmitter=hP,u.createValidator=vP,u.debounce=fj,u.decamelizeKeys=On,u.defineArrayParent=MP,u.defineControlArrayToProperty=ot,u.defineParent=Zy,u.error=qt,u.formControls=Pee,u.genNonDuplicateId=rt,u.getHackerControl=ay,u.getNotRepeatItems=Bw,u.initExpression=go,u.initImageOptions=Bj,u.initLinkOperationRules=Qt,u.initOptionAndDataSourceRules=Vi,u.initOptions=dt,u.initSuperDataSourceRules=po,u.isArray=gn,u.isBuiltInControls=aj,u.isDataBind=IP,u.isFunction=nj,u.isJSONArray=uj,u.isJSONObject=cj,u.isLanguageObject=he,u.isNumber=Oy,u.isNumberAndEmptyStringArray=ij,u.isNumberArray=oj,u.isObject=tj,u.isPlainObject=my,u.isString=Iw,u.isStringArray=rj,u.layoutControls=cfe,u.listControls=qle,u.loadRemoteControl=ly,u.loadRemoteControls=Kve,u.loadScriptFromFetch=NA,u.loadScriptFromTag=Wve,u.log=fo,u.logerror=$w,u.loop=be,u.loopFormSchema=Ii,u.nativeFetch=_w,u.noop=AL,u.referenceError=hy,u.registerByteluckControls=Qve,u.registerCustomControls=Xve,u.searchControls=hde,u.setPropertyDontEnum=NP,u.toNumberOrEmpty=mn,u.updateValueFromKeys=Sw,u.upgradeCustomControlSchema=Jve,u.wait=lj,u.warn=bn,u.wrapControls=Yde,Object.defineProperty(u,"__esModule",{value:!0})});
1
+ var sr=(c,He,qe)=>new Promise((re,yr)=>{var rl=Ee=>{try{Zt(qe.next(Ee))}catch(en){yr(en)}},ol=Ee=>{try{Zt(qe.throw(Ee))}catch(en){yr(en)}},Zt=Ee=>Ee.done?re(Ee.value):Promise.resolve(Ee.value).then(rl,ol);Zt((qe=qe.apply(c,He)).next())});(function(c,He){typeof exports=="object"&&typeof module!="undefined"?He(exports):typeof define=="function"&&define.amd?define(["exports"],He):(c=typeof globalThis!="undefined"?globalThis:c||self,He(c.modelDrivenCoreAll={}))})(this,function(c){"use strict";var He=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},qe={exports:{}};(function(e){var t=function(r){var n=Object.prototype,o=n.hasOwnProperty,u=Object.defineProperty||function(R,m,T){R[m]=T.value},f,a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",y=a.toStringTag||"@@toStringTag";function v(R,m,T){return Object.defineProperty(R,m,{value:T,enumerable:!0,configurable:!0,writable:!0}),R[m]}try{v({},"")}catch(R){v=function(m,T,k){return m[T]=k}}function d(R,m,T,k){var I=m&&m.prototype instanceof w?m:w,L=Object.create(I.prototype),le=new Pt(k||[]);return u(L,"_invoke",{value:Ve(R,T,le)}),L}r.wrap=d;function h(R,m,T){try{return{type:"normal",arg:R.call(m,T)}}catch(k){return{type:"throw",arg:k}}}var O="suspendedStart",b="suspendedYield",g="executing",_="completed",P={};function w(){}function $(){}function S(){}var E={};v(E,l,function(){return this});var N=Object.getPrototypeOf,j=N&&N(N(Rt([])));j&&j!==n&&o.call(j,l)&&(E=j);var U=S.prototype=w.prototype=Object.create(E);$.prototype=S,u(U,"constructor",{value:S,configurable:!0}),u(S,"constructor",{value:$,configurable:!0}),$.displayName=v(S,y,"GeneratorFunction");function J(R){["next","throw","return"].forEach(function(m){v(R,m,function(T){return this._invoke(m,T)})})}r.isGeneratorFunction=function(R){var m=typeof R=="function"&&R.constructor;return m?m===$||(m.displayName||m.name)==="GeneratorFunction":!1},r.mark=function(R){return Object.setPrototypeOf?Object.setPrototypeOf(R,S):(R.__proto__=S,v(R,y,"GeneratorFunction")),R.prototype=Object.create(U),R},r.awrap=function(R){return{__await:R}};function V(R,m){function T(L,le,se,ge){var ye=h(R[L],R,le);if(ye.type==="throw")ge(ye.arg);else{var Nb=ye.arg,lr=Nb.value;return lr&&typeof lr=="object"&&o.call(lr,"__await")?m.resolve(lr.__await).then(function(wt){T("next",wt,se,ge)},function(wt){T("throw",wt,se,ge)}):m.resolve(lr).then(function(wt){Nb.value=wt,se(Nb)},function(wt){return T("throw",wt,se,ge)})}}var k;function I(L,le){function se(){return new m(function(ge,ye){T(L,le,ge,ye)})}return k=k?k.then(se,se):se()}u(this,"_invoke",{value:I})}J(V.prototype),v(V.prototype,s,function(){return this}),r.AsyncIterator=V,r.async=function(R,m,T,k,I){I===void 0&&(I=Promise);var L=new V(d(R,m,T,k),I);return r.isGeneratorFunction(m)?L:L.next().then(function(le){return le.done?le.value:L.next()})};function Ve(R,m,T){var k=O;return function(L,le){if(k===g)throw new Error("Generator is already running");if(k===_){if(L==="throw")throw le;return ar()}for(T.method=L,T.arg=le;;){var se=T.delegate;if(se){var ge=Se(se,T);if(ge){if(ge===P)continue;return ge}}if(T.method==="next")T.sent=T._sent=T.arg;else if(T.method==="throw"){if(k===O)throw k=_,T.arg;T.dispatchException(T.arg)}else T.method==="return"&&T.abrupt("return",T.arg);k=g;var ye=h(R,m,T);if(ye.type==="normal"){if(k=T.done?_:b,ye.arg===P)continue;return{value:ye.arg,done:T.done}}else ye.type==="throw"&&(k=_,T.method="throw",T.arg=ye.arg)}}}function Se(R,m){var T=m.method,k=R.iterator[T];if(k===f)return m.delegate=null,T==="throw"&&R.iterator.return&&(m.method="return",m.arg=f,Se(R,m),m.method==="throw")||T!=="return"&&(m.method="throw",m.arg=new TypeError("The iterator does not provide a '"+T+"' method")),P;var I=h(k,R.iterator,m.arg);if(I.type==="throw")return m.method="throw",m.arg=I.arg,m.delegate=null,P;var L=I.arg;if(!L)return m.method="throw",m.arg=new TypeError("iterator result is not an object"),m.delegate=null,P;if(L.done)m[R.resultName]=L.value,m.next=R.nextLoc,m.method!=="return"&&(m.method="next",m.arg=f);else return L;return m.delegate=null,P}J(U),v(U,y,"Generator"),v(U,l,function(){return this}),v(U,"toString",function(){return"[object Generator]"});function Oe(R){var m={tryLoc:R[0]};1 in R&&(m.catchLoc=R[1]),2 in R&&(m.finallyLoc=R[2],m.afterLoc=R[3]),this.tryEntries.push(m)}function mt(R){var m=R.completion||{};m.type="normal",delete m.arg,R.completion=m}function Pt(R){this.tryEntries=[{tryLoc:"root"}],R.forEach(Oe,this),this.reset(!0)}r.keys=function(R){var m=Object(R),T=[];for(var k in m)T.push(k);return T.reverse(),function I(){for(;T.length;){var L=T.pop();if(L in m)return I.value=L,I.done=!1,I}return I.done=!0,I}};function Rt(R){if(R||R===""){var m=R[l];if(m)return m.call(R);if(typeof R.next=="function")return R;if(!isNaN(R.length)){var T=-1,k=function I(){for(;++T<R.length;)if(o.call(R,T))return I.value=R[T],I.done=!1,I;return I.value=f,I.done=!0,I};return k.next=k}}throw new TypeError(typeof R+" is not iterable")}r.values=Rt;function ar(){return{value:f,done:!0}}return Pt.prototype={constructor:Pt,reset:function(R){if(this.prev=0,this.next=0,this.sent=this._sent=f,this.done=!1,this.delegate=null,this.method="next",this.arg=f,this.tryEntries.forEach(mt),!R)for(var m in this)m.charAt(0)==="t"&&o.call(this,m)&&!isNaN(+m.slice(1))&&(this[m]=f)},stop:function(){this.done=!0;var R=this.tryEntries[0],m=R.completion;if(m.type==="throw")throw m.arg;return this.rval},dispatchException:function(R){if(this.done)throw R;var m=this;function T(ge,ye){return L.type="throw",L.arg=R,m.next=ge,ye&&(m.method="next",m.arg=f),!!ye}for(var k=this.tryEntries.length-1;k>=0;--k){var I=this.tryEntries[k],L=I.completion;if(I.tryLoc==="root")return T("end");if(I.tryLoc<=this.prev){var le=o.call(I,"catchLoc"),se=o.call(I,"finallyLoc");if(le&&se){if(this.prev<I.catchLoc)return T(I.catchLoc,!0);if(this.prev<I.finallyLoc)return T(I.finallyLoc)}else if(le){if(this.prev<I.catchLoc)return T(I.catchLoc,!0)}else if(se){if(this.prev<I.finallyLoc)return T(I.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(R,m){for(var T=this.tryEntries.length-1;T>=0;--T){var k=this.tryEntries[T];if(k.tryLoc<=this.prev&&o.call(k,"finallyLoc")&&this.prev<k.finallyLoc){var I=k;break}}I&&(R==="break"||R==="continue")&&I.tryLoc<=m&&m<=I.finallyLoc&&(I=null);var L=I?I.completion:{};return L.type=R,L.arg=m,I?(this.method="next",this.next=I.finallyLoc,P):this.complete(L)},complete:function(R,m){if(R.type==="throw")throw R.arg;return R.type==="break"||R.type==="continue"?this.next=R.arg:R.type==="return"?(this.rval=this.arg=R.arg,this.method="return",this.next="end"):R.type==="normal"&&m&&(this.next=m),P},finish:function(R){for(var m=this.tryEntries.length-1;m>=0;--m){var T=this.tryEntries[m];if(T.finallyLoc===R)return this.complete(T.completion,T.afterLoc),mt(T),P}},catch:function(R){for(var m=this.tryEntries.length-1;m>=0;--m){var T=this.tryEntries[m];if(T.tryLoc===R){var k=T.completion;if(k.type==="throw"){var I=k.arg;mt(T)}return I}}throw new Error("illegal catch attempt")},delegateYield:function(R,m,T){return this.delegate={iterator:Rt(R),resultName:m,nextLoc:T},this.method==="next"&&(this.arg=f),P}},r}(e.exports);try{regeneratorRuntime=t}catch(r){typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(qe);var re=qe.exports;function yr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var rl=function e(){yr(this,e)};function ol(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Zt=function e(){ol(this,e)},Ee="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",en="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",fS="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",aS="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",lS="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",sS="{caption}\u5FC5\u586B",yS="\u8BF7\u8F93\u5165\u6807\u9898",vS="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",dS="\u8BF7\u8F93\u5165\u884C\u6807\u9898",hS="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",_S="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",pS="\u8BF7\u7ED1\u5B9A\u8868\u5355",bS="\u8BF7\u7ED1\u5B9A\u5217\u8868",OS="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",gS="\u8BF7\u8F93\u5165\u663E\u793A\u503C",mS="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",PS="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",RS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",wS="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",TS="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",$S="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",SS="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ES="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",IS="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",CS="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",NS="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",kS="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",BS="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",jS="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",AS="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",MS="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",DS="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",LS="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",FS="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",zS="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",GS="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",YS="\u8BF7\u7ED1\u5B9A\u670D\u52A1",xS="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",VS="\u8BF7\u9009\u62E9\u7701",HS="\u8BF7\u9009\u62E9\u5E02",qS="\u8BF7\u9009\u62E9\u533A",US="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",WS="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",KS="\u8BF7\u8F93\u5165\u5217\u5BBD",XS="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",JS="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",QS="\u8BF7\u9009\u62E9\u63A7\u4EF6",ZS="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",eE="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",tE="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",nE="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",rE="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",oE="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",iE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",uE="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",cE="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",fE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",aE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",lE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",sE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",yE="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",vE="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",dE="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",hE="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",_E="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",pE="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",bE="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",OE="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",gE="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",mE="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",PE="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",RE="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",wE="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",TE={isNotNumber:Ee,isNotString:en,isNotObject:fS,isNotArray:aS,isNotBoolean:lS,runtimeRequired:sS,pleaseEnterCaption:yS,pleaseEnterCaptionTip:vS,pleaseEnterRowCaption:dS,pleaseEnterPlaceholder:hS,pleaseEnterFieldCode:_S,pleaseEnterForm:pS,pleaseEnterList:bS,pleaseEnterProcess:OS,pleaseEnterLabel:gS,pleaseEnterValue:mS,bizKeyNotBindFiled:PS,pleaseSelectOneField:RS,pleaseEnterNumberRange:wS,pleaseEnterAValueGreaterThanMin:TS,pleaseEnterAValueLessThanMax:$S,numberRangeSetError:SS,stringRangeError:ES,attachmentMaxSize:IS,pleaseEnterTotalScoreSetting:CS,theTotalScoreMustNotBeLessThan1:NS,scoreDefaultValueRange:kS,attachmentLimitError:BS,PleaseReselectTheOptionalQuantity:jS,TheMaximumLengthIsGreaterThanTheMinimumLength:AS,TheMinimumLengthIsGreaterThanTheMaximumLength:MS,PleaseSelectTheCorrectOptionSettings:DS,optionIdIsRepeat:LS,optionIsRequired:FS,pleaseEnterDataCode:zS,pleaseEnterValueFieldCode:GS,pleaseEnterSvcCode:YS,pleaseBindAtLeastOneDisplayValue:xS,pleaseSelectProvince:VS,pleaseSelectCity:HS,pleaseSelectDistrict:qS,limitRowsCannotBeLessThan0:US,TheNumberOfRowsCannotBeLessThanMinRows:WS,pleaseEnterColumnWidth:KS,pleaseSetTheLogicalRelationshipOfAllRuleConditions:XS,pleaseCompleteAllRulesAndConditions:JS,pleaseSelectControl:QS,pleaseSelectAtLeastOneColumn:ZS,pleaseSelectFillBackMode:eE,pleaseSelectDashboard:tE,rootNodeIsRequired:nE,theViewNameCannotBeEmpty:rE,pleaseSelectOcrType:oE,pleaseSelectAtLeastOneFieldToFillIn:iE,pleaseChooseAtLeastOne:uE,pleaseEnterButtonContent:cE,pleaseEnterDataCodeInDataSetting:fE,pleaseEnterValueFieldCodeInDataSetting:aE,pleaseEnterSvcCodeInDataSetting:lE,pleaseBindAtLeastOneDisplayValueInDataSetting:sE,rootNodeIsRequiredInDataSetting:yE,pleaseEnterMaxHeight:vE,pleaseEnter:dE,pleaseEnterWatermark:hE,pleaseEnterFileName:_E,pleaseUploadAtLeastOnePrintTemplate:pE,pleaseAssignBusiness:bE,pleaseAssignExternal:OE,pleaseEnterAliasCode:gE,pleaseSelectDataCode:mE,pleaseSelectSvcCode:PE,pleaseSelectJoinFieldCode:RE,pleaseSelectMainFieldCode:wE},$E="Please enter a number",SE="Please enter a string",EE="Please enter an object",IE="Please enter an array",CE="Please enter a boolean",NE="{caption} Required",kE="Please enter the title",BE="Please enter the bubble prompt",jE="Please enter the row title",AE="Please enter the prompt text",ME="Please bind data items",DE="Please bind the form",LE="Please bind the list",FE="Please bind the process",zE="Please enter the displayed value",GE="Please enter the stored value",YE="The document number is not bound to the data item",xE="Please select at least one display field",VE="Please enter a value greater than or equal to {min} and less than or equal to {max}",HE="Please enter a value greater than or equal to {min}",qE="Please enter a value less than or equal to {max}",UE="The value range is set incorrectly",WE="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",KE="The attachment size must be between 0MB and 1000MB",XE="Please fill in the total score setting",JE="The total score cannot be less than 1",QE="The default value must be between {min} and {max}",ZE="The number of attachments uploaded must be between {min} and {max}",eI="Please re-select the optional quantity",tI="The maximum length of the control must be greater than the minimum length",nI="The minimum length of the control must be less than the maximum length",rI="Please select the correct option setting",oI="Option ID cannot be repeated",iI="Please enter at least one option",uI="Please bind the data source",cI="Please bind the stored value",fI="Please bind the service",aI="At least one display value must be bound",lI="Please select a province",sI="Please select a city",yI="Please select a district",vI="The minimum number of lines to fill in cannot be less than 0",dI="The number of rows cannot be less than {min} rows",hI="Please enter the column width",_I="Please set the logical relationship of all rule conditions",pI="Please complete all rules and conditions",bI="please select control",OI="Please select the dashboard",gI="View name cannot be empty",mI="Please select recognition type",PI="Please select at least one field to fill in",RI="Please select at least one",wI="Please enter the button title",TI="Please bind the business model in the data settings",$I="Please bind storage values in data settings",SI="Please bind the service in the data settings",EI="Please bind at least one display value in the data settings",II="Please select the root node in the data settings",CI="Please enter the maximum height",NI="The input content cannot be empty",kI="Watermark cannot be empty",BI="File name cannot be empty",jI="Please upload at least one printing template!\uFF01",AI="Please select a specific business department",MI="Please select a specified external organization",DI="Please enter a sub table alias",LI="Please select the associated table to set the business model",FI="Please select the association table to set the binding service",zI="Select associated sub table fields",GI="Please select the associated main table field",YI={isNotNumber:$E,isNotString:SE,isNotObject:EE,isNotArray:IE,isNotBoolean:CE,runtimeRequired:NE,pleaseEnterCaption:kE,pleaseEnterCaptionTip:BE,pleaseEnterRowCaption:jE,pleaseEnterPlaceholder:AE,pleaseEnterFieldCode:ME,pleaseEnterForm:DE,pleaseEnterList:LE,pleaseEnterProcess:FE,pleaseEnterLabel:zE,pleaseEnterValue:GE,bizKeyNotBindFiled:YE,pleaseSelectOneField:xE,pleaseEnterNumberRange:VE,pleaseEnterAValueGreaterThanMin:HE,pleaseEnterAValueLessThanMax:qE,numberRangeSetError:UE,stringRangeError:WE,attachmentMaxSize:KE,pleaseEnterTotalScoreSetting:XE,theTotalScoreMustNotBeLessThan1:JE,scoreDefaultValueRange:QE,attachmentLimitError:ZE,PleaseReselectTheOptionalQuantity:eI,TheMaximumLengthIsGreaterThanTheMinimumLength:tI,TheMinimumLengthIsGreaterThanTheMaximumLength:nI,PleaseSelectTheCorrectOptionSettings:rI,optionIdIsRepeat:oI,optionIsRequired:iI,pleaseEnterDataCode:uI,pleaseEnterValueFieldCode:cI,pleaseEnterSvcCode:fI,pleaseBindAtLeastOneDisplayValue:aI,pleaseSelectProvince:lI,pleaseSelectCity:sI,pleaseSelectDistrict:yI,limitRowsCannotBeLessThan0:vI,TheNumberOfRowsCannotBeLessThanMinRows:dI,pleaseEnterColumnWidth:hI,pleaseSetTheLogicalRelationshipOfAllRuleConditions:_I,pleaseCompleteAllRulesAndConditions:pI,pleaseSelectControl:bI,pleaseSelectDashboard:OI,theViewNameCannotBeEmpty:gI,pleaseSelectOcrType:mI,pleaseSelectAtLeastOneFieldToFillIn:PI,pleaseChooseAtLeastOne:RI,pleaseEnterButtonContent:wI,pleaseEnterDataCodeInDataSetting:TI,pleaseEnterValueFieldCodeInDataSetting:$I,pleaseEnterSvcCodeInDataSetting:SI,pleaseBindAtLeastOneDisplayValueInDataSetting:EI,rootNodeIsRequiredInDataSetting:II,pleaseEnterMaxHeight:CI,pleaseEnter:NI,pleaseEnterWatermark:kI,pleaseEnterFileName:BI,pleaseUploadAtLeastOnePrintTemplate:jI,pleaseAssignBusiness:AI,pleaseAssignExternal:MI,pleaseEnterAliasCode:DI,pleaseSelectDataCode:LI,pleaseSelectSvcCode:FI,pleaseSelectJoinFieldCode:zI,pleaseSelectMainFieldCode:GI},xI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HI="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qI="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",WI="{caption}\u5FC5\u9808",KI="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",XI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",JI="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",QI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ZI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",eC="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tC="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nC="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rC="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oC="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",iC="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",uC="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",cC="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",fC="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aC="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lC="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",sC="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yC="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",vC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",dC="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",hC="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",_C="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",pC="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",bC="\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",OC="\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",gC="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",mC="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",PC="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",RC="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wC="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",TC="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$C="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",SC="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",EC="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",IC="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",CC="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",NC="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",kC="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",BC="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",jC="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",AC="please select control",MC="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",DC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",LC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",FC="\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",zC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",GC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",YC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",xC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",VC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",HC="\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",qC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",UC="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",WC="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",KC="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",XC="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",JC="\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",QC="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ZC="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",eN="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tN="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",nN="\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",rN="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",oN="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",iN={isNotNumber:xI,isNotString:VI,isNotObject:HI,isNotArray:qI,isNotBoolean:UI,runtimeRequired:WI,pleaseEnterCaption:KI,pleaseEnterCaptionTip:XI,pleaseEnterRowCaption:JI,pleaseEnterPlaceholder:QI,pleaseEnterFieldCode:ZI,pleaseEnterForm:eC,pleaseEnterList:tC,pleaseEnterProcess:nC,pleaseEnterLabel:rC,pleaseEnterValue:oC,bizKeyNotBindFiled:iC,pleaseSelectOneField:uC,pleaseEnterNumberRange:cC,pleaseEnterAValueGreaterThanMin:fC,pleaseEnterAValueLessThanMax:aC,numberRangeSetError:lC,stringRangeError:sC,attachmentMaxSize:yC,pleaseEnterTotalScoreSetting:vC,theTotalScoreMustNotBeLessThan1:dC,scoreDefaultValueRange:hC,attachmentLimitError:_C,PleaseReselectTheOptionalQuantity:pC,TheMaximumLengthIsGreaterThanTheMinimumLength:bC,TheMinimumLengthIsGreaterThanTheMaximumLength:OC,PleaseSelectTheCorrectOptionSettings:gC,optionIdIsRepeat:mC,optionIsRequired:PC,pleaseEnterDataCode:RC,pleaseEnterValueFieldCode:wC,pleaseEnterSvcCode:TC,pleaseBindAtLeastOneDisplayValue:$C,pleaseSelectProvince:SC,pleaseSelectCity:EC,pleaseSelectDistrict:IC,limitRowsCannotBeLessThan0:CC,TheNumberOfRowsCannotBeLessThanMinRows:NC,pleaseEnterColumnWidth:kC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:BC,pleaseCompleteAllRulesAndConditions:jC,pleaseSelectControl:AC,pleaseSelectDashboard:MC,theViewNameCannotBeEmpty:DC,pleaseSelectOcrType:LC,pleaseSelectAtLeastOneFieldToFillIn:FC,pleaseChooseAtLeastOne:zC,pleaseEnterButtonContent:GC,pleaseEnterDataCodeInDataSetting:YC,pleaseEnterValueFieldCodeInDataSetting:xC,pleaseEnterSvcCodeInDataSetting:VC,pleaseBindAtLeastOneDisplayValueInDataSetting:HC,rootNodeIsRequiredInDataSetting:qC,pleaseEnterMaxHeight:UC,pleaseEnter:WC,pleaseEnterWatermark:KC,pleaseEnterFileName:XC,pleaseUploadAtLeastOnePrintTemplate:JC,pleaseAssignBusiness:QC,pleaseAssignExternal:ZC,pleaseEnterAliasCode:eN,pleaseSelectDataCode:tN,pleaseSelectSvcCode:nN,pleaseSelectJoinFieldCode:rN,pleaseSelectMainFieldCode:oN},uN={zhCN:TE,enUS:YI,jaJP:iN};function cN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 fN=function e(t){cN(this,e);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:c.CALC_TOKEN_TYPE.Number;var u;this.subTableId=(u=t==null?void 0:t.subTableId)!==null&&u!==void 0?u:void 0;var f;this.subTableName=(f=t==null?void 0:t.subTableId)!==null&&f!==void 0?f:void 0;var a;this.aggregateType=(a=t==null?void 0:t.aggregateType)!==null&&a!==void 0?a:void 0},kb="zh-CN",aN=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}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.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 ue,lN=(ue={},ve(ue,c.FieldTypes.ARRAY,c.CONTROL_TYPE.ARRAY_COLUMN),ve(ue,c.FieldTypes.AUTO_NUMBER,c.CONTROL_TYPE.AUTO_NUMBER_COLUMN),ve(ue,c.FieldTypes.DECIMAL,c.CONTROL_TYPE.DECIMAL_COLUMN),ve(ue,c.FieldTypes.DEPARTMENTS,c.CONTROL_TYPE.DEPARTMENT_COLUMN),ve(ue,c.FieldTypes.FILE,c.CONTROL_TYPE.FILE_COLUMN),ve(ue,c.FieldTypes.IMAGE,c.CONTROL_TYPE.IMAGE_COLUMN),ve(ue,c.FieldTypes.ADDRESS,c.CONTROL_TYPE.LOCATION_COLUMN),ve(ue,c.FieldTypes.EMPLOYEES,c.CONTROL_TYPE.EMPLOYEE_COLUMN),ve(ue,c.FieldTypes.TEXT,c.CONTROL_TYPE.TEXT_COLUMN),ve(ue,c.FieldTypes.TIMESCOPE,c.CONTROL_TYPE.TIMESCOPE_COLUMN),ve(ue,c.FieldTypes.TIMESTAMP,c.CONTROL_TYPE.TIMESTAMP_COLUMN),ve(ue,c.FieldTypes.VARCHAR,c.CONTROL_TYPE.VARCHAR_COLUMN),ve(ue,c.FieldTypes.RELATION,c.CONTROL_TYPE.VARCHAR_COLUMN),ue);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 Bb="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",sN=Bb+"0123456789";function me(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Bb:sN,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function il(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 yN(e){if(Array.isArray(e))return il(e)}function vN(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 dN(){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 vr(e,t,r){return dN()?vr=Reflect.construct:vr=function(o,u,f){var a=[null];a.push.apply(a,u);var l=Function.bind.apply(o,a),s=new l;return f&&nn(s,f.prototype),s},vr.apply(null,arguments)}function tn(e){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tn(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&&nn(e,t)}function hN(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function _N(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function pN(){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 bN(e,t){return t&&(ON(t)==="object"||typeof t=="function")?t:vN(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nn(e,t)}function Mb(e){return yN(e)||_N(e)||gN(e)||pN()}var ON=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gN(e,t){if(!!e){if(typeof e=="string")return il(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 il(e,t)}}function ul(e){var t=typeof Map=="function"?new Map:void 0;return ul=function(n){if(n===null||!hN(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 vr(n,arguments,tn(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),nn(o,n)},ul(e)}function mN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Db(e){var t=mN();return function(){var n=tn(e),o;if(t){var u=tn(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bN(this,o)}}var cl=console;function Ue(){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=cl).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Mb(o)))}function rn(){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=cl).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Mb(o)))}function PN(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var fl=function(e){Ab(r,e);var t=Db(r);function r(n){jb(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?PN(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(ul(Error)),RN=function(e){Ab(r,e);var t=Db(r);function r(n){jb(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(fl);function Be(e){throw new fl(e)}function al(e){throw new RN(e)}function Lb(e){cl.error(new fl(e))}function dr(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":dr(r==null?void 0:r.children,t);break;case"wrap":dr(r==null?void 0:r.children,t);break;case"search":dr(r==null?void 0:r.children,t);break;case"form":t(r)}})}var wN=Object.prototype.toString;function Fb(e,t){return wN.call(e)==="[object "+t+"]"}function TN(e){return Fb(e,"String")}function $N(e){return Fb(e,"Promise")}var SN=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();$N(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,u,f,a){if(o!==void 0){var l=o[u];if(!(f===a.length-1&&!TN(l)))return l}},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 u=r[o];return u!==void 0?String(u):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 EN(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 IN(e,t,r){return t&&zb(e.prototype,t),r&&zb(e,r),e}var p=function(){function e(){EN(this,e)}return IN(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]:kb;return new SN({locale:r,messages:uN})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();p.$i18n=p.resetI18n();function Gb(e,t,r){var n=t.replace(/\[(\d)]/g,function(u,f){return"."+f}).split("."),o=!1;return n.reduce(function(u,f,a,l){var s=u;if(!!u){if(!Object.prototype.hasOwnProperty.call(u,f)){Ue("Can not set ".concat(t,"'s ").concat(f," property in current %o, Because there is no ").concat(f," property on the %o"),u,u);return}return a===l.length-1&&!Object.is(s[f],r)&&(s[f]=r,o=!0),s[f]}},e),o}var ll={exports:{}};(function(e){(function(t){var r=function(_,P,w){if(!s(P)||v(P)||d(P)||h(P)||l(P))return P;var $,S=0,E=0;if(y(P))for($=[],E=P.length;S<E;S++)$.push(r(_,P[S],w));else{$={};for(var N in P)Object.prototype.hasOwnProperty.call(P,N)&&($[_(N,w)]=r(_,P[N],w))}return $},n=function(_,P){P=P||{};var w=P.separator||"_",$=P.split||/(?=[A-Z])/;return _.split($).join(w)},o=function(_){return O(_)?_:(_=_.replace(/[\-_\s]+(.)?/g,function(P,w){return w?w.toUpperCase():""}),_.substr(0,1).toLowerCase()+_.substr(1))},u=function(_){var P=o(_);return P.substr(0,1).toUpperCase()+P.substr(1)},f=function(_,P){return n(_,P).toLowerCase()},a=Object.prototype.toString,l=function(_){return typeof _=="function"},s=function(_){return _===Object(_)},y=function(_){return a.call(_)=="[object Array]"},v=function(_){return a.call(_)=="[object Date]"},d=function(_){return a.call(_)=="[object RegExp]"},h=function(_){return a.call(_)=="[object Boolean]"},O=function(_){return _=_-0,_===_},b=function(_,P){var w=P&&"process"in P?P.process:P;return typeof w!="function"?_:function($,S){return w($,_,S)}},g={camelize:o,decamelize:f,pascalize:u,depascalize:f,camelizeKeys:function(_,P){return r(b(o,P),_)},decamelizeKeys:function(_,P){return r(b(f,P),_,P)},pascalizeKeys:function(_,P){return r(b(u,P),_)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=g:t.humps=g})(He)})(ll);var Yb={};Object.defineProperty(Yb,"__esModule",{value:!0});function sl(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:sl(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:sl(n)}return t}}var CN=Yb.default=sl;function Ie(e){if(e!==void 0)return typeof e=="object"?CN(e):e}function oe(e){return yl(e)&&"zh"in e}function yl(e){return Object.prototype.toString.call(e)==="[object Object]"}function NN(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function We(e){return Array.isArray(e)}function xb(e){return typeof e=="string"}function vl(e){return typeof e=="number"}function kN(e){return typeof e=="function"}function BN(e){return We(e)&&e.every(function(t){return xb(t)})}function jN(e){return We(e)&&e.every(function(t){return vl(t)})}function AN(e){return We(e)&&e.every(function(t){return vl(t)||t===""})}function MN(e){return/^\[.*?]$/.test(e)}function DN(e){return/^{.*?}$/.test(e)}function Ke(e){return isNaN(parseFloat(e))?"":Number(e)}function Vb(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function LN(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),u=0;u<n;u++)o[u]=arguments[u];var f=this;r||(r=setTimeout(function(){e.apply(f,o),clearTimeout(r),r=null},t))}}function FN(){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 Hb(e){return ll.exports.camelizeKeys(e)}function Xe(e){return ll.exports.decamelizeKeys(e)}function zN(e){return Object.values(c.CONTROL_TYPE).includes(e)}function dl(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 GN(e){if(Array.isArray(e))return dl(e)}function qb(e,t,r,n,o,u,f){try{var a=e[u](f),l=a.value}catch(s){r(s);return}a.done?t(l):Promise.resolve(l).then(n,o)}function YN(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){qb(u,n,o,f,a,"next",l)}function a(l){qb(u,n,o,f,a,"throw",l)}f(void 0)})}}function xN(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 VN(e,t,r){return t&&Ub(e.prototype,t),r&&Ub(e,r),e}function HN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qN(){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 hl(e){return GN(e)||HN(e)||UN(e)||qN()}function UN(e,t){if(!!e){if(typeof e=="string")return dl(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 dl(e,t)}}var Wb=function(){function e(){xN(this,e),this._events=new Map,this.debug=!1}return VN(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),u=1;u<n;u++)o[u-1]=arguments[u];var f=this;return YN(re.mark(function a(){var l,s,y,v,d,h,O,b,g,_;return re.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(l=f._events.get(r),s=[],!l){w.next=42;break}y=l.slice(),v=!0,d=!1,h=void 0,w.prev=5,O=y[Symbol.iterator]();case 7:if(v=(b=O.next()).done){w.next=28;break}if(g=b.value,l.includes(g)){w.next=11;break}return w.abrupt("continue",25);case 11:return w.prev=11,f.debug&&rn.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(hl(o))),w.next=15,g.apply(null,hl(o));case 15:if(_=w.sent,f.debug&&rn.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(g.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+g.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(hl(o),[_])),s.push(_),_!==!1){w.next=20;break}return w.abrupt("break",28);case 20:w.next=25;break;case 22:w.prev=22,w.t0=w.catch(11),Lb(String(w.t0)+":"+String(w.t0.stack));case 25:v=!0,w.next=7;break;case 28:w.next=34;break;case 30:w.prev=30,w.t1=w.catch(5),d=!0,h=w.t1;case 34:w.prev=34,w.prev=35,!v&&O.return!=null&&O.return();case 37:if(w.prev=37,!d){w.next=40;break}throw h;case 40:return w.finish(37);case 41:return w.finish(34);case 42:return w.abrupt("return",s);case 43:case"end":return w.stop()}},a,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{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),u=o==null?void 0:o.indexOf(n);o==null||o.splice(u,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function WN(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 KN(e,t,r){return t&&Kb(e.prototype,t),r&&Kb(e,r),e}var XN=[{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"}],Xb=function(){function e(){WN(this,e)}return KN(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}();Xb.events=XN;function _l(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function JN(e){if(Array.isArray(e))return _l(e)}function QN(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ZN(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Jb(e){return JN(e)||QN(e)||ek(e)||ZN()}function ek(e,t){if(!!e){if(typeof e=="string")return _l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _l(e,t)}}function hr(e,t){var r;((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0?void 0:r.enumerable)&&Object.defineProperty(e,t,{enumerable:!1})}function pl(e,t,r){r==="Designer"&&(e.parent=t,hr(e,"parent"))}function Qb(e,t,r){e.forEach(function(n){pl(n,t,r)})}var Zb=Symbol("targetKey");function eO(e){var t;return(t=e[Zb])!==null&&t!==void 0?t:e}function tO(e,t,r){return Qb(e,t,r),new Proxy(e,{get:function(o,u){for(var f=arguments.length,a=new Array(f>2?f-2:0),l=2;l<f;l++)a[l-2]=arguments[l];var s;return u===Zb?o:(s=Reflect).get.apply(s,[o,u].concat(Jb(a)))},set:function(o,u,f){for(var a=arguments.length,l=new Array(a>3?a-3:0),s=3;s<a;s++)l[s-3]=arguments[s];var y;if(We(e)&&u==="length"&&f===e.length)return!0;var v=(y=Reflect).set.apply(y,[o,u,f].concat(Jb(l)));return yl(f)&&pl(f,t,r),v}})}function Pe(e,t,r,n,o){var u=n!=null?n:e,f=tO(eO(r!=null?r:[]),u,o);Object.defineProperty(e,t,{get:function(){return f},set:function(l){f=tO(eO(l),u,o)},enumerable:!0})}function tk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nk(e,t,r){return t&&nO(e.prototype,t),r&&nO(e,r),e}var rO=[],on=function(){function e(t){tk(this,e),this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=t,this._initControls(t)}return nk(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__||Be("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(Ue("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){if(Array.isArray(r)){var o=this;return r.map(function(h){return o.createControl(h,n)})}if(r.children){var u=this;r.children=r.children.map(function(h){return u.createControl(h,n)})}if(this.isListControl(r)){var f=r.props;if(f.headers){var a=this;f.headers=f.headers.map(function(h){return a.createControl(h,n)})}if(f.footers){var l=this;f.footers=f.footers.map(function(h){var O;return h&&(O=l.createControl(h,n)),O})}}var s=this.getControlFormType(r.type);if(s){var y=r;if(typeof n=="function"){var v=n(y);v&&(y=v)}var d;return s.mode==="Runtime"?(d=y,this._setParentPrototypeToSchema(d,this)):d=new s(y),d}else Be("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}}),hr(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var u=r.id,f=n._controlParentIdMap,a=n.instanceMap;if(!(!f||!a)){var l=f[u],s=a[u];if(!(!l&&!s)){var y=s.findIndex(function(h){return h==r}),v=a[l]||[],d;return v.length!==s.length?d=v[0]:d=v[y],d}}}}),hr(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),u=[];if(o){var f=new o(n);u=Array.from(f)}return u}},{key:"register",value:function(r,n){var o=r.Designer,u=r.Runtime,f=r.Property;(!o||!u||!o.__is_control__||!u.__is_control__)&&Be("".concat(r," is can't register as a Control"));var a=this.staticControls.findIndex(function(l){return l.Designer.controlType===o.controlType});return a>-1&&(Ue("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(r),f.mode=n,this}}]),e}();on.staticControlsRuntimeRules=new Map,on.staticControls=rO,on.staticRegisteredTypes=new Set(rO.map(function(e){return e.Designer.controlType})),on.staticRegisteredConfigs=new Map;function oO(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 _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_r(e)}function _e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bl(e,t)}function rk(e,t){return t&&(ok(t)==="object"||typeof t=="function")?t:oO(e)}function bl(e,t){return bl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bl(e,t)}var ok=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ik(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ik();return function(){var n=_r(e),o;if(t){var u=_r(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return rk(this,o)}}var be=function e(t){C(this,e);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},Ol=function e(t){C(this,e);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},pr=function(e){_e(r,e);var t=pe(r);function r(n){C(this,r);var o;o=t.call(this,n);var u;o.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240;var f;return o.widthType=(f=n==null?void 0:n.widthType)!==null&&f!==void 0?f:"auto",o}return r}(Ol),iO=function e(t){C(this,e),this.pc=new pr(t==null?void 0:t.pc),this.mobile=(t==null?void 0:t.mobile)?new pr(t==null?void 0:t.mobile):new pr({width:130,minWidth:180})},uO=function e(t){C(this,e);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:[]},Je=function e(t){C(this,e);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:""},cO=function(e){_e(r,e);var t=pe(r);function r(n){C(this,r);var o;o=t.call(this,n);var u;return o.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",o}return r}(Je),fO=function e(t){C(this,e);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},br=function e(t){C(this,e);var r,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 u;this.headers=(u=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(f){return new fO(f)}))!==null&&u!==void 0?u:[]},aO=function e(t){C(this,e);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},lO=function(e){_e(r,e);var t=pe(r);function r(n){C(this,r);var o;o=t.call(this,n);var u;o.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var f;o.svcCode=(f=n==null?void 0:n.svcCode)!==null&&f!==void 0?f:"";var a;o.isOpenFilter=(a=n==null?void 0:n.isOpenFilter)!==null&&a!==void 0?a:!1;var l;return o.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],o}return r}(Je),sO=function e(t){C(this,e);var r,n;this.type="sublist-page",this.formBind=new Je(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(f){return new aO(f)}))!==null&&o!==void 0?o:[];var u;this.sublists=(u=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(f){return new lO(f)}))!==null&&u!==void 0?u:[]},yO=function e(t){C(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Tt=function e(t){C(this,e);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:[]},gl=function e(t){C(this,e),this.type="conditions";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:me();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.level=(o=t==null?void 0:t.level)!==null&&o!==void 0?o:0;var u;if(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)){var f=this;t==null||t.children.map(function(a){if(a.children!==void 0){var l,s=new e(a);(l=f.children)===null||l===void 0||l.push(s)}else{var y,v=new Or(a);(y=f.children)===null||y===void 0||y.push(v)}})}},Or=function e(t){C(this,e),this.type="condition";var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:me();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 u;this.checked=(u=t==null?void 0:t.checked)!==null&&u!==void 0?u:!1;var f;this.describe=(f=t==null?void 0:t.describe)!==null&&f!==void 0?f:"",this.leftVariableBo=new yO(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Tt(t==null?void 0:t.rightVariableBo)},vO=function e(t){C(this,e);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new Q(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},ce=function e(t){C(this,e);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 u;this.propName=(u=t==null?void 0:t.propName)!==null&&u!==void 0?u:""},gr=function e(t){C(this,e);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},ml=function e(t){C(this,e);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},dO=function e(t){C(this,e);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},uk=function e(t){C(this,e);var r,n,o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var u;this.limit=(u=t.limit)!==null&&u!==void 0?u:20;var f;this.formKey=(f=t.formKey)!==null&&f!==void 0?f:"";var a;this.orders=(a=(r=t.orders)===null||r===void 0?void 0:r.map(function(s){return new ml(s)}))!==null&&a!==void 0?a:[];var l;this.dataSet=(l=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(s){return new dO(s)}))!==null&&l!==void 0?l:[]};function Pl(e){var t,r,n,o,u;this.filters=(u=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(l){return l.children!==void 0?new gl(l):new Or(l)}))!==null&&u!==void 0?u:[];var f;this.viewFilters=(f=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(l){return l.children!==void 0?new gl(l):new Or(l)}))!==null&&f!==void 0?f:[];var a;this.orders=(a=(n=e)===null||n===void 0||(o=n.orders)===null||o===void 0?void 0:o.map(function(l){return new ml(l)}))!==null&&a!==void 0?a:[]}var Q=function e(t){C(this,e);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.valueFieldCode=(o=t==null?void 0:t.valueFieldCode)!==null&&o!==void 0?o:"",this.displayBoList=[];var u;if(this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)){var f=this;t==null||t.displayBoList.map(function(y){var v;(v=f.displayBoList)===null||v===void 0||v.push(new gr(y))})}var a;this.keywordMapping=(a=t==null?void 0:t.keywordMapping)!==null&&a!==void 0?a:"";var l;this.showOrder=(l=t==null?void 0:t.showOrder)!==null&&l!==void 0?l:!0;var s;this.svcCode=(s=t==null?void 0:t.svcCode)!==null&&s!==void 0?s:"",Pl.call(this,t)},mr=function e(t){C(this,e);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:[]},Ce=function e(t){C(this,e);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 u;this.confirmMessage=(u=t==null?void 0:t.confirmMessage)!==null&&u!==void 0?u:void 0;var f;this.defaultState=(f=t==null?void 0:t.defaultState)!==null&&f!==void 0?f:"default";var a;this.formKey=(a=t==null?void 0:t.formKey)!==null&&a!==void 0?a:void 0,this.formType=t==null?void 0:t.formType;var l;this.icon=(l=t==null?void 0:t.icon)!==null&&l!==void 0?l:"iconliulan1";var s;this.needConfirm=(s=t==null?void 0:t.needConfirm)!==null&&s!==void 0?s:!1;var y;this.openType=(y=t==null?void 0:t.openType)!==null&&y!==void 0?y:"modal";var v;this.priorityProcess=(v=t==null?void 0:t.priorityProcess)!==null&&v!==void 0?v:!0},Rl=function e(t){C(this,e);var r,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 u;this.value=(u=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(f){return new gr(f)}))!==null&&u!==void 0?u:[]},un=function(e){_e(r,e);var t=pe(r);function r(n){C(this,r);var o,u;o=t.call(this,n);var f;return o.attributes=(f=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(a){return new Rl(a)}))!==null&&f!==void 0?f:[],o}return r}(Q),hO=function(e){_e(r,e);var t=pe(r);function r(n){C(this,r);var o,u;o=t.call(this,n);var f;o.attributes=(f=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new Rl(l)}))!==null&&f!==void 0?f:[];var a;return o.formCode=(a=n==null?void 0:n.formCode)!==null&&a!==void 0?a:"",o}return r}(Q),wl=function(e){_e(r,e);var t=pe(r);function r(n){C(this,r);var o;o=t.call(this,n),o.rootNode=new Tt(n==null?void 0:n.rootNode);var u;return o.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",o}return r}(un),_O=function e(t){C(this,e);var r,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 u;this.fillList=(u=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(f){return new ce(f)}))!==null&&u!==void 0?u:[]},Tl=function(e){_e(r,e);var t=pe(r);function r(n){C(this,r);var o;return o=t.call(this,n),Pl.call(oO(o),n),o}return r}(_O),$l=function(e){_e(r,e);var t=pe(r);function r(n){C(this,r);var o;o=t.call(this,n);var u;o.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current";var f;return o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1,o}return r}(_O),ck=function e(t){C(this,e);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:""},Sl=function e(t){C(this,e);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:""},El=function e(t){C(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:me(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},pO=function(e){_e(r,e);var t=pe(r);function r(n){C(this,r);var o;o=t.call(this,n);var u;o.image=(u=n==null?void 0:n.image)!==null&&u!==void 0?u:"";var f;return o.type=(f=n==null?void 0:n.type)!==null&&f!==void 0?f:"src",o}return r}(El);function we(e){var t;return(t=e==null?void 0:e.map(function(r){return new El(r)}))!==null&&t!==void 0?t:[]}function fk(e){var t;return(t=e==null?void 0:e.map(function(r){return new pO(r)}))!==null&&t!==void 0?t:[]}var Pr=function e(){C(this,e)},bO=function(e){_e(r,e);var t=pe(r);function r(n){C(this,r);var o;return o=t.call(this),o.amount=new be(n==null?void 0:n.amount),o.currency=new be(n==null?void 0:n.currency),o}return r}(Pr),OO=function e(t){C(this,e);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:c.AMOUNT_TYPE.CNY},gO=function(e){_e(r,e);var t=pe(r);function r(n){C(this,r);var o;return o=t.call(this),o.min=new be(n==null?void 0:n.min),o.max=new be(n==null?void 0:n.max),o}return r}(Pr),mO=function e(t){C(this,e);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:""},PO=function e(t){C(this,e);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 u;this.districtDisplay=(u=t==null?void 0:t.districtDisplay)!==null&&u!==void 0?u:"";var f;this.province=(f=t==null?void 0:t.province)!==null&&f!==void 0?f:"";var a;this.provinceDisplay=(a=t==null?void 0:t.provinceDisplay)!==null&&a!==void 0?a:""},RO=function(e){_e(r,e);var t=pe(r);function r(n){C(this,r);var o;return o=t.call(this),o.result=new be(n==null?void 0:n.result),o.unit=new be(n==null?void 0:n.unit),o}return r}(Pr),wO=function e(t){C(this,e);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 Ne=function e(t){C(this,e);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 u;this.openType=(u=t==null?void 0:t.openType)!==null&&u!==void 0?u:"modal";var f;this.type=(f=t==null?void 0:t.type)!==null&&f!==void 0?f:"";var a;this.priorityProcess=(a=t==null?void 0:t.priorityProcess)!==null&&a!==void 0?a:!1},TO=function e(t){C(this,e);var r,n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:me(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var u;this.headers=(u=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(f){return new fO(f)}))!==null&&u!==void 0?u:[],Pl.call(this,t)},ak=function e(t){C(this,e);var r;this.key=(r=t.key)!==null&&r!==void 0?r:me(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},$O=function e(t){C(this,e);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 u;this.heightConfig=(u=t==null?void 0:t.heightConfig)!==null&&u!==void 0?u:"fill"},SO=function e(t){C(this,e);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:""};function lk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Il(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sk(){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 Rr(e,t,r){return sk()?Rr=Reflect.construct:Rr=function(o,u,f){var a=[null];a.push.apply(a,u);var l=Function.bind.apply(o,a),s=new l;return f&&fn(s,f.prototype),s},Rr.apply(null,arguments)}function cn(e){return cn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cn(e)}function yk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fn(e,t)}function vk(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function dk(e,t){return t&&(hk(t)==="object"||typeof t=="function")?t:lk(e)}function fn(e,t){return fn=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fn(e,t)}var hk=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cl(e){var t=typeof Map=="function"?new Map:void 0;return Cl=function(n){if(n===null||!vk(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 Rr(n,arguments,cn(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),fn(o,n)},Cl(e)}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 pk(e){var t=_k();return function(){var n=cn(e),o;if(t){var u=cn(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return dk(this,o)}}var W=function e(t){Il(this,e),this.isHide={type:"boolean"}},je=function(e){yk(r,e);var t=pk(r);function r(n){return Il(this,r),t.call(this)}return r}(Cl(Array)),K=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Il(this,e);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new $O(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};K.Rules=W,K.RuntimeRules=je;function Te(){return Te=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},Te.apply(this,arguments)}function bk(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function wr(e,t){return wr=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wr(e,t)}function Ok(){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 Tr(e,t,r){return Ok()?Tr=Reflect.construct:Tr=function(o,u,f){var a=[null];a.push.apply(a,u);var l=Function.bind.apply(o,a),s=new l;return f&&wr(s,f.prototype),s},Tr.apply(null,arguments)}function gk(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function kl(e){var t=typeof Map=="function"?new Map:void 0;return kl=function(n){if(n===null||!gk(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 Tr(n,arguments,Nl(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),wr(o,n)},kl(e)}var mk=/%[sdj%]/g,EO=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(EO=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Bl(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 de(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],u=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var f=String(o).replace(mk,function(a){if(a==="%%")return"%";if(n>=u)return a;switch(a){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(l){return"[Circular]"}break;default:return a}});return f}return o}function Pk(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Z(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Pk(t)&&typeof e=="string"&&!e)}function Rk(e,t,r){var n=[],o=0,u=e.length;function f(a){n.push.apply(n,a),o++,o===u&&r(n)}e.forEach(function(a){t(a,f)})}function IO(e,t,r){var n=0,o=e.length;function u(f){if(f&&f.length){r(f);return}var a=n;n=n+1,a<o?t(e[a],u):r([])}u([])}function wk(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var CO=function(e){bk(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}(kl(Error));function Tk(e,t,r,n){if(t.first){var o=new Promise(function(v,d){var h=function(g){return n(g),g.length?d(new CO(g,Bl(g))):v()},O=wk(e);IO(O,r,h)});return o.catch(function(v){return v}),o}var u=t.firstFields||[];u===!0&&(u=Object.keys(e));var f=Object.keys(e),a=f.length,l=0,s=[],y=new Promise(function(v,d){var h=function(b){if(s.push.apply(s,b),l++,l===a)return n(s),s.length?d(new CO(s,Bl(s))):v()};f.length||(n(s),v()),f.forEach(function(O){var b=e[O];u.indexOf(O)!==-1?IO(b,r,h):Rk(b,r,h)})});return y.catch(function(v){return v}),y}function NO(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 kO(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]=Te(Te({},e[r]),n):e[r]=n}}return e}function BO(e,t,r,n,o,u){e.required&&(!r.hasOwnProperty(e.field)||Z(t,u||e.type))&&n.push(de(o.messages.required,e.fullField))}function $k(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(de(o.messages.whitespace,e.fullField))}var jl={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},an={integer:function(t){return an.number(t)&&parseInt(t,10)===t},float:function(t){return an.number(t)&&!an.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"&&!an.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(jl.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(jl.url)},hex:function(t){return typeof t=="string"&&!!t.match(jl.hex)}};function Sk(e,t,r,n,o){if(e.required&&t===void 0){BO(e,t,r,n,o);return}var u=["integer","float","array","regexp","object","method","email","number","date","url","hex"],f=e.type;u.indexOf(f)>-1?an[f](t)||n.push(de(o.messages.types[f],e.fullField,e.type)):f&&typeof t!==e.type&&n.push(de(o.messages.types[f],e.fullField,e.type))}function Ek(e,t,r,n,o){var u=typeof e.len=="number",f=typeof e.min=="number",a=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=t,y=null,v=typeof t=="number",d=typeof t=="string",h=Array.isArray(t);if(v?y="number":d?y="string":h&&(y="array"),!y)return!1;h&&(s=t.length),d&&(s=t.replace(l,"_").length),u?s!==e.len&&n.push(de(o.messages[y].len,e.fullField,e.len)):f&&!a&&s<e.min?n.push(de(o.messages[y].min,e.fullField,e.min)):a&&!f&&s>e.max?n.push(de(o.messages[y].max,e.fullField,e.max)):f&&a&&(s<e.min||s>e.max)&&n.push(de(o.messages[y].range,e.fullField,e.min,e.max))}var $t="enum";function Ik(e,t,r,n,o){e[$t]=Array.isArray(e[$t])?e[$t]:[],e[$t].indexOf(t)===-1&&n.push(de(o.messages[$t],e.fullField,e[$t].join(", ")))}function Ck(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(de(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var u=new RegExp(e.pattern);u.test(t)||n.push(de(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var B={required:BO,whitespace:$k,type:Sk,range:Ek,enum:Ik,pattern:Ck};function Nk(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(Z(t,"string")&&!e.required)return r();B.required(e,t,n,u,o,"string"),Z(t,"string")||(B.type(e,t,n,u,o),B.range(e,t,n,u,o),B.pattern(e,t,n,u,o),e.whitespace===!0&&B.whitespace(e,t,n,u,o))}r(u)}function kk(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(Z(t)&&!e.required)return r();B.required(e,t,n,u,o),t!==void 0&&B.type(e,t,n,u,o)}r(u)}function Bk(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(t===""&&(t=void 0),Z(t)&&!e.required)return r();B.required(e,t,n,u,o),t!==void 0&&(B.type(e,t,n,u,o),B.range(e,t,n,u,o))}r(u)}function jk(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(Z(t)&&!e.required)return r();B.required(e,t,n,u,o),t!==void 0&&B.type(e,t,n,u,o)}r(u)}function Ak(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(Z(t)&&!e.required)return r();B.required(e,t,n,u,o),Z(t)||B.type(e,t,n,u,o)}r(u)}function Mk(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(Z(t)&&!e.required)return r();B.required(e,t,n,u,o),t!==void 0&&(B.type(e,t,n,u,o),B.range(e,t,n,u,o))}r(u)}function Dk(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(Z(t)&&!e.required)return r();B.required(e,t,n,u,o),t!==void 0&&(B.type(e,t,n,u,o),B.range(e,t,n,u,o))}r(u)}function Lk(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(t==null&&!e.required)return r();B.required(e,t,n,u,o,"array"),t!=null&&(B.type(e,t,n,u,o),B.range(e,t,n,u,o))}r(u)}function Fk(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(Z(t)&&!e.required)return r();B.required(e,t,n,u,o),t!==void 0&&B.type(e,t,n,u,o)}r(u)}var zk="enum";function Gk(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(Z(t)&&!e.required)return r();B.required(e,t,n,u,o),t!==void 0&&B[zk](e,t,n,u,o)}r(u)}function Yk(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(Z(t,"string")&&!e.required)return r();B.required(e,t,n,u,o),Z(t,"string")||B.pattern(e,t,n,u,o)}r(u)}function xk(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(Z(t,"date")&&!e.required)return r();if(B.required(e,t,n,u,o),!Z(t,"date")){var a;t instanceof Date?a=t:a=new Date(t),B.type(e,a,n,u,o),a&&B.range(e,a.getTime(),n,u,o)}}r(u)}function Vk(e,t,r,n,o){var u=[],f=Array.isArray(t)?"array":typeof t;B.required(e,t,n,u,o,f),r(u)}function Al(e,t,r,n,o){var u=e.type,f=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(Z(t,u)&&!e.required)return r();B.required(e,t,n,f,o,u),Z(t,u)||B.type(e,t,n,f,o)}r(f)}function Hk(e,t,r,n,o){var u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(Z(t)&&!e.required)return r();B.required(e,t,n,u,o)}r(u)}var ln={string:Nk,method:kk,number:Bk,boolean:jk,regexp:Ak,integer:Mk,float:Dk,array:Lk,object:Fk,enum:Gk,pattern:Yk,date:xk,url:Al,hex:Al,email:Al,required:Vk,any:Hk};function Ml(){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 Dl=Ml();function Ae(e){this.rules=null,this._messages=Dl,this.define(e)}Ae.prototype={messages:function(t){return t&&(this._messages=kO(Ml(),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 u=t,f=r,a=n;if(typeof f=="function"&&(a=f,f={}),!this.rules||Object.keys(this.rules).length===0)return a&&a(),Promise.resolve();function l(b){var g,_=[],P={};function w($){if(Array.isArray($)){var S;_=(S=_).concat.apply(S,$)}else _.push($)}for(g=0;g<b.length;g++)w(b[g]);_.length?P=Bl(_):(_=null,P=null),a(_,P)}if(f.messages){var s=this.messages();s===Dl&&(s=Ml()),kO(s,f.messages),f.messages=s}else f.messages=this.messages();var y,v,d={},h=f.keys||Object.keys(this.rules);h.forEach(function(b){y=o.rules[b],v=u[b],y.forEach(function(g){var _=g;typeof _.transform=="function"&&(u===t&&(u=Te({},u)),v=u[b]=_.transform(v)),typeof _=="function"?_={validator:_}:_=Te({},_),_.validator=o.getValidationMethod(_),_.field=b,_.fullField=_.fullField||b,_.type=o.getType(_),!!_.validator&&(d[b]=d[b]||[],d[b].push({rule:_,value:v,source:u,field:b}))})});var O={};return Tk(d,f,function(b,g){var _=b.rule,P=(_.type==="object"||_.type==="array")&&(typeof _.fields=="object"||typeof _.defaultField=="object");P=P&&(_.required||!_.required&&b.value),_.field=b.field;function w(E,N){return Te(Te({},N),{},{fullField:_.fullField+"."+E})}function $(E){E===void 0&&(E=[]);var N=E;if(Array.isArray(N)||(N=[N]),!f.suppressWarning&&N.length&&Ae.warning("async-validator:",N),N.length&&_.message!==void 0&&(N=[].concat(_.message)),N=N.map(NO(_)),f.first&&N.length)return O[_.field]=1,g(N);if(!P)g(N);else{if(_.required&&!b.value)return _.message!==void 0?N=[].concat(_.message).map(NO(_)):f.error&&(N=[f.error(_,de(f.messages.required,_.field))]),g(N);var j={};if(_.defaultField)for(var U in b.value)b.value.hasOwnProperty(U)&&(j[U]=_.defaultField);j=Te(Te({},j),b.rule.fields);for(var J in j)if(j.hasOwnProperty(J)){var V=Array.isArray(j[J])?j[J]:[j[J]];j[J]=V.map(w.bind(null,J))}var Ve=new Ae(j);Ve.messages(f.messages),b.rule.options&&(b.rule.options.messages=f.messages,b.rule.options.error=f.error),Ve.validate(b.value,b.rule.options||f,function(Se){var Oe=[];N&&N.length&&Oe.push.apply(Oe,N),Se&&Se.length&&Oe.push.apply(Oe,Se),g(Oe.length?Oe:null)})}}var S;_.asyncValidator?S=_.asyncValidator(_,b.value,$,b.source,f):_.validator&&(S=_.validator(_,b.value,$,b.source,f),S===!0?$():S===!1?$(_.message||_.field+" fails"):S instanceof Array?$(S):S instanceof Error&&$(S.message)),S&&S.then&&S.then(function(){return $()},function(E){return $(E)})},function(b){l(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!ln.hasOwnProperty(t.type))throw new Error(de("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"?ln.required:ln[this.getType(t)]||!1}},Ae.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");ln[t]=r},Ae.warning=EO,Ae.messages=Dl,Ae.validators=ln;var qk={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 jO(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Ae(e);return r.messages(Object.assign(qk,t)),r}var AO=new Wb;function Ll(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 Uk(e){if(Array.isArray(e))return e}function Wk(e){if(Array.isArray(e))return Ll(e)}function MO(e,t,r,n,o,u,f){try{var a=e[u](f),l=a.value}catch(s){r(s);return}a.done?t(l):Promise.resolve(l).then(n,o)}function DO(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){MO(u,n,o,f,a,"next",l)}function a(l){MO(u,n,o,f,a,"throw",l)}f(void 0)})}}function Kk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xk(e,t,r){return t&&LO(e.prototype,t),r&&LO(e,r),e}function Jk(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function FO(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function zO(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Qk(){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 Zk(){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 GO(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){Jk(e,o,r[o])})}return e}function e3(e){return Uk(e)||zO(e)||YO(e,i)||Qk()}function Fl(e){return Wk(e)||zO(e)||YO(e)||Zk()}function YO(e,t){if(!!e){if(typeof e=="string")return Ll(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 Ll(e,t)}}var F=function(){function t(r){var n=this;Kk(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=VO,this.removeSetting=xO,this._callControlHooks("preInstance",r);var o=FO(this,t)?this.constructor:void 0,u=o.controlName,f=o.controlIcon,a=o.controlType,l=o.controlFieldType,s=o.controlEventKeys,y=o.controlCustomEvents,v=o.name,d=o.setting;u&&f&&a||al("The ".concat(v," controlName,controlIcon,controlType is not define"));var h;this.id=(h=r==null?void 0:r.id)!==null&&h!==void 0?h:me(10),this.name=u,this.icon=f;var O;this.type=(O=r==null?void 0:r.type)!==null&&O!==void 0?O:a,this.props=new K(r==null?void 0:r.props,(FO(this,t)?this.constructor:void 0).controlName);var b;this.controlType=(b=r==null?void 0:r.controlType)!==null&&b!==void 0?b:"base",this.setting=Ie(d);var g;this.fieldType=(g=r==null?void 0:r.fieldType)!==null&&g!==void 0?g:l,this.eventKeys=Ie(s),this.customEvents=Ie(y),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return Xk(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),u=0;u<n;u++)o[u]=arguments[u];var f,a=e3(o),l=a[0],s=a.slice(1);return(f=AO).emit.apply(f,[l,this].concat(Fl(s)))}},{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),Gb(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return DO(re.mark(function o(){var u,f,a;return re.wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return u=GO({},n.rules),s.next=3,n._callControlHooks("preValidate",u);case 3:return f=s.sent,a=f[f.length-1],s.abrupt("return",a===!1?void 0:a);case 6:case"end":return s.stop()}},o)}))()}},{key:"validate",value:function(n,o){var u=this;return DO(re.mark(function f(){var a,l,s;return re.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,u.preValidate();case 2:return a=v.sent,l=a!==void 0?a:GO({},u.rules),Array.isArray(o)&&o.forEach(function(d){l.hasOwnProperty(d)&&delete l[d]}),s=jO(l,n),v.prev=6,v.next=9,s.validate(u.props);case 9:return v.abrupt("return",!0);case 12:throw v.prev=12,v.t0=v.catch(6),v.t0.control||(v.t0.control=u),v.t0;case 16:case"end":return v.stop()}},f,null,[[6,12]])}))()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,u=this.id,f=this.type,a=this.props,l=a.dataBind,s=a.datasourceBind,y=a.optionConfig,v=a.caption,d=a.required,h=a.maxLength,O=a.options,b=a.encrypted,g=a.encryptedMode;if(!(!o&&!l&&!s)){var _={parentId:n,fieldType:o,controlId:u,caption:v,type:f,props:{}};switch(l&&(_.dataBind=l),y){case"datasource":case void 0:s&&(_.datasourceBind=s);break;case"custom":_.props.options=O;break}return d!==void 0&&(_.required=d),h!==void 0&&(_.maxLength=h),b!==void 0&&(_.encrypted=b),g!==void 0&&(_.encryptedMode=g),_}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ie(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var u;(u=this.setting).push.apply(u,Fl(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();F.mode="Designer",F.controlName="\u63A7\u4EF6",F.controlIcon="icon",F.controlType="control",F.controlEventKeys=[],F.controlCustomEvents=[],F.setting=[],F.__is_control__=!0,F.removeSettingItem=xO,F.updateSettingItem=VO;function xO(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,u=typeof n!="string",f=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(s){return s.key===(u?n.key:n)});if(f!==-1){var a,l;u?t.setting[f].showItems=(a=t.setting[f].showItems)===null||a===void 0?void 0:a.filter(function(s){return!n.hideItems.includes(s)}):t.setting.splice(f,1),u&&!((l=t.setting[f].showItems)===null||l===void 0?void 0:l.length)&&t.setting.splice(f,1)}})}function VO(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var u=r.setting.find(function(s){return s.key===o});if(u){if(typeof t=="boolean")u.visible=t;else if(typeof t=="object"){var f,a=(f=t.type)!==null&&f!==void 0?f:"replace";if(a==="replace")u.showItems=t.showItems;else{var l;(l=u.showItems).push.apply(l,Fl(t.showItems))}}}})}function t3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n3(e,t,r){return t&&HO(e.prototype,t),r&&HO(e,r),e}function r3(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}var X=function(){function t(r){t3(this,t),this.customEvents=[],this.parent=null;var n=r3(this,t)?this.constructor:void 0,o=n.controlType,u=n.controlFieldType,f=n.name,a=n.controlCustomEvents;o||al("The ".concat(f," controlType is not define"));var l;this.id=(l=r==null?void 0:r.id)!==null&&l!==void 0?l:me(10);var s;this.type=(s=r==null?void 0:r.type)!==null&&s!==void 0?s:o,this.props=new K(r==null?void 0:r.props),this.customEvents=a;var y;this.controlType=(y=r==null?void 0:r.controlType)!==null&&y!==void 0?y:"base";var v;this.fieldType=(v=r==null?void 0:r.fieldType)!==null&&v!==void 0?v:u;var d;this.pageStatus=(d=r==null?void 0:r.pageStatus)!==null&&d!==void 0?d:c.PAGE_STATUS.UNKNOWN}return n3(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}();X.mode="Runtime",X.controlType="control",X.__is_control__=!0,X.controlCustomEvents=[];function $r(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:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:p.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:p.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(p.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var u=n.map(function(a){return a.value}),f=Vb(u);u.length!==f.length?o(p.getMessage("optionIdIsRepeat")):o()},message:p.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(p.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:p.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}])}function sn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:p.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:p.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:p.getMessage("isNotString")},key:{type:"string",required:!0,message:p.getMessage("isNotString")},value:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",validator:function(o,u,f){u.length===0&&f(p.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),f()},message:p.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:p.getMessage("isNotBoolean")}}}}]}}]}function qO(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function UO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Er(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&&zl(e,t)}function o3(e,t){return t&&(i3(t)==="object"||typeof t=="function")?t:UO(e)}function zl(e,t){return zl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zl(e,t)}var i3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function u3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cr(e){var t=u3();return function(){var n=Er(e),o;if(t){var u=Er(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return o3(this,o)}}var ne=function(e){Ir(r,e);var t=Cr(r);function r(n){Sr(this,r);var o;o=t.call(this,n),o.dataBind={},o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.defaultState={type:"enum",enum:["default","readonly"]},o.required={type:"boolean"},o.captionTip={type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")};var u={fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}};if(qO(n.dataBind))o.dataBind={type:"object",required:!0,fields:Ie(u),message:p.getMessage("pleaseEnterFieldCode")};else{var f={type:"object",required:!0,fields:{},message:p.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(a){f.fields[a]={type:"object",required:!0,fields:Ie(u),message:p.getMessage("pleaseEnterFieldCode")}}),o.dataBind=f}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(W),z=function(e){Ir(r,e);var t=Cr(r);function r(n){Sr(this,r);var o;o=t.call(this,n);var u=n.isHide?!1:n.required;return u&&o.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:p.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(je),A=function(e){Ir(r,e);var t=Cr(r);function r(n){Sr(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var f;o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;o.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var y;o.labelPosition=(y=n==null?void 0:n.labelPosition)!==null&&y!==void 0?y:"top";var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"";var d;o.required=(d=n==null?void 0:n.required)!==null&&d!==void 0?d:!1;var h;o.requiredMessage=(h=n==null?void 0:n.requiredMessage)!==null&&h!==void 0?h:"",o.dataBind=new be(n==null?void 0:n.dataBind);var O;return o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"",o}return r}(K);A.Rules=ne,A.RuntimeRules=z;var Qe=function(e){Ir(r,e);var t=Cr(r);function r(n){Sr(this,r);var o;return o=t.call(this,n),o.optionConfig={type:"enum",enum:["custom","datasource"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")},o.options=[{type:"array",message:p.getMessage("isNotArray")}],o.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")}],$r.call(UO(o),n),o}return r}(ne);function c3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(e)}function a3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gl(e,t)}function l3(e,t){return t&&(s3(t)==="object"||typeof t=="function")?t:c3(e)}function Gl(e,t){return Gl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gl(e,t)}var s3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v3(e){var t=y3();return function(){var n=Nr(e),o;if(t){var u=Nr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return l3(this,o)}}var M=function(e){a3(r,e);var t=v3(r);function r(n){f3(this,r);var o;return o=t.call(this,n),o.controlType="form",o.props=new A(n==null?void 0:n.props),o}return r}(F);M.controlEventKeys=["on_change","on_focus","on_blur"];function d3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function _3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yl(e,t)}function p3(e,t){return t&&(b3(t)==="object"||typeof t=="function")?t:d3(e)}function Yl(e,t){return Yl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yl(e,t)}var b3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function O3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g3(e){var t=O3();return function(){var n=kr(e),o;if(t){var u=kr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return p3(this,o)}}var D=function(e){_3(r,e);var t=g3(r);function r(n){h3(this,r);var o;return o=t.call(this,n),o.controlType="form",o.props=new A(n==null?void 0:n.props),o}return r}(X);function m3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Br(e)}function R3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xl(e,t)}function w3(e,t){return t&&(T3(t)==="object"||typeof t=="function")?t:m3(e)}function xl(e,t){return xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xl(e,t)}var T3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S3(e){var t=$3();return function(){var n=Br(e),o;if(t){var u=Br(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return w3(this,o)}}var G=function(e){R3(r,e);var t=S3(r);function r(n){return P3(this,r),t.call(this,n)}return r}(K);function Vl(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 E3(e){if(Array.isArray(e))return Vl(e)}function WO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KO(e,t,r,n,o,u,f){try{var a=e[u](f),l=a.value}catch(s){r(s);return}a.done?t(l):Promise.resolve(l).then(n,o)}function I3(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){KO(u,n,o,f,a,"next",l)}function a(l){KO(u,n,o,f,a,"throw",l)}f(void 0)})}}function C3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XO(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N3(e,t,r){return t&&XO(e.prototype,t),r&&XO(e,r),e}function k3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function St(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?St=Reflect.get:St=function(o,u,f){var a=F3(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},St(e,t,r||e)}function Me(e){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Me(e)}function B3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hl(e,t)}function j3(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function A3(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function M3(){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 D3(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){k3(e,o,r[o])})}return e}function L3(e,t){return t&&(z3(t)==="object"||typeof t=="function")?t:WO(e)}function Hl(e,t){return Hl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hl(e,t)}function F3(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Me(e),e!==null););return e}function JO(e){return E3(e)||A3(e)||G3(e)||M3()}var z3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function G3(e,t){if(!!e){if(typeof e=="string")return Vl(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 Vl(e,t)}}function Y3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x3(e){var t=Y3();return function(){var n=Me(e),o;if(t){var u=Me(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return L3(this,o)}}var V3=1e4,Y=function(t){B3(n,t);var r=x3(n);function n(o){C3(this,n);var u;u=r.call(this,o),u.controlType="layout";var f=j3(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new G(o==null?void 0:o.props),Pe(WO(u),"children",o==null?void 0:o.children,void 0,"Designer"),u.excludes=Ie(a),u.childrenMaxLength=l,u}return N3(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var f=this.judgeExcludesChildren(u);return f&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,f){var a=this,l=this,s=function(){return St(Me(n.prototype),"validate",a)};return I3(re.mark(function y(){return re.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,s().call(l,u,f);case 2:return d.next=4,Promise.all(l.children.map(function(h){return h.validate(u,f)}));case 4:return d.abrupt("return",!0);case 5:case"end":return d.stop()}},y)}))()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,f=St(Me(n.prototype),"toDataBindModel",this).call(this),a=f?[f]:[];return this.children.reduce(function(l,s){var y=s.toDataBindModel(u);if(Array.isArray(y)){var v=y.filter(function(d){return!!d});return JO(l).concat(JO(v))}return y&&l.push(y),l},a)}},{key:"toSchema",value:function(){var u=St(Me(n.prototype),"toSchema",this).call(this),f=this.children.map(function(a){var l=a.toSchema();return l});return D3({},u,{children:f})}}]),n}(F);Y.excludes=!1,Y.childrenMaxLength=V3;function QO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jr(e)}function q3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ql(e,t)}function U3(e,t){return t&&(W3(t)==="object"||typeof t=="function")?t:QO(e)}function ql(e,t){return ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ql(e,t)}var W3=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function K3(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X3(e){var t=K3();return function(){var n=jr(e),o;if(t){var u=jr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return U3(this,o)}}var H=function(e){q3(r,e);var t=X3(r);function r(n){H3(this,r);var o;return o=t.call(this,n),o.controlType="layout",o.props=new G(n==null?void 0:n.props),Pe(QO(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(X);function Ul(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ar(e)}function Q3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wl(e,t)}function Z3(e,t){return t&&(eB(t)==="object"||typeof t=="function")?t:Ul(e)}function Wl(e,t){return Wl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wl(e,t)}var eB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tB();return function(){var n=Ar(e),o;if(t){var u=Ar(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Z3(this,o)}}var yn=function(e){Q3(r,e);var t=nB(r);function r(n,o,u){J3(this,r);var f;return f=t.call(this,o),Pe(Ul(f),"headers",o==null?void 0:o.headers,n,u),Pe(Ul(f),"footers",o==null?void 0:o.footers,n),f}return r}(K);function Kl(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 rB(e){if(Array.isArray(e))return Kl(e)}function ZO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eg(e,t,r,n,o,u,f){try{var a=e[u](f),l=a.value}catch(s){r(s);return}a.done?t(l):Promise.resolve(l).then(n,o)}function oB(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){eg(u,n,o,f,a,"next",l)}function a(l){eg(u,n,o,f,a,"throw",l)}f(void 0)})}}function iB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uB(e,t,r){return t&&tg(e.prototype,t),r&&tg(e,r),e}function cB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Et(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Et=Reflect.get:Et=function(o,u,f){var a=yB(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Et(e,t,r||e)}function De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},De(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&&Xl(e,t)}function aB(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function lB(){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 ng(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){cB(e,o,r[o])})}return e}function sB(e,t){return t&&(vB(t)==="object"||typeof t=="function")?t:ZO(e)}function Xl(e,t){return Xl=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xl(e,t)}function yB(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=De(e),e!==null););return e}function rg(e){return rB(e)||aB(e)||dB(e)||lB()}var vB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dB(e,t){if(!!e){if(typeof e=="string")return Kl(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 Kl(e,t)}}function hB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _B(e){var t=hB();return function(){var n=De(e),o;if(t){var u=De(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return sB(this,o)}}var Mr=function(e){fB(r,e);var t=_B(r);function r(n){iB(this,r);var o;return o=t.call(this,n),o.controlType="list",o.props=new yn(ZO(o),n==null?void 0:n.props,"Designer"),o}return uB(r,[{key:"validate",value:function(o,u){var f=this,a=this,l=function(){return Et(De(r.prototype),"validate",f)};return oB(re.mark(function s(){return re.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,l().call(a,o);case 2:return v.next=4,Promise.all(a.props.headers.map(function(d){return d.validate(o,u)}));case 4:return v.abrupt("return",!0);case 5:case"end":return v.stop()}},s)}))()}},{key:"toDataBindModel",value:function(){var o=Et(De(r.prototype),"toDataBindModel",this).call(this),u=o?[o]:[],f=this.id;return this.props.headers.reduce(function(a,l){var s=l.toDataBindModel(f);if(Array.isArray(s)){var y=s.filter(function(v){return!!v});return rg(a).concat(rg(y))}return s&&a.push(s),a},u)}},{key:"toSchema",value:function(){var o,u,f=Et(De(r.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(s){return s.toSchema()}),l=(o=this.props)===null||o===void 0||(u=o.footers)===null||u===void 0?void 0:u.map(function(s){if(s)return s.toSchema()});return ng({},f,{props:ng({},this.props,{headers:a,footers:l})})}}]),r}(F);Mr.controlFieldType=c.FieldTypes.LIST;function Jl(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 og(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bB(e,t,r){return t&&og(e.prototype,t),r&&og(e,r),e}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(e)}function OB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ql(e,t)}function gB(e,t){return t&&(mB(t)==="object"||typeof t=="function")?t:Jl(e)}function Ql(e,t){return Ql=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ql(e,t)}var mB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function PB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RB(e){var t=PB();return function(){var n=Dr(e),o;if(t){var u=Dr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return gB(this,o)}}var Zl=function(e){OB(r,e);var t=RB(r);function r(n){pB(this,r);var o;return o=t.call(this,n),o.controlType="list",o.props=new yn(Jl(o),n==null?void 0:n.props,"Runtime"),Pe(Jl(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return bB(r,[{key:"length",get:function(){return this.children.length}}]),r}(X);function ig(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function es(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lr(e)}function ts(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ns(e,t)}function wB(e,t){return t&&(TB(t)==="object"||typeof t=="function")?t:ig(e)}function ns(e,t){return ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ns(e,t)}var TB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $B(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=$B();return function(){var n=Lr(e),o;if(t){var u=Lr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return wB(this,o)}}var $e=function(e){ts(r,e);var t=rs(r);function r(n){es(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o.width={type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")},o.width.required=n.widthType==="px",o}return r}(W),q=function(e){ts(r,e);var t=rs(r);function r(n){es(this,r);var o;o=t.call(this,n);var u;o.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:"";var a;o.fixed=(a=n==null?void 0:n.fixed)!==null&&a!==void 0?a:"none",o.autoWidth=new Ol(n==null?void 0:n.autoWidth),o.dataBind=new be(n==null?void 0:n.dataBind);var l;o.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var s;return o.autoHeight=(s=n==null?void 0:n.autoHeight)!==null&&s!==void 0?s:!1,o}return r}(K);q.Rules=$e;var os=function(e){ts(r,e);var t=rs(r);function r(n){es(this,r);var o;return o=t.call(this,n),o.optionConfig={type:"enum",enum:["custom","datasource","none"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")},o.options=[{type:"array",message:p.getMessage("isNotArray")}],o.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")}],$r.call(ig(o),n),o}return r}($e);function SB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fr(e)}function IB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&is(e,t)}function CB(e,t){return t&&(NB(t)==="object"||typeof t=="function")?t:SB(e)}function is(e,t){return is=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},is(e,t)}var NB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=kB();return function(){var n=Fr(e),o;if(t){var u=Fr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return CB(this,o)}}var ee=function(e){IB(r,e);var t=BB(r);function r(n){EB(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new q(n==null?void 0:n.props),o}return r}(F);function jB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(e)}function MB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&us(e,t)}function DB(e,t){return t&&(LB(t)==="object"||typeof t=="function")?t:jB(e)}function us(e,t){return us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},us(e,t)}var LB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function FB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=FB();return function(){var n=zr(e),o;if(t){var u=zr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return DB(this,o)}}var te=function(e){MB(r,e);var t=zB(r);function r(n){AB(this,r);var o;return o=t.call(this,n),o.controlType="column",o.props=new q(n==null?void 0:n.props),o}return r}(X);function GB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gr(e)}function xB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cs(e,t)}function VB(e,t){return t&&(HB(t)==="object"||typeof t=="function")?t:GB(e)}function cs(e,t){return cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cs(e,t)}var HB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function qB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UB(e){var t=qB();return function(){var n=Gr(e),o;if(t){var u=Gr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return VB(this,o)}}var Yr=function(e){xB(r,e);var t=UB(r);function r(n){YB(this,r);var o;return o=t.call(this,n),o.dataBind=new be(n==null?void 0:n.dataBind),o}return r}(G);function WB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xr(e)}function XB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fs(e,t)}function JB(e,t){return t&&(QB(t)==="object"||typeof t=="function")?t:WB(e)}function fs(e,t){return fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fs(e,t)}var QB=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ej(e){var t=ZB();return function(){var n=xr(e),o;if(t){var u=xr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return JB(this,o)}}var ug=function(e){XB(r,e);var t=ej(r);function r(n){KB(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new Yr(n==null?void 0:n.props),o}return r}(Y);function tj(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 Vr(e){return Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vr(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&&as(e,t)}function oj(e,t){return t&&(ij(t)==="object"||typeof t=="function")?t:tj(e)}function as(e,t){return as=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},as(e,t)}var ij=function(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 cj(e){var t=uj();return function(){var n=Vr(e),o;if(t){var u=Vr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return oj(this,o)}}var cg=function(e){rj(r,e);var t=cj(r);function r(n){nj(this,r);var o;return o=t.call(this,n),o.controlType="search",o.props=new Yr(n==null?void 0:n.props),o}return r}(H);function fj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hr(e)}function lj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ls(e,t)}function sj(e,t){return t&&(yj(t)==="object"||typeof t=="function")?t:fj(e)}function ls(e,t){return ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ls(e,t)}var yj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dj(e){var t=vj();return function(){var n=Hr(e),o;if(t){var u=Hr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return sj(this,o)}}var qr=function(e){lj(r,e);var t=dj(r);function r(n){return aj(this,r),t.call(this,n)}return r}(G);function hj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ur(e)}function pj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ss(e,t)}function bj(e,t){return t&&(Oj(t)==="object"||typeof t=="function")?t:hj(e)}function ss(e,t){return ss=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ss(e,t)}var Oj=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mj(e){var t=gj();return function(){var n=Ur(e),o;if(t){var u=Ur(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bj(this,o)}}var fg=function(e){pj(r,e);var t=mj(r);function r(n){_j(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new qr(n==null?void 0:n.props),o}return r}(Y);function Pj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(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&&ys(e,t)}function Tj(e,t){return t&&($j(t)==="object"||typeof t=="function")?t:Pj(e)}function ys(e,t){return ys=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ys(e,t)}var $j=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ej(e){var t=Sj();return function(){var n=Wr(e),o;if(t){var u=Wr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Tj(this,o)}}var ag=function(e){wj(r,e);var t=Ej(r);function r(n){Rj(this,r);var o;return o=t.call(this,n),o.controlType="wrap",o.props=new qr(n==null?void 0:n.props),o}return r}(H);function Le(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}}}])}function Ij(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 Kr(e){return Kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kr(e)}function Nj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vs(e,t)}function kj(e,t){return t&&(Bj(t)==="object"||typeof t=="function")?t:Ij(e)}function vs(e,t){return vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vs(e,t)}var Bj=function(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 Aj(e){var t=jj();return function(){var n=Kr(e),o;if(t){var u=Kr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kj(this,o)}}var ds=function(e){Nj(r,e);var t=Aj(r);function r(n){Cj(this,r);var o;o=t.call(this,n);var u;o.fontSize=(u=n==null?void 0:n.fontSize)!==null&&u!==void 0?u:"14px";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"#646A73";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"page-hint";var l;o.showState=(l=n==null?void 0:n.showState)!==null&&l!==void 0?l:"text";var s;return o.content=(s=n==null?void 0:n.content)!==null&&s!==void 0?s:"\u8BF4\u660E\u6587\u5B57",o}return r}(K);function Mj(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 lg(e,t){for(var r=0;r<t.length;r++){var 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&&lg(e.prototype,t),r&&lg(e,r),e}function Xr(e){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xr(e)}function Fj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hs(e,t)}function zj(e,t){return t&&(Gj(t)==="object"||typeof t=="function")?t:Mj(e)}function hs(e,t){return hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hs(e,t)}var Gj=function(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 xj(e){var t=Yj();return function(){var n=Xr(e),o;if(t){var u=Xr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return zj(this,o)}}var sg=function(e){Fj(r,e);var t=xj(r);function r(n){Dj(this,r);var o;return o=t.call(this,n),o.props=new ds(n==null?void 0:n.props),o}return Lj(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);sg.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 Vj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qj(e,t,r){return t&&yg(e.prototype,t),r&&yg(e,r),e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jr(e)}function Uj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_s(e,t)}function Wj(e,t){return t&&(Kj(t)==="object"||typeof t=="function")?t:Vj(e)}function _s(e,t){return _s=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_s(e,t)}var Kj=function(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 Jj(e){var t=Xj();return function(){var n=Jr(e),o;if(t){var u=Jr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Wj(this,o)}}var Qj=function(e){Uj(r,e);var t=Jj(r);function r(n){Hj(this,r);var o;return o=t.call(this,n),o.props=new ds(n==null?void 0:n.props),o}return qj(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(X),vg={Designer:sg,Runtime:Qj,Property:ds};function Zj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function t1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ps(e,t)}function n1(e,t){return t&&(r1(t)==="object"||typeof t=="function")?t:Zj(e)}function ps(e,t){return ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ps(e,t)}var r1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function o1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i1(e){var t=o1();return function(){var n=Qr(e),o;if(t){var u=Qr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return n1(this,o)}}var bs=function(e){t1(r,e);var t=i1(r);function r(n){e1(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var f;o.url=(f=n==null?void 0:n.url)!==null&&f!==void 0?f:"";var a;return o.openMode=(a=n==null?void 0:n.openMode)!==null&&a!==void 0?a:"new",o}return r}(K);function u1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f1(e,t,r){return t&&dg(e.prototype,t),r&&dg(e,r),e}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zr(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&&Os(e,t)}function l1(e,t){return t&&(s1(t)==="object"||typeof t=="function")?t:u1(e)}function Os(e,t){return Os=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Os(e,t)}var s1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v1(e){var t=y1();return function(){var n=Zr(e),o;if(t){var u=Zr(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return l1(this,o)}}var gs=function(e){a1(r,e);var t=v1(r);function r(n){c1(this,r);var o;return o=t.call(this,n),o.props=new bs(n==null?void 0:n.props),o}return f1(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(F);gs.controlEventKeys=["on_click"],gs.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 d1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _1(e,t,r){return t&&hg(e.prototype,t),r&&hg(e,r),e}function eo(e){return eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eo(e)}function p1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ms(e,t)}function b1(e,t){return t&&(O1(t)==="object"||typeof t=="function")?t:d1(e)}function ms(e,t){return ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ms(e,t)}var O1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m1(e){var t=g1();return function(){var n=eo(e),o;if(t){var u=eo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return b1(this,o)}}var P1=function(e){p1(r,e);var t=m1(r);function r(n){h1(this,r);var o;return o=t.call(this,n),o.props=new bs(n==null?void 0:n.props),o}return _1(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(X),_g={Designer:gs,Runtime:P1,Property:bs};function R1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},to(e)}function T1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ps(e,t)}function $1(e,t){return t&&(S1(t)==="object"||typeof t=="function")?t:R1(e)}function Ps(e,t){return Ps=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ps(e,t)}var S1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I1(e){var t=E1();return function(){var n=to(e),o;if(t){var u=to(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $1(this,o)}}var fe=function(e){T1(r,e);var t=I1(r);function r(n){w1(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u6309\u94AE";var f;o.buttonType=(f=n==null?void 0:n.buttonType)!==null&&f!==void 0?f:"primary";var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var s;o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:"iconfenlei2";var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var v;o.command=(v=n==null?void 0:n.command)!==null&&v!==void 0?v:"custom";var d;o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1;var h;return o.optObj=new SO((h=n==null?void 0:n.optObj)!==null&&h!==void 0?h:{}),o}return r}(K);function C1(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 pg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function k1(e,t,r){return t&&pg(e.prototype,t),r&&pg(e,r),e}function no(e){return no=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},no(e)}function B1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rs(e,t)}function j1(e,t){return t&&(A1(t)==="object"||typeof t=="function")?t:C1(e)}function Rs(e,t){return Rs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rs(e,t)}var A1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function M1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D1(e){var t=M1();return function(){var n=no(e),o;if(t){var u=no(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return j1(this,o)}}var ae=function(e){B1(r,e);var t=D1(r);function r(n){N1(this,r);var o;return o=t.call(this,n),o.props=new fe(n==null?void 0:n.props),o}return k1(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(F);ae.controlEventKeys=["on_click","on_click_finish"],ae.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 L1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z1(e,t,r){return t&&bg(e.prototype,t),r&&bg(e,r),e}function ro(e){return ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ro(e)}function G1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ws(e,t)}function Y1(e,t){return t&&(x1(t)==="object"||typeof t=="function")?t:L1(e)}function ws(e,t){return ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ws(e,t)}var x1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H1(e){var t=V1();return function(){var n=ro(e),o;if(t){var u=ro(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Y1(this,o)}}var he=function(e){G1(r,e);var t=H1(r);function r(n){F1(this,r);var o;return o=t.call(this,n),o.props=new fe(n==null?void 0:n.props),o}return z1(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(X),Og={Designer:ae,Runtime:he,Property:fe};function ke(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 oo=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:c.DATE_CONFIG_TYPE.UN_SELECT_ABLE_INTERVAL,dateLimitType:c.DATE_LIMIT_TYPE.FILE_IN_TIME,id:me(8),value:["",""]};ke(this,e),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 io=function e(t){ke(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:me();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 Ts=function e(t){ke(this,e);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new Tt((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 u,f;this.telephone=(f=t==null?void 0:t.telephone)!==null&&f!==void 0?f:new Tt((u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:{type:"form"});var a,l;this.company=(l=t==null?void 0:t.company)!==null&&l!==void 0?l:new Tt((a=t==null?void 0:t.company)!==null&&a!==void 0?a:{type:"form"});var s;this.remark=(s=t==null?void 0:t.remark)!==null&&s!==void 0?s:""},gg=function e(t){ke(this,e);var r,n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(l){return new Ts(l)}))!==null&&o!==void 0?o:[new Ts];var u;this.statusControl=(u=t==null?void 0:t.statusControl)!==null&&u!==void 0?u:"";var f;this.completeControl=(f=t==null?void 0:t.completeControl)!==null&&f!==void 0?f:"";var a;this.completeTimeControl=(a=t==null?void 0:t.completeTimeControl)!==null&&a!==void 0?a:""},$s=function e(t){ke(this,e);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:me(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 u;this.svcCode=(u=t==null?void 0:t.svcCode)!==null&&u!==void 0?u:"";var f;this.name=(f=t==null?void 0:t.name)!==null&&f!==void 0?f:"";var a;this.fieldList=(a=t==null?void 0:t.fieldList)!==null&&a!==void 0?a:[];var l;this.active=(l=t==null?void 0:t.active)!==null&&l!==void 0?l:!1},Ss=function e(t){ke(this,e);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:""},mg=function e(t){ke(this,e);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 u;this.logicToDelete=(u=t==null?void 0:t.logicToDelete)!==null&&u!==void 0?u:!0,this.watermark=new Ss(t==null?void 0:t.watermark),this.autoRename=new Ss(t==null?void 0:t.autoRename)},Pg=480;function vn(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var Rg=function e(t){ke(this,e);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 u;this.isDefault=(u=t.isDefault)!==null&&u!==void 0?u:!1;var f;this.rules=(f=t.rules)!==null&&f!==void 0?f:[]},wg=function e(t){ke(this,e);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 q1(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 uo(e){return uo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uo(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&&Es(e,t)}function K1(e,t){return t&&(X1(t)==="object"||typeof t=="function")?t:q1(e)}function Es(e,t){return Es=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Es(e,t)}var X1=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J1(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q1(e){var t=J1();return function(){var n=uo(e),o;if(t){var u=uo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return K1(this,o)}}var Is=function(e){W1(r,e);var t=Q1(r);function r(n){U1(this,r);var o;o=t.call(this,n);var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#000";var f;return o.lineStyle=(f=n==null?void 0:n.lineStyle)!==null&&f!==void 0?f:c.LINE_STYLE.SOLID,o}return r}(K);function Z1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tA(e,t,r){return t&&Tg(e.prototype,t),r&&Tg(e,r),e}function co(e){return co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},co(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&&Cs(e,t)}function rA(e,t){return t&&(oA(t)==="object"||typeof t=="function")?t:Z1(e)}function Cs(e,t){return Cs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cs(e,t)}var oA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uA(e){var t=iA();return function(){var n=co(e),o;if(t){var u=co(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return rA(this,o)}}var $g=function(e){nA(r,e);var t=uA(r);function r(n){eA(this,r);var o;return o=t.call(this,n),o.props=new Is(n==null?void 0:n.props),o}return tA(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(F);$g.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}];function cA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aA(e,t,r){return t&&Sg(e.prototype,t),r&&Sg(e,r),e}function fo(e){return fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fo(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&&Ns(e,t)}function sA(e,t){return t&&(yA(t)==="object"||typeof t=="function")?t:cA(e)}function Ns(e,t){return Ns=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ns(e,t)}var yA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dA(e){var t=vA();return function(){var n=fo(e),o;if(t){var u=fo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return sA(this,o)}}var hA=function(e){lA(r,e);var t=dA(r);function r(n){fA(this,r);var o;return o=t.call(this,n),o.props=new Is(n==null?void 0:n.props),o}return aA(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(X),Eg={Designer:$g,Runtime:hA,Property:Is};function _A(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 ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ao(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&&ks(e,t)}function pA(e,t){return t&&(bA(t)==="object"||typeof t=="function")?t:_A(e)}function ks(e,t){return ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ks(e,t)}var bA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function OA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ng(e){var t=OA();return function(){var n=ao(e),o;if(t){var u=ao(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return pA(this,o)}}var gA=function(e){Cg(r,e);var t=Ng(r);function r(n){Ig(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o.dataBind={type:"any"},o.config={type:"array"},n.config.includes(c.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:p.getMessage("bizKeyNotBindFiled")}},message:p.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:p.getMessage("pleaseSelectOneField")}),o}return r}(W),lo=function(e){Cg(r,e);var t=Ng(r);function r(n){Ig(this,r);var o;o=t.call(this,n),o.dataBind=new be(n==null?void 0:n.dataBind);var u;o.config=(u=n==null?void 0:n.config)!==null&&u!==void 0?u:[c.TitleConfigEnum.ShowSubmitUser,c.TitleConfigEnum.ShowSubmitDept,c.TitleConfigEnum.ShowSubmitTime,c.TitleConfigEnum.ShowCurrentApprovar,c.TitleConfigEnum.ShowTitle];var f,a;o.caption=(a=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:It==null?void 0:It.controlName)!==null&&a!==void 0?a:"";var l;return o.position=(l=n==null?void 0:n.position)!==null&&l!==void 0?l:"top",o}return r}(K);lo.Rules=gA;function mA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RA(e,t,r){return t&&kg(e.prototype,t),r&&kg(e,r),e}function so(e){return so=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},so(e)}function wA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bs(e,t)}function TA(e,t){return t&&($A(t)==="object"||typeof t=="function")?t:mA(e)}function Bs(e,t){return Bs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bs(e,t)}var $A=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EA(e){var t=SA();return function(){var n=so(e),o;if(t){var u=so(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return TA(this,o)}}var It=function(e){wA(r,e);var t=EA(r);function r(n){PA(this,r);var o;return o=t.call(this,n),o.props=new lo(n==null?void 0:n.props),o}return RA(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);It.controlFieldType=c.FieldTypes.AUTO_NUMBER,It.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 IA(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 Bg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NA(e,t,r){return t&&Bg(e.prototype,t),r&&Bg(e,r),e}function yo(e){return yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yo(e)}function kA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&js(e,t)}function BA(e,t){return t&&(jA(t)==="object"||typeof t=="function")?t:IA(e)}function js(e,t){return js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},js(e,t)}var jA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function AA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=AA();return function(){var n=yo(e),o;if(t){var u=yo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return BA(this,o)}}var DA=function(e){kA(r,e);var t=MA(r);function r(n){CA(this,r);var o;return o=t.call(this,n),o.props=new lo(n==null?void 0:n.props),o}return NA(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(X),jg={Designer:It,Runtime:DA,Property:lo};function LA(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 vo(e){return vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vo(e)}function Mg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&As(e,t)}function FA(e,t){return t&&(zA(t)==="object"||typeof t=="function")?t:LA(e)}function As(e,t){return As=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},As(e,t)}var zA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=GA();return function(){var n=vo(e),o;if(t){var u=vo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return FA(this,o)}}var YA=function(e){Mg(r,e);var t=Dg(r);function r(n){Ag(this,r);var o;return o=t.call(this,n),o.formKey={type:"string",required:!0,message:p.getMessage("pleaseEnterForm")},o}return r}(W),ho=function(e){Mg(r,e);var t=Dg(r);function r(n){Ag(this,r);var o;o=t.call(this,n);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:dn.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:dn.controlName;var a;o.formKey=(a=n==null?void 0:n.formKey)!==null&&a!==void 0?a:"";var l;return o.openType=(l=n==null?void 0:n.openType)!==null&&l!==void 0?l:"modal",o}return r}(fe);ho.Rules=YA;function xA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HA(e,t,r){return t&&Lg(e.prototype,t),r&&Lg(e,r),e}function _o(e){return _o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_o(e)}function qA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ms(e,t)}function UA(e,t){return t&&(WA(t)==="object"||typeof t=="function")?t:xA(e)}function Ms(e,t){return Ms=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ms(e,t)}var WA=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KA(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XA(e){var t=KA();return function(){var n=_o(e),o;if(t){var u=_o(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return UA(this,o)}}var dn=function(e){qA(r,e);var t=XA(r);function r(n){VA(this,r);var o;return o=t.call(this,n),o.props=new ho(n==null?void 0:n.props),o}return HA(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}(ae);dn.controlEventKeys=["on_click","on_click_finish"],dn.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 JA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZA(e,t,r){return t&&Fg(e.prototype,t),r&&Fg(e,r),e}function po(e){return po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},po(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&&Ds(e,t)}function tM(e,t){return t&&(nM(t)==="object"||typeof t=="function")?t:JA(e)}function Ds(e,t){return Ds=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ds(e,t)}var nM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function rM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oM(e){var t=rM();return function(){var n=po(e),o;if(t){var u=po(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return tM(this,o)}}var iM=function(e){eM(r,e);var t=oM(r);function r(n){QA(this,r);var o;return o=t.call(this,n),o.props=new ho(n==null?void 0:n.props),o}return ZA(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(he),zg={Designer:dn,Runtime:iM,Property:ho};function uM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bo(e){return bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bo(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&&Ls(e,t)}function cM(e,t){return t&&(fM(t)==="object"||typeof t=="function")?t:uM(e)}function Ls(e,t){return Ls=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ls(e,t)}var fM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xg(e){var t=aM();return function(){var n=bo(e),o;if(t){var u=bo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return cM(this,o)}}var lM=function(e){Yg(r,e);var t=xg(r);function r(n){Gg(this,r);var o;return o=t.call(this,n),o.processKey=[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterProcess")}],o}return r}(W),Oo=function(e){Yg(r,e);var t=xg(r);function r(n){Gg(this,r);var o;o=t.call(this,n);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:hn.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:hn.controlName;var a;o.initiatorMode=(a=n==null?void 0:n.initiatorMode)!==null&&a!==void 0?a:"currentInitiator";var l;o.processKey=(l=n==null?void 0:n.processKey)!==null&&l!==void 0?l:"";var s;o.fieldCode=(s=n==null?void 0:n.fieldCode)!==null&&s!==void 0?s:"";var y;return o.employeeId=(y=n==null?void 0:n.employeeId)!==null&&y!==void 0?y:"",o}return r}(fe);Oo.Rules=lM;function sM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vM(e,t,r){return t&&Vg(e.prototype,t),r&&Vg(e,r),e}function go(e){return go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},go(e)}function dM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fs(e,t)}function hM(e,t){return t&&(_M(t)==="object"||typeof t=="function")?t:sM(e)}function Fs(e,t){return Fs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fs(e,t)}var _M=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bM(e){var t=pM();return function(){var n=go(e),o;if(t){var u=go(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hM(this,o)}}var hn=function(e){dM(r,e);var t=bM(r);function r(n){yM(this,r);var o;return o=t.call(this,n),o.props=new Oo(n==null?void 0:n.props),o}return vM(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}(ae);hn.controlEventKeys=["on_click","on_click_finish"],hn.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 OM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mM(e,t,r){return t&&Hg(e.prototype,t),r&&Hg(e,r),e}function mo(e){return mo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mo(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&&zs(e,t)}function RM(e,t){return t&&(wM(t)==="object"||typeof t=="function")?t:OM(e)}function zs(e,t){return zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zs(e,t)}var wM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function TM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=TM();return function(){var n=mo(e),o;if(t){var u=mo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return RM(this,o)}}var SM=function(e){PM(r,e);var t=$M(r);function r(n){gM(this,r);var o;return o=t.call(this,n),o.props=new Oo(n==null?void 0:n.props),o}return mM(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(he),qg={Designer:hn,Runtime:SM,Property:Oo};function EM(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 Po(e){return Po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Po(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&&Gs(e,t)}function NM(e,t){return t&&(kM(t)==="object"||typeof t=="function")?t:EM(e)}function Gs(e,t){return Gs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gs(e,t)}var kM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function BM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jM(e){var t=BM();return function(){var n=Po(e),o;if(t){var u=Po(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return NM(this,o)}}var Ys=function(e){CM(r,e);var t=jM(r);function r(n){IM(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:_n.controlName;var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:_n.controlIcon,o}return r}(fe);function AM(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 Ug(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DM(e,t,r){return t&&Ug(e.prototype,t),r&&Ug(e,r),e}function Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ro(e)}function LM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xs(e,t)}function FM(e,t){return t&&(zM(t)==="object"||typeof t=="function")?t:AM(e)}function xs(e,t){return xs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xs(e,t)}var zM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YM(e){var t=GM();return function(){var n=Ro(e),o;if(t){var u=Ro(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return FM(this,o)}}var _n=function(e){LM(r,e);var t=YM(r);function r(n){MM(this,r);var o;return o=t.call(this,n),o.props=new Ys(n==null?void 0:n.props),o}return DM(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}(ae);_n.controlEventKeys=["on_click"],_n.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 xM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HM(e,t,r){return t&&Wg(e.prototype,t),r&&Wg(e,r),e}function wo(e){return wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wo(e)}function qM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vs(e,t)}function UM(e,t){return t&&(WM(t)==="object"||typeof t=="function")?t:xM(e)}function Vs(e,t){return Vs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vs(e,t)}var WM=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=KM();return function(){var n=wo(e),o;if(t){var u=wo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return UM(this,o)}}var JM=function(e){qM(r,e);var t=XM(r);function r(n){VM(this,r);var o;return o=t.call(this,n),o.props=new Ys(n==null?void 0:n.props),o}return HM(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(he),Kg={Designer:_n,Runtime:JM,Property:Ys};function QM(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 To(e){return To=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},To(e)}function e2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hs(e,t)}function t2(e,t){return t&&(n2(t)==="object"||typeof t=="function")?t:QM(e)}function Hs(e,t){return Hs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hs(e,t)}var n2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o2(e){var t=r2();return function(){var n=To(e),o;if(t){var u=To(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return t2(this,o)}}var qs=function(e){e2(r,e);var t=o2(r);function r(n){ZM(this,r);var o,u;o=t.call(this,n);var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:pn.controlIcon;var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:pn.controlName;var l;o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system";var s;return o.templateList=(s=n==null||(u=n.templateList)===null||u===void 0?void 0:u.map(function(y){return new $s(y)}))!==null&&s!==void 0?s:[new $s({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(fe);function i2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c2(e,t,r){return t&&Xg(e.prototype,t),r&&Xg(e,r),e}function $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$o(e)}function f2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Us(e,t)}function a2(e,t){return t&&(l2(t)==="object"||typeof t=="function")?t:i2(e)}function Us(e,t){return Us=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Us(e,t)}var l2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function s2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y2(e){var t=s2();return function(){var n=$o(e),o;if(t){var u=$o(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return a2(this,o)}}var pn=function(e){f2(r,e);var t=y2(r);function r(n){u2(this,r);var o;return o=t.call(this,n),o.props=new qs(n==null?void 0:n.props),o}return c2(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}(ae);pn.controlEventKeys=["on_click","on_click_finish"],pn.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 v2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h2(e,t,r){return t&&Jg(e.prototype,t),r&&Jg(e,r),e}function So(e){return So=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},So(e)}function _2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ws(e,t)}function p2(e,t){return t&&(b2(t)==="object"||typeof t=="function")?t:v2(e)}function Ws(e,t){return Ws=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ws(e,t)}var b2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function O2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g2(e){var t=O2();return function(){var n=So(e),o;if(t){var u=So(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return p2(this,o)}}var m2=function(e){_2(r,e);var t=g2(r);function r(n){d2(this,r);var o;return o=t.call(this,n),o.props=new qs(n==null?void 0:n.props),o}return h2(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(he),Qg={Designer:pn,Runtime:m2,Property:qs};function P2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eo(e){return Eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eo(e)}function w2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ks(e,t)}function T2(e,t){return t&&($2(t)==="object"||typeof t=="function")?t:P2(e)}function Ks(e,t){return Ks=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ks(e,t)}var $2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function S2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E2(e){var t=S2();return function(){var n=Eo(e),o;if(t){var u=Eo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return T2(this,o)}}var Xs=function(e){w2(r,e);var t=E2(r);function r(n){R2(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:bn.controlName;var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:bn.controlIcon,o}return r}(fe);function I2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zg(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N2(e,t,r){return t&&Zg(e.prototype,t),r&&Zg(e,r),e}function Io(e){return Io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Io(e)}function k2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Js(e,t)}function B2(e,t){return t&&(j2(t)==="object"||typeof t=="function")?t:I2(e)}function Js(e,t){return Js=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Js(e,t)}var j2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function A2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M2(e){var t=A2();return function(){var n=Io(e),o;if(t){var u=Io(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return B2(this,o)}}var bn=function(e){k2(r,e);var t=M2(r);function r(n){C2(this,r);var o;return o=t.call(this,n),o.props=new Xs(n==null?void 0:n.props),o}return N2(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}(ae);bn.controlEventKeys=["on_click"],bn.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 D2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function em(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F2(e,t,r){return t&&em(e.prototype,t),r&&em(e,r),e}function Co(e){return Co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Co(e)}function z2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qs(e,t)}function G2(e,t){return t&&(Y2(t)==="object"||typeof t=="function")?t:D2(e)}function Qs(e,t){return Qs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qs(e,t)}var Y2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function x2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V2(e){var t=x2();return function(){var n=Co(e),o;if(t){var u=Co(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return G2(this,o)}}var H2=function(e){z2(r,e);var t=V2(r);function r(n){L2(this,r);var o;return o=t.call(this,n),o.props=new Xs(n==null?void 0:n.props),o}return F2(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(he),tm={Designer:bn,Runtime:H2,Property:Xs};function q2(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 No(e){return No=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},No(e)}function U2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zs(e,t)}function W2(e,t){return t&&(K2(t)==="object"||typeof t=="function")?t:q2(e)}function Zs(e,t){return Zs=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zs(e,t)}var K2=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function X2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J2(e){var t=X2();return function(){var n=No(e),o;if(t){var u=No(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return W2(this,o)}}var Q2=function e(t){nm(this,e),this.dataCode=t.dataCode},ey=function(e){U2(r,e);var t=J2(r);function r(n){nm(this,r);var o,u;o=t.call(this,n);var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:On.controlName;var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:On.controlIcon;var l;o.canImportList=(l=n==null||(u=n.canImportList)===null||u===void 0?void 0:u.map(function(y){return new Q2(y)}))!==null&&l!==void 0?l:[];var s;return o.templateType=(s=n==null?void 0:n.templateType)!==null&&s!==void 0?s:"system",o}return r}(fe);function Z2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 tD(e,t,r){return t&&rm(e.prototype,t),r&&rm(e,r),e}function ko(e){return ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ko(e)}function nD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ty(e,t)}function rD(e,t){return t&&(oD(t)==="object"||typeof t=="function")?t:Z2(e)}function ty(e,t){return ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ty(e,t)}var oD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uD(e){var t=iD();return function(){var n=ko(e),o;if(t){var u=ko(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return rD(this,o)}}var On=function(e){nD(r,e);var t=uD(r);function r(n){eD(this,r);var o;return o=t.call(this,n),o.props=new ey(n==null?void 0:n.props),o}return tD(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}(ae);On.controlEventKeys=["on_click","on_click_finish"],On.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 cD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function om(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aD(e,t,r){return t&&om(e.prototype,t),r&&om(e,r),e}function Bo(e){return Bo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bo(e)}function lD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ny(e,t)}function sD(e,t){return t&&(yD(t)==="object"||typeof t=="function")?t:cD(e)}function ny(e,t){return ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ny(e,t)}var yD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dD(e){var t=vD();return function(){var n=Bo(e),o;if(t){var u=Bo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return sD(this,o)}}var hD=function(e){lD(r,e);var t=dD(r);function r(n){fD(this,r);var o;return o=t.call(this,n),o.props=new ey(n==null?void 0:n.props),o}return aD(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(he),im={Designer:On,Runtime:hD,Property:ey};function jo(){return{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}}}}}}function _D(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 pD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ao(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&&ry(e,t)}function fm(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){pD(e,o,r[o])})}return e}function bD(e,t){return t&&(OD(t)==="object"||typeof t=="function")?t:_D(e)}function ry(e,t){return ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ry(e,t)}var OD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=gD();return function(){var n=Ao(e),o;if(t){var u=Ao(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bD(this,o)}}var mD=function(e){cm(r,e);var t=am(r);function r(n){um(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:fm({},jo())},o.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}}},o.fillBack={type:"object",fields:fm({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},jo())},(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}),o}return r}(W),Mo=function(e){cm(r,e);var t=am(r);function r(n){um(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:gn.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:gn.controlIcon;var a;return o.command=(a=n==null?void 0:n.command)!==null&&a!==void 0?a:"create",o.fillPayload=new Tl(n==null?void 0:n.fillPayload),o.formBind=new cO(n==null?void 0:n.formBind),o.fillBack=new $l(n==null?void 0:n.fillBack),o}return r}(fe);Mo.Rules=mD;function PD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wD(e,t,r){return t&&lm(e.prototype,t),r&&lm(e,r),e}function Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Do(e)}function TD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oy(e,t)}function $D(e,t){return t&&(SD(t)==="object"||typeof t=="function")?t:PD(e)}function oy(e,t){return oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oy(e,t)}var SD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ED(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ID(e){var t=ED();return function(){var n=Do(e),o;if(t){var u=Do(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $D(this,o)}}var gn=function(e){TD(r,e);var t=ID(r);function r(n){RD(this,r);var o;return o=t.call(this,n),o.props=new Mo(n==null?void 0:n.props),o}return wD(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}(ae);gn.controlEventKeys=["on_click","on_click_finish"],gn.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 CD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ND(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kD(e,t,r){return t&&sm(e.prototype,t),r&&sm(e,r),e}function Lo(e){return Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lo(e)}function BD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iy(e,t)}function jD(e,t){return t&&(AD(t)==="object"||typeof t=="function")?t:CD(e)}function iy(e,t){return iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iy(e,t)}var AD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DD(e){var t=MD();return function(){var n=Lo(e),o;if(t){var u=Lo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return jD(this,o)}}var LD=function(e){BD(r,e);var t=DD(r);function r(n){ND(this,r);var o;return o=t.call(this,n),o.props=new Mo(n==null?void 0:n.props),o}return kD(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(he),ym={Designer:gn,Runtime:LD,Property:Mo};function FD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fo(e){return Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fo(e)}function dm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uy(e,t)}function hm(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){zD(e,o,r[o])})}return e}function GD(e,t){return t&&(YD(t)==="object"||typeof t=="function")?t:FD(e)}function uy(e,t){return uy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uy(e,t)}var YD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=xD();return function(){var n=Fo(e),o;if(t){var u=Fo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return GD(this,o)}}var VD=function(e){dm(r,e);var t=_m(r);function r(n){vm(this,r);var o;return o=t.call(this,n),o.fillPayload={type:"object",fields:hm({},jo())},o.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}},o.fillBack={type:"object",fields:hm({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},jo())},o}return r}(W),zo=function(e){dm(r,e);var t=_m(r);function r(n){vm(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:mn.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:mn.controlIcon,o.fillPayload=new Tl(n==null?void 0:n.fillPayload),o.listPageBind=new br(n==null?void 0:n.listPageBind),o.fillBack=new $l(n==null?void 0:n.fillBack);var a;return o.showSelectedDetail=(a=n==null?void 0:n.showSelectedDetail)!==null&&a!==void 0?a:!1,o.selectedContentConfig=new mr(n==null?void 0:n.selectedContentConfig),o}return r}(fe);zo.Rules=VD;function HD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UD(e,t,r){return t&&pm(e.prototype,t),r&&pm(e,r),e}function Go(e){return Go=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Go(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&&cy(e,t)}function KD(e,t){return t&&(XD(t)==="object"||typeof t=="function")?t:HD(e)}function cy(e,t){return cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cy(e,t)}var XD=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function JD(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QD(e){var t=JD();return function(){var n=Go(e),o;if(t){var u=Go(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return KD(this,o)}}var mn=function(e){WD(r,e);var t=QD(r);function r(n){qD(this,r);var o;return o=t.call(this,n),o.props=new zo(n==null?void 0:n.props),o}return UD(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}(ae);mn.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],mn.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 ZD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tL(e,t,r){return t&&bm(e.prototype,t),r&&bm(e,r),e}function Yo(e){return Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yo(e)}function nL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fy(e,t)}function rL(e,t){return t&&(oL(t)==="object"||typeof t=="function")?t:ZD(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fy(e,t)}var oL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uL(e){var t=iL();return function(){var n=Yo(e),o;if(t){var u=Yo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return rL(this,o)}}var cL=function(e){nL(r,e);var t=uL(r);function r(n){eL(this,r);var o;return o=t.call(this,n),o.props=new zo(n==null?void 0:n.props),o}return tL(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(he),Om={Designer:mn,Runtime:cL,Property:zo};function fL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ay(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xo(e){return xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xo(e)}function ly(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sy(e,t)}function aL(e,t){return t&&(lL(t)==="object"||typeof t=="function")?t:fL(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sy(e,t)}var lL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yy(e){var t=sL();return function(){var n=xo(e),o;if(t){var u=xo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return aL(this,o)}}var yL=function(e){ly(r,e);var t=yy(r);function r(n){return ay(this,r),t.call(this,n)}return r}(W),vL=function(e){ly(r,e);var t=yy(r);function r(n){return ay(this,r),t.call(this,n)}return r}(je),Pn=function(e){ly(r,e);var t=yy(r);function r(n){return ay(this,r),t.call(this,n)}return r}(K);Pn.Rules=yL,Pn.RuntimeRules=vL;function dL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hL(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 _L(e,t,r){return t&&gm(e.prototype,t),r&&gm(e,r),e}function Vo(e){return Vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vo(e)}function pL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vy(e,t)}function bL(e,t){return t&&(OL(t)==="object"||typeof t=="function")?t:dL(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vy(e,t)}var OL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mL(e){var t=gL();return function(){var n=Vo(e),o;if(t){var u=Vo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bL(this,o)}}var mm=function(e){pL(r,e);var t=mL(r);function r(n){hL(this,r);var o;return o=t.call(this,n),o.props=new Pn(n==null?void 0:n.props),o}return _L(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(F);mm.setting=[];function PL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wL(e,t,r){return t&&Pm(e.prototype,t),r&&Pm(e,r),e}function Ho(e){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ho(e)}function TL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dy(e,t)}function $L(e,t){return t&&(SL(t)==="object"||typeof t=="function")?t:PL(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dy(e,t)}var SL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IL(e){var t=EL();return function(){var n=Ho(e),o;if(t){var u=Ho(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $L(this,o)}}var CL=function(e){TL(r,e);var t=IL(r);function r(n){RL(this,r);var o;return o=t.call(this,n),o.props=new Pn(n==null?void 0:n.props),o}return wL(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(X),Rm={Designer:mm,Runtime:CL,Property:Pn};function NL(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 qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qo(e)}function Tm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hy(e,t)}function kL(e,t){return t&&(BL(t)==="object"||typeof t=="function")?t:NL(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hy(e,t)}var BL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jL();return function(){var n=qo(e),o;if(t){var u=qo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kL(this,o)}}var AL=function(e){Tm(r,e);var t=$m(r);function r(n){wm(this,r);var o;return o=t.call(this,n),o.dashboardKey={type:"string",required:!0,message:p.getMessage("pleaseSelectDashboard")},o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.captionTip={type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(W),Uo=function(e){Tm(r,e);var t=$m(r);function r(n){wm(this,r);var o;o=t.call(this,n);var u;o.dashboardKey=(u=n==null?void 0:n.dashboardKey)!==null&&u!==void 0?u:"";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:"";var a;o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;o.captionTip=(s=n==null?void 0:n.captionTip)!==null&&s!==void 0?s:"";var y;return o.labelPosition=(y=n==null?void 0:n.labelPosition)!==null&&y!==void 0?y:"top",o}return r}(K);Uo.Rules=AL;function ML(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LL(e,t,r){return t&&Sm(e.prototype,t),r&&Sm(e,r),e}function Wo(e){return Wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wo(e)}function FL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_y(e,t)}function zL(e,t){return t&&(GL(t)==="object"||typeof t=="function")?t:ML(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_y(e,t)}var GL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function YL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xL(e){var t=YL();return function(){var n=Wo(e),o;if(t){var u=Wo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return zL(this,o)}}var Em=function(e){FL(r,e);var t=xL(r);function r(n){DL(this,r);var o;return o=t.call(this,n),o.props=new Uo(n==null?void 0:n.props),o}return LL(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);Em.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 VL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HL(e,t){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 qL(e,t,r){return t&&Im(e.prototype,t),r&&Im(e,r),e}function Ko(e){return Ko=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ko(e)}function UL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&py(e,t)}function WL(e,t){return t&&(KL(t)==="object"||typeof t=="function")?t:VL(e)}function py(e,t){return py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},py(e,t)}var KL=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JL(e){var t=XL();return function(){var n=Ko(e),o;if(t){var u=Ko(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return WL(this,o)}}var QL=function(e){UL(r,e);var t=JL(r);function r(n){HL(this,r);var o;return o=t.call(this,n),o.props=new Uo(n==null?void 0:n.props),o}return qL(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(X),Cm={Designer:Em,Runtime:QL,Property:Uo};function ZL(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 Xo(e){return Xo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xo(e)}function km(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&by(e,t)}function eF(e,t){return t&&(tF(t)==="object"||typeof t=="function")?t:ZL(e)}function by(e,t){return by=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},by(e,t)}var tF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bm(e){var t=nF();return function(){var n=Xo(e),o;if(t){var u=Xo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return eF(this,o)}}var rF=function(e){km(r,e);var t=Bm(r);function r(n){Nm(this,r);var o;return o=t.call(this,n),o.showType={type:"enum",enum:["select","tabs"]},o.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:p.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}},o}return r}(W),Jo=function(e){km(r,e);var t=Bm(r);function r(n){Nm(this,r);var o,u;o=t.call(this,n);var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"select";var a;return o.viewList=(a=n==null||(u=n.viewList)===null||u===void 0?void 0:u.map(function(l){return new TO(l)}))!==null&&a!==void 0?a:[],o}return r}(K);Jo.Rules=rF;function oF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iF(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 uF(e,t,r){return t&&jm(e.prototype,t),r&&jm(e,r),e}function Qo(e){return Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qo(e)}function cF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oy(e,t)}function fF(e,t){return t&&(aF(t)==="object"||typeof t=="function")?t:oF(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oy(e,t)}var aF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sF(e){var t=lF();return function(){var n=Qo(e),o;if(t){var u=Qo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return fF(this,o)}}var Am=function(e){cF(r,e);var t=sF(r);function r(n){iF(this,r);var o;return o=t.call(this,n),o.props=new Jo(n==null?void 0:n.props),o}return uF(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);Am.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];function yF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mm(e,t){for(var r=0;r<t.length;r++){var 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&&Mm(e.prototype,t),r&&Mm(e,r),e}function Zo(e){return Zo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zo(e)}function hF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gy(e,t)}function _F(e,t){return t&&(pF(t)==="object"||typeof t=="function")?t:yF(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gy(e,t)}var pF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function bF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OF(e){var t=bF();return function(){var n=Zo(e),o;if(t){var u=Zo(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return _F(this,o)}}var gF=function(e){hF(r,e);var t=OF(r);function r(n){vF(this,r);var o;return o=t.call(this,n),o.props=new Jo(n==null?void 0:n.props),o}return dF(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(X),Dm={Designer:Am,Runtime:gF,Property:Jo};function mF(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 ei(e){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ei(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&&my(e,t)}function PF(e,t){return t&&(RF(t)==="object"||typeof t=="function")?t:mF(e)}function my(e,t){return my=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},my(e,t)}var RF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zm(e){var t=wF();return function(){var n=ei(e),o;if(t){var u=ei(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return PF(this,o)}}var TF=function(e){Fm(r,e);var t=zm(r);function r(n){Lm(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.ocrType={type:"string",required:!0,message:p.getMessage("pleaseSelectOcrType")},o.fillList={type:"array",validator:function(f,a,l){var s=a.every(function(y){return!y.controlId});if(s){l(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}},o.captionTip={type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(W),ti=function(e){Fm(r,e);var t=zm(r);function r(n){Lm(this,r);var o,u;o=t.call(this,n);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Ct.controlName;var a;o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;o.captionTip=(s=n==null?void 0:n.captionTip)!==null&&s!==void 0?s:"";var y;o.labelPosition=(y=n==null?void 0:n.labelPosition)!==null&&y!==void 0?y:"top";var v;o.content=(v=n==null?void 0:n.content)!==null&&v!==void 0?v:Ct.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:Ct.controlIcon;var h;o.ocrType=(h=n==null?void 0:n.ocrType)!==null&&h!==void 0?h:"";var O;return o.fillList=(O=n==null||(u=n.fillList)===null||u===void 0?void 0:u.map(function(b){return new ce(b)}))!==null&&O!==void 0?O:[],o}return r}(fe);ti.Rules=TF;function $F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SF(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 EF(e,t,r){return t&&Gm(e.prototype,t),r&&Gm(e,r),e}function ni(e){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ni(e)}function IF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Py(e,t)}function CF(e,t){return t&&(NF(t)==="object"||typeof t=="function")?t:$F(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Py(e,t)}var NF=function(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 BF(e){var t=kF();return function(){var n=ni(e),o;if(t){var u=ni(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return CF(this,o)}}var Ct=function(e){IF(r,e);var t=BF(r);function r(n){SF(this,r);var o;return o=t.call(this,n),o.props=new ti(n==null?void 0:n.props),o}return EF(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}(ae);Ct.controlEventKeys=["on_click","on_click_finish"],Ct.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 jF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ym(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MF(e,t,r){return t&&Ym(e.prototype,t),r&&Ym(e,r),e}function ri(e){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ri(e)}function DF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ry(e,t)}function LF(e,t){return t&&(FF(t)==="object"||typeof t=="function")?t:jF(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ry(e,t)}var FF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function zF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GF(e){var t=zF();return function(){var n=ri(e),o;if(t){var u=ri(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return LF(this,o)}}var YF=function(e){DF(r,e);var t=GF(r);function r(n){AF(this,r);var o;return o=t.call(this,n),o.props=new ti(n==null?void 0:n.props),o}return MF(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(he),xm={Designer:Ct,Runtime:YF,Property:ti};function xF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oi(e){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oi(e)}function Hm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function VF(e,t){return t&&(HF(t)==="object"||typeof t=="function")?t:xF(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wy(e,t)}var HF=function(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 qm(e){var t=qF();return function(){var n=oi(e),o;if(t){var u=oi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return VF(this,o)}}var UF=function(e){Hm(r,e);var t=qm(r);function r(n){Vm(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o.isHideCaption={type:"boolean"},o.labelPosition={type:"enum",enum:["top","left"]},o.invoiceCheck={type:"boolean"},o.fillList={type:"array",validator:function(f,a,l){var s=a.every(function(y){return!y.controlId});if(s){l(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}},o.captionTip={type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(W),ii=function(e){Hm(r,e);var t=qm(r);function r(n){Vm(this,r);var o,u;o=t.call(this,n);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Nt.controlName;var a;o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;o.captionTip=(s=n==null?void 0:n.captionTip)!==null&&s!==void 0?s:"";var y;o.labelPosition=(y=n==null?void 0:n.labelPosition)!==null&&y!==void 0?y:"top";var v;o.content=(v=n==null?void 0:n.content)!==null&&v!==void 0?v:Nt.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:Nt.controlIcon;var h;o.invoiceCheck=(h=n==null?void 0:n.invoiceCheck)!==null&&h!==void 0?h:!0;var O;return o.fillList=(O=n==null||(u=n.fillList)===null||u===void 0?void 0:u.map(function(b){return new ce(b)}))!==null&&O!==void 0?O:[],o}return r}(fe);ii.Rules=UF;function WF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Um(e,t){for(var r=0;r<t.length;r++){var 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&&Um(e.prototype,t),r&&Um(e,r),e}function ui(e){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ui(e)}function JF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ty(e,t)}function QF(e,t){return t&&(ZF(t)==="object"||typeof t=="function")?t:WF(e)}function Ty(e,t){return Ty=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ty(e,t)}var ZF=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};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 t4(e){var t=e4();return function(){var n=ui(e),o;if(t){var u=ui(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return QF(this,o)}}var Nt=function(e){JF(r,e);var t=t4(r);function r(n){KF(this,r);var o;return o=t.call(this,n),o.props=new ii(n==null?void 0:n.props),o}return XF(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}(ae);Nt.controlEventKeys=["on_click","on_click_finish"],Nt.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 n4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o4(e,t,r){return t&&Wm(e.prototype,t),r&&Wm(e,r),e}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ci(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&&$y(e,t)}function u4(e,t){return t&&(c4(t)==="object"||typeof t=="function")?t:n4(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$y(e,t)}var c4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function f4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a4(e){var t=f4();return function(){var n=ci(e),o;if(t){var u=ci(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return u4(this,o)}}var l4=function(e){i4(r,e);var t=a4(r);function r(n){r4(this,r);var o;return o=t.call(this,n),o.props=new ii(n==null?void 0:n.props),o}return o4(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(he),Km={Designer:Nt,Runtime:l4,Property:ii};function s4(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 fi(e){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fi(e)}function Jm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sy(e,t)}function y4(e,t){return t&&(v4(t)==="object"||typeof t=="function")?t:s4(e)}function Sy(e,t){return Sy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sy(e,t)}var v4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function d4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qm(e){var t=d4();return function(){var n=fi(e),o;if(t){var u=fi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return y4(this,o)}}var h4=function(e){Jm(r,e);var t=Qm(r);function r(){Xm(this,r);var n;return n=t.apply(this,arguments),n.printTemplates={type:"array",min:1,required:!0,message:p.getMessage("pleaseUploadAtLeastOnePrintTemplate")},n}return r}(W),ai=function(e){Jm(r,e);var t=Qm(r);function r(n){Xm(this,r);var o,u;o=t.call(this,n);var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:Rn.controlIcon;var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:Rn.controlName;var l;o.printTemplates=(l=n==null||(u=n.printTemplates)===null||u===void 0?void 0:u.map(function(y){return new Rg(y)}))!==null&&l!==void 0?l:[];var s;return o.autoSelectTemplate=(s=n==null?void 0:n.autoSelectTemplate)!==null&&s!==void 0?s:!1,o}return r}(fe);ai.Rules=h4;function _4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b4(e,t,r){return t&&Zm(e.prototype,t),r&&Zm(e,r),e}function li(e){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},li(e)}function O4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function g4(e,t){return t&&(m4(t)==="object"||typeof t=="function")?t:_4(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ey(e,t)}var m4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R4(e){var t=P4();return function(){var n=li(e),o;if(t){var u=li(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return g4(this,o)}}var Rn=function(e){O4(r,e);var t=R4(r);function r(n){p4(this,r);var o;return o=t.call(this,n),o.props=new ai(n==null?void 0:n.props),o}return b4(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}(ae);Rn.controlEventKeys=["on_click","on_click_finish"],Rn.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 w4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $4(e,t,r){return t&&e0(e.prototype,t),r&&e0(e,r),e}function si(e){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},si(e)}function S4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iy(e,t)}function E4(e,t){return t&&(I4(t)==="object"||typeof t=="function")?t:w4(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iy(e,t)}var I4=function(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 N4(e){var t=C4();return function(){var n=si(e),o;if(t){var u=si(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return E4(this,o)}}var k4=function(e){S4(r,e);var t=N4(r);function r(n){T4(this,r);var o;return o=t.call(this,n),o.props=new ai(n==null?void 0:n.props),o}return $4(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(he),t0={Designer:Rn,Runtime:k4,Property:ai};function B4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yi(e){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yi(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&&Cy(e,t)}function M4(e,t){return t&&(D4(t)==="object"||typeof t=="function")?t:B4(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cy(e,t)}var D4=function(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=yi(e),o;if(t){var u=yi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return M4(this,o)}}var Ny=function(e){A4(r,e);var t=F4(r);function r(n){j4(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:wn.controlName;var f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:wn.controlIcon,o}return r}(fe);function z4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n0(e,t){for(var r=0;r<t.length;r++){var 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&&n0(e.prototype,t),r&&n0(e,r),e}function vi(e){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vi(e)}function x4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ky(e,t)}function V4(e,t){return t&&(H4(t)==="object"||typeof t=="function")?t:z4(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ky(e,t)}var H4=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function q4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U4(e){var t=q4();return function(){var n=vi(e),o;if(t){var u=vi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return V4(this,o)}}var wn=function(e){x4(r,e);var t=U4(r);function r(n){G4(this,r);var o;return o=t.call(this,n),o.props=new Ny(n==null?void 0:n.props),o}return Y4(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}(ae);wn.controlEventKeys=["on_click"],wn.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 W4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function X4(e,t,r){return t&&r0(e.prototype,t),r&&r0(e,r),e}function di(e){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},di(e)}function J4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&By(e,t)}function Q4(e,t){return t&&(Z4(t)==="object"||typeof t=="function")?t:W4(e)}function By(e,t){return By=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},By(e,t)}var Z4=function(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=di(e),o;if(t){var u=di(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Q4(this,o)}}var n5=function(e){J4(r,e);var t=t5(r);function r(n){K4(this,r);var o;return o=t.call(this,n),o.props=new Ny(n==null?void 0:n.props),o}return X4(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(he),o0={Designer:wn,Runtime:n5,Property:Ny};function r5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hi(e){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hi(e)}function u0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 o5(e,t){return t&&(i5(t)==="object"||typeof t=="function")?t:r5(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jy(e,t)}var i5=function(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 c0(e){var t=u5();return function(){var n=hi(e),o;if(t){var u=hi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return o5(this,o)}}var c5=function(e){u0(r,e);var t=c0(r);function r(n){i0(this,r);var o;return o=t.call(this,n),o.formKey={type:"string",required:!1},(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return r}(W),_i=function(e){u0(r,e);var t=c0(r);function r(n){i0(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u6309\u94AE",o.code=n==null?void 0:n.code;var f;o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"custom";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o}return r}(K);_i.Rules=c5;function f5(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 f0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l5(e,t,r){return t&&f0(e.prototype,t),r&&f0(e,r),e}function pi(e){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pi(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&&Ay(e,t)}function y5(e,t){return t&&(v5(t)==="object"||typeof t=="function")?t:f5(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ay(e,t)}var v5=function(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 h5(e){var t=d5();return function(){var n=pi(e),o;if(t){var u=pi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return y5(this,o)}}var bi=function(e){s5(r,e);var t=h5(r);function r(n){a5(this,r);var o;return o=t.call(this,n),o.props=new _i(n==null?void 0:n.props),o}return l5(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);bi.controlEventKeys=["on_click"],bi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}];function _5(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 a0(e,t){for(var r=0;r<t.length;r++){var 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&&a0(e.prototype,t),r&&a0(e,r),e}function Oi(e){return Oi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oi(e)}function O5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&My(e,t)}function g5(e,t){return t&&(m5(t)==="object"||typeof t=="function")?t:_5(e)}function My(e,t){return My=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},My(e,t)}var m5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function P5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R5(e){var t=P5();return function(){var n=Oi(e),o;if(t){var u=Oi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return g5(this,o)}}var w5=function(e){O5(r,e);var t=R5(r);function r(n){p5(this,r);var o;return o=t.call(this,n),o.props=new _i(n==null?void 0:n.props),o}return b5(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(X),Tn={Designer:bi,Runtime:w5,Property:_i};function T5(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 gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gi(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&&Dy(e,t)}function E5(e,t){return t&&(I5(t)==="object"||typeof t=="function")?t:T5(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dy(e,t)}var I5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=C5();return function(){var n=gi(e),o;if(t){var u=gi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return E5(this,o)}}var Ly=function(e){S5(r,e);var t=N5(r);function r(n){$5(this,r);var o;o=t.call(this,n);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:$n.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:$n.controlIcon;var a;o.buttonType=(a=n==null?void 0:n.buttonType)!==null&&a!==void 0?a:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"iconText";var s;o.color=(s=n==null?void 0:n.color)!==null&&s!==void 0?s:"danger";var y;o.isHide=(y=n==null?void 0:n.isHide)!==null&&y!==void 0?y:!1;var v;o.defaultState=(v=n==null?void 0:n.defaultState)!==null&&v!==void 0?v:"default";var d;o.command=(d=n==null?void 0:n.command)!==null&&d!==void 0?d:"custom";var h;return o.isLoading=(h=n==null?void 0:n.isLoading)!==null&&h!==void 0?h:!1,o}return r}(K);function k5(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 l0(e,t){for(var r=0;r<t.length;r++){var 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&&l0(e.prototype,t),r&&l0(e,r),e}function mi(e){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mi(e)}function A5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fy(e,t)}function M5(e,t){return t&&(D5(t)==="object"||typeof t=="function")?t:k5(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fy(e,t)}var D5=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=L5();return function(){var n=mi(e),o;if(t){var u=mi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return M5(this,o)}}var $n=function(e){A5(r,e);var t=F5(r);function r(n){B5(this,r);var o;return o=t.call(this,n),o.props=new Ly(n==null?void 0:n.props),o}return j5(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);$n.controlEventKeys=["on_click"],$n.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 z5(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 s0(e,t){for(var r=0;r<t.length;r++){var 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&&s0(e.prototype,t),r&&s0(e,r),e}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pi(e)}function x5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zy(e,t)}function V5(e,t){return t&&(H5(t)==="object"||typeof t=="function")?t:z5(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zy(e,t)}var H5=function(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 U5(e){var t=q5();return function(){var n=Pi(e),o;if(t){var u=Pi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return V5(this,o)}}var W5=function(e){x5(r,e);var t=U5(r);function r(n){G5(this,r);var o;return o=t.call(this,n),o.props=new Ly(n==null?void 0:n.props),o}return Y5(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(X),y0={Designer:$n,Runtime:W5,Property:Ly},K5=Object.freeze({__proto__:null,Text:vg,Link:_g,Button:Og,Divider:Eg,Title:jg,CreateFormListButton:zg,BatchSubmissionListButton:qg,SubmissionRecordListButton:Kg,ExportListButton:Qg,ExportRecordListButton:tm,ImportRecordListButton:im,FormSelectButton:ym,ListSelectButton:Om,Pagination:Rm,Dashboard:Cm,ListViewSelect:Dm,TextOcrButton:xm,InvoiceCheckButton:Km,BatchPrintListButton:t0,BatchPrintRecordListButton:o0,OperationButton:Tn,BatchDeleteButton:y0});function X5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ri(e){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ri(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&&xy(e,t)}function J5(e,t){return t&&(Q5(t)==="object"||typeof t=="function")?t:X5(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xy(e,t)}var Q5=function(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 Vy(e){var t=Z5();return function(){var n=Ri(e),o;if(t){var u=Ri(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return J5(this,o)}}var e6=function(e){Yy(r,e);var t=Vy(r);function r(n){Gy(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:200,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue=[{type:"string",max:200,min:0,message:p.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=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=vn(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ne),t6=function(e){Yy(r,e);var t=Vy(r);function r(n){Gy(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:p.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:vn(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(z),kt=function(e){Yy(r,e);var t=Vy(r);function r(n){Gy(this,r);var o;o=t.call(this,n);var u;o.maxLength=(u=n==null?void 0:n.maxLength)!==null&&u!==void 0?u:200;var f;o.minLength=(f=n==null?void 0:n.minLength)!==null&&f!==void 0?f:0,o.regularRules=new Sl(n==null?void 0:n.regularRules);var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Bt.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u8F93\u5165";var y;o.encrypted=(y=n==null?void 0:n.encrypted)!==null&&y!==void 0?y:!1;var v;return o.encryptedMode=(v=n==null?void 0:n.encryptedMode)!==null&&v!==void 0?v:"",o}return r}(A);kt.Rules=e6,kt.RuntimeRules=t6;function n6(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 v0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o6(e,t,r){return t&&v0(e.prototype,t),r&&v0(e,r),e}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wi(e)}function i6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hy(e,t)}function u6(e,t){return t&&(c6(t)==="object"||typeof t=="function")?t:n6(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hy(e,t)}var c6=function(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=wi(e),o;if(t){var u=wi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return u6(this,o)}}var Bt=function(e){i6(r,e);var t=a6(r);function r(n){r6(this,r);var o;return o=t.call(this,n),o.props=new kt(n==null?void 0:n.props),o}return o6(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}(M);Bt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Bt.controlFieldType=c.FieldTypes.VARCHAR,Bt.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 l6(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 d0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y6(e,t,r){return t&&d0(e.prototype,t),r&&d0(e,r),e}function Ti(e){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ti(e)}function v6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qy(e,t)}function d6(e,t){return t&&(h6(t)==="object"||typeof t=="function")?t:l6(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qy(e,t)}var h6=function(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 p6(e){var t=_6();return function(){var n=Ti(e),o;if(t){var u=Ti(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return d6(this,o)}}var h0=function(e){v6(r,e);var t=p6(r);function r(n){s6(this,r);var o;return o=t.call(this,n),o.props=new kt(n==null?void 0:n.props),o}return y6(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(D);h0.controlFieldType=c.FieldTypes.VARCHAR;var _0={Designer:Bt,Runtime:h0,Property:kt};function b6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $i(e){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$i(e)}function Wy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ky(e,t)}function O6(e,t){return t&&(g6(t)==="object"||typeof t=="function")?t:b6(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ky(e,t)}var g6=function(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 Xy(e){var t=m6();return function(){var n=$i(e),o;if(t){var u=$i(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return O6(this,o)}}var P6=function(e){Wy(r,e);var t=Xy(r);function r(n){Uy(this,r);var o;o=t.call(this,n),o.limitMax={type:"number",min:void 0,message:p.getMessage("PleaseReselectTheOptionalQuantity")};var u=n.limitMax==="unlimited";u&&(o.limitMax.type="string");var f=function(a){return a==="unlimited"?void 0:a};return o.limitMax.min=f(n.limitMin),o}return r}(Qe),R6=function(e){Wy(r,e);var t=Xy(r);function r(n){Uy(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(z),Sn=function(e){Wy(r,e);var t=Xy(r);function r(n){Uy(this,r);var o;o=t.call(this,n);var u;o.options=we((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{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 f;o.checkboxMode=(f=n==null?void 0:n.checkboxMode)!==null&&f!==void 0?f:"horizontal";var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"custom";var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var s;o.otherOption=(s=n==null?void 0:n.otherOption)!==null&&s!==void 0?s:!1;var y;o.limitMin=(y=n==null?void 0:n.limitMin)!==null&&y!==void 0?y:"unlimited";var v;o.limitMax=(v=n==null?void 0:n.limitMax)!==null&&v!==void 0?v:"unlimited",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var d;o.interreaction=(d=n==null?void 0:n.interreaction)!==null&&d!==void 0?d:[];var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:En.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:[];var b;o.optionsFormat=(b=n==null?void 0:n.optionsFormat)!==null&&b!==void 0?b:"horizontal";var g;o.defaultShowOptions=(g=n==null?void 0:n.defaultShowOptions)!==null&&g!==void 0?g:!0;var _;return o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new ce(P))})),o}return r}(A);Sn.Rules=P6,Sn.RuntimeRules=R6;function w6(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 p0(e,t){for(var r=0;r<t.length;r++){var 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&&p0(e.prototype,t),r&&p0(e,r),e}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(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&&Jy(e,t)}function E6(e,t){return t&&(I6(t)==="object"||typeof t=="function")?t:w6(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jy(e,t)}var I6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function C6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=C6();return function(){var n=Si(e),o;if(t){var u=Si(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return E6(this,o)}}var En=function(e){S6(r,e);var t=N6(r);function r(n){T6(this,r);var o;return o=t.call(this,n),o.props=new Sn(n==null?void 0:n.props),o}return $6(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(M);En.controlEventKeys=["on_change","on_click"],En.controlFieldType=c.FieldTypes.ARRAY,En.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 k6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j6(e,t,r){return t&&b0(e.prototype,t),r&&b0(e,r),e}function Ei(e){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ei(e)}function A6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qy(e,t)}function M6(e,t){return t&&(D6(t)==="object"||typeof t=="function")?t:k6(e)}function Qy(e,t){return Qy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qy(e,t)}var D6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function L6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F6(e){var t=L6();return function(){var n=Ei(e),o;if(t){var u=Ei(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return M6(this,o)}}var O0=function(e){A6(r,e);var t=F6(r);function r(n){B6(this,r);var o;return o=t.call(this,n),o.props=new Sn(n==null?void 0:n.props),o}return j6(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(D);O0.controlFieldType=c.FieldTypes.ARRAY;var g0={Designer:En,Runtime:O0,Property:Sn};function z6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function P0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zy(e,t)}function G6(e,t){return t&&(Y6(t)==="object"||typeof t=="function")?t:z6(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}var Y6=function(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 R0(e){var t=x6();return function(){var n=Ii(e),o;if(t){var u=Ii(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return G6(this,o)}}var V6=function(e){P0(r,e);var t=R0(r);function r(n){return m0(this,r),t.call(this,n)}return r}(Qe),Ci=function(e){P0(r,e);var t=R0(r);function r(n){m0(this,r);var o;o=t.call(this,n);var u;o.options=we((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{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 f;o.radioMode=(f=n==null?void 0:n.radioMode)!==null&&f!==void 0?f:"horizontal";var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"custom";var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var s;o.optionsOrder=(s=n==null?void 0:n.optionsOrder)!==null&&s!==void 0?s:!1;var y;o.defaultShowOptions=(y=n==null?void 0:n.defaultShowOptions)!==null&&y!==void 0?y:!0;var v;o.optionsFormat=(v=n==null?void 0:n.optionsFormat)!==null&&v!==void 0?v:"horizontal",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var d;o.interreaction=(d=n==null?void 0:n.interreaction)!==null&&d!==void 0?d:[];var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:In.controlName;var O;o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var _;(_=o.multistageFilling)===null||_===void 0||_.push(new ce(g))})),o}return r}(A);Ci.Rules=V6;function H6(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 w0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function U6(e,t,r){return t&&w0(e.prototype,t),r&&w0(e,r),e}function Ni(e){return Ni=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ni(e)}function W6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 K6(e,t){return t&&(X6(t)==="object"||typeof t=="function")?t:H6(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}var X6=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function J6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q6(e){var t=J6();return function(){var n=Ni(e),o;if(t){var u=Ni(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return K6(this,o)}}var In=function(e){W6(r,e);var t=Q6(r);function r(n){q6(this,r);var o;return o=t.call(this,n),o.props=new Ci(n==null?void 0:n.props),o}return U6(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(M);In.controlEventKeys=["on_change","on_click"],In.controlFieldType=c.FieldTypes.VARCHAR,In.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 Z6(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t7(e,t,r){return t&&T0(e.prototype,t),r&&T0(e,r),e}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(e)}function n7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function r7(e,t){return t&&(o7(t)==="object"||typeof t=="function")?t:Z6(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}var o7=function(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 u7(e){var t=i7();return function(){var n=ki(e),o;if(t){var u=ki(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return r7(this,o)}}var $0=function(e){n7(r,e);var t=u7(r);function r(n){e7(this,r);var o;return o=t.call(this,n),o.props=new Ci(n==null?void 0:n.props),o}return t7(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(D);$0.controlFieldType=c.FieldTypes.VARCHAR;var S0={Designer:In,Runtime:$0,Property:Ci};function c7(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 Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function rv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function f7(e,t){return t&&(a7(t)==="object"||typeof t=="function")?t:c7(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}var a7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iv(e){var t=l7();return function(){var n=Bi(e),o;if(t){var u=Bi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return f7(this,o)}}var s7=function(e){rv(r,e);var t=iv(r);function r(n){nv(this,r);var o;o=t.call(this,n),o.defaultValue=[{type:"number",min:0,max:200,message:p.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],o.rangeMax={type:"any"};var u=n.rangeMax===""?void 0:n.rangeMax,f=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=u,o.defaultValue[0].min=f,o.defaultValue[0].message=p.getMessage("pleaseEnterNumberRange",{max:u,min:f}),f&&u!==void 0&&(o.rangeMax={type:"number",min:f,message:p.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=vn(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ne),y7=function(e){rv(r,e);var t=iv(r);function r(n){nv(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var u=n.rangeMax!==""?n.rangeMax:void 0,f=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:u,min:f,message:p.getMessage(u===void 0?"pleaseEnterAValueGreaterThanMin":f===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:u,min:f})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:vn(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(z),Cn=function(e){rv(r,e);var t=iv(r);function r(n){nv(this,r);var o;o=t.call(this,n);var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var f;o.rangeMax=(f=n==null?void 0:n.rangeMax)!==null&&f!==void 0?f:"";var a;o.numberType=(a=n==null?void 0:n.numberType)!==null&&a!==void 0?a:"number";var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var s;o.micrometer=(s=n==null?void 0:n.micrometer)!==null&&s!==void 0?s:!1;var y;o.precision=(y=n==null?void 0:n.precision)!==null&&y!==void 0?y:0;var v;o.showUpperCase=(v=n==null?void 0:n.showUpperCase)!==null&&v!==void 0?v:!1;var d;o.isShowUnit=(d=n==null?void 0:n.isShowUnit)!==null&&d!==void 0?d:!1;var h;o.unitPosition=(h=n==null?void 0:n.unitPosition)!==null&&h!==void 0?h:"right";var O;o.unit=(O=n==null?void 0:n.unit)!==null&&O!==void 0?O:"";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Nn.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var _;return o.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:"",o.regularRules=new Sl(n==null?void 0:n.regularRules),o}return r}(A);Cn.Rules=s7,Cn.RuntimeRules=y7;function v7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E0(e,t){for(var r=0;r<t.length;r++){var 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&&E0(e.prototype,t),r&&E0(e,r),e}function ji(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ji=Reflect.get:ji=function(o,u,f){var a=b7(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},ji(e,t,r||e)}function jt(e){return jt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jt(e)}function _7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}function p7(e,t){return t&&(O7(t)==="object"||typeof t=="function")?t:v7(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function b7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=jt(e),e!==null););return e}var O7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m7(e){var t=g7();return function(){var n=jt(e),o;if(t){var u=jt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return p7(this,o)}}var Nn=function(e){_7(r,e);var t=m7(r);function r(n){d7(this,r);var o;return o=t.call(this,n),o.props=new Cn(n==null?void 0:n.props),o}return h7(r,[{key:"toDataBindModel",value:function(o){var u=ji(jt(r.prototype),"toDataBindModel",this).call(this,o);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(M);Nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Nn.controlFieldType=c.FieldTypes.DECIMAL,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:"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 P7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w7(e,t,r){return t&&I0(e.prototype,t),r&&I0(e,r),e}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(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&&cv(e,t)}function $7(e,t){return t&&(S7(t)==="object"||typeof t=="function")?t:P7(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}var S7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function E7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I7(e){var t=E7();return function(){var n=Ai(e),o;if(t){var u=Ai(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $7(this,o)}}var C0=function(e){T7(r,e);var t=I7(r);function r(n){R7(this,r);var o;return o=t.call(this,n),o.props=new Cn(n==null?void 0:n.props),o}return w7(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(D);C0.controlFieldType=c.FieldTypes.DECIMAL;var N0={Designer:Nn,Runtime:C0,Property:Cn};function C7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function k7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function B7(e,t){return t&&(j7(t)==="object"||typeof t=="function")?t:C7(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}var j7=function(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 M7(e){var t=A7();return function(){var n=Mi(e),o;if(t){var u=Mi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return B7(this,o)}}var av=function(e){k7(r,e);var t=M7(r);function r(n){N7(this,r);var o,u;o=t.call(this,n);var f;o.dateType=(f=n==null?void 0:n.dateType)!==null&&f!==void 0?f:c.DateType.DATE;var a;o.dateFormat=(a=n==null?void 0:n.dateFormat)!==null&&a!==void 0?a:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var s;o.setValueType=(s=n==null?void 0:n.setValueType)!==null&&s!==void 0?s:"custom";var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Li.controlName;var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165\u65E5\u671F";var d;o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:"";var h;o.limitDateList=(h=n==null||(u=n.limitDateList)===null||u===void 0?void 0:u.map(function(g){return new oo(g)}))!==null&&h!==void 0?h:[];var O;o.allowDateRange=(O=n==null?void 0:n.allowDateRange)!==null&&O!==void 0?O:["",""];var b;return o.filterWeekend=(b=n==null?void 0:n.filterWeekend)!==null&&b!==void 0?b:!1,o}return r}(A);function D7(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 k0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F7(e,t,r){return t&&k0(e.prototype,t),r&&k0(e,r),e}function Di(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Di=Reflect.get:Di=function(o,u,f){var a=Y7(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Di(e,t,r||e)}function At(e){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},At(e)}function z7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lv(e,t)}function G7(e,t){return t&&(x7(t)==="object"||typeof t=="function")?t:D7(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function Y7(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=At(e),e!==null););return e}var x7=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function V7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H7(e){var t=V7();return function(){var n=At(e),o;if(t){var u=At(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return G7(this,o)}}var Li=function(e){z7(r,e);var t=H7(r);function r(n){L7(this,r);var o;return o=t.call(this,n),o.props=new av(n==null?void 0:n.props),o}return F7(r,[{key:"toDataBindModel",value:function(o){var u=Di(At(r.prototype),"toDataBindModel",this).call(this,o);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(M);Li.controlFieldType=c.FieldTypes.TIMESTAMP,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:"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 q7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function W7(e,t,r){return t&&B0(e.prototype,t),r&&B0(e,r),e}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function K7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sv(e,t)}function X7(e,t){return t&&(J7(t)==="object"||typeof t=="function")?t:q7(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}var J7=function(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 Z7(e){var t=Q7();return function(){var n=Fi(e),o;if(t){var u=Fi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return X7(this,o)}}var j0=function(e){K7(r,e);var t=Z7(r);function r(n){U7(this,r);var o;return o=t.call(this,n),o.props=new av(n==null?void 0:n.props),o}return W7(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(D);j0.controlFieldType=c.FieldTypes.TIMESTAMP;var A0={Designer:Li,Runtime:j0,Property:av};function e8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function D0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function t8(e,t){return t&&(n8(t)==="object"||typeof t=="function")?t:e8(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}var n8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function r8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L0(e){var t=r8();return function(){var n=zi(e),o;if(t){var u=zi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return t8(this,o)}}var o8=function(e){D0(r,e);var t=L0(r);function r(n){M0(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(z),Gi=function(e){D0(r,e);var t=L0(r);function r(n){M0(this,r);var o,u;o=t.call(this,n),o.dataBind=new gO(n==null?void 0:n.dataBind),o.defaultValue=new mO(n==null?void 0:n.defaultValue);var f;o.dateType=(f=n==null?void 0:n.dateType)!==null&&f!==void 0?f:c.DateType.DATE;var a;o.dateFormat=(a=n==null?void 0:n.dateFormat)!==null&&a!==void 0?a:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var s;o.setValueType=(s=n==null?void 0:n.setValueType)!==null&&s!==void 0?s:"custom";var y;o.rangeMin=(y=n==null?void 0:n.rangeMin)!==null&&y!==void 0?y:"";var v;o.rangeMax=(v=n==null?void 0:n.rangeMax)!==null&&v!==void 0?v:"";var d;o.placeholderStart=(d=n==null?void 0:n.placeholderStart)!==null&&d!==void 0?d:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var h;o.placeholderEnd=(h=n==null?void 0:n.placeholderEnd)!==null&&h!==void 0?h:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var O;o.caption=(O=n==null?void 0:n.caption)!==null&&O!==void 0?O:xi.controlName;var b;return o.limitDateList=(b=n==null||(u=n.limitDateList)===null||u===void 0?void 0:u.map(function(g){return new oo(g)}))!==null&&b!==void 0?b:[],o}return r}(A);Gi.RuntimeRules=o8;function i8(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 F0(e,t){for(var r=0;r<t.length;r++){var 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&&F0(e.prototype,t),r&&F0(e,r),e}function Yi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Yi=Reflect.get:Yi=function(o,u,f){var a=l8(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Yi(e,t,r||e)}function Mt(e){return Mt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mt(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&&vv(e,t)}function a8(e,t){return t&&(s8(t)==="object"||typeof t=="function")?t:i8(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function l8(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Mt(e),e!==null););return e}var s8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function y8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=y8();return function(){var n=Mt(e),o;if(t){var u=Mt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return a8(this,o)}}var xi=function(e){f8(r,e);var t=v8(r);function r(n){u8(this,r);var o;return o=t.call(this,n),o.props=new Gi(n==null?void 0:n.props),o}return c8(r,[{key:"toDataBindModel",value:function(o){var u=Yi(Mt(r.prototype),"toDataBindModel",this).call(this,o);if(u&&!Array.isArray(u)){var f=this.props.dateType;u.props.dateType=f}return u}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(M);xi.controlFieldType=c.FieldTypes.TIMESCOPE,xi.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 d8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _8(e,t,r){return t&&z0(e.prototype,t),r&&z0(e,r),e}function Vi(e){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vi(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&&dv(e,t)}function b8(e,t){return t&&(O8(t)==="object"||typeof t=="function")?t:d8(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}var O8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function g8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m8(e){var t=g8();return function(){var n=Vi(e),o;if(t){var u=Vi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return b8(this,o)}}var G0=function(e){p8(r,e);var t=m8(r);function r(n){h8(this,r);var o;return o=t.call(this,n),o.props=new Gi(n==null?void 0:n.props),o}return _8(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(D);G0.controlFieldType=c.FieldTypes.TIMESCOPE;var Y0={Designer:xi,Runtime:G0,Property:Gi};function P8(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 Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(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 R8(e,t){return t&&(w8(t)==="object"||typeof t=="function")?t:P8(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}var w8=function(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 bv(e){var t=T8();return function(){var n=Hi(e),o;if(t){var u=Hi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return R8(this,o)}}var $8=function(e){_v(r,e);var t=bv(r);function r(n){hv(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue={type:"string",max:200,min:0,message:p.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=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(ne),S8=function(e){_v(r,e);var t=bv(r);function r(n){hv(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(z),kn=function(e){_v(r,e);var t=bv(r);function r(n){hv(this,r);var o;o=t.call(this,n);var u;o.maxLength=(u=n==null?void 0:n.maxLength)!==null&&u!==void 0?u:5e4;var f;o.minLength=(f=n==null?void 0:n.minLength)!==null&&f!==void 0?f:0;var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Bn.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u8F93\u5165";var y;return o.lineEllipsis=(y=n==null?void 0:n.lineEllipsis)!==null&&y!==void 0?y:4,o}return r}(A);kn.Rules=$8,kn.RuntimeRules=S8;function E8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x0(e,t){for(var r=0;r<t.length;r++){var 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&&x0(e.prototype,t),r&&x0(e,r),e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qi(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&&Ov(e,t)}function k8(e,t){return t&&(B8(t)==="object"||typeof t=="function")?t:E8(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}var B8=function(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 A8(e){var t=j8();return function(){var n=qi(e),o;if(t){var u=qi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return k8(this,o)}}var Bn=function(e){N8(r,e);var t=A8(r);function r(n){I8(this,r);var o;return o=t.call(this,n),o.props=new kn(n==null?void 0:n.props),o}return C8(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}(M);Bn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Bn.controlFieldType=c.FieldTypes.TEXT,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.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 M8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V0(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L8(e,t,r){return t&&V0(e.prototype,t),r&&V0(e,r),e}function Ui(e){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ui(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&&gv(e,t)}function z8(e,t){return t&&(G8(t)==="object"||typeof t=="function")?t:M8(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}var G8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Y8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Y8();return function(){var n=Ui(e),o;if(t){var u=Ui(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return z8(this,o)}}var H0=function(e){F8(r,e);var t=x8(r);function r(n){D8(this,r);var o;return o=t.call(this,n),o.props=new kn(n==null?void 0:n.props),o}return L8(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(D);H0.controlFieldType=c.FieldTypes.TEXT;var q0={Designer:Bn,Runtime:H0,Property:kn};function V8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function Pv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rv(e,t)}function H8(e,t){return t&&(q8(t)==="object"||typeof t=="function")?t:V8(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}var q8=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function U8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=U8();return function(){var n=Wi(e),o;if(t){var u=Wi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return H8(this,o)}}var W8=function(e){Pv(r,e);var t=wv(r);function r(n){mv(this,r);var o;return o=t.call(this,n),o.maxLength={type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},o.minLength={type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},o.defaultValue={type:"string",max:200,min:0,message:p.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=p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(ne),K8=function(e){Pv(r,e);var t=wv(r);function r(n){mv(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:p.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(z),jn=function(e){Pv(r,e);var t=wv(r);function r(n){mv(this,r);var o;o=t.call(this,n);var u;o.maxLength=(u=n==null?void 0:n.maxLength)!==null&&u!==void 0?u:5e4;var f;o.minLength=(f=n==null?void 0:n.minLength)!==null&&f!==void 0?f:0;var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:An.controlName;var s;return o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u8F93\u5165",o}return r}(A);jn.Rules=W8,jn.RuntimeRules=K8;function X8(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 U0(e,t){for(var r=0;r<t.length;r++){var 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&&U0(e.prototype,t),r&&U0(e,r),e}function Ki(e){return Ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ki(e)}function Z8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 e9(e,t){return t&&(t9(t)==="object"||typeof t=="function")?t:X8(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}var t9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function n9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r9(e){var t=n9();return function(){var n=Ki(e),o;if(t){var u=Ki(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return e9(this,o)}}var An=function(e){Z8(r,e);var t=r9(r);function r(n){J8(this,r);var o;return o=t.call(this,n),o.props=new jn(n==null?void 0:n.props),o}return Q8(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}(M);An.controlEventKeys=["on_change","on_input","on_focus","on_blur"],An.controlFieldType=c.FieldTypes.TEXT,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.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 o9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W0(e,t){for(var r=0;r<t.length;r++){var 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&&W0(e.prototype,t),r&&W0(e,r),e}function Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(e)}function c9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function f9(e,t){return t&&(a9(t)==="object"||typeof t=="function")?t:o9(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}var a9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function l9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=l9();return function(){var n=Xi(e),o;if(t){var u=Xi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return f9(this,o)}}var K0=function(e){c9(r,e);var t=s9(r);function r(n){i9(this,r);var o;return o=t.call(this,n),o.props=new jn(n==null?void 0:n.props),o}return u9(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(D);K0.controlFieldType=c.FieldTypes.TEXT;var X0={Designer:An,Runtime:K0,Property:jn};function y9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(e)}function Q0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 v9(e,t){return t&&(d9(t)==="object"||typeof t=="function")?t:y9(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}var d9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function h9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z0(e){var t=h9();return function(){var n=Ji(e),o;if(t){var u=Ji(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return v9(this,o)}}var _9=function(e){Q0(r,e);var t=Z0(r);function r(n){return J0(this,r),t.call(this,n)}return r}(Qe),Qi=function(e){Q0(r,e);var t=Z0(r);function r(n){J0(this,r);var o;o=t.call(this,n);var u;o.options=we((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{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 f;o.defaultShowOptions=(f=n==null?void 0:n.defaultShowOptions)!==null&&f!==void 0?f:!0;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"custom",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:eu.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u9009\u62E9";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"";var v;o.allowCopyOptions=(v=n==null?void 0:n.allowCopyOptions)!==null&&v!==void 0?v:!1;var d;o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new ce(b))}));var h;o.canViewForm=(h=n==null?void 0:n.canViewForm)!==null&&h!==void 0?h:!1;var O;return o.viewFormModelType=(O=n==null?void 0:n.viewFormModelType)!==null&&O!==void 0?O:"window",o.formBind=new Je(n==null?void 0:n.formBind),o}return r}(A);Qi.Rules=_9;function p9(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 eP(e,t){for(var r=0;r<t.length;r++){var 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&&eP(e.prototype,t),r&&eP(e,r),e}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(e)}function g9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ev(e,t)}function m9(e,t){return t&&(P9(t)==="object"||typeof t=="function")?t:p9(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}var P9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function R9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=R9();return function(){var n=Zi(e),o;if(t){var u=Zi(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return m9(this,o)}}var eu=function(e){g9(r,e);var t=w9(r);function r(n){b9(this,r);var o;return o=t.call(this,n),o.props=new Qi(n==null?void 0:n.props),o}return O9(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(M);eu.controlFieldType=c.FieldTypes.VARCHAR,eu.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 T9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function S9(e,t,r){return t&&tP(e.prototype,t),r&&tP(e,r),e}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function E9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 I9(e,t){return t&&(C9(t)==="object"||typeof t=="function")?t:T9(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(e,t)}var C9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function N9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k9(e){var t=N9();return function(){var n=tu(e),o;if(t){var u=tu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return I9(this,o)}}var nP=function(e){E9(r,e);var t=k9(r);function r(n){$9(this,r);var o;return o=t.call(this,n),o.props=new Qi(n==null?void 0:n.props),o}return S9(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(D);nP.controlFieldType=c.FieldTypes.VARCHAR;var rP={Designer:eu,Runtime:nP,Property:Qi};function B9(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 nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function Nv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function j9(e,t){return t&&(A9(t)==="object"||typeof t=="function")?t:B9(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}var A9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function M9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bv(e){var t=M9();return function(){var n=nu(e),o;if(t){var u=nu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return j9(this,o)}}var D9=function(e){Nv(r,e);var t=Bv(r);function r(n){return Cv(this,r),t.call(this,n)}return r}(Qe),L9=function(e){Nv(r,e);var t=Bv(r);function r(n){Cv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(z),Mn=function(e){Nv(r,e);var t=Bv(r);function r(n){Cv(this,r);var o;o=t.call(this,n);var u;o.options=we((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[{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 f;o.defaultShowOptions=(f=n==null?void 0:n.defaultShowOptions)!==null&&f!==void 0?f:!0;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"custom",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:ou.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u9009\u62E9";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:[];var v;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 b;(b=o.multistageFilling)===null||b===void 0||b.push(new ce(O))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var h;return o.viewFormModelType=(h=n==null?void 0:n.viewFormModelType)!==null&&h!==void 0?h:"window",o.formBind=new Je(n==null?void 0:n.formBind),o}return r}(A);Mn.Rules=D9,Mn.RuntimeRules=L9;function F9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function G9(e,t,r){return t&&oP(e.prototype,t),r&&oP(e,r),e}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function Y9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jv(e,t)}function x9(e,t){return t&&(V9(t)==="object"||typeof t=="function")?t:F9(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}var V9=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function H9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q9(e){var t=H9();return function(){var n=ru(e),o;if(t){var u=ru(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return x9(this,o)}}var ou=function(e){Y9(r,e);var t=q9(r);function r(n){z9(this,r);var o;return o=t.call(this,n),o.props=new Mn(n==null?void 0:n.props),o}return G9(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}(M);ou.controlFieldType=c.FieldTypes.ARRAY,ou.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 U9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K9(e,t,r){return t&&iP(e.prototype,t),r&&iP(e,r),e}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(e)}function X9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function J9(e,t){return t&&(Q9(t)==="object"||typeof t=="function")?t:U9(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}var Q9=function(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 ez(e){var t=Z9();return function(){var n=iu(e),o;if(t){var u=iu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return J9(this,o)}}var uP=function(e){X9(r,e);var t=ez(r);function r(n){W9(this,r);var o;return o=t.call(this,n),o.props=new Mn(n==null?void 0:n.props),o}return K9(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(D);uP.controlFieldType=c.FieldTypes.ARRAY;var cP={Designer:ou,Runtime:uP,Property:Mn};function tz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function aP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mv(e,t)}function nz(e,t){return t&&(rz(t)==="object"||typeof t=="function")?t:tz(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}var rz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function oz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lP(e){var t=oz();return function(){var n=uu(e),o;if(t){var u=uu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return nz(this,o)}}var iz=function(e){aP(r,e);var t=lP(r);function r(n){fP(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(z),cu=function(e){aP(r,e);var t=lP(r);function r(n){fP(this,r);var o;o=t.call(this,n);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var s;o.defaultValueType=(s=n==null?void 0:n.defaultValueType)!==null&&s!==void 0?s:"none";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:[];var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:au.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 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(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new ce(O))})),o}return r}(A);cu.RuntimeRules=iz;function uz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fz(e,t,r){return t&&sP(e.prototype,t),r&&sP(e,r),e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(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&&Dv(e,t)}function lz(e,t){return t&&(sz(t)==="object"||typeof t=="function")?t:uz(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}var sz=function(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 vz(e){var t=yz();return function(){var n=fu(e),o;if(t){var u=fu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return lz(this,o)}}var au=function(e){az(r,e);var t=vz(r);function r(n){cz(this,r);var o;return o=t.call(this,n),o.props=new cu(n==null?void 0:n.props),o}return fz(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(M);au.controlFieldType=c.FieldTypes.EMPLOYEES,au.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 dz(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 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 _z(e,t,r){return t&&yP(e.prototype,t),r&&yP(e,r),e}function lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(e)}function pz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lv(e,t)}function bz(e,t){return t&&(Oz(t)==="object"||typeof t=="function")?t:dz(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}var Oz=function(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 mz(e){var t=gz();return function(){var n=lu(e),o;if(t){var u=lu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bz(this,o)}}var vP=function(e){pz(r,e);var t=mz(r);function r(n){hz(this,r);var o;return o=t.call(this,n),o.props=new cu(n==null?void 0:n.props),o}return _z(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(D);vP.controlFieldType=c.FieldTypes.EMPLOYEES;var dP={Designer:au,Runtime:vP,Property:cu};function Pz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(e)}function zv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function Rz(e,t){return t&&(wz(t)==="object"||typeof t=="function")?t:Pz(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}var wz=function(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 Yv(e){var t=Tz();return function(){var n=su(e),o;if(t){var u=su(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Rz(this,o)}}var $z=10485760,Sz=104857600,Ez=1048576e3,Iz=function(e){zv(r,e);var t=Yv(r);function r(n){Fv(this,r);var o;return o=t.call(this,n),o.maxSize={type:"number",min:0,max:Ez,message:p.getMessage("attachmentMaxSize")},o}return r}(ne),Cz=function(e){zv(r,e);var t=Yv(r);function r(n){Fv(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:p.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(z),Dt=function(e){zv(r,e);var t=Yv(r);function r(n){Fv(this,r);var o;o=t.call(this,n);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:[];var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"default";var a;o.resultShowType=(a=n==null?void 0:n.resultShowType)!==null&&a!==void 0?a:"simple";var l;o.attachmentAccept=(l=n==null?void 0:n.attachmentAccept)!==null&&l!==void 0?l:[];var s;o.maxLimit=(s=n==null?void 0:n.maxLimit)!==null&&s!==void 0?s:10;var y;o.minLimit=(y=n==null?void 0:n.minLimit)!==null&&y!==void 0?y:0;var v;o.maxSize=(v=n==null?void 0:n.maxSize)!==null&&v!==void 0?v:Sz;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Lt.controlName;var h;return o.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(A);Dt.Rules=Iz,Dt.RuntimeRules=Cz;function Nz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hP(e,t){for(var r=0;r<t.length;r++){var 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&&hP(e.prototype,t),r&&hP(e,r),e}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function jz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function Az(e,t){return t&&(Mz(t)==="object"||typeof t=="function")?t:Nz(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}var Mz=function(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=yu(e),o;if(t){var u=yu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Az(this,o)}}var Lt=function(e){jz(r,e);var t=Lz(r);function r(n){kz(this,r);var o;return o=t.call(this,n),o.props=new Dt(n==null?void 0:n.props),o}return Bz(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(M);Lt.controlEventKeys=["on_change"],Lt.controlFieldType=c.FieldTypes.FILE,Lt.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 Fz(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 _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 Gz(e,t,r){return t&&_P(e.prototype,t),r&&_P(e,r),e}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(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&&Vv(e,t)}function xz(e,t){return t&&(Vz(t)==="object"||typeof t=="function")?t:Fz(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(e,t)}var Vz=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qz(e){var t=Hz();return function(){var n=vu(e),o;if(t){var u=vu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return xz(this,o)}}var Hv=function(e){Yz(r,e);var t=qz(r);function r(n){zz(this,r);var o;return o=t.call(this,n),o.props=new Dt(n==null?void 0:n.props),o}return Gz(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(D);Hv.controlFieldType=c.FieldTypes.FILE;var pP={Designer:Lt,Runtime:Hv,Property:Dt};function Uz(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 bP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kz(e,t,r){return t&&bP(e.prototype,t),r&&bP(e,r),e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(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&&qv(e,t)}function Jz(e,t){return t&&(Qz(t)==="object"||typeof t=="function")?t:Uz(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}var Qz=function(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 eG(e){var t=Zz();return function(){var n=du(e),o;if(t){var u=du(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Jz(this,o)}}var Uv=function(e){Xz(r,e);var t=eG(r);function r(n){Wz(this,r);var o,u,f;o=t.call(this,n),o.props.showType="image";var a;o.props.caption=(a=n==null||(u=n.props)===null||u===void 0?void 0:u.caption)!==null&&a!==void 0?a:r.controlName;var l;return o.props.placeholder=(l=n==null||(f=n.props)===null||f===void 0?void 0:f.placeholder)!==null&&l!==void 0?l:"\u4E0A\u4F20\u56FE\u7247",o}return Kz(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(Lt);Uv.controlFieldType=c.FieldTypes.IMAGE,Uv.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 tG(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 OP(e,t){for(var r=0;r<t.length;r++){var 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&&OP(e.prototype,t),r&&OP(e,r),e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(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&&Wv(e,t)}function iG(e,t){return t&&(uG(t)==="object"||typeof t=="function")?t:tG(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}var uG=function(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 fG(e){var t=cG();return function(){var n=hu(e),o;if(t){var u=hu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return iG(this,o)}}var aG=function(e){oG(r,e);var t=fG(r);function r(n){nG(this,r);var o,u,f,a;o=t.call(this,n),o.props.showType="image";var l;o.props.maxLimit=(l=n==null||(u=n.props)===null||u===void 0?void 0:u.maxLimit)!==null&&l!==void 0?l:9;var s;o.props.caption=(s=n==null||(f=n.props)===null||f===void 0?void 0:f.caption)!==null&&s!==void 0?s:"\u56FE\u7247";var y;return o.props.placeholder=(y=n==null||(a=n.props)===null||a===void 0?void 0:a.placeholder)!==null&&y!==void 0?y:"\u4E0A\u4F20\u56FE\u7247",o}return rG(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(Hv);function lG(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 _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(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&&Kv(e,t)}function vG(e,t){return t&&(dG(t)==="object"||typeof t=="function")?t:lG(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}var dG=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _G(e){var t=hG();return function(){var n=_u(e),o;if(t){var u=_u(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return vG(this,o)}}var pG=function(e){yG(r,e);var t=_G(r);function r(n){return sG(this,r),t.call(this,n)}return r}(Dt),gP={Designer:Uv,Runtime:aG,Property:pG};function bG(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 OG(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 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&&Qv(e,t)}function gG(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){OG(e,o,r[o])})}return e}function mG(e,t){return t&&(PG(t)==="object"||typeof t=="function")?t:bG(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}var PG=function(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 Zv(e){var t=RG();return function(){var n=pu(e),o;if(t){var u=pu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return mG(this,o)}}var wG=function(e){Jv(r,e);var t=Zv(r);function r(n){Xv(this,r);var o;o=t.call(this,n),o.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:p.getMessage("pleaseEnterNumberRange")}]}},o.rangeMax={type:"any"};var u=n.rangeMax===""?void 0:n.rangeMax,f=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=u,o.defaultValue.fields.amount[0].min=f,o.defaultValue.fields.amount[0].message=p.getMessage("pleaseEnterNumberRange",{max:u,min:f}),f&&u!==void 0&&(o.rangeMax={type:"number",min:f,message:p.getMessage("numberRangeSetError")}),o}return r}(Qe),TG=function(e){Jv(r,e);var t=Zv(r);function r(n){Xv(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="object");var u=n.rangeMax===""?void 0:n.rangeMax,f=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[gG({},o[0],{type:"number"}),{type:"number",min:f,max:u,message:p.getMessage(u===void 0?"pleaseEnterAValueGreaterThanMin":f===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:u,min:f})}],currency:{type:"string"}}}),o}return r}(z),Dn=function(e){Jv(r,e);var t=Zv(r);function r(n){Xv(this,r);var o;o=t.call(this,n);var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var f;o.rangeMax=(f=n==null?void 0:n.rangeMax)!==null&&f!==void 0?f:"";var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"datasource";var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var s;o.precision=(s=n==null?void 0:n.precision)!==null&&s!==void 0?s:2,o.dataBind=new bO(n==null?void 0:n.dataBind);var y;o.datasourceBind=new Q((y=n==null?void 0:n.datasourceBind)!==null&&y!==void 0?y:{displayBoList:[new gr({value:"name"})]});var v;o.defaultValue=new OO((v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:{amount:"",currency:c.AMOUNT_TYPE.CNY}),o.options=we(n==null?void 0:n.options);var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Ln.controlName;var h;o.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"\u8BF7\u8F93\u5165";var O;o.submitSelectCurrency=(O=n==null?void 0:n.submitSelectCurrency)!==null&&O!==void 0?O:!1;var b;return o.showUpperCase=(b=n==null?void 0:n.showUpperCase)!==null&&b!==void 0?b:!1,o}return r}(A);Dn.Rules=wG,Dn.RuntimeRules=TG;function $G(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 mP(e,t){for(var r=0;r<t.length;r++){var 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&&mP(e.prototype,t),r&&mP(e,r),e}function bu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?bu=Reflect.get:bu=function(o,u,f){var a=NG(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},bu(e,t,r||e)}function Ft(e){return Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ft(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&&ed(e,t)}function CG(e,t){return t&&(kG(t)==="object"||typeof t=="function")?t:$G(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ed(e,t)}function NG(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ft(e),e!==null););return e}var kG=function(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 jG(e){var t=BG();return function(){var n=Ft(e),o;if(t){var u=Ft(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return CG(this,o)}}var Ln=function(e){IG(r,e);var t=jG(r);function r(n){SG(this,r);var o;return o=t.call(this,n),o.props=new Dn(n==null?void 0:n.props),o}return EG(r,[{key:"toDataBindModel",value:function(o){var u=bu(Ft(r.prototype),"toDataBindModel",this).call(this,o);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(M);Ln.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ln.controlFieldType=c.FieldTypes.MONEY,Ln.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 AG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DG(e,t,r){return t&&PP(e.prototype,t),r&&PP(e,r),e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function LG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&td(e,t)}function FG(e,t){return t&&(zG(t)==="object"||typeof t=="function")?t:AG(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(e,t)}var zG=function(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 YG(e){var t=GG();return function(){var n=Ou(e),o;if(t){var u=Ou(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return FG(this,o)}}var RP=function(e){LG(r,e);var t=YG(r);function r(n){MG(this,r);var o;return o=t.call(this,n),o.props=new Dn(n==null?void 0:n.props),o}return DG(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(D);RP.controlFieldType=c.FieldTypes.MONEY;var wP={Designer:Ln,Runtime:RP,Property:Dn};function xG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function rd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 VG(e,t){return t&&(HG(t)==="object"||typeof t=="function")?t:xG(e)}function od(e,t){return od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},od(e,t)}var HG=function(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 id(e){var t=qG();return function(){var n=gu(e),o;if(t){var u=gu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return VG(this,o)}}var UG=function(e){rd(r,e);var t=id(r);function r(n){nd(this,r);var o;return o=t.call(this,n),o.totalScore=[{type:"number",required:!0,message:p.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:p.getMessage("theTotalScoreMustNotBeLessThan1")}],o.defaultValue={type:"number",min:0,max:5,message:p.getMessage("scoreDefaultValueRange")},o.defaultValue.max=n.totalScore,o.defaultValue.message=p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(ne),WG=function(e){rd(r,e);var t=id(r);function r(n){nd(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var u=n.required?1:0;return o.push({type:"number",min:u,max:n.totalScore,message:p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:u})}),o}return r}(z),Fn=function(e){rd(r,e);var t=id(r);function r(n){nd(this,r);var o,u;o=t.call(this,n);var f;o.totalScore=(f=n==null?void 0:n.totalScore)!==null&&f!==void 0?f:5;var a;o.scoreType=(a=n==null?void 0:n.scoreType)!==null&&a!==void 0?a:c.SCORE_TYPE.STAR;var l;o.isShowExplain=(l=n==null?void 0:n.isShowExplain)!==null&&l!==void 0?l:!0;var s;o.explain=(s=n==null||(u=n.explain)===null||u===void 0?void 0:u.map(function(d){return new io(d)}))!==null&&s!==void 0?s:Array(o.totalScore).fill(void 0).map(function(){return new io});var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:0;var v;return o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:zn.controlName,o}return r}(A);Fn.Rules=UG,Fn.RuntimeRules=WG;function ud(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 KG(e){if(Array.isArray(e))return ud(e)}function XG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QG(e,t,r){return t&&TP(e.prototype,t),r&&TP(e,r),e}function mu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?mu=Reflect.get:mu=function(o,u,f){var a=rY(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},mu(e,t,r||e)}function zt(e){return zt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zt(e)}function ZG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cd(e,t)}function eY(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tY(){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 nY(e,t){return t&&(iY(t)==="object"||typeof t=="function")?t:XG(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}function rY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zt(e),e!==null););return e}function oY(e){return KG(e)||eY(e)||uY(e)||tY()}var iY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uY(e,t){if(!!e){if(typeof e=="string")return ud(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 ud(e,t)}}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 fY(e){var t=cY();return function(){var n=zt(e),o;if(t){var u=zt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return nY(this,o)}}var zn=function(e){ZG(r,e);var t=fY(r);function r(n){JG(this,r);var o;return o=t.call(this,n),o.props=new Fn(n==null?void 0:n.props),o}return QG(r,[{key:"postUpdate",value:function(o,u){if(o==="totalScore"){if(u===this.props.explain.length)return;if(this.props.explain.length>u)this.props.explain=this.props.explain.slice(0,u);else{var f,a=u-this.props.explain.length,l=Array(a).fill(void 0).map(function(){return new io});(f=this.props.explain).push.apply(f,oY(l))}}mu(zt(r.prototype),"postUpdate",this).call(this,o,u)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(M);zn.controlEventKeys=["on_change","on_click"],zn.controlFieldType=c.FieldTypes.DECIMAL,zn.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 aY(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 $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 sY(e,t,r){return t&&$P(e.prototype,t),r&&$P(e,r),e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(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&&fd(e,t)}function vY(e,t){return t&&(dY(t)==="object"||typeof t=="function")?t:aY(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fd(e,t)}var dY=function(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 _Y(e){var t=hY();return function(){var n=Pu(e),o;if(t){var u=Pu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return vY(this,o)}}var SP=function(e){yY(r,e);var t=_Y(r);function r(n){lY(this,r);var o;return o=t.call(this,n),o.props=new Fn(n==null?void 0:n.props),o}return sY(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(D);SP.controlFieldType=c.FieldTypes.DECIMAL;var EP={Designer:zn,Runtime:SP,Property:Fn};function pY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(e)}function CP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ad(e,t)}function bY(e,t){return t&&(OY(t)==="object"||typeof t=="function")?t:pY(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}var OY=function(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 NP(e){var t=gY();return function(){var n=Ru(e),o;if(t){var u=Ru(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bY(this,o)}}var mY=function(e){CP(r,e);var t=NP(r);function r(n){IP(this,r);var o;if(o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var u={type:"object",fields:{province:{type:"string",required:n.required,message:p.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(u.fields.city={type:"string",required:n.required,message:p.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(u.fields.district={type:"string",required:n.required,message:p.getMessage("pleaseSelectDistrict")}),o.push(u)}return o}return r}(z),wu=function(e){CP(r,e);var t=NP(r);function r(n){IP(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:$u.controlName;var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"default";var a;o.addressType=(a=n==null?void 0:n.addressType)!==null&&a!==void 0?a:["province","city","district"];var l;o.defaultValue=new PO((l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:{});var s;return o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(A);wu.RuntimeRules=mY;function PY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kP(e,t){for(var r=0;r<t.length;r++){var 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&&kP(e.prototype,t),r&&kP(e,r),e}function Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(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&&ld(e,t)}function $Y(e,t){return t&&(SY(t)==="object"||typeof t=="function")?t:PY(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}var SY=function(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 IY(e){var t=EY();return function(){var n=Tu(e),o;if(t){var u=Tu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $Y(this,o)}}var $u=function(e){TY(r,e);var t=IY(r);function r(n){RY(this,r);var o;return o=t.call(this,n),o.props=new wu(n==null?void 0:n.props),o}return wY(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(M);$u.controlFieldType=c.FieldTypes.ADDRESS,$u.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 CY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kY(e,t,r){return t&&BP(e.prototype,t),r&&BP(e,r),e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function BY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function jY(e,t){return t&&(AY(t)==="object"||typeof t=="function")?t:CY(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}var AY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=MY();return function(){var n=Su(e),o;if(t){var u=Su(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return jY(this,o)}}var jP=function(e){BY(r,e);var t=DY(r);function r(n){NY(this,r);var o;return o=t.call(this,n),o.props=new wu(n==null?void 0:n.props),o}return kY(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);jP.controlFieldType=c.FieldTypes.ADDRESS;var AP={Designer:$u,Runtime:jP,Property:wu};function LY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function DP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FY(e,t){return t&&(zY(t)==="object"||typeof t=="function")?t:LY(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}var zY=function(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 LP(e){var t=GY();return function(){var n=Eu(e),o;if(t){var u=Eu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return FY(this,o)}}var YY=function(e){DP(r,e);var t=LP(r);function r(n){MP(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(z),Iu=function(e){DP(r,e);var t=LP(r);function r(n){MP(this,r);var o;o=t.call(this,n);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.range=(a=n==null?void 0:n.range)!==null&&a!==void 0?a:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var s;o.rangeOptions=(s=n==null?void 0:n.rangeOptions)!==null&&s!==void 0?s:[];var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:[];var v;o.displayLevel=(v=n==null?void 0:n.displayLevel)!==null&&v!==void 0?v:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Gn.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var _;(_=o.multistageFilling)===null||_===void 0||_.push(new ce(g))})),o}return r}(A);Iu.RuntimeRules=YY;function xY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HY(e,t,r){return t&&FP(e.prototype,t),r&&FP(e,r),e}function Cu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Cu=Reflect.get:Cu=function(o,u,f){var a=WY(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Cu(e,t,r||e)}function Gt(e){return Gt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gt(e)}function qY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function UY(e,t){return t&&(KY(t)==="object"||typeof t=="function")?t:xY(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vd(e,t)}function WY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gt(e),e!==null););return e}var KY=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function XY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JY(e){var t=XY();return function(){var n=Gt(e),o;if(t){var u=Gt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return UY(this,o)}}var Gn=function(e){qY(r,e);var t=JY(r);function r(n){VY(this,r);var o;return o=t.call(this,n),o.props=new Iu(n==null?void 0:n.props),o}return HY(r,[{key:"toDataBindModel",value:function(o){var u=Cu(Gt(r.prototype),"toDataBindModel",this).call(this,o);if(u&&!Array.isArray(u)){var f=this.props,a=f.displayLevel,l=f.showSubDept;u.props.displayLevel=a,u.props.showSubDept=l}return u}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(M);Gn.controlName="\u90E8\u95E8",Gn.controlFieldType=c.FieldTypes.DEPARTMENTS,Gn.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 QY(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZY(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 ex(e,t,r){return t&&zP(e.prototype,t),r&&zP(e,r),e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(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&&dd(e,t)}function nx(e,t){return t&&(rx(t)==="object"||typeof t=="function")?t:QY(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(e,t)}var rx=function(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=Nu(e),o;if(t){var u=Nu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return nx(this,o)}}var GP=function(e){tx(r,e);var t=ix(r);function r(n){ZY(this,r);var o;return o=t.call(this,n),o.props=new Iu(n==null?void 0:n.props),o}return ex(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(D);GP.controlFieldType=c.FieldTypes.DEPARTMENTS;var YP={Designer:Gn,Runtime:GP,Property:Iu};function ux(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 ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(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&&hd(e,t)}function ax(e,t){return t&&(lx(t)==="object"||typeof t=="function")?t:ux(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hd(e,t)}var lx=function(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 yx(e){var t=sx();return function(){var n=ku(e),o;if(t){var u=ku(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ax(this,o)}}var _d=function(e){fx(r,e);var t=yx(r);function r(n){cx(this,r);var o;o=t.call(this,n);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:"";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Yn.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(A);function vx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dx(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 hx(e,t,r){return t&&xP(e.prototype,t),r&&xP(e,r),e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(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&&pd(e,t)}function px(e,t){return t&&(bx(t)==="object"||typeof t=="function")?t:vx(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(e,t)}var bx=function(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 gx(e){var t=Ox();return function(){var n=Bu(e),o;if(t){var u=Bu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return px(this,o)}}var Yn=function(e){_x(r,e);var t=gx(r);function r(n){dx(this,r);var o;return o=t.call(this,n),o.props=new _d(n==null?void 0:n.props),o}return hx(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}(M);Yn.controlEventKeys=["on_change"],Yn.controlFieldType=c.FieldTypes.AUTO_NUMBER,Yn.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 mx(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 VP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rx(e,t,r){return t&&VP(e.prototype,t),r&&VP(e,r),e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function wx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bd(e,t)}function Tx(e,t){return t&&($x(t)==="object"||typeof t=="function")?t:mx(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}var $x=function(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=ju(e),o;if(t){var u=ju(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Tx(this,o)}}var HP=function(e){wx(r,e);var t=Ex(r);function r(n){Px(this,r);var o;return o=t.call(this,n),o.props=new _d(n==null?void 0:n.props),o}return Rx(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(D);HP.controlFieldType=c.FieldTypes.AUTO_NUMBER;var qP={Designer:Yn,Runtime:HP,Property:_d};function Ix(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Od(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function gd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&md(e,t)}function Cx(e,t){return t&&(Nx(t)==="object"||typeof t=="function")?t:Ix(e)}function md(e,t){return md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},md(e,t)}var Nx=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pd(e){var t=kx();return function(){var n=Au(e),o;if(t){var u=Au(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Cx(this,o)}}var Bx=function(e){gd(r,e);var t=Pd(r);function r(n){Od(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}(ne),jx=function(e){gd(r,e);var t=Pd(r);function r(n){Od(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:p.getMessage("isNotObject"),fields:{result:[{type:"number",message:p.getMessage("isNotNumber")}],unit:{type:"string",message:p.getMessage("isNotString")}}}),o}return r}(z),xn=function(e){gd(r,e);var t=Pd(r);function r(n){Od(this,r);var o;o=t.call(this,n);var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!1;var a;o.showUpperCase=(a=n==null?void 0:n.showUpperCase)!==null&&a!==void 0?a:!1,o.dataBind=new RO(n==null?void 0:n.dataBind),o.defaultValue=new wO(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Vn.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u8F93\u5165";var y;o.scriptEcho=(y=n==null?void 0:n.scriptEcho)!==null&&y!==void 0?y:[];var v;return o.scriptSrc=(v=n==null?void 0:n.scriptSrc)!==null&&v!==void 0?v:"",o}return r}(A);xn.Rules=Bx,xn.RuntimeRules=jx;function Ax(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Dx(e,t,r){return t&&UP(e.prototype,t),r&&UP(e,r),e}function Mu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Mu=Reflect.get:Mu=function(o,u,f){var a=zx(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Mu(e,t,r||e)}function Yt(e){return Yt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yt(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&&Rd(e,t)}function Fx(e,t){return t&&(Gx(t)==="object"||typeof t=="function")?t:Ax(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}function zx(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yt(e),e!==null););return e}var Gx=function(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 xx(e){var t=Yx();return function(){var n=Yt(e),o;if(t){var u=Yt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Fx(this,o)}}var Vn=function(e){Lx(r,e);var t=xx(r);function r(n){Mx(this,r);var o;return o=t.call(this,n),o.props=new xn(n==null?void 0:n.props),o}return Dx(r,[{key:"toDataBindModel",value:function(o){var u=Mu(Yt(r.prototype),"toDataBindModel",this).call(this,o);if(u&&!Array.isArray(u)){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(M);Vn.controlEventKeys=["on_change"],Vn.controlFieldType=c.FieldTypes.CALC,Vn.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 Vx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qx(e,t,r){return t&&WP(e.prototype,t),r&&WP(e,r),e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(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&&wd(e,t)}function Wx(e,t){return t&&(Kx(t)==="object"||typeof t=="function")?t:Vx(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wd(e,t)}var Kx=function(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 Jx(e){var t=Xx();return function(){var n=Du(e),o;if(t){var u=Du(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Wx(this,o)}}var KP=function(e){Ux(r,e);var t=Jx(r);function r(n){Hx(this,r);var o;return o=t.call(this,n),o.props=new xn(n==null?void 0:n.props),o}return qx(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(D);KP.controlFieldType=c.FieldTypes.CALC;var XP={Designer:Vn,Runtime:KP,Property:xn};function Qx(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(e)}function QP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Td(e,t)}function Zx(e,t){return t&&(eV(t)==="object"||typeof t=="function")?t:Qx(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}var eV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZP(e){var t=tV();return function(){var n=Lu(e),o;if(t){var u=Lu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Zx(this,o)}}var nV=function(e){QP(r,e);var t=ZP(r);function r(n){JP(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(f,a){if(n.required){var l=a.every(function(s){return!s});return l?Promise.reject(p.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(z),Fu=function(e){QP(r,e);var t=ZP(r);function r(n){JP(this,r);var o;o=t.call(this,n);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var f;o.rangeMin=(f=n==null?void 0:n.rangeMin)!==null&&f!==void 0?f:"";var a;o.rangeMax=(a=n==null?void 0:n.rangeMax)!==null&&a!==void 0?a:"";var l;o.placeholderStart=(l=n==null?void 0:n.placeholderStart)!==null&&l!==void 0?l:"\u6700\u5C0F\u503C";var s;o.placeholderEnd=(s=n==null?void 0:n.placeholderEnd)!==null&&s!==void 0?s:"\u6700\u5927\u503C";var y;return o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Gu.controlName,o}return r}(A);Fu.RuntimeRules=nV;function rV(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 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 iV(e,t,r){return t&&eR(e.prototype,t),r&&eR(e,r),e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(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&&$d(e,t)}function cV(e,t){return t&&(fV(t)==="object"||typeof t=="function")?t:rV(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}var fV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=aV();return function(){var n=zu(e),o;if(t){var u=zu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return cV(this,o)}}var Gu=function(e){uV(r,e);var t=lV(r);function r(n){oV(this,r);var o;return o=t.call(this,n),o.props=new Fu(n==null?void 0:n.props),o}return iV(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}(M);Gu.controlFieldType=c.FieldTypes.DECIMAL_RANGE,Gu.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 sV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vV(e,t,r){return t&&tR(e.prototype,t),r&&tR(e,r),e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(e)}function dV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sd(e,t)}function hV(e,t){return t&&(_V(t)==="object"||typeof t=="function")?t:sV(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}var _V=function(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 bV(e){var t=pV();return function(){var n=Yu(e),o;if(t){var u=Yu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hV(this,o)}}var nR=function(e){dV(r,e);var t=bV(r);function r(n){yV(this,r);var o;return o=t.call(this,n),o.props=new Fu(n==null?void 0:n.props),o}return vV(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(D);nR.controlFieldType=c.FieldTypes.DECIMAL_RANGE;var rR={Designer:Gu,Runtime:nR,Property:Fu};function OV(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 xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(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&&Ed(e,t)}function gV(e,t){return t&&(mV(t)==="object"||typeof t=="function")?t:OV(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}var mV=function(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 uR(e){var t=PV();return function(){var n=xu(e),o;if(t){var u=xu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return gV(this,o)}}var RV=function(e){iR(r,e);var t=uR(r);function r(n){oR(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(z),Vu=function(e){iR(r,e);var t=uR(r);function r(n){oR(this,r);var o,u;o=t.call(this,n);var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:["",""];var a;o.dateType=(a=n==null?void 0:n.dateType)!==null&&a!==void 0?a:c.DateType.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var s;o.commonTimeSetting=(s=n==null?void 0:n.commonTimeSetting)!==null&&s!==void 0?s:[];var y;o.setValueType=(y=n==null?void 0:n.setValueType)!==null&&y!==void 0?y:"custom";var v;o.rangeMin=(v=n==null?void 0:n.rangeMin)!==null&&v!==void 0?v:"";var d;o.rangeMax=(d=n==null?void 0:n.rangeMax)!==null&&d!==void 0?d:"";var h;o.placeholderStart=(h=n==null?void 0:n.placeholderStart)!==null&&h!==void 0?h:"\u5F00\u59CB\u65E5\u671F";var O;o.placeholderEnd=(O=n==null?void 0:n.placeholderEnd)!==null&&O!==void 0?O:"\u7ED3\u675F\u65E5\u671F";var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:qu.controlName;var g;return o.limitDateList=(g=n==null||(u=n.limitDateList)===null||u===void 0?void 0:u.map(function(_){return new oo(_)}))!==null&&g!==void 0?g:[],o}return r}(A);Vu.RuntimeRules=RV;function wV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TV(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 $V(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function SV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Id(e,t)}function EV(e,t){return t&&(IV(t)==="object"||typeof t=="function")?t:wV(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}var IV=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NV(e){var t=CV();return function(){var n=Hu(e),o;if(t){var u=Hu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return EV(this,o)}}var qu=function(e){SV(r,e);var t=NV(r);function r(n){TV(this,r);var o;return o=t.call(this,n),o.props=new Vu(n==null?void 0:n.props),o}return $V(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}(M);qu.controlFieldType=c.FieldTypes.ARRAY,qu.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 kV(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 fR(e,t){for(var r=0;r<t.length;r++){var 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&&fR(e.prototype,t),r&&fR(e,r),e}function Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function AV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function MV(e,t){return t&&(DV(t)==="object"||typeof t=="function")?t:kV(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}var DV=function(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 FV(e){var t=LV();return function(){var n=Uu(e),o;if(t){var u=Uu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return MV(this,o)}}var aR=function(e){AV(r,e);var t=FV(r);function r(n){BV(this,r);var o;return o=t.call(this,n),o.props=new Vu(n==null?void 0:n.props),o}return jV(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(D);aR.controlFieldType=c.FieldTypes.ARRAY;var lR={Designer:qu,Runtime:aR,Property:Vu};function zV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(e)}function kd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GV(e,t){return t&&(YV(t)==="object"||typeof t=="function")?t:zV(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}var YV=function(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 jd(e){var t=xV();return function(){var n=Wu(e),o;if(t){var u=Wu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return GV(this,o)}}var VV=function(e){kd(r,e);var t=jd(r);function r(n){Nd(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ne),HV=function(e){kd(r,e);var t=jd(r);function r(n){Nd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(z),Hn=function(e){kd(r,e);var t=jd(r);function r(n){Nd(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:qn.controlName;var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:void 0;var a;o.controlExportName=(a=n==null?void 0:n.controlExportName)!==null&&a!==void 0?a:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var s;return o.isInlineEdit=(s=n==null?void 0:n.isInlineEdit)!==null&&s!==void 0?s:!1,o}return r}(A);Hn.Rules=VV,Hn.RuntimeRules=HV;function qV(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 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 WV(e,t,r){return t&&sR(e.prototype,t),r&&sR(e,r),e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(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&&Ad(e,t)}function XV(e,t){return t&&(JV(t)==="object"||typeof t=="function")?t:qV(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}var JV=function(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=Ku(e),o;if(t){var u=Ku(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return XV(this,o)}}var qn=function(e){KV(r,e);var t=ZV(r);function r(n){UV(this,r);var o;return o=t.call(this,n),o.props=new Hn(n==null?void 0:n.props),o}return WV(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}(M);qn.controlFieldType=c.FieldTypes.ANY,qn.controlEventKeys=[],qn.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 eH(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 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 nH(e,t,r){return t&&yR(e.prototype,t),r&&yR(e,r),e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(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&&Md(e,t)}function oH(e,t){return t&&(iH(t)==="object"||typeof t=="function")?t:eH(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}var iH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cH(e){var t=uH();return function(){var n=Xu(e),o;if(t){var u=Xu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return oH(this,o)}}var vR=function(e){rH(r,e);var t=cH(r);function r(n){tH(this,r);var o;return o=t.call(this,n),o.props=new Hn(n==null?void 0:n.props),o}return nH(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(D);vR.controlFieldType=c.FieldTypes.ANY;var dR={Designer:qn,Runtime:vR,Property:Hn};function fH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(e)}function _R(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dd(e,t)}function aH(e,t){return t&&(lH(t)==="object"||typeof t=="function")?t:fH(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(e,t)}var lH=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function sH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pR(e){var t=sH();return function(){var n=Ju(e),o;if(t){var u=Ju(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return aH(this,o)}}var yH=function(e){_R(r,e);var t=pR(r);function r(n){hR(this,r);var o;return o=t.call(this,n),o.listPageBind=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}]}}],o}return r}(Qe),Qu=function(e){_R(r,e);var t=pR(r);function r(n){hR(this,r);var o;o=t.call(this,n);var u;o.options=we((u=n==null?void 0:n.options)!==null&&u!==void 0?u:[]);var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"datasource",o.listPageBind=new br(n==null?void 0:n.listPageBind),o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Un.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1;var v;o.showSelectedDetail=(v=n==null?void 0:n.showSelectedDetail)!==null&&v!==void 0?v:!1,o.selectedContentConfig=new mr(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new ce(O))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var h;return o.viewFormModelType=(h=n==null?void 0:n.viewFormModelType)!==null&&h!==void 0?h:"window",o.formBind=new Je(n==null?void 0:n.formBind),o}return r}(A);Qu.Rules=yH;function vH(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 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 hH(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(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&&Ld(e,t)}function pH(e,t){return t&&(bH(t)==="object"||typeof t=="function")?t:vH(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}var bH=function(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 gH(e){var t=OH();return function(){var n=Zu(e),o;if(t){var u=Zu(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return pH(this,o)}}var Un=function(e){_H(r,e);var t=gH(r);function r(n){dH(this,r);var o;return o=t.call(this,n),o.props=new Qu(n==null?void 0:n.props),o}return hH(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}(M);Un.controlFieldType=c.FieldTypes.VARCHAR,Un.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}],Un.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];function mH(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 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 RH(e,t,r){return t&&OR(e.prototype,t),r&&OR(e,r),e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(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&&Fd(e,t)}function TH(e,t){return t&&($H(t)==="object"||typeof t=="function")?t:mH(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}var $H=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EH(e){var t=SH();return function(){var n=ec(e),o;if(t){var u=ec(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return TH(this,o)}}var gR=function(e){wH(r,e);var t=EH(r);function r(n){PH(this,r);var o;return o=t.call(this,n),o.props=new Qu(n==null?void 0:n.props),o}return RH(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(D);gR.controlFieldType=c.FieldTypes.VARCHAR;var mR={Designer:Un,Runtime:gR,Property:Qu};function IH(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 tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function NH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function kH(e,t){return t&&(BH(t)==="object"||typeof t=="function")?t:IH(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}var BH=function(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=tc(e),o;if(t){var u=tc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kH(this,o)}}var Gd=function(e){NH(r,e);var t=AH(r);function r(n){return CH(this,r),t.call(this,n)}return r}(kt);function MH(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 PR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LH(e,t,r){return t&&PR(e.prototype,t),r&&PR(e,r),e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(e)}function FH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yd(e,t)}function zH(e,t){return t&&(GH(t)==="object"||typeof t=="function")?t:MH(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yd(e,t)}var GH=function(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 xH(e){var t=YH();return function(){var n=nc(e),o;if(t){var u=nc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return zH(this,o)}}var RR=function(e){FH(r,e);var t=xH(r);function r(n){DH(this,r);var o;return o=t.call(this,n),o.props=new Gd(n==null?void 0:n.props),o}return LH(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(Bt);RR.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 VH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HH(e,t){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 qH(e,t,r){return t&&wR(e.prototype,t),r&&wR(e,r),e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(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&&xd(e,t)}function WH(e,t){return t&&(KH(t)==="object"||typeof t=="function")?t:VH(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}var KH=function(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=rc(e),o;if(t){var u=rc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return WH(this,o)}}var TR=function(e){UH(r,e);var t=JH(r);function r(n){HH(this,r);var o;return o=t.call(this,n),o.props=new Gd(n==null?void 0:n.props),o}return qH(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(D);TR.controlFieldType=c.FieldTypes.VARCHAR;var $R={Designer:RR,Runtime:TR,Property:Gd};function SR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function Hd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function QH(e,t){return t&&(ZH(t)==="object"||typeof t=="function")?t:SR(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}var ZH=function(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 Ud(e){var t=eq();return function(){var n=oc(e),o;if(t){var u=oc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return QH(this,o)}}var tq=function(e){Hd(r,e);var t=Ud(r);function r(n){Vd(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")}],sn.call(SR(o),n,Fe.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:p.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:p.getMessage("rootNodeIsRequired")}}}]),o}return r}(ne),nq=function(e){Hd(r,e);var t=Ud(r);function r(n){Vd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(z),Wn=function(e){Hd(r,e);var t=Ud(r);function r(n){Vd(this,r);var o,u;o=t.call(this,n),o.optionConfig="datasource";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Fe.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var s;o.canSearch=(s=n==null?void 0:n.canSearch)!==null&&s!==void 0?s:!0;var y;o.levelType=(y=n==null?void 0:n.levelType)!==null&&y!==void 0?y:"all";var v;o.optionalLevel=(v=n==null?void 0:n.optionalLevel)!==null&&v!==void 0?v:1;var d;o.containsSubNode=(d=n==null?void 0:n.containsSubNode)!==null&&d!==void 0?d:!1;var h;o.isShowFilterItem=(h=n==null?void 0:n.isShowFilterItem)!==null&&h!==void 0?h:!1;var O;o.isShowIncludeSub=(O=n==null?void 0:n.isShowIncludeSub)!==null&&O!==void 0?O:!1;var b;o.isDefaultCheckSub=(b=n==null?void 0:n.isDefaultCheckSub)!==null&&b!==void 0?b:!1;var g;o.defaultCollapse=(g=n==null?void 0:n.defaultCollapse)!==null&&g!==void 0?g:"all";var _;o.defaultCollapseLevel=(_=n==null?void 0:n.defaultCollapseLevel)!==null&&_!==void 0?_:1;var P;o.datasourceBind=new wl((P=n==null?void 0:n.datasourceBind)!==null&&P!==void 0?P:{attributes:Fe.controlCustomAttributes});var w;o.filterItemDatasourceBind=new wl((w=n==null?void 0:n.filterItemDatasourceBind)!==null&&w!==void 0?w:{attributes:Fe.controlCustomAttributes});var $;o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1;var S;o.defaultDisplay=(S=n==null?void 0:n.defaultDisplay)!==null&&S!==void 0?S:!1;var E;o.multistageFilling=(E=n==null||(u=n.multistageFilling)===null||u===void 0?void 0:u.map(function(j){return new ce(j)}))!==null&&E!==void 0?E:[];var N;return o.defaultValue=(N=n==null?void 0:n.defaultValue)!==null&&N!==void 0?N:[],o}return r}(A);Wn.Rules=tq,Wn.RuntimeRules=nq;function rq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oq(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 iq(e,t,r){return t&&ER(e.prototype,t),r&&ER(e,r),e}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ic(e)}function uq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wd(e,t)}function cq(e,t){return t&&(fq(t)==="object"||typeof t=="function")?t:rq(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}var fq=function(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 lq(e){var t=aq();return function(){var n=ic(e),o;if(t){var u=ic(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return cq(this,o)}}var Fe=function(e){uq(r,e);var t=lq(r);function r(n){oq(this,r);var o;return o=t.call(this,n),o.props=new Wn(n==null?void 0:n.props),o}return iq(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}(M);Fe.controlEventKeys=["on_change","on_click"],Fe.controlFieldType=c.FieldTypes.ARRAY,Fe.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 sq(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 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 vq(e,t,r){return t&&IR(e.prototype,t),r&&IR(e,r),e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uc(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&&Kd(e,t)}function hq(e,t){return t&&(_q(t)==="object"||typeof t=="function")?t:sq(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}var _q=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=pq();return function(){var n=uc(e),o;if(t){var u=uc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hq(this,o)}}var CR=function(e){dq(r,e);var t=bq(r);function r(n){yq(this,r);var o;return o=t.call(this,n),o.props=new Wn(n==null?void 0:n.props),o}return vq(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(D);CR.controlFieldType=c.FieldTypes.ARRAY;var NR={Designer:Fe,Runtime:CR,Property:Wn};function kR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function Jd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Oq(e,t){return t&&(gq(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)}var gq=function(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 Zd(e){var t=mq();return function(){var n=cc(e),o;if(t){var u=cc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Oq(this,o)}}var Pq=function(e){Jd(r,e);var t=Zd(r);function r(n){Xd(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")}],o.externalScope={type:"any"},sn.call(kR(o),n,xt.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:p.getMessage("pleaseAssignExternal")}),o}return r}(ne),Rq=function(e){Jd(r,e);var t=Zd(r);function r(n){Xd(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(z),Kn=function(e){Jd(r,e);var t=Zd(r);function r(n){Xd(this,r);var o;o=t.call(this,n);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var s;o.defaultValueType=(s=n==null?void 0:n.defaultValueType)!==null&&s!==void 0?s:"none";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:[];var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:xt.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 h;o.datasourceBind=new un((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:xt.controlCustomAttributes});var O;o.datasourceType=(O=n==null?void 0:n.datasourceType)!==null&&O!==void 0?O:c.OrganizeType.INTERNAL;var b;o.insideType=(b=n==null?void 0:n.insideType)!==null&&b!==void 0?b:c.InternalType.ADMIN;var g;o.externalType=(g=n==null?void 0:n.externalType)!==null&&g!==void 0?g:c.AssignType.ALL;var _;o.externalScope=(_=n==null?void 0:n.externalScope)!==null&&_!==void 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(w){var $;($=o.multistageFilling)===null||$===void 0||$.push(new ce(w))})),o}return r}(A);Kn.Rules=Pq,Kn.RuntimeRules=Rq;function wq(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 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 $q(e,t,r){return t&&BR(e.prototype,t),r&&BR(e,r),e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function Sq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function Eq(e,t){return t&&(Iq(t)==="object"||typeof t=="function")?t:wq(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}var Iq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Cq();return function(){var n=fc(e),o;if(t){var u=fc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Eq(this,o)}}var xt=function(e){Sq(r,e);var t=Nq(r);function r(n){Tq(this,r);var o;return o=t.call(this,n),o.props=new Kn(n==null?void 0:n.props),o}return $q(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}(M);xt.controlFieldType=c.FieldTypes.EMPLOYEES,xt.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 kq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 jq(e,t,r){return t&&jR(e.prototype,t),r&&jR(e,r),e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function Aq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function Mq(e,t){return t&&(Dq(t)==="object"||typeof t=="function")?t:kq(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}var Dq=function(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=ac(e),o;if(t){var u=ac(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Mq(this,o)}}var AR=function(e){Aq(r,e);var t=Fq(r);function r(n){Bq(this,r);var o;return o=t.call(this,n),o.props=new Kn(n==null?void 0:n.props),o}return jq(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(D);AR.controlFieldType=c.FieldTypes.EMPLOYEES;var MR={Designer:xt,Runtime:AR,Property:Kn};function zq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(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&&nh(e,t)}function Gq(e,t){return t&&(Yq(t)==="object"||typeof t=="function")?t:zq(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}var Yq=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function xq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FR(e){var t=xq();return function(){var n=lc(e),o;if(t){var u=lc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Gq(this,o)}}var Vq=function(e){LR(r,e);var t=FR(r);function r(n){DR(this,r);var o;return o=t.call(this,n),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(u,f,a){return u[a]={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(s,y,v){if(f.type==="public"&&We(y.value)&&y.value.length===0){v("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}v()}},company:{type:"object",required:!0,validator:function(s,y,v){if(f.type==="public"&&f.signatureType.includes("company")&&We(y.value)&&y.value.length===0){v("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}v()}}}},u},{})}}},o}return r}(ne),sc=function(e){LR(r,e);var t=FR(r);function r(n){DR(this,r);var o;o=t.call(this,n),o.command="",o.isLoading=!1;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Xn.controlName;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:"\u53D1\u8D77\u7B7E\u7F72";var a;o.buttonType=(a=n==null?void 0:n.buttonType)!==null&&a!==void 0?a:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var s;o.color=(s=n==null?void 0:n.color)!==null&&s!==void 0?s:"primary";var y;return o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:"iconfenlei2",o.signatureConfig=new gg(n==null?void 0:n.signatureConfig),o}return r}(A);sc.Rules=Vq;function Hq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qq(e,t){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 Uq(e,t,r){return t&&zR(e.prototype,t),r&&zR(e,r),e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(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&&rh(e,t)}function Kq(e,t){return t&&(Xq(t)==="object"||typeof t=="function")?t:Hq(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}var Xq=function(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=yc(e),o;if(t){var u=yc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Kq(this,o)}}var Xn=function(e){Wq(r,e);var t=Qq(r);function r(n){qq(this,r);var o;return o=t.call(this,n),o.props=new sc(n==null?void 0:n.props),o}return Uq(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}(M);Xn.controlEventKeys=["on_click","on_click_finish"],Xn.controlFieldType=c.FieldTypes.VARCHAR,Xn.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 Zq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eU(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 tU(e,t,r){return t&&GR(e.prototype,t),r&&GR(e,r),e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function nU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rU(e,t){return t&&(oU(t)==="object"||typeof t=="function")?t:Zq(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}var oU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uU(e){var t=iU();return function(){var n=vc(e),o;if(t){var u=vc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return rU(this,o)}}var YR=function(e){nU(r,e);var t=uU(r);function r(n){eU(this,r);var o;return o=t.call(this,n),o.props=new sc(n==null?void 0:n.props),o}return tU(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(D);YR.controlFieldType=c.FieldTypes.VARCHAR;var xR={Designer:Xn,Runtime:YR,Property:sc};function cU(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 dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(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&&ch(e,t)}function fU(e,t){return t&&(aU(t)==="object"||typeof t=="function")?t:cU(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}var aU=function(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 fh(e){var t=lU();return function(){var n=dc(e),o;if(t){var u=dc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return fU(this,o)}}var sU=function(e){uh(r,e);var t=fh(r);function r(n){ih(this,r);var o;return o=t.call(this,n),o.content={type:"string",required:!0,message:p.getMessage("pleaseEnterButtonContent")},o.wpsSetting={type:"object",fields:{watermark:{type:"object",validator:function(f,a,l){if(a.active&&!a.text){l(p.getMessage("pleaseEnterWatermark"));return}l()}},autoRename:{type:"object",validator:function(f,a,l){if(a.active&&!a.text){l(p.getMessage("pleaseEnterFileName"));return}l()}}}},o.canAdd={type:"boolean",validator:function(f,a,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l(p.getMessage("pleaseChooseAtLeastOne"));return}l()}},o}return r}(ne),yU=function(e){uh(r,e);var t=fh(r);function r(n){ih(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(z),Jn=function(e){uh(r,e);var t=fh(r);function r(n){ih(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Qn.controlName;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:"\u65B0\u5EFA\u6587\u6863";var a;o.canAdd=(a=n==null?void 0:n.canAdd)!==null&&a!==void 0?a:!0;var l;o.addLocal=(l=n==null?void 0:n.addLocal)!==null&&l!==void 0?l:!0;var s;o.addOnline=(s=n==null?void 0:n.addOnline)!==null&&s!==void 0?s:!0;var y;o.canEdit=(y=n==null?void 0:n.canEdit)!==null&&y!==void 0?y:!0;var v;o.canDownload=(v=n==null?void 0:n.canDownload)!==null&&v!==void 0?v:!0;var d;o.canExport=(d=n==null?void 0:n.canExport)!==null&&d!==void 0?d:!0;var h;o.canDelete=(h=n==null?void 0:n.canDelete)!==null&&h!==void 0?h:!1;var O;o.maxSize=(O=n==null?void 0:n.maxSize)!==null&&O!==void 0?O:$z;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[],o.wpsSetting=new mg(n==null?void 0:n.wpsSetting);var g;return o.revisionsMode=(g=n==null?void 0:n.revisionsMode)!==null&&g!==void 0?g:!1,o}return r}(A);Jn.Rules=sU,Jn.RuntimeRules=yU;function vU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dU(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 hU(e,t,r){return t&&VR(e.prototype,t),r&&VR(e,r),e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function _U(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function pU(e,t){return t&&(bU(t)==="object"||typeof t=="function")?t:vU(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}var bU=function(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 gU(e){var t=OU();return function(){var n=hc(e),o;if(t){var u=hc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return pU(this,o)}}var Qn=function(e){_U(r,e);var t=gU(r);function r(n){dU(this,r);var o;return o=t.call(this,n),o.props=new Jn(n==null?void 0:n.props),o}return hU(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(M);Qn.controlEventKeys=["on_change","on_wps_open"],Qn.controlFieldType=c.FieldTypes.FILE,Qn.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 mU(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 HR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RU(e,t,r){return t&&HR(e.prototype,t),r&&HR(e,r),e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(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&&lh(e,t)}function TU(e,t){return t&&($U(t)==="object"||typeof t=="function")?t:mU(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lh(e,t)}var $U=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function SU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EU(e){var t=SU();return function(){var n=_c(e),o;if(t){var u=_c(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return TU(this,o)}}var qR=function(e){wU(r,e);var t=EU(r);function r(n){PU(this,r);var o;return o=t.call(this,n),o.props=new Jn(n==null?void 0:n.props),o}return RU(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(D);qR.controlFieldType=c.FieldTypes.FILE;var UR={Designer:Qn,Runtime:qR,Property:Jn};function WR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(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&&vh(e,t)}function IU(e,t){return t&&(CU(t)==="object"||typeof t=="function")?t:WR(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}var CU=function(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 dh(e){var t=NU();return function(){var n=pc(e),o;if(t){var u=pc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return IU(this,o)}}var kU=function(e){yh(r,e);var t=dh(r);function r(n){sh(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")}],o.businessScope={type:"any"},sn.call(WR(o),n,Ze.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return r}(ne),BU=function(e){yh(r,e);var t=dh(r);function r(n){sh(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(z),Zn=function(e){yh(r,e);var t=dh(r);function r(n){sh(this,r);var o;o=t.call(this,n);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.range=(a=n==null?void 0:n.range)!==null&&a!==void 0?a:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var s;o.rangeOptions=(s=n==null?void 0:n.rangeOptions)!==null&&s!==void 0?s:[];var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:[];var v;o.displayLevel=(v=n==null?void 0:n.displayLevel)!==null&&v!==void 0?v:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Ze.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u90E8\u95E8";var b;o.datasourceBind=new un((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Ze.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:c.DepartmentType.INTERNAL;var _;o.businessScope=(_=n==null?void 0:n.businessScope)!==null&&_!==void 0?_:[];var P;o.businessType=(P=n==null?void 0:n.businessType)!==null&&P!==void 0?P:c.AssignType.ALL;var w;return o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var S;(S=o.multistageFilling)===null||S===void 0||S.push(new ce($))})),o}return r}(A);Zn.Rules=kU,Zn.RuntimeRules=BU;function jU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MU(e,t,r){return t&&KR(e.prototype,t),r&&KR(e,r),e}function bc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?bc=Reflect.get:bc=function(o,u,f){var a=FU(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},bc(e,t,r||e)}function Vt(e){return Vt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vt(e)}function DU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 LU(e,t){return t&&(zU(t)==="object"||typeof t=="function")?t:jU(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}function FU(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vt(e),e!==null););return e}var zU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function GU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YU(e){var t=GU();return function(){var n=Vt(e),o;if(t){var u=Vt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return LU(this,o)}}var Ze=function(e){DU(r,e);var t=YU(r);function r(n){AU(this,r);var o;return o=t.call(this,n),o.props=new Zn(n==null?void 0:n.props),o}return MU(r,[{key:"toDataBindModel",value:function(o){var u=bc(Vt(r.prototype),"toDataBindModel",this).call(this,o);if(u&&!Array.isArray(u)){var f=this.props,a=f.displayLevel,l=f.showSubDept;u.props.displayLevel=a,u.props.showSubDept=l}return u}}],[{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}(M);Ze.controlName="\u90E8\u95E8",Ze.controlFieldType=c.FieldTypes.DEPARTMENTS,Ze.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 xU(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 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 HU(e,t,r){return t&&XR(e.prototype,t),r&&XR(e,r),e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(e)}function qU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 UU(e,t){return t&&(WU(t)==="object"||typeof t=="function")?t:xU(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}var WU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function KU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XU(e){var t=KU();return function(){var n=Oc(e),o;if(t){var u=Oc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return UU(this,o)}}var JR=function(e){qU(r,e);var t=XU(r);function r(n){VU(this,r);var o;return o=t.call(this,n),o.props=new Zn(n==null?void 0:n.props),o}return HU(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(D);JR.controlFieldType=c.FieldTypes.DEPARTMENTS;var QR={Designer:Ze,Runtime:JR,Property:Zn};function ZR(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 gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function bh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function JU(e,t){return t&&(QU(t)==="object"||typeof t=="function")?t:ZR(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}var QU=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ZU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gh(e){var t=ZU();return function(){var n=gc(e),o;if(t){var u=gc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return JU(this,o)}}var eW=function(e){bh(r,e);var t=gh(r);function r(n){ph(this,r);var o;return o=t.call(this,n),o.datasourceBind=[{type:"object",message:p.getMessage("isNotObject")}],o.businessScope={type:"any"},sn.call(ZR(o),n,et.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return r}(ne),tW=function(e){bh(r,e);var t=gh(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}(z),er=function(e){bh(r,e);var t=gh(r);function r(n){ph(this,r);var o;o=t.call(this,n);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.range=(a=n==null?void 0:n.range)!==null&&a!==void 0?a:"all",o.listPageBind=new br(n==null?void 0:n.listPageBind);var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var s;o.rangeOptions=(s=n==null?void 0:n.rangeOptions)!==null&&s!==void 0?s:[];var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:[];var v;o.displayLevel=(v=n==null?void 0:n.displayLevel)!==null&&v!==void 0?v:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:et.controlName;var O;o.placeholder=(O=n==null?void 0:n.placeholder)!==null&&O!==void 0?O:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var b;o.datasourceBind=new hO((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:et.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:c.DepartmentType.INTERNAL;var _;o.businessScope=(_=n==null?void 0:n.businessScope)!==null&&_!==void 0?_:[];var P;o.businessType=(P=n==null?void 0:n.businessType)!==null&&P!==void 0?P:c.AssignType.ALL;var w;o.organizingFunction=(w=n==null?void 0:n.organizingFunction)!==null&&w!==void 0?w:void 0;var $;o.organizationView=($=n==null?void 0:n.organizationView)!==null&&$!==void 0?$:void 0;var S;o.showSelectedDetail=(S=n==null?void 0:n.showSelectedDetail)!==null&&S!==void 0?S:!1,o.selectedContentConfig=new mr(n==null?void 0:n.selectedContentConfig);var E;return o.openMultistageFilling=(E=n==null?void 0:n.openMultistageFilling)!==null&&E!==void 0?E:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(N){var j;(j=o.multistageFilling)===null||j===void 0||j.push(new ce(N))})),o}return r}(A);er.Rules=eW,er.RuntimeRules=tW;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 ew(e,t){for(var r=0;r<t.length;r++){var 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&&ew(e.prototype,t),r&&ew(e,r),e}function mc(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?mc=Reflect.get:mc=function(o,u,f){var a=cW(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},mc(e,t,r||e)}function Ht(e){return Ht=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ht(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&&mh(e,t)}function uW(e,t){return t&&(fW(t)==="object"||typeof t=="function")?t:nW(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}function cW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ht(e),e!==null););return e}var fW=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lW(e){var t=aW();return function(){var n=Ht(e),o;if(t){var u=Ht(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return uW(this,o)}}var et=function(e){iW(r,e);var t=lW(r);function r(n){rW(this,r);var o;return o=t.call(this,n),o.props=new er(n==null?void 0:n.props),o}return oW(r,[{key:"toDataBindModel",value:function(o){var u=mc(Ht(r.prototype),"toDataBindModel",this).call(this,o);if(u&&!Array.isArray(u)){var f=this.props,a=f.displayLevel,l=f.showSubDept;u.props.displayLevel=a,u.props.showSubDept=l}return u}}],[{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}(M);et.controlName="\u4E1A\u52A1\u7EC4\u7EC7",et.controlFieldType=c.FieldTypes.DEPARTMENTS,et.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 sW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vW(e,t,r){return t&&tw(e.prototype,t),r&&tw(e,r),e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(e)}function dW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ph(e,t)}function hW(e,t){return t&&(_W(t)==="object"||typeof t=="function")?t:sW(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ph(e,t)}var _W=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function pW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=pW();return function(){var n=Pc(e),o;if(t){var u=Pc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hW(this,o)}}var nw=function(e){dW(r,e);var t=bW(r);function r(n){yW(this,r);var o;return o=t.call(this,n),o.props=new er(n==null?void 0:n.props),o}return vW(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(D);nw.controlFieldType=c.FieldTypes.DEPARTMENTS;var rw={Designer:et,Runtime:nw,Property:er},OW=Object.freeze({__proto__:null,Input:_0,Checkbox:g0,Radio:S0,Number:N0,DatePicker:A0,DateRange:Y0,Textarea:q0,RichText:X0,Select:rP,SelectMultiple:cP,Employee:dP,Image:gP,Attachment:pP,Amount:wP,Score:EP,Address:AP,Department:YP,AutoNumber:qP,Calc:XP,SearchNumberRange:rR,SearchDateRange:lR,VueFormItem:dR,SelectRelation:mR,SearchInput:$R,Tree:NR,Employee2:MR,ElectronicSignature:xR,WPS:UR,Department2:QR,OrganizationSelection:rw});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 ow(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PW(e,t,r){return t&&ow(e.prototype,t),r&&ow(e,r),e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function RW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function wW(e,t){return t&&(TW(t)==="object"||typeof t=="function")?t:gW(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}var TW=function(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 SW(e){var t=$W();return function(){var n=Rc(e),o;if(t){var u=Rc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return wW(this,o)}}var iw=function(e){RW(r,e);var t=SW(r);function r(n){return mW(this,r),t.call(this,n)}return PW(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(Y);iw.excludes=[c.CONTROL_TYPE.GRID];function EW(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 uw(e,t){for(var r=0;r<t.length;r++){var 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&&uw(e.prototype,t),r&&uw(e,r),e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function NW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function kW(e,t){return t&&(BW(t)==="object"||typeof t=="function")?t:EW(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}var BW=function(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 AW(e){var t=jW();return function(){var n=wc(e),o;if(t){var u=wc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kW(this,o)}}var MW=function(e){NW(r,e);var t=AW(r);function r(n){return IW(this,r),t.call(this,n)}return CW(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(H),cw={Designer:iw,Runtime:MW,Property:G};function DW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LW(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 FW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zW(e,t){return t&&(GW(t)==="object"||typeof t=="function")?t:DW(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}var GW=function(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 xW(e){var t=YW();return function(){var n=Tc(e),o;if(t){var u=Tc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return zW(this,o)}}var VW=24,tt=function(e){FW(r,e);var t=xW(r);function r(n){LW(this,r);var o;o=t.call(this,n);var u;o.span=(u=n==null?void 0:n.span)!==null&&u!==void 0?u:VW;var f;return o.offset=(f=n==null?void 0:n.offset)!==null&&f!==void 0?f:0,o}return r}(G);function HW(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 fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UW(e,t,r){return t&&fw(e.prototype,t),r&&fw(e,r),e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(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&&$h(e,t)}function KW(e,t){return t&&(XW(t)==="object"||typeof t=="function")?t:HW(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}var XW=function(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=$c(e),o;if(t){var u=$c(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return KW(this,o)}}var tr=function(e){WW(r,e);var t=QW(r);function r(n){qW(this,r);var o;return o=t.call(this,n),o.props=new tt(n==null?void 0:n.props),o}return UW(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(Y);tr.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],tr.childrenMaxLength=1;function ZW(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 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 tK(e,t,r){return t&&aw(e.prototype,t),r&&aw(e,r),e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function nK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rK(e,t){return t&&(oK(t)==="object"||typeof t=="function")?t:ZW(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}var oK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uK(e){var t=iK();return function(){var n=Sc(e),o;if(t){var u=Sc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return rK(this,o)}}var Eh=function(e){nK(r,e);var t=uK(r);function r(n){eK(this,r);var o;return o=t.call(this,n),o.props=new tt(n==null?void 0:n.props),o}return tK(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(H),Ec={Designer:tr,Runtime:Eh,Property:tt};function cK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fK(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 aK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ih(e,t)}function lK(e,t){return t&&(sK(t)==="object"||typeof t=="function")?t:cK(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}var sK=function(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 vK(e){var t=yK();return function(){var n=Ic(e),o;if(t){var u=Ic(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return lK(this,o)}}var Cc=function(e){aK(r,e);var t=vK(r);function r(n){fK(this,r);var o;o=t.call(this,n);var u;o.layoutMode=(u=n==null?void 0:n.layoutMode)!==null&&u!==void 0?u:"select";var f;return o.gutter=(f=n==null?void 0:n.gutter)!==null&&f!==void 0?f:0,o}return r}(G);function dK(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 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 _K(e,t,r){return t&&lw(e.prototype,t),r&&lw(e,r),e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nc(e)}function pK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ch(e,t)}function bK(e,t){return t&&(OK(t)==="object"||typeof t=="function")?t:dK(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ch(e,t)}var OK=function(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=Nc(e),o;if(t){var u=Nc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bK(this,o)}}var kc=function(e){pK(r,e);var t=mK(r);function r(n){hK(this,r);var o;return o=t.call(this,n),o.props=new Cc(n==null?void 0:n.props),o}return _K(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(Y);kc.excludes=[c.CONTROL_TYPE.ROW],kc.setting=[{key:"col-setting",visible:!0}];function PK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wK(e,t,r){return t&&sw(e.prototype,t),r&&sw(e,r),e}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function TK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nh(e,t)}function $K(e,t){return t&&(SK(t)==="object"||typeof t=="function")?t:PK(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}var SK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function EK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IK(e){var t=EK();return function(){var n=Bc(e),o;if(t){var u=Bc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $K(this,o)}}var yw=function(e){TK(r,e);var t=IK(r);function r(n){RK(this,r);var o;return o=t.call(this,n),o.props=new Cc(n==null?void 0:n.props),o}return wK(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(H),vw={Designer:kc,Runtime:yw,Property:Cc};function CK(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 dw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kK(e,t,r){return t&&dw(e.prototype,t),r&&dw(e,r),e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(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&&kh(e,t)}function jK(e,t){return t&&(AK(t)==="object"||typeof t=="function")?t:CK(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}var AK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function MK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DK(e){var t=MK();return function(){var n=jc(e),o;if(t){var u=jc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return jK(this,o)}}var LK=4,Ac=function(e){BK(r,e);var t=DK(r);function r(n){return NK(this,r),t.call(this,n)}return kK(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}(kc);Ac.excludes=[c.CONTROL_TYPE.GRID_ROW],Ac.setting=[],Ac.childrenMaxLength=LK;function FK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GK(e,t,r){return t&&hw(e.prototype,t),r&&hw(e,r),e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function YK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bh(e,t)}function xK(e,t){return t&&(VK(t)==="object"||typeof t=="function")?t:FK(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}var VK=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function HK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qK(e){var t=HK();return function(){var n=Mc(e),o;if(t){var u=Mc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return xK(this,o)}}var UK=function(e){YK(r,e);var t=qK(r);function r(n){return zK(this,r),t.call(this,n)}return GK(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(yw);function WK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function XK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jh(e,t)}function JK(e,t){return t&&(QK(t)==="object"||typeof t=="function")?t:WK(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}var QK=function(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 eX(e){var t=ZK();return function(){var n=Dc(e),o;if(t){var u=Dc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return JK(this,o)}}var tX=function(e){XK(r,e);var t=eX(r);function r(n){return KK(this,r),t.call(this,n)}return r}(Cc),Ah={Designer:Ac,Runtime:UK,Property:tX};function nX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(e)}function pw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rX(e,t){return t&&(oX(t)==="object"||typeof t=="function")?t:nX(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}var oX=function(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 bw(e){var t=iX();return function(){var n=Lc(e),o;if(t){var u=Lc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return rX(this,o)}}var uX=function(e){pw(r,e);var t=bw(r);function r(){_w(this,r);var n;return n=t.apply(this,arguments),n.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},n}return r}(G.Rules),Fc=function(e){pw(r,e);var t=bw(r);function r(n){_w(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"\u5206\u7EC4";var f;return o.collapse=(f=n==null?void 0:n.collapse)!==null&&f!==void 0?f:"none",o}return r}(G);Fc.Rules=uX;function cX(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 Ow(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aX(e,t,r){return t&&Ow(e.prototype,t),r&&Ow(e,r),e}function zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(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&&Dh(e,t)}function sX(e,t){return t&&(yX(t)==="object"||typeof t=="function")?t:cX(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}var yX=function(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 dX(e){var t=vX();return function(){var n=zc(e),o;if(t){var u=zc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return sX(this,o)}}var Lh=function(e){lX(r,e);var t=dX(r);function r(n){fX(this,r);var o;return o=t.call(this,n),o.props=new Fc(n==null?void 0:n.props),o}return aX(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(Y);Lh.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}],Lh.excludes=[c.CONTROL_TYPE.CARD_GROUP];function hX(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 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 pX(e,t,r){return t&&gw(e.prototype,t),r&&gw(e,r),e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function bX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fh(e,t)}function OX(e,t){return t&&(gX(t)==="object"||typeof t=="function")?t:hX(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}var gX=function(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 PX(e){var t=mX();return function(){var n=Gc(e),o;if(t){var u=Gc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return OX(this,o)}}var RX=function(e){bX(r,e);var t=PX(r);function r(n){_X(this,r);var o;return o=t.call(this,n),o.props=new Fc(n==null?void 0:n.props),o}return pX(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(H),mw={Designer:Lh,Runtime:RX,Property:Fc};function wX(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 Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(e)}function Rw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zh(e,t)}function TX(e,t){return t&&($X(t)==="object"||typeof t=="function")?t:wX(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zh(e,t)}var $X=function(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 ww(e){var t=SX();return function(){var n=Yc(e),o;if(t){var u=Yc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return TX(this,o)}}var EX=function(e){Rw(r,e);var t=ww(r);function r(n){Pw(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o.width={type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")},o.captionTip={type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")},n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(W),xc=function(e){Rw(r,e);var t=ww(r);function r(n){Pw(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var s;return o.isHideCaption=(s=n==null?void 0:n.isHideCaption)!==null&&s!==void 0?s:!1,o.metaAutoWidth=new iO(n==null?void 0:n.metaAutoWidth),o}return r}(G);xc.Rules=EX;function IX(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 Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(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&&Gh(e,t)}function kX(e,t){return t&&(BX(t)==="object"||typeof t=="function")?t:IX(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}var BX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jX();return function(){var n=Vc(e),o;if(t){var u=Vc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kX(this,o)}}var Re=function(e){NX(r,e);var t=AX(r);function r(n){CX(this,r);var o;return o=t.call(this,n),o.props=new xc(n==null?void 0:n.props),o}return r}(Y);Re.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Re.controlType="subtable-column",Re.controlIcon="subtable-column",Re.childrenMaxLength=1,Re.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],Re.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 MX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(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&&Yh(e,t)}function FX(e,t){return t&&(zX(t)==="object"||typeof t=="function")?t:MX(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}var zX=function(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=Hc(e),o;if(t){var u=Hc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return FX(this,o)}}var Tw=function(e){LX(r,e);var t=YX(r);function r(n){DX(this,r);var o;return o=t.call(this,n),o.props=new xc(n==null?void 0:n.props),o}return r}(H);Tw.controlType="subtable-column";var xh={Designer:Re,Runtime:Tw,Property:xc};function xX(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(e)}function HX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function qX(e,t){return t&&(UX(t)==="object"||typeof t=="function")?t:xX(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}var UX=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function WX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KX(e){var t=WX();return function(){var n=qc(e),o;if(t){var u=qc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return qX(this,o)}}var Hh=function(e){HX(r,e);var t=KX(r);function r(n){return VX(this,r),t.call(this,n)}return r}(G);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 Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(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&&qh(e,t)}function ZX(e,t){return t&&(eJ(t)==="object"||typeof t=="function")?t:XX(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}var eJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nJ(e){var t=tJ();return function(){var n=Uc(e),o;if(t){var u=Uc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ZX(this,o)}}var nt=function(e){QX(r,e);var t=nJ(r);function r(n){JX(this,r);var o;return o=t.call(this,n),o.props=new Hh(n==null?void 0:n.props),o}return r}(Y);nt.controlName="\u660E\u7EC6\u5B50\u8868\u884C",nt.controlType="subtable-row",nt.controlIcon="subtable-row",nt.childrenMaxLength=1,nt.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],nt.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0}];function rJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oJ(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 iJ(e,t,r){return t&&$w(e.prototype,t),r&&$w(e,r),e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function uJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uh(e,t)}function cJ(e,t){return t&&(fJ(t)==="object"||typeof t=="function")?t:rJ(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}var fJ=function(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 lJ(e){var t=aJ();return function(){var n=Wc(e),o;if(t){var u=Wc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return cJ(this,o)}}var sJ=function(e){uJ(r,e);var t=lJ(r);function r(n){oJ(this,r);var o;return o=t.call(this,n),o.props=new Hh(n==null?void 0:n.props),o}return iJ(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(H),Sw={Designer:nt,Runtime:sJ,Property:Hh};function yJ(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 Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(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&&Wh(e,t)}function hJ(e,t){return t&&(_J(t)==="object"||typeof t=="function")?t:yJ(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}var _J=function(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 bJ(e){var t=pJ();return function(){var n=Kc(e),o;if(t){var u=Kc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return hJ(this,o)}}var Kh=function(e){dJ(r,e);var t=bJ(r);function r(n){vJ(this,r);var o;o=t.call(this,n);var u;o.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:"";var a;o.fixed=(a=n==null?void 0:n.fixed)!==null&&a!==void 0?a:!1;var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var s;o.fieldType=(s=n==null?void 0:n.fieldType)!==null&&s!==void 0?s:c.FieldTypes.VARCHAR;var y;o.fieldName=(y=n==null?void 0:n.fieldName)!==null&&y!==void 0?y:"",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var v;o.textCleanFormart=(v=n==null?void 0:n.textCleanFormart)!==null&&v!==void 0?v:!1;var d;o.decimalKeepPrecision=(d=n==null?void 0:n.decimalKeepPrecision)!==null&&d!==void 0?d:0;var h;o.timestampDateType=(h=n==null?void 0:n.timestampDateType)!==null&&h!==void 0?h:c.DateType.DATE;var O;return o.departmentDisplayLevel=(O=n==null?void 0:n.departmentDisplayLevel)!==null&&O!==void 0?O:1,o}return r}(G);function OJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function mJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xh(e,t)}function PJ(e,t){return t&&(RJ(t)==="object"||typeof t=="function")?t:OJ(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xh(e,t)}var RJ=function(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 TJ(e){var t=wJ();return function(){var n=Xc(e),o;if(t){var u=Xc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return PJ(this,o)}}var rt=function(e){mJ(r,e);var t=TJ(r);function r(n){gJ(this,r);var o;return o=t.call(this,n),o.props=new Kh(n==null?void 0:n.props),o}return r}(Y);rt.controlName="\u5217\u8868\u5355\u5143\u683C",rt.controlType="gridtable-column",rt.controlIcon="gridtable-column",rt.childrenMaxLength=1,rt.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],rt.setting=[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",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 SJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(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&&Jh(e,t)}function IJ(e,t){return t&&(CJ(t)==="object"||typeof t=="function")?t:$J(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}var CJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function NJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kJ(e){var t=NJ();return function(){var n=Jc(e),o;if(t){var u=Jc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return IJ(this,o)}}var Ew=function(e){EJ(r,e);var t=kJ(r);function r(n){SJ(this,r);var o;return o=t.call(this,n),o.props=new Kh(n==null?void 0:n.props),o}return r}(H);Ew.controlType="gridtable-column";var Iw={Designer:rt,Runtime:Ew,Property:Kh};function BJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(e)}function AJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qh(e,t)}function MJ(e,t){return t&&(DJ(t)==="object"||typeof t=="function")?t:BJ(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}var DJ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function LJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=LJ();return function(){var n=Qc(e),o;if(t){var u=Qc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return MJ(this,o)}}var Zh=function(e){AJ(r,e);var t=FJ(r);function r(n){jJ(this,r);var o;o=t.call(this,n);var u;o.childMinWidth=(u=n==null?void 0:n.childMinWidth)!==null&&u!==void 0?u:230;var f;return o.colGap=(f=n==null?void 0:n.colGap)!==null&&f!==void 0?f:24,o}return r}(G);function zJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YJ(e,t,r){return t&&Cw(e.prototype,t),r&&Cw(e,r),e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function xJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e_(e,t)}function VJ(e,t){return t&&(HJ(t)==="object"||typeof t=="function")?t:zJ(e)}function e_(e,t){return e_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e_(e,t)}var HJ=function(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 UJ(e){var t=qJ();return function(){var n=Zc(e),o;if(t){var u=Zc(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return VJ(this,o)}}var t_=function(e){xJ(r,e);var t=UJ(r);function r(n){GJ(this,r);var o;return o=t.call(this,n),o.props=new Zh(n==null?void 0:n.props),o}return YJ(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}(Y);t_.excludes=[c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.TAB],t_.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];function WJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nw(e,t){for(var r=0;r<t.length;r++){var 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&&Nw(e.prototype,t),r&&Nw(e,r),e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function JJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n_(e,t)}function QJ(e,t){return t&&(ZJ(t)==="object"||typeof t=="function")?t:WJ(e)}function n_(e,t){return n_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n_(e,t)}var ZJ=function(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 tQ(e){var t=eQ();return function(){var n=ef(e),o;if(t){var u=ef(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return QJ(this,o)}}var nQ=function(e){JJ(r,e);var t=tQ(r);function r(n){KJ(this,r);var o;return o=t.call(this,n),o.props=new Zh(n==null?void 0:n.props),o}return XJ(r,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),r}(H),kw={Designer:t_,Runtime:nQ,Property:Zh};function rQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(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&&r_(e,t)}function uQ(e,t){return t&&(cQ(t)==="object"||typeof t=="function")?t:rQ(e)}function r_(e,t){return r_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r_(e,t)}var cQ=function(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 aQ(e){var t=fQ();return function(){var n=tf(e),o;if(t){var u=tf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return uQ(this,o)}}var o_=function(e){iQ(r,e);var t=aQ(r);function r(n){oQ(this,r);var o;o=t.call(this,n);var u;return o.mobileShowType=(u=n==null?void 0:n.mobileShowType)!==null&&u!==void 0?u:"vertical",o}return r}(G);function lQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(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&&i_(e,t)}function sQ(e,t){return t&&(yQ(t)==="object"||typeof t=="function")?t:lQ(e)}function i_(e,t){return i_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i_(e,t)}var yQ=function(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 Aw(e){var t=vQ();return function(){var n=nf(e),o;if(t){var u=nf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return sQ(this,o)}}var dQ=function(e){jw(r,e);var t=Aw(r);function r(n){Bw(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o}return r}(W),rf=function(e){jw(r,e);var t=Aw(r);function r(n){Bw(this,r);var o;o=t.call(this,n);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:rr.controlName,o}return r}(G);rf.Rules=dQ;function hQ(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 Mw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pQ(e,t,r){return t&&Mw(e.prototype,t),r&&Mw(e,r),e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function bQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u_(e,t)}function OQ(e,t){return t&&(gQ(t)==="object"||typeof t=="function")?t:hQ(e)}function u_(e,t){return u_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u_(e,t)}var gQ=function(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 PQ(e){var t=mQ();return function(){var n=of(e),o;if(t){var u=of(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return OQ(this,o)}}var nr=function(e){bQ(r,e);var t=PQ(r);function r(n){_Q(this,r);var o;return o=t.call(this,n),o.props=new rf(n==null?void 0:n.props),o}return pQ(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}(Y);nr.excludes=[c.CONTROL_TYPE.TAB],nr.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 RQ(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 Dw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TQ(e,t,r){return t&&Dw(e.prototype,t),r&&Dw(e,r),e}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&&c_(e,t)}function SQ(e,t){return t&&(EQ(t)==="object"||typeof t=="function")?t:RQ(e)}function c_(e,t){return c_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c_(e,t)}var EQ=function(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 CQ(e){var t=IQ();return function(){var n=uf(e),o;if(t){var u=uf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return SQ(this,o)}}var NQ=function(e){$Q(r,e);var t=CQ(r);function r(n){wQ(this,r);var o;return o=t.call(this,n),o.props=new rf(n==null?void 0:n.props),o}return TQ(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(H),Lw={Designer:nr,Runtime:NQ,Property:rf};function kQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jQ(e,t,r){return t&&Fw(e.prototype,t),r&&Fw(e,r),e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function AQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f_(e,t)}function MQ(e,t){return t&&(DQ(t)==="object"||typeof t=="function")?t:kQ(e)}function f_(e,t){return f_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f_(e,t)}var DQ=function(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=cf(e),o;if(t){var u=cf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return MQ(this,o)}}var rr=function(e){AQ(r,e);var t=FQ(r);function r(n){BQ(this,r);var o;o=t.call(this,n),o.props=new o_(n==null?void 0:n.props);var u;return o.children=(u=n==null?void 0:n.children)!==null&&u!==void 0?u:[new nr,new nr],o}return jQ(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(Y);rr.excludes=[c.CONTROL_TYPE.TAB],rr.controlEventKeys=["on_change_tab"],rr.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];function zQ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GQ(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 YQ(e,t,r){return t&&zw(e.prototype,t),r&&zw(e,r),e}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function xQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a_(e,t)}function VQ(e,t){return t&&(HQ(t)==="object"||typeof t=="function")?t:zQ(e)}function a_(e,t){return a_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a_(e,t)}var HQ=function(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 UQ(e){var t=qQ();return function(){var n=ff(e),o;if(t){var u=ff(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return VQ(this,o)}}var WQ=function(e){xQ(r,e);var t=UQ(r);function r(n){GQ(this,r);var o;return o=t.call(this,n),o.props=new o_(n==null?void 0:n.props),o}return YQ(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(H),Gw={Designer:rr,Runtime:WQ,Property:o_};function KQ(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 af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function JQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l_(e,t)}function QQ(e,t){return t&&(ZQ(t)==="object"||typeof t=="function")?t:KQ(e)}function l_(e,t){return l_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l_(e,t)}var ZQ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function eZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tZ(e){var t=eZ();return function(){var n=af(e),o;if(t){var u=af(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return QQ(this,o)}}var Yw=function(e){JQ(r,e);var t=tZ(r);function r(n){return XQ(this,r),t.call(this,n)}return r}(G);function nZ(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 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 oZ(e,t,r){return t&&xw(e.prototype,t),r&&xw(e,r),e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(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&&s_(e,t)}function uZ(e,t){return t&&(cZ(t)==="object"||typeof t=="function")?t:nZ(e)}function s_(e,t){return s_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s_(e,t)}var cZ=function(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=lf(e),o;if(t){var u=lf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return uZ(this,o)}}var Vw=function(e){iZ(r,e);var t=aZ(r);function r(n){rZ(this,r);var o;return o=t.call(this,n),o.props=new Yw({}),o.children=(n==null?void 0:n.children)||[new tr({props:new tt({span:12})}),new tr({props:new tt({span:12})})],o}return oZ(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(Y);Vw.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 lZ(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 Hw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yZ(e,t,r){return t&&Hw(e.prototype,t),r&&Hw(e,r),e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function vZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y_(e,t)}function dZ(e,t){return t&&(hZ(t)==="object"||typeof t=="function")?t:lZ(e)}function y_(e,t){return y_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y_(e,t)}var hZ=function(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 pZ(e){var t=_Z();return function(){var n=sf(e),o;if(t){var u=sf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return dZ(this,o)}}var bZ=function(e){vZ(r,e);var t=pZ(r);function r(n){sZ(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new Eh({props:new tt({span:12})}),new Eh({props:new tt({span:12})})],o}return yZ(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(H),qw={Designer:Vw,Runtime:bZ,Property:Yw};function Uw(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 yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function d_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h_(e,t)}function OZ(e,t){return t&&(gZ(t)==="object"||typeof t=="function")?t:Uw(e)}function h_(e,t){return h_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h_(e,t)}var gZ=function(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 __(e){var t=mZ();return function(){var n=yf(e),o;if(t){var u=yf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return OZ(this,o)}}var vf;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(vf||(vf={}));var PZ=function(e){d_(r,e);var t=__(r);function r(n){v_(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(je),RZ=function(e){d_(r,e);var t=__(r);function r(n){v_(this,r);var o;if(o=t.call(this,n),o.triggerFieldCode={type:"any"},o.datasourceBind={type:"any"},o.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),n.triggerType===vf.CLICK_CELL&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:p.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:p.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:p.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),$r.call(Uw(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var u=o.datasourceBind.find(function(f){return f.type==="object"&&f.fields});u&&(delete u.fields.valueFieldCode,delete u.fields.displayBoList)}return o}return r}(W),or=function(e){d_(r,e);var t=__(r);function r(n){v_(this,r);var o;o=t.call(this,n),o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var u;o.isLoading=(u=n==null?void 0:n.isLoading)!==null&&u!==void 0?u:!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:vf.CLICK_ROW;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new sO(n==null?void 0:n.sublistPage);var s;o.isShowJoinRelation=(s=n==null?void 0:n.isShowJoinRelation)!==null&&s!==void 0?s:!1,o.joinRelation=new vO(n==null?void 0:n.joinRelation);var y;o.showType=(y=n==null?void 0:n.showType)!==null&&y!==void 0?y:"stretch";var v;o.showFullScreen=(v=n==null?void 0:n.showFullScreen)!==null&&v!==void 0?v:!1;var d;o.selectionType=(d=n==null?void 0:n.selectionType)!==null&&d!==void 0?d:"multiple";var h;o.isFixedHeader=(h=n==null?void 0:n.isFixedHeader)!==null&&h!==void 0?h:!1;var O;o.isShowSelection=(O=n==null?void 0:n.isShowSelection)!==null&&O!==void 0?O:!1;var b;o.isAllLoaded=(b=n==null?void 0:n.isAllLoaded)!==null&&b!==void 0?b:!0,o.countType=n==null?void 0:n.countType;var g;return o.countLimit=(g=n==null?void 0:n.countLimit)!==null&&g!==void 0?g:1e5,o}return r}(G);or.Rules=RZ,or.RuntimeRules=PZ;function wZ(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 Ww(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $Z(e,t,r){return t&&Ww(e.prototype,t),r&&Ww(e,r),e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(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&&p_(e,t)}function EZ(e,t){return t&&(IZ(t)==="object"||typeof t=="function")?t:wZ(e)}function p_(e,t){return p_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p_(e,t)}var IZ=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function CZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NZ(e){var t=CZ();return function(){var n=df(e),o;if(t){var u=df(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return EZ(this,o)}}var hf=function(e){SZ(r,e);var t=NZ(r);function r(n){TZ(this,r);var o;return o=t.call(this,n),o.props=new or(n==null?void 0:n.props),o}return $Z(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}(Y);hf.excludes=[c.CONTROL_TYPE.ROW],hf.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"],hf.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:"super-setting",visible:!0}];function kZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jZ(e,t,r){return t&&Kw(e.prototype,t),r&&Kw(e,r),e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(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&&b_(e,t)}function MZ(e,t){return t&&(DZ(t)==="object"||typeof t=="function")?t:kZ(e)}function b_(e,t){return b_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b_(e,t)}var DZ=function(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=_f(e),o;if(t){var u=_f(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return MZ(this,o)}}var zZ=function(e){AZ(r,e);var t=FZ(r);function r(n){BZ(this,r);var o;return o=t.call(this,n),o.props=new or(n==null?void 0:n.props),o}return jZ(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(H),O_={Designer:hf,Runtime:zZ,Property:or};function GZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(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&&g_(e,t)}function YZ(e,t){return t&&(xZ(t)==="object"||typeof t=="function")?t:GZ(e)}function g_(e,t){return g_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g_(e,t)}var xZ=function(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 Qw(e){var t=VZ();return function(){var n=pf(e),o;if(t){var u=pf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return YZ(this,o)}}var HZ=function(e){Jw(r,e);var t=Qw(r);function r(n){Xw(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(je),bf=function(e){Jw(r,e);var t=Qw(r);function r(n){Xw(this,r);var o;o=t.call(this,n);var u;o.save=new Ne((u=n==null?void 0:n.save)!==null&&u!==void 0?u:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var f;o.cancel=new Ne((f=n==null?void 0:n.cancel)!==null&&f!==void 0?f:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var a;o.saveAs=new Ne((a=n==null?void 0:n.saveAs)!==null&&a!==void 0?a:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var l;o.print=new Ne((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{content:"\u6253\u5370",type:"print",isShow:!1});var s;o.custom=((s=n==null?void 0:n.custom)!==null&&s!==void 0?s:[]).map(function(v){return new Ne(v)});var y;return o.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1,o.datasourceBind=new Q(n==null?void 0:n.datasourceBind),o}return r}(G);bf.RuntimeRules=HZ;function qZ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 WZ(e,t,r){return t&&Zw(e.prototype,t),r&&Zw(e,r),e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function KZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m_(e,t)}function XZ(e,t){return t&&(JZ(t)==="object"||typeof t=="function")?t:qZ(e)}function m_(e,t){return m_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m_(e,t)}var JZ=function(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 ZZ(e){var t=QZ();return function(){var n=Of(e),o;if(t){var u=Of(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return XZ(this,o)}}var eT=function(e){KZ(r,e);var t=ZZ(r);function r(n){UZ(this,r);var o;return o=t.call(this,n),o.props=new bf(n==null?void 0:n.props),o}return WZ(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(Y);eT.excludes=[];function eee(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 tT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nee(e,t,r){return t&&tT(e.prototype,t),r&&tT(e,r),e}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(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&&P_(e,t)}function oee(e,t){return t&&(iee(t)==="object"||typeof t=="function")?t:eee(e)}function P_(e,t){return P_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P_(e,t)}var iee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function uee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cee(e){var t=uee();return function(){var n=gf(e),o;if(t){var u=gf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return oee(this,o)}}var fee=function(e){ree(r,e);var t=cee(r);function r(n){tee(this,r);var o;return o=t.call(this,n),o.props=new bf(n==null?void 0:n.props),o}return nee(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(H),R_={Designer:eT,Runtime:fee,Property:bf};function aee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nT(e,t){for(var r=0;r<t.length;r++){var 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&&nT(e.prototype,t),r&&nT(e,r),e}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(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&&w_(e,t)}function vee(e,t){return t&&(dee(t)==="object"||typeof t=="function")?t:aee(e)}function w_(e,t){return w_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w_(e,t)}var dee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function hee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ee(e){var t=hee();return function(){var n=mf(e),o;if(t){var u=mf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return vee(this,o)}}var pee=function(e){yee(r,e);var t=_ee(r);function r(n){return lee(this,r),t.call(this,n)}return see(r,null,[{key:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(Y);function bee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oee(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 gee(e,t,r){return t&&rT(e.prototype,t),r&&rT(e,r),e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function mee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T_(e,t)}function Pee(e,t){return t&&(Ree(t)==="object"||typeof t=="function")?t:bee(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T_(e,t)}var Ree=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function wee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tee(e){var t=wee();return function(){var n=Pf(e),o;if(t){var u=Pf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Pee(this,o)}}var $ee=function(e){mee(r,e);var t=Tee(r);function r(n){return Oee(this,r),t.call(this,n)}return gee(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(H);function See(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(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&&$_(e,t)}function Cee(e,t){return t&&(Nee(t)==="object"||typeof t=="function")?t:See(e)}function $_(e,t){return $_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$_(e,t)}var Nee=function(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 Bee(e){var t=kee();return function(){var n=Rf(e),o;if(t){var u=Rf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Cee(this,o)}}var jee=function(e){Iee(r,e);var t=Bee(r);function r(n){Eee(this,r);var o;o=t.call(this,n),o.background="#fff",o.minWidth="",o.maxWidth="",o.heightConfig="auto";var u;return o.hideHeader=(u=n==null?void 0:n.hideHeader)!==null&&u!==void 0?u:!1,o}return r}(G),oT={Designer:pee,Runtime:$ee,Property:jee};function Aee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iT(e,t){for(var r=0;r<t.length;r++){var 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&&iT(e.prototype,t),r&&iT(e,r),e}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(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&&S_(e,t)}function Fee(e,t){return t&&(zee(t)==="object"||typeof t=="function")?t:Aee(e)}function S_(e,t){return S_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S_(e,t)}var zee=function(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 Yee(e){var t=Gee();return function(){var n=wf(e),o;if(t){var u=wf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Fee(this,o)}}var xee=function(e){Lee(r,e);var t=Yee(r);function r(n){return Mee(this,r),t.call(this,n)}return Dee(r,null,[{key:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Y);function Vee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qee(e,t,r){return t&&uT(e.prototype,t),r&&uT(e,r),e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function Uee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E_(e,t)}function Wee(e,t){return t&&(Kee(t)==="object"||typeof t=="function")?t:Vee(e)}function E_(e,t){return E_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E_(e,t)}var Kee=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Xee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Xee();return function(){var n=Tf(e),o;if(t){var u=Tf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Wee(this,o)}}var Qee=function(e){Uee(r,e);var t=Jee(r);function r(n){return Hee(this,r),t.call(this,n)}return qee(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(H);function Zee(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 $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(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&&I_(e,t)}function nte(e,t){return t&&(rte(t)==="object"||typeof t=="function")?t:Zee(e)}function I_(e,t){return I_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I_(e,t)}var rte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ote(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ite(e){var t=ote();return function(){var n=$f(e),o;if(t){var u=$f(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return nte(this,o)}}var ute=function(e){tte(r,e);var t=ite(r);function r(n){ete(this,r);var o;return o=t.call(this,n),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new wg(n==null?void 0:n.flexConfig),o}return r}(G),cT={Designer:xee,Runtime:Qee,Property:ute};function cte(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 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 ate(e,t,r){return t&&fT(e.prototype,t),r&&fT(e,r),e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(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&&C_(e,t)}function ste(e,t){return t&&(yte(t)==="object"||typeof t=="function")?t:cte(e)}function C_(e,t){return C_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C_(e,t)}var yte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dte(e){var t=vte();return function(){var n=Sf(e),o;if(t){var u=Sf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ste(this,o)}}var hte=function(e){lte(r,e);var t=dte(r);function r(n){return fte(this,r),t.call(this,n)}return ate(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Y);function _te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pte(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 bte(e,t,r){return t&&aT(e.prototype,t),r&&aT(e,r),e}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(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&&N_(e,t)}function gte(e,t){return t&&(mte(t)==="object"||typeof t=="function")?t:_te(e)}function N_(e,t){return N_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N_(e,t)}var mte=function(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 Rte(e){var t=Pte();return function(){var n=Ef(e),o;if(t){var u=Ef(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return gte(this,o)}}var wte=function(e){Ote(r,e);var t=Rte(r);function r(n){return pte(this,r),t.call(this,n)}return bte(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(H);function Tte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function Ste(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k_(e,t)}function Ete(e,t){return t&&(Ite(t)==="object"||typeof t=="function")?t:Tte(e)}function k_(e,t){return k_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k_(e,t)}var Ite=function(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 Nte(e){var t=Cte();return function(){var n=If(e),o;if(t){var u=If(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Ete(this,o)}}var kte=function(e){Ste(r,e);var t=Nte(r);function r(n){return $te(this,r),t.call(this,n)}return r}(G),lT={Designer:hte,Runtime:wte,Property:kte};function Bte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jte(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 Ate(e,t,r){return t&&sT(e.prototype,t),r&&sT(e,r),e}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(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&&B_(e,t)}function Dte(e,t){return t&&(Lte(t)==="object"||typeof t=="function")?t:Bte(e)}function B_(e,t){return B_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B_(e,t)}var Lte=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Fte();return function(){var n=Cf(e),o;if(t){var u=Cf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Dte(this,o)}}var Gte=function(e){Mte(r,e);var t=zte(r);function r(n){return jte(this,r),t.call(this,n)}return Ate(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}(Y);function Yte(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 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 Vte(e,t,r){return t&&yT(e.prototype,t),r&&yT(e,r),e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function Hte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j_(e,t)}function qte(e,t){return t&&(Ute(t)==="object"||typeof t=="function")?t:Yte(e)}function j_(e,t){return j_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j_(e,t)}var Ute=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kte(e){var t=Wte();return function(){var n=Nf(e),o;if(t){var u=Nf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return qte(this,o)}}var Xte=function(e){Hte(r,e);var t=Kte(r);function r(n){return xte(this,r),t.call(this,n)}return Vte(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(H);function Jte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(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&&A_(e,t)}function ene(e,t){return t&&(tne(t)==="object"||typeof t=="function")?t:Jte(e)}function A_(e,t){return A_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A_(e,t)}var tne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rne(e){var t=nne();return function(){var n=kf(e),o;if(t){var u=kf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ene(this,o)}}var one=function(e){Zte(r,e);var t=rne(r);function r(n){Qte(this,r);var o;o=t.call(this,n);var u;o.widthSpan=(u=n==null?void 0:n.widthSpan)!==null&&u!==void 0?u:12;var f;o.heightSpan=(f=n==null?void 0:n.heightSpan)!==null&&f!==void 0?f:12;var a;o.left=(a=n==null?void 0:n.left)!==null&&a!==void 0?a:0;var l;return o.top=(l=n==null?void 0:n.top)!==null&&l!==void 0?l:0,o}return r}(G),vT={Designer:Gte,Runtime:Xte,Property:one};function ine(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function une(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(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&&M_(e,t)}function fne(e,t){return t&&(ane(t)==="object"||typeof t=="function")?t:ine(e)}function M_(e,t){return M_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M_(e,t)}var ane=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function lne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=lne();return function(){var n=Bf(e),o;if(t){var u=Bf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return fne(this,o)}}var D_=function(e){cne(r,e);var t=sne(r);function r(n){une(this,r);var o;o=t.call(this,n);var u;o.position=(u=n==null?void 0:n.position)!==null&&u!==void 0?u:"bottom";var f;o.opacity=(f=n==null?void 0:n.opacity)!==null&&f!==void 0?f:!0;var a;return o.align=(a=n==null?void 0:n.align)!==null&&a!==void 0?a:"right",o}return r}(G);function yne(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 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 dne(e,t,r){return t&&dT(e.prototype,t),r&&dT(e,r),e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function hne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L_(e,t)}function _ne(e,t){return t&&(pne(t)==="object"||typeof t=="function")?t:yne(e)}function L_(e,t){return L_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L_(e,t)}var pne=function(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 One(e){var t=bne();return function(){var n=jf(e),o;if(t){var u=jf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return _ne(this,o)}}var F_=function(e){hne(r,e);var t=One(r);function r(n){vne(this,r);var o;o=t.call(this,n);var u;return o.props=new D_((u=n==null?void 0:n.props)!==null&&u!==void 0?u:{}),o}return dne(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}(Y);F_.excludes=[],F_.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];function gne(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 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 Pne(e,t,r){return t&&hT(e.prototype,t),r&&hT(e,r),e}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function Rne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z_(e,t)}function wne(e,t){return t&&(Tne(t)==="object"||typeof t=="function")?t:gne(e)}function z_(e,t){return z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z_(e,t)}var Tne=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function $ne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=$ne();return function(){var n=Af(e),o;if(t){var u=Af(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return wne(this,o)}}var Ene=function(e){Rne(r,e);var t=Sne(r);function r(n){mne(this,r);var o;o=t.call(this,n);var u;return o.props=new D_((u=n==null?void 0:n.props)!==null&&u!==void 0?u:{}),o}return Pne(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(H),_T={Designer:F_,Runtime:Ene,Property:D_},Ine=Object.freeze({__proto__:null,Grid:cw,Col:Ec,Row:vw,GridRow:Ah,CardGroup:mw,SubTableColumn:xh,SubTableRow:Sw,GridTableColumn:Iw,GridLayoutContainer:kw,Tab:Gw,TabPane:Lw,Toolbox:qw,ListView:O_,DataView:R_,Page:oT,AdvancedContainer:cT,PositioningContainer:lT,Position:vT,ActionBar:_T});function Cne(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 Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function Y_(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x_(e,t)}function Nne(e,t){return t&&(kne(t)==="object"||typeof t=="function")?t:Cne(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x_(e,t)}var kne=function(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 V_(e){var t=Bne();return function(){var n=Mf(e),o;if(t){var u=Mf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Nne(this,o)}}var jne=function(e){Y_(r,e);var t=V_(r);function r(n){G_(this,r);var o;return o=t.call(this,n),o.caption={type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")},o.limitRows=[{type:"number",required:!0,message:p.getMessage("isNotNumber")},{type:"number",min:0,message:p.getMessage("limitRowsCannotBeLessThan0")}],o.formKey={type:"string",required:!1,message:p.getMessage("pleaseEnterForm")},o.maxHeight={type:"number",required:!0,message:p.getMessage("pleaseEnterMaxHeight")},o.captionTip={type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")},o.mobileRowCaption={type:"string",required:!1,message:p.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}(W),Ane=function(e){Y_(r,e);var t=V_(r);function r(n){G_(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:p.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(f,a,l){a.length<n.limitRows&&l(p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),l()},message:p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(je),ir=function(e){Y_(r,e);var t=V_(r);function r(n,o){G_(this,r);var u;u=t.call(this,n,o,r.mode);var f;u.caption=(f=o==null?void 0:o.caption)!==null&&f!==void 0?f:Lf.controlName;var a;u.isHideCaption=(a=o==null?void 0:o.isHideCaption)!==null&&a!==void 0?a:!1;var l;u.defaultState=(l=o==null?void 0:o.defaultState)!==null&&l!==void 0?l:"default";var s;u.labelPosition=(s=o==null?void 0:o.labelPosition)!==null&&s!==void 0?s:"top";var y;u.openType=(y=o==null?void 0:o.openType)!==null&&y!==void 0?y:"default";var v;u.formKey=(v=o==null?void 0:o.formKey)!==null&&v!==void 0?v:"";var d;u.useCustomHeight=(d=o==null?void 0:o.useCustomHeight)!==null&&d!==void 0?d:!1;var h;u.maxHeight=(h=o==null?void 0:o.maxHeight)!==null&&h!==void 0?h:Pg;var O;u.printMode=(O=o==null?void 0:o.printMode)!==null&&O!==void 0?O:"row";var b;u.limitRows=(b=o==null?void 0:o.limitRows)!==null&&b!==void 0?b:1;var g;u.maxRows=(g=o==null?void 0:o.maxRows)!==null&&g!==void 0?g:null;var _;u.defaultRows=(_=o==null?void 0:o.defaultRows)!==null&&_!==void 0?_:1,u.datasourceBind=new Q(o==null?void 0:o.datasourceBind);var P;u.canAdd=(P=o==null?void 0:o.canAdd)!==null&&P!==void 0?P:!0;var w;u.canDelete=(w=o==null?void 0:o.canDelete)!==null&&w!==void 0?w:!0;var $;u.canCheck=($=o==null?void 0:o.canCheck)!==null&&$!==void 0?$:!1;var S;u.canEdit=(S=o==null?void 0:o.canEdit)!==null&&S!==void 0?S:!1;var E;u.canImport=(E=o==null?void 0:o.canImport)!==null&&E!==void 0?E:!1;var N;u.canExport=(N=o==null?void 0:o.canExport)!==null&&N!==void 0?N:!1;var j;u.canClear=(j=o==null?void 0:o.canClear)!==null&&j!==void 0?j:!0;var U;u.serverPagination=(U=o==null?void 0:o.serverPagination)!==null&&U!==void 0?U:!1;var J;u.isShowCaptionTip=(J=o==null?void 0:o.isShowCaptionTip)!==null&&J!==void 0?J:!1;var V;u.captionTip=(V=o==null?void 0:o.captionTip)!==null&&V!==void 0?V:"";var Ve;u.mobileShowType=(Ve=o==null?void 0:o.mobileShowType)!==null&&Ve!==void 0?Ve:"list";var Se;u.mobileDefaultNum=(Se=o==null?void 0:o.mobileDefaultNum)!==null&&Se!==void 0?Se:10;var Oe;u.dataStorageDoc=(Oe=o==null?void 0:o.dataStorageDoc)!==null&&Oe!==void 0?Oe:new uO;var mt;u.fixedColumn=(mt=o==null?void 0:o.fixedColumn)!==null&&mt!==void 0?mt:[];var Pt;u.mobileRowCaption=(Pt=o==null?void 0:o.mobileRowCaption)!==null&&Pt!==void 0?Pt:"\u660E\u7EC6";var Rt;u.mobileIsTile=(Rt=o==null?void 0:o.mobileIsTile)!==null&&Rt!==void 0?Rt:!1;var ar;return u.isPaste=(ar=o==null?void 0:o.isPaste)!==null&&ar!==void 0?ar:!1,u}return r}(yn);ir.Rules=jne,ir.RuntimeRules=Ane;function pT(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 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 Dne(e,t,r){return t&&bT(e.prototype,t),r&&bT(e,r),e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function Lne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fne(e,t){return t&&(zne(t)==="object"||typeof t=="function")?t:pT(e)}function H_(e,t){return H_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H_(e,t)}var zne=function(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 Yne(e){var t=Gne();return function(){var n=Df(e),o;if(t){var u=Df(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Fne(this,o)}}var Lf=function(e){Lne(r,e);var t=Yne(r);function r(n){Mne(this,r);var o,u,f;return o=t.call(this,n),o.props=new ir(pT(o),n==null?void 0:n.props),(n==null||(u=n.props)===null||u===void 0?void 0:u.headers)===void 0&&(o.props.headers=[new Re,new Re,new Re]),(n==null||(f=n.props)===null||f===void 0?void 0:f.footers)===void 0&&(o.props.footers=[]),o}return Dne(r,[{key:"addColumn",value:function(o,u){var f=o!==void 0&&typeof o!="number"?o:new Re,a=typeof o=="number"?o:u;return a===void 0?this.props.headers.push(f):this.props.headers.splice(a,0,f),f}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(Mr);Lf.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Lf.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]},{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:"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 OT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xne(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 Vne(e,t,r){return t&&gT(e.prototype,t),r&&gT(e,r),e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function Hne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q_(e,t)}function qne(e,t){return t&&(Une(t)==="object"||typeof t=="function")?t:OT(e)}function q_(e,t){return q_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q_(e,t)}var Une=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Wne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kne(e){var t=Wne();return function(){var n=Ff(e),o;if(t){var u=Ff(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return qne(this,o)}}var Xne=function(e){Hne(r,e);var t=Kne(r);function r(n){xne(this,r);var o;return o=t.call(this,n),o.props=new ir(OT(o),n==null?void 0:n.props),o}return Vne(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Be("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(Zl),mT={Designer:Lf,Runtime:Xne,Property:ir};function Jne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function Zne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U_(e,t)}function ere(e,t){return t&&(tre(t)==="object"||typeof t=="function")?t:Jne(e)}function U_(e,t){return U_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U_(e,t)}var tre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rre(e){var t=nre();return function(){var n=zf(e),o;if(t){var u=zf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ere(this,o)}}var W_=function(e){Zne(r,e);var t=rre(r);function r(n,o){Qne(this,r);var u;u=t.call(this,n,o);var f;u.isFixedHeader=(f=o==null?void 0:o.isFixedHeader)!==null&&f!==void 0?f:!1,u.selectionType=o==null?void 0:o.selectionType;var a;u.isShowToolbar=(a=o==null?void 0:o.isShowToolbar)!==null&&a!==void 0?a:!0;var l;u.isShowSelection=(l=o==null?void 0:o.isShowSelection)!==null&&l!==void 0?l:!1;var s;return u.isShowCustomColumns=(s=o==null?void 0:o.isShowCustomColumns)!==null&&s!==void 0?s:!0,u}return r}(yn);function ore(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function RT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K_(e,t)}function ire(e,t){return t&&(ure(t)==="object"||typeof t=="function")?t:ore(e)}function K_(e,t){return K_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K_(e,t)}var ure=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wT(e){var t=cre();return function(){var n=Gf(e),o;if(t){var u=Gf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ire(this,o)}}var fre=function(e){RT(r,e);var t=wT(r);function r(n){PT(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}($e),Yf=function(e){RT(r,e);var t=wT(r);function r(n){PT(this,r);var o,u,f;o=t.call(this,n);var a;o.fixed=(a=n==null?void 0:n.fixed)!==null&&a!==void 0?a:"left";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:ot.controlName;var s;o.width=(s=n==null?void 0:n.width)!==null&&s!==void 0?s:60;var y;o.autoWidth.minWidth=(y=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.minWidth)!==null&&y!==void 0?y:60;var v;o.autoWidth.flex=(v=n==null||(f=n.autoWidth)===null||f===void 0?void 0:f.flex)!==null&&v!==void 0?v:.4;var d;return o.widthType=(d=n==null?void 0:n.widthType)!==null&&d!==void 0?d:"px",o}return r}(q);Yf.Rules=fre;function are(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(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&&X_(e,t)}function yre(e,t){return t&&(vre(t)==="object"||typeof t=="function")?t:are(e)}function X_(e,t){return X_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X_(e,t)}var vre=function(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 hre(e){var t=dre();return function(){var n=xf(e),o;if(t){var u=xf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return yre(this,o)}}var ot=function(e){sre(r,e);var t=hre(r);function r(n){lre(this,r);var o;return o=t.call(this,n),o.props=new Yf(n==null?void 0:n.props),o}return r}(ee);ot.controlType="order-column",ot.controlName="\u5E8F\u53F7",ot.controlIcon="order-column",ot.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];function _re(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pre(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 bre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J_(e,t)}function Ore(e,t){return t&&(gre(t)==="object"||typeof t=="function")?t:_re(e)}function J_(e,t){return J_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J_(e,t)}var gre=function(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 Pre(e){var t=mre();return function(){var n=Vf(e),o;if(t){var u=Vf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Ore(this,o)}}var Q_=function(e){bre(r,e);var t=Pre(r);function r(n){pre(this,r);var o;return o=t.call(this,n),o.props=new Yf(n==null?void 0:n.props),o}return r}(te);Q_.controlType="order-column",Q_.controlFieldType=c.FieldTypes.DECIMAL;var TT={Designer:ot,Runtime:Q_,Property:Yf};function Rre(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 Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(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&&Z_(e,t)}function $re(e,t){return t&&(Sre(t)==="object"||typeof t=="function")?t:Rre(e)}function Z_(e,t){return Z_=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z_(e,t)}var Sre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ere(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ire(e){var t=Ere();return function(){var n=Hf(e),o;if(t){var u=Hf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $re(this,o)}}var ep=function(e){Tre(r,e);var t=Ire(r);function r(n){wre(this,r);var o,u;o=t.call(this,n);var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"right",o.widthType="auto";var a;o.autoWidth.minWidth=(a=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.minWidth)!==null&&a!==void 0?a:84;var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:it.controlName;var s;o.showType=(s=n==null?void 0:n.showType)!==null&&s!==void 0?s:"icon";var y;return o.limit=(y=n==null?void 0:n.limit)!==null&&y!==void 0?y:3,o}return r}(q);function $T(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ST(e,t,r,n,o,u,f){try{var a=e[u](f),l=a.value}catch(s){r(s);return}a.done?t(l):Promise.resolve(l).then(n,o)}function Cre(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){ST(u,n,o,f,a,"next",l)}function a(l){ST(u,n,o,f,a,"throw",l)}f(void 0)})}}function Nre(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 kre(e,t,r){return t&&ET(e.prototype,t),r&&ET(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 qt(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?qt=Reflect.get:qt=function(o,u,f){var a=Dre(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},qt(e,t,r||e)}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ze(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&&tp(e,t)}function Are(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){Bre(e,o,r[o])})}return e}function Mre(e,t){return t&&(Lre(t)==="object"||typeof t=="function")?t:$T(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}function Dre(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ze(e),e!==null););return e}var Lre=function(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 zre(e){var t=Fre();return function(){var n=ze(e),o;if(t){var u=ze(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Mre(this,o)}}var it=function(e){jre(r,e);var t=zre(r);function r(n){Nre(this,r);var o;return o=t.call(this,n),o.props=new ep(n==null?void 0:n.props),Pe($T(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return kre(r,[{key:"toDataBindModel",value:function(){var o=qt(ze(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(u){if(u.type===bi.controlType){var f=u;o.props[f.props.command]=f.props}}),o}},{key:"toSchema",value:function(){var o=qt(ze(r.prototype),"toSchema",this).call(this);return Are({},o,{children:this.children.map(function(u){return u.toSchema()})})}},{key:"validate",value:function(o,u){var f=this,a=this,l=function(){return qt(ze(r.prototype),"validate",f)};return Cre(re.mark(function s(){return re.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,l().call(a,o,u);case 2:return v.next=4,Promise.all(a.children.map(function(d){return d.validate(o,u)}));case 4:return v.abrupt("return",!0);case 5:case"end":return v.stop()}},s)}))()}}]),r}(ee);it.controlType="operation-column",it.controlName="\u64CD\u4F5C",it.controlIcon="operation-column",it.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 IT(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 qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(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&&np(e,t)}function xre(e,t){return t&&(Vre(t)==="object"||typeof t=="function")?t:IT(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}var Vre=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Hre();return function(){var n=qf(e),o;if(t){var u=qf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return xre(this,o)}}var rp=function(e){Yre(r,e);var t=qre(r);function r(n){Gre(this,r);var o;return o=t.call(this,n),o.props=new ep(n==null?void 0:n.props),Pe(IT(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(te);rp.controlType="operation-column",rp.controlFieldType=c.FieldTypes.FILE;var CT={Designer:it,Runtime:rp,Property:ep};function op(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NT(e,t,r,n,o,u,f){try{var a=e[u](f),l=a.value}catch(s){r(s);return}a.done?t(l):Promise.resolve(l).then(n,o)}function Ure(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var u=e.apply(t,r);function f(l){NT(u,n,o,f,a,"next",l)}function a(l){NT(u,n,o,f,a,"throw",l)}f(void 0)})}}function Wre(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 Kre(e,t,r){return t&&kT(e.prototype,t),r&&kT(e,r),e}function Xre(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ur(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ur=Reflect.get:ur=function(o,u,f){var a=eoe(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},ur(e,t,r||e)}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ut(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&&ip(e,t)}function Qre(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){Xre(e,o,r[o])})}return e}function Zre(e,t){return t&&(toe(t)==="object"||typeof t=="function")?t:op(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}function eoe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ut(e),e!==null););return e}var toe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function noe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=noe();return function(){var n=ut(e),o;if(t){var u=ut(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Zre(this,o)}}var BT=function(e){Jre(r,e);var t=roe(r);function r(n){Wre(this,r);var o,u;return o=t.call(this,n),o.props=new W_(op(o),n==null?void 0:n.props),Pe(op(o),"children",n==null?void 0:n.children,void 0,"Designer"),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new ot,new it]),(n==null||(u=n.props)===null||u===void 0?void 0:u.footers)===void 0&&(o.props.footers=[]),o}return Kre(r,[{key:"toSchema",value:function(){var o=ur(ut(r.prototype),"toSchema",this).call(this),u=this.children.map(function(f){return f.toSchema()});return Qre({},o,{children:u})}},{key:"validate",value:function(o,u){var f=this,a=this,l=function(){return ur(ut(r.prototype),"validate",f)};return Ure(re.mark(function s(){return re.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,l().call(a,o,u);case 2:return v.next=4,Promise.all(a.children.map(function(d){return d.validate(o,u)}));case 4:return v.abrupt("return",!0);case 5:case"end":return v.stop()}},s)}))()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(Mr);BT.setting=[{key:"list-fixed-header",visible:!0}];function jT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ooe(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 ioe(e,t,r){return t&&AT(e.prototype,t),r&&AT(e,r),e}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function uoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 coe(e,t){return t&&(foe(t)==="object"||typeof t=="function")?t:jT(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}var foe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function aoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=aoe();return function(){var n=Uf(e),o;if(t){var u=Uf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return coe(this,o)}}var soe=function(e){uoe(r,e);var t=loe(r);function r(n){ooe(this,r);var o;return o=t.call(this,n),o.props=new W_(jT(o),n==null?void 0:n.props),o}return ioe(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Be("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}(Zl),MT={Designer:BT,Runtime:soe,Property:W_},yoe=Object.freeze({__proto__:null,SubTable:mT,GridTable:MT});function DT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(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&&cp(e,t)}function voe(e,t){return t&&(doe(t)==="object"||typeof t=="function")?t:DT(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cp(e,t)}var doe=function(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 zT(e){var t=hoe();return function(){var n=Wf(e),o;if(t){var u=Wf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return voe(this,o)}}var _oe=function(e){FT(r,e);var t=zT(r);function r(n){LT(this,r);var o;return o=t.call(this,n),Le.call(DT(o),n),o}return r}(os),Kf=function(e){FT(r,e);var t=zT(r);function r(n){LT(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ct.controlName;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"none",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var a;o.options=we((a=n==null?void 0:n.options)!==null&&a!==void 0?a:[{}]);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Ce(n==null?void 0:n.linkOperationOption);var s;return o.lineEllipsis=(s=n==null?void 0:n.lineEllipsis)!==null&&s!==void 0?s:1,o}return r}(q);Kf.Rules=_oe;function poe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function boe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(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&&fp(e,t)}function goe(e,t){return t&&(moe(t)==="object"||typeof t=="function")?t:poe(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}var moe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Poe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Roe(e){var t=Poe();return function(){var n=Xf(e),o;if(t){var u=Xf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return goe(this,o)}}var ct=function(e){Ooe(r,e);var t=Roe(r);function r(n){boe(this,r);var o;return o=t.call(this,n),o.props=new Kf(n==null?void 0:n.props),o}return r}(ee);ct.controlType="varchar-column",ct.controlName="\u77ED\u6587\u672C",ct.controlIcon="varchar-column",ct.controlFieldType=c.FieldTypes.VARCHAR,ct.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-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];function woe(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 Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jf(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&&ap(e,t)}function Soe(e,t){return t&&(Eoe(t)==="object"||typeof t=="function")?t:woe(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}var Eoe=function(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 Coe(e){var t=Ioe();return function(){var n=Jf(e),o;if(t){var u=Jf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Soe(this,o)}}var lp=function(e){$oe(r,e);var t=Coe(r);function r(n){Toe(this,r);var o;return o=t.call(this,n),o.props=new Kf(n==null?void 0:n.props),o}return r}(te);lp.controlType="varchar-column",lp.controlFieldType=c.FieldTypes.VARCHAR;var GT={Designer:ct,Runtime:lp,Property:Kf};function YT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function VT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function Noe(e,t){return t&&(koe(t)==="object"||typeof t=="function")?t:YT(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}var koe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Boe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HT(e){var t=Boe();return function(){var n=Qf(e),o;if(t){var u=Qf(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Noe(this,o)}}var joe=function(e){VT(r,e);var t=HT(r);function r(n){xT(this,r);var o;return o=t.call(this,n),Le.call(YT(o),n),o}return r}($e),Zf=function(e){VT(r,e);var t=HT(r);function r(n){xT(this,r);var o;o=t.call(this,n);var u;o.escapeHTML=(u=n==null?void 0:n.escapeHTML)!==null&&u!==void 0?u:!0;var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:ft.controlName;var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var l;return o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Ce(n==null?void 0:n.linkOperationOption),o}return r}(q);Zf.Rules=joe;function Aoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Moe(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 Doe(e,t,r){return t&&qT(e.prototype,t),r&&qT(e,r),e}function ea(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ea=Reflect.get:ea=function(o,u,f){var a=zoe(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},ea(e,t,r||e)}function Ut(e){return Ut=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ut(e)}function Loe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Foe(e,t){return t&&(Goe(t)==="object"||typeof t=="function")?t:Aoe(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(e,t)}function zoe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ut(e),e!==null););return e}var Goe=function(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 xoe(e){var t=Yoe();return function(){var n=Ut(e),o;if(t){var u=Ut(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Foe(this,o)}}var ft=function(e){Loe(r,e);var t=xoe(r);function r(n){Moe(this,r);var o;return o=t.call(this,n),o.props=new Zf(n==null?void 0:n.props),o}return Doe(r,[{key:"toDataBindModel",value:function(o){var u=ea(Ut(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props.escapeHTML;u.props.escapeHTML=f}return u}}]),r}(ee);ft.controlType="text-column",ft.controlName="\u957F\u6587\u672C",ft.controlIcon="text-column",ft.controlFieldType=c.FieldTypes.TEXT,ft.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 Voe(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 ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(e)}function qoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vp(e,t)}function Uoe(e,t){return t&&(Woe(t)==="object"||typeof t=="function")?t:Voe(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(e,t)}var Woe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Koe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xoe(e){var t=Koe();return function(){var n=ta(e),o;if(t){var u=ta(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Uoe(this,o)}}var dp=function(e){qoe(r,e);var t=Xoe(r);function r(n){Hoe(this,r);var o;return o=t.call(this,n),o.props=new Zf(n==null?void 0:n.props),o}return r}(te);dp.controlType="text-column",dp.controlFieldType=c.FieldTypes.TEXT;var UT={Designer:ft,Runtime:dp,Property:Zf};function WT(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 na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function XT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function Joe(e,t){return t&&(Qoe(t)==="object"||typeof t=="function")?t:WT(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}var Qoe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JT(e){var t=Zoe();return function(){var n=na(e),o;if(t){var u=na(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Joe(this,o)}}var eie=function(e){XT(r,e);var t=JT(r);function r(n){KT(this,r);var o;return o=t.call(this,n),Le.call(WT(o),n),o}return r}($e),ra=function(e){XT(r,e);var t=JT(r);function r(n){KT(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:at.controlName;var f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:0;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var s;o.optionConfig=(s=n==null?void 0:n.optionConfig)!==null&&s!==void 0?s:"none",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var y;o.options=we((y=n==null?void 0:n.options)!==null&&y!==void 0?y:[{}]);var v;return o.showLinkOperation=(v=n==null?void 0:n.showLinkOperation)!==null&&v!==void 0?v:!1,o.linkOperationOption=new Ce(n==null?void 0:n.linkOperationOption),o}return r}(q);ra.Rules=eie;function tie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nie(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 rie(e,t,r){return t&&QT(e.prototype,t),r&&QT(e,r),e}function oa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?oa=Reflect.get:oa=function(o,u,f){var a=uie(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},oa(e,t,r||e)}function Wt(e){return Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wt(e)}function oie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iie(e,t){return t&&(cie(t)==="object"||typeof t=="function")?t:tie(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}function uie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wt(e),e!==null););return e}var cie=function(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=Wt(e),o;if(t){var u=Wt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return iie(this,o)}}var at=function(e){oie(r,e);var t=aie(r);function r(n){nie(this,r);var o;return o=t.call(this,n),o.props=new ra(n==null?void 0:n.props),o}return rie(r,[{key:"toDataBindModel",value:function(o){var u=oa(Wt(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props,a=f.precision,l=f.micrometer;a!==""&&(u.props.precision=a),u.props.micrometer=l}return u}}]),r}(ee);at.controlType="decimal-column",at.controlName="\u6570\u503C",at.controlIcon="decimal-column",at.controlFieldType=c.FieldTypes.DECIMAL,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",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 lie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function yie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vie(e,t){return t&&(die(t)==="object"||typeof t=="function")?t:lie(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}var die=function(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 _ie(e){var t=hie();return function(){var n=ia(e),o;if(t){var u=ia(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return vie(this,o)}}var bp=function(e){yie(r,e);var t=_ie(r);function r(n){sie(this,r);var o;return o=t.call(this,n),o.props=new ra(n==null?void 0:n.props),o}return r}(te);bp.controlType="decimal-column",bp.controlFieldType=c.FieldTypes.DECIMAL;var ZT={Designer:at,Runtime:bp,Property:ra};function e$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(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&&Op(e,t)}function pie(e,t){return t&&(bie(t)==="object"||typeof t=="function")?t:e$(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}var bie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Oie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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){var t=Oie();return function(){var n=ua(e),o;if(t){var u=ua(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return pie(this,o)}}var gie=function(e){n$(r,e);var t=r$(r);function r(n){t$(this,r);var o;return o=t.call(this,n),Le.call(e$(o),n),o}return r}($e),ca=function(e){n$(r,e);var t=r$(r);function r(n){t$(this,r);var o;o=t.call(this,n);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var f;o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new Ce(n==null?void 0:n.linkOperationOption);var a;return o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:lt.controlName,o}return r}(q);ca.Rules=gie;function mie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rie(e,t,r){return t&&o$(e.prototype,t),r&&o$(e,r),e}function fa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?fa=Reflect.get:fa=function(o,u,f){var a=$ie(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},fa(e,t,r||e)}function Kt(e){return Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kt(e)}function wie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tie(e,t){return t&&(Sie(t)==="object"||typeof t=="function")?t:mie(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gp(e,t)}function $ie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Kt(e),e!==null););return e}var Sie=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Eie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iie(e){var t=Eie();return function(){var n=Kt(e),o;if(t){var u=Kt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Tie(this,o)}}var lt=function(e){wie(r,e);var t=Iie(r);function r(n){Pie(this,r);var o;return o=t.call(this,n),o.props=new ca(n==null?void 0:n.props),o}return Rie(r,[{key:"toDataBindModel",value:function(o){var u=fa(Kt(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props.dateType;u.props.dateType=f}return u}}]),r}(ee);lt.controlType="timescope-column",lt.controlName="\u65E5\u671F\u533A\u95F4",lt.controlIcon="timescope-column",lt.controlFieldType=c.FieldTypes.TIMESCOPE,lt.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 Cie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(e)}function kie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function Bie(e,t){return t&&(jie(t)==="object"||typeof t=="function")?t:Cie(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}var jie=function(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 Mie(e){var t=Aie();return function(){var n=aa(e),o;if(t){var u=aa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Bie(this,o)}}var Pp=function(e){kie(r,e);var t=Mie(r);function r(n){Nie(this,r);var o;return o=t.call(this,n),o.props=new ca(n==null?void 0:n.props),o}return r}(te);Pp.controlType="timescope-column",Pp.controlFieldType=c.FieldTypes.TIMESCOPE;var i$={Designer:lt,Runtime:Pp,Property:ca};function u$(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 la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function f$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function Die(e,t){return t&&(Lie(t)==="object"||typeof t=="function")?t:u$(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}var Lie=function(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 a$(e){var t=Fie();return function(){var n=la(e),o;if(t){var u=la(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Die(this,o)}}var zie=function(e){f$(r,e);var t=a$(r);function r(n){c$(this,r);var o;return o=t.call(this,n),Le.call(u$(o),n),o}return r}($e),sa=function(e){f$(r,e);var t=a$(r);function r(n){c$(this,r);var o;o=t.call(this,n);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var f;o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new Ce(n==null?void 0:n.linkOperationOption);var a;return o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:st.controlName,o}return r}(q);sa.Rules=zie;function Gie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yie(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 xie(e,t,r){return t&&l$(e.prototype,t),r&&l$(e,r),e}function ya(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ya=Reflect.get:ya=function(o,u,f){var a=qie(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},ya(e,t,r||e)}function Xt(e){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xt(e)}function Vie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wp(e,t)}function Hie(e,t){return t&&(Uie(t)==="object"||typeof t=="function")?t:Gie(e)}function wp(e,t){return wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wp(e,t)}function qie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Xt(e),e!==null););return e}var Uie=function(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 Kie(e){var t=Wie();return function(){var n=Xt(e),o;if(t){var u=Xt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Hie(this,o)}}var st=function(e){Vie(r,e);var t=Kie(r);function r(n){Yie(this,r);var o;return o=t.call(this,n),o.props=new sa(n==null?void 0:n.props),o}return xie(r,[{key:"toDataBindModel",value:function(o){var u=ya(Xt(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props.dateType;u.props.dateType=f}return u}}]),r}(ee);st.controlType="timestamp-column",st.controlName="\u65E5\u671F",st.controlIcon="timestamp-column",st.controlFieldType=c.FieldTypes.TIMESTAMP,st.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 Xie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function Qie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zie(e,t){return t&&(eue(t)==="object"||typeof t=="function")?t:Xie(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}var eue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nue(e){var t=tue();return function(){var n=va(e),o;if(t){var u=va(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Zie(this,o)}}var $p=function(e){Qie(r,e);var t=nue(r);function r(n){Jie(this,r);var o;return o=t.call(this,n),o.props=new sa(n==null?void 0:n.props),o}return r}(te);$p.controlType="timestamp-column",$p.controlFieldType=c.FieldTypes.TIMESTAMP;var s$={Designer:st,Runtime:$p,Property:sa};function rue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function 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&&Sp(e,t)}function oue(e,t){return t&&(iue(t)==="object"||typeof t=="function")?t:rue(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}var iue=function(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 d$(e){var t=uue();return function(){var n=da(e),o;if(t){var u=da(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return oue(this,o)}}var cue=function(e){v$(r,e);var t=d$(r);function r(n){return y$(this,r),t.call(this,n)}return r}(os),ha=function(e){v$(r,e);var t=d$(r);function r(n){y$(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:yt.controlName;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"none",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var a;return o.options=we((a=n==null?void 0:n.options)!==null&&a!==void 0?a:[{}]),o}return r}(q);ha.Rules=cue;function fue(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 _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function lue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 sue(e,t){return t&&(yue(t)==="object"||typeof t=="function")?t:fue(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}var yue=function(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 due(e){var t=vue();return function(){var n=_a(e),o;if(t){var u=_a(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return sue(this,o)}}var yt=function(e){lue(r,e);var t=due(r);function r(n){aue(this,r);var o;return o=t.call(this,n),o.props=new ha(n==null?void 0:n.props),o}return r}(ee);yt.controlType="array-column",yt.controlName="\u6570\u7EC4",yt.controlIcon="array-column",yt.controlFieldType=c.FieldTypes.ARRAY,yt.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:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];function hue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function pue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ip(e,t)}function bue(e,t){return t&&(Oue(t)==="object"||typeof t=="function")?t:hue(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(e,t)}var Oue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mue(e){var t=gue();return function(){var n=pa(e),o;if(t){var u=pa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bue(this,o)}}var Cp=function(e){pue(r,e);var t=mue(r);function r(n){_ue(this,r);var o;return o=t.call(this,n),o.props=new ha(n==null?void 0:n.props),o}return r}(te);Cp.controlType="array-column",Cp.controlFieldType=c.FieldTypes.ARRAY;var h$={Designer:yt,Runtime:Cp,Property:ha};function Pue(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 ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(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&&Np(e,t)}function Tue(e,t){return t&&($ue(t)==="object"||typeof t=="function")?t:Pue(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}var $ue=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Sue();return function(){var n=ba(e),o;if(t){var u=ba(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Tue(this,o)}}var kp=function(e){wue(r,e);var t=Eue(r);function r(n){Rue(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:vt.controlName;var f;return o.displayLevel=(f=n==null?void 0:n.displayLevel)!==null&&f!==void 0?f:1,o}return r}(q);function Iue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cue(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 Nue(e,t,r){return t&&_$(e.prototype,t),r&&_$(e,r),e}function Oa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Oa=Reflect.get:Oa=function(o,u,f){var a=jue(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},Oa(e,t,r||e)}function Jt(e){return Jt=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jt(e)}function kue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bp(e,t)}function Bue(e,t){return t&&(Aue(t)==="object"||typeof t=="function")?t:Iue(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bp(e,t)}function jue(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Jt(e),e!==null););return e}var Aue=function(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 Due(e){var t=Mue();return function(){var n=Jt(e),o;if(t){var u=Jt(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Bue(this,o)}}var vt=function(e){kue(r,e);var t=Due(r);function r(n){Cue(this,r);var o;return o=t.call(this,n),o.props=new kp(n==null?void 0:n.props),o}return Nue(r,[{key:"toDataBindModel",value:function(o){var u=Oa(Jt(r.prototype),"toDataBindModel",this).call(this,o);if(u){var f=this.props.displayLevel;u.props.displayLevel=f}return u}}]),r}(ee);vt.controlType="department-column",vt.controlName="\u90E8\u95E8",vt.controlIcon="department-column",vt.controlFieldType=c.FieldTypes.DEPARTMENTS,vt.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 Lue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function zue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gue(e,t){return t&&(Yue(t)==="object"||typeof t=="function")?t:Lue(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}var Yue=function(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 Vue(e){var t=xue();return function(){var n=ga(e),o;if(t){var u=ga(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Gue(this,o)}}var Ap=function(e){zue(r,e);var t=Vue(r);function r(n){Fue(this,r);var o;return o=t.call(this,n),o.props=new kp(n==null?void 0:n.props),o}return r}(te);Ap.controlType="department-column",Ap.controlFieldType=c.FieldTypes.DEPARTMENTS;var p$={Designer:vt,Runtime:Ap,Property:kp};function b$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(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&&Mp(e,t)}function Hue(e,t){return t&&(que(t)==="object"||typeof t=="function")?t:b$(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mp(e,t)}var que=function(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 m$(e){var t=Uue();return function(){var n=ma(e),o;if(t){var u=ma(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Hue(this,o)}}var Wue=function(e){g$(r,e);var t=m$(r);function r(n){O$(this,r);var o;return o=t.call(this,n),Le.call(b$(o),n),o}return r}($e),Pa=function(e){g$(r,e);var t=m$(r);function r(n){O$(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:dt.controlName;var f;return o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new Ce(n==null?void 0:n.linkOperationOption),o}return r}(q);Pa.Rules=Wue;function Kue(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 Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(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&&Dp(e,t)}function Que(e,t){return t&&(Zue(t)==="object"||typeof t=="function")?t:Kue(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}var Zue=function(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=Ra(e),o;if(t){var u=Ra(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Que(this,o)}}var dt=function(e){Jue(r,e);var t=tce(r);function r(n){Xue(this,r);var o;return o=t.call(this,n),o.props=new Pa(n==null?void 0:n.props),o}return r}(ee);dt.controlType="auto-number-column",dt.controlName="\u81EA\u52A8\u7F16\u53F7",dt.controlIcon="auto-number-column",dt.controlFieldType=c.FieldTypes.AUTO_NUMBER,dt.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:"column-sort",visible:!0}];function nce(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 wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function oce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ice(e,t){return t&&(uce(t)==="object"||typeof t=="function")?t:nce(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}var uce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function cce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fce(e){var t=cce();return function(){var n=wa(e),o;if(t){var u=wa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ice(this,o)}}var Fp=function(e){oce(r,e);var t=fce(r);function r(n){rce(this,r);var o;return o=t.call(this,n),o.props=new Pa(n==null?void 0:n.props),o}return r}(te);Fp.controlType="auto-number-column",Fp.controlFieldType=c.FieldTypes.AUTO_NUMBER;var P$={Designer:dt,Runtime:Fp,Property:Pa};function ace(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(e)}function sce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yce(e,t){return t&&(vce(t)==="object"||typeof t=="function")?t:ace(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zp(e,t)}var vce=function(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 hce(e){var t=dce();return function(){var n=Ta(e),o;if(t){var u=Ta(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return yce(this,o)}}var Gp=function(e){sce(r,e);var t=hce(r);function r(n){lce(this,r);var o;o=t.call(this,n);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ht.controlName,o}return r}(q);function _ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pce(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 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&&Yp(e,t)}function Oce(e,t){return t&&(gce(t)==="object"||typeof t=="function")?t:_ce(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}var gce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function mce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pce(e){var t=mce();return function(){var n=$a(e),o;if(t){var u=$a(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Oce(this,o)}}var ht=function(e){bce(r,e);var t=Pce(r);function r(n){pce(this,r);var o;return o=t.call(this,n),o.props=new Gp(n==null?void 0:n.props),o}return r}(ee);ht.controlType="file-column",ht.controlName="\u9644\u4EF6",ht.controlIcon="file-column",ht.controlFieldType=c.FieldTypes.FILE,ht.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 Rce(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 Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(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&&xp(e,t)}function $ce(e,t){return t&&(Sce(t)==="object"||typeof t=="function")?t:Rce(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}var Sce=function(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 Ice(e){var t=Ece();return function(){var n=Sa(e),o;if(t){var u=Sa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return $ce(this,o)}}var Vp=function(e){Tce(r,e);var t=Ice(r);function r(n){wce(this,r);var o;return o=t.call(this,n),o.props=new Gp(n==null?void 0:n.props),o}return r}(te);Vp.controlType="file-column",Vp.controlFieldType=c.FieldTypes.FILE;var R$={Designer:ht,Runtime:Vp,Property:Gp};function Cce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(e)}function kce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function Bce(e,t){return t&&(jce(t)==="object"||typeof t=="function")?t:Cce(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}var jce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ace(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mce(e){var t=Ace();return function(){var n=Ea(e),o;if(t){var u=Ea(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Bce(this,o)}}var qp=function(e){kce(r,e);var t=Mce(r);function r(n){Nce(this,r);var o;o=t.call(this,n);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:_t.controlName,o}return r}(q);function Dce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ia(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&&Up(e,t)}function zce(e,t){return t&&(Gce(t)==="object"||typeof t=="function")?t:Dce(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}var Gce=function(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 xce(e){var t=Yce();return function(){var n=Ia(e),o;if(t){var u=Ia(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return zce(this,o)}}var _t=function(e){Fce(r,e);var t=xce(r);function r(n){Lce(this,r);var o;return o=t.call(this,n),o.props=new qp(n==null?void 0:n.props),o}return r}(ee);_t.controlType="image-column",_t.controlName="\u56FE\u7247",_t.controlIcon="image-column",_t.controlFieldType=c.FieldTypes.IMAGE,_t.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 Vce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function qce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Uce(e,t){return t&&(Wce(t)==="object"||typeof t=="function")?t:Vce(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}var Wce=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xce(e){var t=Kce();return function(){var n=Ca(e),o;if(t){var u=Ca(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Uce(this,o)}}var Kp=function(e){qce(r,e);var t=Xce(r);function r(n){Hce(this,r);var o;return o=t.call(this,n),o.props=new qp(n==null?void 0:n.props),o}return r}(te);Kp.controlType="image-column",Kp.controlFieldType=c.FieldTypes.IMAGE;var w$={Designer:_t,Runtime:Kp,Property:qp};function Jce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(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&&Xp(e,t)}function efe(e,t){return t&&(tfe(t)==="object"||typeof t=="function")?t:Jce(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}var tfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function nfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rfe(e){var t=nfe();return function(){var n=Na(e),o;if(t){var u=Na(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return efe(this,o)}}var Jp=function(e){Zce(r,e);var t=rfe(r);function r(n){Qce(this,r);var o;o=t.call(this,n);var u;return o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:pt.controlName,o}return r}(q);function ofe(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 ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(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&&Qp(e,t)}function cfe(e,t){return t&&(ffe(t)==="object"||typeof t=="function")?t:ofe(e)}function Qp(e,t){return Qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qp(e,t)}var ffe=function(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 lfe(e){var t=afe();return function(){var n=ka(e),o;if(t){var u=ka(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return cfe(this,o)}}var pt=function(e){ufe(r,e);var t=lfe(r);function r(n){ife(this,r);var o;return o=t.call(this,n),o.props=new Jp(n==null?void 0:n.props),o}return r}(ee);pt.controlType="people-column",pt.controlName="\u4EBA\u5458",pt.controlIcon="people-column",pt.controlFieldType=c.FieldTypes.EMPLOYEES,pt.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 sfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(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&&Zp(e,t)}function dfe(e,t){return t&&(hfe(t)==="object"||typeof t=="function")?t:sfe(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}var hfe=function(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 pfe(e){var t=_fe();return function(){var n=Ba(e),o;if(t){var u=Ba(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return dfe(this,o)}}var eb=function(e){vfe(r,e);var t=pfe(r);function r(n){yfe(this,r);var o;return o=t.call(this,n),o.props=new Jp(n==null?void 0:n.props),o}return r}(te);eb.controlType="people-column",eb.controlFieldType=c.FieldTypes.EMPLOYEES;var T$={Designer:pt,Runtime:eb,Property:Jp};function $$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function E$(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function bfe(e,t){return t&&(Ofe(t)==="object"||typeof t=="function")?t:$$(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}var Ofe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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){var t=gfe();return function(){var n=ja(e),o;if(t){var u=ja(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bfe(this,o)}}var mfe=function(e){E$(r,e);var t=I$(r);function r(n){S$(this,r);var o;return o=t.call(this,n),Le.call($$(o),n),o}return r}($e),Aa=function(e){E$(r,e);var t=I$(r);function r(n){S$(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:bt.controlName;var f;return o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new Ce(n==null?void 0:n.linkOperationOption),o}return r}(q);Aa.Rules=mfe;function Pfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(e)}function wfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tfe(e,t){return t&&($fe(t)==="object"||typeof t=="function")?t:Pfe(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}var $fe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Sfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Efe(e){var t=Sfe();return function(){var n=Ma(e),o;if(t){var u=Ma(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Tfe(this,o)}}var bt=function(e){wfe(r,e);var t=Efe(r);function r(n){Rfe(this,r);var o;return o=t.call(this,n),o.props=new Aa(n==null?void 0:n.props),o}return r}(ee);bt.controlType="location-column",bt.controlName="\u5730\u5740",bt.controlIcon="location-column",bt.controlFieldType=c.FieldTypes.ADDRESS,bt.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:"column-sort",visible:!0}];function Ife(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function Nfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kfe(e,t){return t&&(Bfe(t)==="object"||typeof t=="function")?t:Ife(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}var Bfe=function(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 Afe(e){var t=jfe();return function(){var n=Da(e),o;if(t){var u=Da(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kfe(this,o)}}var ob=function(e){Nfe(r,e);var t=Afe(r);function r(n){Cfe(this,r);var o;return o=t.call(this,n),o.props=new Aa(n==null?void 0:n.props),o}return r}(te);ob.controlType="location-column",ob.controlFieldType=c.FieldTypes.ADDRESS;var C$={Designer:bt,Runtime:ob,Property:Aa};function Mfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function Lfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ffe(e,t){return t&&(zfe(t)==="object"||typeof t=="function")?t:Mfe(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}var zfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Gfe();return function(){var n=La(e),o;if(t){var u=La(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Ffe(this,o)}}var ub=function(e){Lfe(r,e);var t=Yfe(r);function r(n){Dfe(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ge.controlName;var f;o.fieldCodeList=(f=n==null?void 0:n.fieldCodeList)!==null&&f!==void 0?f:[];var a;return o.sortFieldCode=(a=n==null?void 0:n.sortFieldCode)!==null&&a!==void 0?a:"",o}return r}(q);function N$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xfe(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 Vfe(e,t,r){return t&&k$(e.prototype,t),r&&k$(e,r),e}function Hfe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?cr=Reflect.get:cr=function(o,u,f){var a=Xfe(o,u);if(!!a){var l=Object.getOwnPropertyDescriptor(a,u);return l.get?l.get.call(f):l.value}},cr(e,t,r||e)}function Ot(e){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ot(e)}function qfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ufe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function Wfe(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){Hfe(e,o,r[o])})}return e}function Kfe(e,t){return t&&(Jfe(t)==="object"||typeof t=="function")?t:N$(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function Xfe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ot(e),e!==null););return e}var Jfe=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Qfe();return function(){var n=Ot(e),o;if(t){var u=Ot(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Kfe(this,o)}}var eae=1,Ge=function(t){qfe(n,t);var r=Zfe(n);function n(o){xfe(this,n);var u;u=r.call(this,o);var f=Ufe(this,n)?this.constructor:void 0,a=f.excludes,l=f.childrenMaxLength;return u.props=new ub(o==null?void 0:o.props),Pe(N$(u),"children",o==null?void 0:o.children,void 0,"Designer"),u.excludes=Ie(a),u.childrenMaxLength=l,u}return Vfe(n,[{key:"judgeJoinChildren",value:function(u){var f=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u);return f&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(u){var f=cr(Ot(n.prototype),"toDataBindModel",this).call(this,u);if(f){var a=this.props.fieldCodeList;f.props.fieldCodeList=a}return f}},{key:"toSchema",value:function(){var u=cr(Ot(n.prototype),"toSchema",this).call(this);return Wfe({},u,{children:this.children.map(function(f){return f.toSchema()})})}}]),n}(ee);Ge.controlType="custom-column",Ge.controlName="\u81EA\u5B9A\u4E49",Ge.controlIcon="custom-column",Ge.excludes=[],Ge.childrenMaxLength=eae,Ge.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 B$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tae(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 nae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rae(e,t){return t&&(oae(t)==="object"||typeof t=="function")?t:B$(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}var oae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function iae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uae(e){var t=iae();return function(){var n=Fa(e),o;if(t){var u=Fa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return rae(this,o)}}var j$=function(e){nae(r,e);var t=uae(r);function r(n){tae(this,r);var o;return o=t.call(this,n),o.props=new ub(n==null?void 0:n.props),Pe(B$(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(te);j$.controlType="custom-column";var A$={Designer:Ge,Runtime:j$,Property:ub};function cae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},za(e)}function aae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lae(e,t){return t&&(sae(t)==="object"||typeof t=="function")?t:cae(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}var sae=function(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 vae(e){var t=yae();return function(){var n=za(e),o;if(t){var u=za(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return lae(this,o)}}var lb=function(e){aae(r,e);var t=vae(r);function r(n){fae(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ye.controlName;var f;return o.datasourceBind=new un((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{attributes:Ye.controlCustomAttributes}),o}return r}(q);function dae(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 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 _ae(e,t,r){return t&&M$(e.prototype,t),r&&M$(e,r),e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(e)}function pae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bae(e,t){return t&&(Oae(t)==="object"||typeof t=="function")?t:dae(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}var Oae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mae(e){var t=gae();return function(){var n=Ga(e),o;if(t){var u=Ga(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return bae(this,o)}}var Ye=function(e){pae(r,e);var t=mae(r);function r(n){hae(this,r);var o;return o=t.call(this,n),o.props=new lb(n==null?void 0:n.props),o}return _ae(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ee);Ye.controlType="employee-column",Ye.controlName="\u4EBA\u5458",Ye.controlIcon="employee-column",Ye.controlFieldType=c.FieldTypes.EMPLOYEES,Ye.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 Pae(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 Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(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&&yb(e,t)}function Tae(e,t){return t&&($ae(t)==="object"||typeof t=="function")?t:Pae(e)}function yb(e,t){return yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yb(e,t)}var $ae=function(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=Ya(e),o;if(t){var u=Ya(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Tae(this,o)}}var vb=function(e){wae(r,e);var t=Eae(r);function r(n){Rae(this,r);var o;return o=t.call(this,n),o.props=new lb(n==null?void 0:n.props),o}return r}(te);vb.controlType="employee-column",vb.controlFieldType=c.FieldTypes.EMPLOYEES;var D$={Designer:Ye,Runtime:vb,Property:lb};function Iae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cae(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 Nae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kae(e,t){return t&&(Bae(t)==="object"||typeof t=="function")?t:Iae(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}var Bae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function jae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jae();return function(){var n=xa(e),o;if(t){var u=xa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return kae(this,o)}}var hb=function(e){Nae(r,e);var t=Aae(r);function r(n){Cae(this,r);var o;o=t.call(this,n);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:gt.controlName;var f;o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new Ce(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}(q);function Mae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function Lae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fae(e,t){return t&&(zae(t)==="object"||typeof t=="function")?t:Mae(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}var zae=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Gae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yae(e){var t=Gae();return function(){var n=Va(e),o;if(t){var u=Va(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Fae(this,o)}}var gt=function(e){Lae(r,e);var t=Yae(r);function r(n){Dae(this,r);var o;return o=t.call(this,n),o.props=new hb(n==null?void 0:n.props),o}return r}(ee);gt.controlType="approval-status-column",gt.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",gt.controlIcon="approval-status-column",gt.excludes=[],gt.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-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}];function xae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vae(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 Hae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qae(e,t){return t&&(Uae(t)==="object"||typeof t=="function")?t:xae(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}var Uae=function(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 Kae(e){var t=Wae();return function(){var n=Ha(e),o;if(t){var u=Ha(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return qae(this,o)}}var L$=function(e){Hae(r,e);var t=Kae(r);function r(n){Vae(this,r);var o;return o=t.call(this,n),o.props=new hb(n==null?void 0:n.props),o}return r}(te);L$.controlType="approval-status-column";var F$={Designer:gt,Runtime:L$,Property:hb},Xae=Object.freeze({__proto__:null,VarcharColumn:GT,TextColumn:UT,DecimalColumn:ZT,TimescopeColumn:i$,TimestampColumn:s$,ArrayColumn:h$,DepartmentColumn:p$,AutoNumberColumn:P$,FileColumn:R$,ImageColumn:w$,PeopleColumn:T$,LocationColumn:C$,CustomColumn:A$,OrderColumn:TT,OperationColumn:CT,EmployeeColumn:D$,ApprovalStatusColumn:F$});function Jae(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 qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qa(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&&bb(e,t)}function Qae(e,t){return t&&(Zae(t)==="object"||typeof t=="function")?t:Jae(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}var Zae=function(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 Y$(e){var t=ele();return function(){var n=qa(e),o;if(t){var u=qa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Qae(this,o)}}var tle=function(e){G$(r,e);var t=Y$(r);function r(n){z$(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(je),Ua=function(e){G$(r,e);var t=Y$(r);function r(n){z$(this,r);var o;o=t.call(this,n);var u;o.searchType=(u=n==null?void 0:n.searchType)!==null&&u!==void 0?u:"model";var f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var a;o.viewType=(a=n==null?void 0:n.viewType)!==null&&a!==void 0?a:"mini";var l;o.search=new Ne((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:"\u67E5\u8BE2",isShow:!0});var s;o.cancel=new Ne((s=n==null?void 0:n.cancel)!==null&&s!==void 0?s:{content:"\u91CD\u7F6E",isShow:!0});var y;o.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1;var v;o.custom=((v=n==null?void 0:n.custom)!==null&&v!==void 0?v:[]).map(function(b){return new Ne(b)});var d;o.queryTypeMap=(d=n==null?void 0:n.queryTypeMap)!==null&&d!==void 0?d:[];var h;o.childMinWidth=(h=n==null?void 0:n.childMinWidth)!==null&&h!==void 0?h:230;var O;return o.colGap=(O=n==null?void 0:n.colGap)!==null&&O!==void 0?O:24,o}return r}(Yr);Ua.RuntimeRules=tle;function nle(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 Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(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&&Ob(e,t)}function ile(e,t){return t&&(ule(t)==="object"||typeof t=="function")?t:nle(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}var ule=function(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 fle(e){var t=cle();return function(){var n=Wa(e),o;if(t){var u=Wa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return ile(this,o)}}var gb=function(e){ole(r,e);var t=fle(r);function r(n){rle(this,r);var o;return o=t.call(this,n),o.props=new Ua(n==null?void 0:n.props),o}return r}(ug);gb.controlType="simple-search",gb.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 ale(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(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&&mb(e,t)}function yle(e,t){return t&&(vle(t)==="object"||typeof t=="function")?t:ale(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}var vle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function dle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=dle();return function(){var n=Ka(e),o;if(t){var u=Ka(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return yle(this,o)}}var x$=function(e){sle(r,e);var t=hle(r);function r(n){lle(this,r);var o;o=t.call(this,n),o.props=new Ua(n==null?void 0:n.props);var u;return o.children=(u=n==null?void 0:n.children)!==null&&u!==void 0?u:[],o}return r}(cg);x$.controlType="simple-search";var V$={Designer:gb,Runtime:x$,Property:Ua},_le=Object.freeze({__proto__:null,SimpleSearch:V$});function ple(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ble(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 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&&Pb(e,t)}function gle(e,t){return t&&(mle(t)==="object"||typeof t=="function")?t:ple(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}var mle=function(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 Rle(e){var t=Ple();return function(){var n=Xa(e),o;if(t){var u=Xa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return gle(this,o)}}var Rb=function(e){Ole(r,e);var t=Rle(r);function r(n){ble(this,r);var o;o=t.call(this,n);var u;return o.wholeRow=(u=n==null?void 0:n.wholeRow)!==null&&u!==void 0?u:!1,o}return r}(qr);function wle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tle(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 $le(e,t,r){return t&&H$(e.prototype,t),r&&H$(e,r),e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(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&&wb(e,t)}function Ele(e,t){return t&&(Ile(t)==="object"||typeof t=="function")?t:wle(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}var Ile=function(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 Nle(e){var t=Cle();return function(){var n=Ja(e),o;if(t){var u=Ja(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Ele(this,o)}}var kle=function(e){Sle(r,e);var t=Nle(r);function r(n){Tle(this,r);var o;return o=t.call(this,n),o.props=new Rb(n==null?void 0:n.props),o}return $le(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}(fg);function Ble(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ale(e,t,r){return t&&q$(e.prototype,t),r&&q$(e,r),e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(e)}function Mle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dle(e,t){return t&&(Lle(t)==="object"||typeof t=="function")?t:Ble(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(e,t)}var Lle=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zle(e){var t=Fle();return function(){var n=Qa(e),o;if(t){var u=Qa(this).constructor;o=Reflect.construct(n,arguments,u)}else o=n.apply(this,arguments);return Dle(this,o)}}var Gle=function(e){Mle(r,e);var t=zle(r);function r(n){jle(this,r);var o;return o=t.call(this,n),o.props=new Rb(n==null?void 0:n.props),o}return Ale(r,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(ag);function Qse(e){return e}var Yle={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},U$={Designer:kle,Runtime:Gle,Property:Rb,Setting:Yle},xle=Object.freeze({__proto__:null,GridLayoutWrap:U$});function $b(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 Vle(e){if(Array.isArray(e))return e}function Hle(e){if(Array.isArray(e))return $b(e)}function qle(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ule(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,u=!1,f,a;try{for(r=r.call(e);!(o=(f=r.next()).done)&&(n.push(f.value),!(t&&n.length===t));o=!0);}catch(l){u=!0,a=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(u)throw a}}return n}}function Wle(){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 Kle(){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 Xle(e,t){return Vle(e)||Ule(e,t)||K$(e,t)||Wle()}function W$(e){return Hle(e)||qle(e)||K$(e)||Kle()}function K$(e,t){if(!!e){if(typeof e=="string")return $b(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 $b(e,t)}}var Jle=function(e,t){var r=Array.isArray(e),n=r?e:[e];ase(t==null?void 0:t.events),rse(n),ose(n);var o=nse(n),u=ise(o,t),f=Xe(ie(u,function(a){return tse(a,t)}));return r?f:f[0]},Qle=[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"],Zle=["subtable","grid-table"],ese=["simple-search"];function tse(e,t){var r,n,o,u=e;if(u.controlType||(u.is_layout_control===!0?u.controlType="layout":Qle.includes(u.type)?u.controlType="base":u.controlType="form",Zle.includes(u.type)&&(u.controlType="list"),ese.includes(u.type)&&(u.controlType="search-view")),delete u.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),oe(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(u.props.caption=e.props.caption.zh),oe(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(u.props.placeholder=e.props.placeholder.zh),oe(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(u.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(u.type="department",e.props.value.length&&(u.props.default_value=e.props.value),u.props.showType=e.props.show_tree?"tree":"default",u.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(u.type="auto-number",u.props.defaultValue=e.props.value),e.type==="file"){var f;u.type="attachment",u.props.attachmentAccept=(f=e.attachment_format)===null||f===void 0?void 0:f.split(","),u.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var a;u.props.attachmentAccept=(a=e.attachment_format)===null||a===void 0?void 0:a.split(",")}if(e.type==="date-pick"&&(u.type="date-picker"),e.type==="rich-text"&&(oe(e.props.value)?u.props.defaultValue=e.props.value.zh:u.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(oe(e.props.value)?u.props.content=e.props.value.zh:u.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(u.props.showState="image"),e.type==="user-search"&&(u.type="employee",u.props.defaultValue=e.props.value),e.type==="address"&&(u.props.addressType=e.props.address_type_value),u.type==="subtable"){var l,s=u.props.entry_type||u.props.entryType;u.props.openType=s==="subpage"?"modal":"default",((l=u.children[0])===null||l===void 0?void 0:l.type)==="subtable-row"&&u.props.headers&&(u.props.headers=u.props.headers.map(function(E,N){var j=new xh.Designer;j.props.caption=oe(E.field_name)?E.field_name.zh:E.field_name;var U=j.toSchema();U.id=E.header_id;var J=u.children[0].children[N].children[0];return!!J&&(U.children=[J]),U}),u.children=[])}u.type==="subtable-cell"&&(u.type="subtable-column");var y=["radio","checkbox","select","select-multiple"];if(y.includes(e.type)&&(e.props.options.map(function(E){E.label=oe(E.text)?E.text.zh:E.text,E.id=E.id||E.opt_id||E.optId||E.data_id}),u=e),e.type==="grid-row"){var v=24/u.children.length;u.children=u.children.map(function(E){var N=new Ec.Designer;N.props.span=v;var j=N.toSchema();return j.children.push(E),j})}if(e.type==="grid-layout-row"&&(u.type="row"),e.type==="grid-layout-col"&&(u.type="col"),e.type==="group-panel"&&(u.type="card-group",u.props.collapse=u.props.flod==="no"?"none":u.props.flod),e.type==="tabs-pane"&&(u.type="tab-pane"),e.type==="calc"){var d=u==null?void 0:u.children[0],h=u==null?void 0:u.children[1],O={};d&&(X$(u,t),O.result=d.props.data_bind,u.id=d.id,u.props=d.props,u.props.script_src=d.props.script_src,u.props.script_echo=d.props.script_echo,u.props.precision=d.props.precision,u.props.micrometer=d.props.is_show_money,u.props.showUpperCase=d.props.is_show_chn),h&&(O.unit=h.props.data_bind,u.props.default_value={unit:h.props.value}),u.props.dataBind=O,delete u.children}if(e.type==="amount-currency"){u.type="amount",u.controlType="form";var b=u==null?void 0:u.children[0],g=u==null?void 0:u.children[1],_={},P={};b&&(X$(u,t),u.id=b.id,_.amount=b.props.data_bind,u.props.range_min=Ke(b.props.range_min),u.props.range_max=Ke(b.props.range_max),P.amount=Ke(b.props.value),u.props.required=b.props.required,u.props.is_hide=b.props.is_hide,u.props.default_state=b.props.default_state,u.props.caption=oe(b.props.caption)?b.props.caption.zh:b.props.caption,u.props.is_hide_caption=b.props.is_hide_caption,u.props.showUpperCase=b.props.is_show_chn),g&&(_.currency=g.props.data_bind,P.currency=g.props.value,u.props.datasourceBind=g.props.datasource_bind,u.props.options=g.props.options.map(function(E){return{label:E.text,value:E.value}})),u.props.dataBind=_,u.props.defaultValue=P,delete u.children}if(e.type==="date-range"){u.controlType="form";var w=u==null?void 0:u.children[0],$=u==null?void 0:u.children[1];u.props.placeholderStart=oe(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,u.props.caption=oe(e.props.caption)?e.props.caption.zh:e.props.caption;var S={};w&&(S.min=w.props.data_bind),$&&(S.max=$.props.data_bind),u.props.dataBind=S,delete u.children}return e.type==="score"&&(u.props.defaultValue=u.props.value*1),["input","textarea"].includes(e.type)&&(u.props.defaultValue=oe(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(u.props.range_min=Ke(e.props.range_min),u.props.range_max=Ke(e.props.range_max),u.props.defaultValue=Ke(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(u.props.buttonType="default"),lse(u,t==null?void 0:t.control_events),u}function X$(e,t){if(!!t){var r=t.displayBoList,n=r===void 0?[]:r,o=t.behaviors,u=o===void 0?[]:o,f=e.id,a=e.children[0].id;n.forEach(function(l){l.id===f&&(l.id=a);var s=l.show_controls.findIndex(function(v){return v===f}),y=l.hide_controls.findIndex(function(v){return v===f});s>-1&&l.show_controls.splice(s,1,a),y>-1&&l.hide_controls.splice(y,1,a)}),u.forEach(function(l){l.ctrl_id===f&&(l.id=a)})}}function nse(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new R_.Designer,n=r.toSchema();return n.children=e,[n]}function rse(e){e.forEach(function(t){t.children&&fse(t.children)})}function ose(e){e.forEach(function(t){if(!!(t&&t.children))for(var r=t.children,n=0;n<r.length;n++){var o,u,f=r[n],a=(o=r[n])===null||o===void 0||(u=o.children)===null||u===void 0?void 0:u[0];f.type==="grid-row"&&a&&["group-panel","subtable","tab"].includes(a.type)&&r.splice(n,1,a)}})}function ise(e,t){var r,n,o,u,f;if(!(Array.isArray(e)&&e.length===1))return e;var a=e[0];if(a.type!=="list-page")return e;var l=a.props,s=a.children,y=Xle(s,3),v=y[0],d=y[1],h=y[2];use(v),h.props.is_fixed_header=l==null||(r=l.source_config)===null||r===void 0?void 0:r.is_fixed_header,cse(h,d);var O,b=(O=l==null||(n=l.source_config)===null||n===void 0?void 0:n.data_code)!==null&&O!==void 0?O:t==null?void 0:t.dataCode,g,_=((g=l==null||(o=l.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&g!==void 0?g:b)?"".concat(b,"_selectMore"):void 0,P,w=(P=l==null||(u=l.source_config)===null||u===void 0?void 0:u.orders)!==null&&P!==void 0?P:[],$=new O_.Designer;$.props.datasourceBind=new Q({dataCode:b,svcCode:_,orders:Hb(w)}),$.props.isShowSubList=l.is_show_sublist,$.props.triggerType=l.timing_type,$.props.triggerFieldCode=l.ctrl_field_code,l==null||(f=l.sublist_page)===null||f===void 0||f.sublists.forEach(function(E){E.title=oe(E.title)?E.title.zh:E.title}),$.props.sublistPage=l.sublist_page;var S=$.toSchema();return S.children.push(v,h),[S]}function use(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=oe(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=(n=t.dateType)===null||n===void 0||(o=n.replace)===null||o===void 0?void 0:o.call(n,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function cse(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:oe(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=oe(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 u;n.props.delete=(u=r.delete)!==null&&u!==void 0?u:{},n.props.delete.openType="window";var f;n.props.edit=(f=r.edit)!==null&&f!==void 0?f:{},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 Q({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 fse(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 ase(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 lse(e,t){var r;if(!(!t||!e.props.events)){var n=Object.keys(e.props.events);if(!!n.length&&(n.forEach(function(u){var f;!e.props.events[u].length||(t[e.id]||(t[e.id]={}),t[e.id][u]||(t[e.id][u]=[]),(f=t[e.id][u]).push.apply(f,W$(e.props.events[u].map(function(a){return a.name}))))}),(r=t[e.id])===null||r===void 0?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,W$(t[e.id].on_blur))}}}var sse=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Xe(ie(n,function(u){return yse(u)}));return r?o:o[0]};function yse(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 be({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var vse=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Xe(ie(n,function(u){return dse(u)}));return r?o:o[0]};function dse(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 hse=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Xe(ie(n,function(u){return _se(u)}));return r?o:o[0]};function _se(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 pse=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Xe(ie(n,function(u){return Ose(u)}));return r?o:o[0]},bse=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function Ose(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(bse.includes(r.type))return r;var n=new Ah.Designer,o=new Ec.Designer;n.children.push(o);var u=n.toSchema();return u.children[0].children.push(r),u})),e}var gse=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Xe(ie(n,function(u){return mse(u)}));return r?o:o[0]};function mse(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 Pse=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ie(n,function(u){return Rse(u)});return r?o:o[0]};function Rse(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),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}var wse=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ie(n,function(u){return Tse(u)});return r?o:o[0]};function xe(e,t){e.field_code&&(e.field_type=t)}function Tse(e,t){var r,n=(r={},x(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),x(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),x(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),x(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),x(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),x(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),x(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),x(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),x(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),x(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),x(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),x(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),x(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),x(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),x(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),x(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),x(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),x(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),x(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),x(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),x(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),x(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),x(r,c.CONTROL_TYPE.SEARCH_NUMBER_RANGE,c.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&xe(e.props.data_bind,n[e.type]),e.type===c.CONTROL_TYPE.AMOUNT&&(xe(e.props.data_bind.amount,c.FieldTypes.DECIMAL),xe(e.props.data_bind.currency,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.CALC&&(xe(e.props.data_bind.result,c.FieldTypes.DECIMAL),xe(e.props.data_bind.unit,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.DATE_RANGE&&(xe(e.props.data_bind.min,c.FieldTypes.TIMESTAMP),xe(e.props.data_bind.max,c.FieldTypes.TIMESTAMP)),e.type===c.CONTROL_TYPE.VUE_FORM_ITEM){var o;xe(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY)}return e}var $se=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ie(n,function(u){return Sse(u)});return r?o:o[0]};function Sse(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 Ese=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ie(n,function(u){return Ise(u)});return r?o:o[0]};function Ise(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((n=r.props)===null||n===void 0||(o=n.data_bind)===null||o===void 0?void 0:o.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}var Cse=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ie(n,function(u){return Nse(u)});return r?o:o[0]};function Nse(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 kse=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ie(n,function(u){return Bse(u)});return r?o:o[0]};function Bse(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 jse=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ie(n,function(u){return Ase(u)});return r?o:o[0]};function Ase(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,u;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 f;if(r.children=(f=r==null?void 0:r.children)!==null&&f!==void 0?f:[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var a,l,s,y,v,d,h=new Tn.Designer;Object.defineProperty(h,"id",{value:"listPageCheckBtnId"}),h.props.code="view",h.props.icon="iconliulan1",h.props.command="view",h.props.content=(a=r.props)===null||a===void 0?void 0:a.check.content,h.props.priorityProcess=(l=r.props)===null||l===void 0?void 0:l.check.priority_process,h.props.openType=(s=r.props)===null||s===void 0?void 0:s.check.open_type,h.props.formKey=(y=r.props)===null||y===void 0?void 0:y.check.form_key,((v=r.props)===null||v===void 0?void 0:v.check.is_show)&&r.children.push(h.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 O,b,g,_,P,w,$=new Tn.Designer;Object.defineProperty($,"id",{value:"listPageEditBtnId"}),$.props.code="edit",$.props.icon="iconbianji1",$.props.command="edit",$.props.content=(O=r.props)===null||O===void 0?void 0:O.edit.content,$.props.priorityProcess=(b=r.props)===null||b===void 0?void 0:b.edit.priority_process,$.props.openType=(g=r.props)===null||g===void 0?void 0:g.edit.open_type,$.props.formKey=(_=r.props)===null||_===void 0?void 0:_.edit.form_key,((P=r.props)===null||P===void 0?void 0:P.edit.is_show)&&r.children.push($.toSchema()),(w=r.props)===null||w===void 0||delete w.edit}if(((u=r.props)===null||u===void 0?void 0:u.delete)!==void 0){var S,E,N,j,U,J,V=new Tn.Designer;Object.defineProperty(V,"id",{value:"listPageDeleteBtnId"}),V.props.code="delete",V.props.icon="iconlajitong",V.props.command="delete",V.props.content=(S=r.props)===null||S===void 0?void 0:S.delete.content,V.props.priorityProcess=(E=r.props)===null||E===void 0?void 0:E.delete.priority_process,V.props.openType=(N=r.props)===null||N===void 0?void 0:N.delete.open_type,V.props.formKey=(j=r.props)===null||j===void 0?void 0:j.delete.form_key,V.props.needConfirm=!0,V.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",((U=r.props)===null||U===void 0?void 0:U.delete.is_show)&&r.children.push(V.toSchema()),(J=r.props)===null||J===void 0||delete J.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}var J$={"v1.0":Jle,"v2.0":sse,"v2.1":vse,"v2.2":hse,"v2.3":pse,"v2.4":gse,"v2.5":Pse,"v2.6":wse,"v2.7":$se,"v2.8":Ese,"v2.9":Cse,"v2.10":kse,"v3.0":jse,"v3.1":function(){}};const Q$=(e,t)=>{const r=Z$(e),n=Z$(t),o=r.pop(),u=n.pop(),f=nS(r,n);return f!==0?f:o&&u?nS(o.split("."),u.split(".")):o||u?o?-1:1:0},Za=(e,t,r)=>{Fse(r);const n=Q$(e,t);return rS[r].includes(n)},Mse=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Z$=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Mse);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},eS=e=>e==="*"||e==="x"||e==="X",tS=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Dse=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Lse=(e,t)=>{if(eS(e)||eS(t))return 0;const[r,n]=Dse(tS(e),tS(t));return r>n?1:r<n?-1:0},nS=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Lse(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},rS={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},oS=Object.keys(rS),Fse=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(oS.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${oS.join("|")}`)};function zse(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 Gse(e,t,r){return t&&iS(e.prototype,t),r&&iS(e,r),e}function Sb(e){return e.replace(/^v/,"")}var Qt=Object.keys(J$).map(function(e){return Sb(e)}).sort(Q$),fr=Qt[Qt.length-1],Yse=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:fr;zse(this,e),this.schemaVersion=t,this.toVersion=r,Za(r,fr,">")?Be("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(fr)):(!Qt.includes(Sb(r))||!Qt.includes(Sb(t)))&&Be("Version Builder: Please give me a valid version number, The valid version is: ".concat(Qt.join(","),", But give me a ").concat(t))}return Gse(e,[{key:"dataCleaner",value:function(r,n){var o=this;if(Za(this.toVersion,this.schemaVersion,"="))return r;var u=this.callDataCleanerKeys.reduce(function(f,a,l,s){var y,v=(y=s[l+1])!==null&&y!==void 0?y:o.toVersion;rn("Version Builder: current version: ".concat(a,", nextVersion: ").concat(v));var d=J$[a],h=f;if(typeof d=="function"){var O=d(f,n);O&&(h=O)}return h},r);return rn("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),u}},{key:"runDataCleanerKeys",get:function(){var r=this;return Qt.filter(function(n){return Za(n,r.schemaVersion,">=")&&Za(n,r.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(r){return"v"+r})}},{key:"version",get:function(){return fr}}],[{key:"version",get:function(){return fr}}]),e}();const el=[],Eb={exports:{}};let Ib=!1;const xse=window.module,Vse=window.exports,Hse=window.require;function qse(e){return Ib||(window.module=Eb,window.exports=Eb.exports,window.require=function(t){return e[t]},Ib=!0),function(){window.module=xse,window.exports=Vse,window.require=Hse,Ib=!1}}function Use(e,t){const r=new Promise((n,o)=>{const u=document.createElement("script"),f=qse(t);u.src=e,u.type="text/javascript";const a=()=>{document.head.removeChild(u);const l=el.findIndex(s=>s===r);el.splice(l,1),el.length===0&&f()};u.onerror=function(l){a(),o(l)},u.onload=function(){n(Eb.exports),a()},document.head.appendChild(u)});return el.push(r),r}function Cb(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 uS(e,t,r={fetch:Cb}){return new Promise((n,o)=>{r.fetch(e).then(u=>{const f={exports:{}};new Function("module","exports","require",u)(f,f.exports,function(a){return t[a]}),n(f.exports)}).catch(u=>{o(u)})})}function tl(e,t){return uS(e,t)}function Wse(e,t){return sr(this,null,function*(){return yield Promise.all(e.map(r=>tl(r,t)))})}function nl(e,t,r){let n;t==="runtime"?n=class extends X{constructor(l){super(l);this.props={}}static get controlType(){return e}}:n=class extends F{constructor(l){super(l);this.props={}}static get controlType(){return e}};class o extends K{}const u=`<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:u},Mobile:{template:u},Designer:{template:u},Settings:{error:{template:u}}},upgrade:a=>a}}function Kse(e,t,r,n){return sr(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(u=>sr(this,null,function*(){let f=!0,a;try{f=!0;let l="";n.type==="runtime"?l=u.runtime:l=u.designer,l+="?v="+u.version,a=yield tl(l,r)}catch(l){f=!1,Ue("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+u.id,l),a=nl(u.id,n.type,n.tipMessage)}if(f){let l="";if(n.type==="runtime"&&u.runtimecss!==void 0){const s=new RegExp(u.id+"-runtime-.*?$");l=u.runtime.replace(s,u.runtimecss)}else if(n.type==="designer"&&u.designercss!==void 0){const s=new RegExp(u.id+"-designer-.*?$");l=u.designer.replace(s,u.designercss)}if(l!==""){const s=document.createElement("link");s.href=l,s.rel="stylesheet",document.head.appendChild(s)}}cS(n.type,a,o,f,u)}))),e==null||e.map(u=>{const[f,a]=u.split(":");if(o.has(f)===!1){const s=nl(f,n.type,n.tipMessage);cS(n.type,s,o,!1,{fieldType:"",id:f,name:"",runtime:"",designer:"",type:"",version:a})}})),o})}function cS(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&Ue(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&Ue(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function Xse(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let u="";r==null||r.map(f=>{const[a,l]=f.split(":");o.props.id===a&&(u=l!=null?l:"")}),e=o.control.upgrade(e,o.version,u,n)}return e}function Jse(e,t){return sr(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield Cb(`${e}/component.json?v=${r}`);let u=[];if(o!==void 0){u=JSON.parse(o);const f=yield tl(`${e}/${t.type}.js?v=${r}`,t.globalModules);u.map(a=>{let l=f.find(s=>t.type==="runtime"?s.Runtime.controlType===a.id:s.Designer.controlType===a.id);l===void 0&&(l=nl(a.id,t.type,"\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF")),n.set(a.id,{props:a,version:a.version,isLoaded:!0,control:l})})}return n})}c.ActionBar=_T,c.Address=AP,c.AddressValue=PO,c.AdvancedContainer=cT,c.Amount=wP,c.AmountDataBind=bO,c.AmountValue=OO,c.ApprovalStatusColumn=F$,c.ArrayColumn=h$,c.Attachment=pP,c.AutoNumber=qP,c.AutoNumberColumn=P$,c.AutoWidth=Ol,c.BaseControlProperty=A,c.BaseControlPropertyRules=ne,c.BaseControlPropertyRuntimeRules=z,c.BaseStyle=$O,c.BatchDeleteButton=y0,c.BatchPrintListButton=t0,c.BatchPrintRecordListButton=o0,c.BatchSubmissionListButton=qg,c.Button=Og,c.Calc=XP,c.CalcDataBind=RO,c.CalcScriptEchoItem=fN,c.CalcValue=wO,c.CardGroup=mw,c.Checkbox=g0,c.Col=Ec,c.ColumnControlProperty=q,c.ColumnControlPropertyRules=$e,c.ColumnOptionAndDataSourcePropertyRules=os,c.CreateFormListButton=zg,c.CustomAttributeItem=Rl,c.CustomColumn=A$,c.CustomPermissionItem=ak,c.DEFAULT_LOCALE=kb,c.Dashboard=Cm,c.DataBind=be,c.DataSourceBind=Q,c.DataSourceDataSetValue=dO,c.DataSourceOrderItem=ml,c.DataSourceParamItem=uk,c.DataStorageDoc=uO,c.DataView=R_,c.DatePicker=A0,c.DateRange=Y0,c.DecimalColumn=ZT,c.Department=YP,c.Department2=QR,c.DepartmentColumn=p$,c.DepartmentEntity=rl,c.DesignerColumnControl=ee,c.DesignerControl=F,c.DesignerFormControl=M,c.DesignerLayoutControl=Y,c.DesignerListControl=Mr,c.DesignerSearchControl=ug,c.DesignerWrapControl=fg,c.DisplayBoListItem=gr,c.Divider=Eg,c.ElectronicSignature=xR,c.ElectronicSignatureConfig=gg,c.Employee=dP,c.Employee2=MR,c.EmployeeColumn=D$,c.EventLogic=Xb,c.Explain=io,c.ExportListButton=Qg,c.ExportRecordListButton=tm,c.ExportTemplate=$s,c.FieldBindItem=aO,c.FieldFilterCondition=Or,c.FieldFilterConditions=gl,c.FieldTypeToColumnType=lN,c.FileColumn=R$,c.FillBackBind=$l,c.FillPayloadBind=Tl,c.FlexStyleConfig=wg,c.FormBind=Je,c.FormSelectBind=cO,c.FormSelectButton=ym,c.Grid=cw,c.GridLayoutContainer=kw,c.GridLayoutWrap=U$,c.GridRow=Ah,c.GridTable=MT,c.GridTableColumn=Iw,c.Image=gP,c.ImageColumn=w$,c.ImageOptionSetting=pO,c.ImportRecordListButton=im,c.Input=_0,c.InvoiceCheckButton=Km,c.JSONCopy=Ie,c.JoinRelation=vO,c.Language=ck,c.LayoutControlProperty=G,c.LeftVariable=yO,c.LimitDate=oo,c.Link=_g,c.LinkOperationOption=Ce,c.ListBind=br,c.ListControlProperty=yn,c.ListSelectButton=Om,c.ListView=O_,c.ListViewSelect=Dm,c.LocationColumn=C$,c.MetaAutoWidth=iO,c.MetaWidth=pr,c.MultistageFillingItem=ce,c.Number=N0,c.ObjectDataBind=Pr,c.OperationButton=Tn,c.OperationColumn=CT,c.OperationItem=Ne,c.OptObject=SO,c.OptionAndDataSourcePropertyRules=Qe,c.OptionSetting=El,c.OrderColumn=TT,c.OrganizationDataSourceBind=hO,c.OrganizationSelection=rw,c.Page=oT,c.Pagination=Rm,c.PeopleColumn=T$,c.Position=vT,c.PositioningContainer=lT,c.PrintTemplate=Rg,c.Property=K,c.PropertyRules=W,c.PropertyRuntimeRules=je,c.Radio=S0,c.RangeDataBind=gO,c.RangeDateValue=mO,c.RegisterControls=on,c.RegularRules=Sl,c.RichText=X0,c.RightVariable=Tt,c.Row=vw,c.RulesMessage=p,c.RuntimeColumnControl=te,c.RuntimeControl=X,c.RuntimeFormControl=D,c.RuntimeLayoutControl=H,c.RuntimeListControl=Zl,c.RuntimeSearchControl=cg,c.RuntimeWrapControl=ag,c.SUBTABLE_DEFAULT_MAX_HEIGHT=Pg,c.Score=EP,c.SearchControlProperty=Yr,c.SearchDateRange=lR,c.SearchInput=$R,c.SearchNumberRange=rR,c.Select=rP,c.SelectMultiple=cP,c.SelectRelation=mR,c.SelectedContentConfig=mr,c.SimpleSearch=V$,c.SubListItem=lO,c.SubListPageConfig=sO,c.SubTable=mT,c.SubTableColumn=xh,c.SubTableRow=Sw,c.SubmissionRecordListButton=Kg,c.SuperDataSourceBind=un,c.Tab=Gw,c.TabPane=Lw,c.Text=vg,c.TextColumn=UT,c.TextOcrButton=xm,c.Textarea=q0,c.TimescopeColumn=i$,c.TimestampColumn=s$,c.Title=jg,c.Toolbox=qw,c.Tree=NR,c.TreeDataSourceBind=wl,c.UndersignedPerson=Ts,c.UserEntity=Zt,c.VarcharColumn=GT,c.VersionBuilder=Yse,c.ViewOperationItem=TO,c.VueFormItem=dR,c.WPS=UR,c.WPSSetting=mg,c.Watcher=Wb,c.WpsOperationItem=Ss,c.WrapControlProperty=qr,c.baseControls=K5,c.camelizeKeys=Hb,c.columnControls=Xae,c.controlHooksEmitter=AO,c.createValidator=jO,c.debounce=LN,c.decamelizeKeys=Xe,c.defineArrayParent=Qb,c.defineControlArrayToProperty=Pe,c.defineParent=pl,c.error=Be,c.formControls=OW,c.genNonDuplicateId=me,c.getHackerControl=nl,c.getNotRepeatItems=Vb,c.initExpression=vn,c.initImageOptions=fk,c.initLinkOperationRules=Le,c.initOptionAndDataSourceRules=$r,c.initOptions=we,c.initSuperDataSourceRules=sn,c.isArray=We,c.isBuiltInControls=zN,c.isDataBind=qO,c.isFunction=kN,c.isJSONArray=MN,c.isJSONObject=DN,c.isLanguageObject=oe,c.isNumber=vl,c.isNumberAndEmptyStringArray=AN,c.isNumberArray=jN,c.isObject=NN,c.isPlainObject=yl,c.isString=xb,c.isStringArray=BN,c.layoutControls=Ine,c.listControls=yoe,c.loadRemoteControl=tl,c.loadRemoteControls=Wse,c.loadScriptFromFetch=uS,c.loadScriptFromTag=Use,c.log=rn,c.logerror=Lb,c.loop=ie,c.loopFormSchema=dr,c.nativeFetch=Cb,c.noop=aN,c.referenceError=al,c.registerByteluckControls=Jse,c.registerCustomControls=Kse,c.searchControls=_le,c.setPropertyDontEnum=hr,c.toNumberOrEmpty=Ke,c.updateValueFromKeys=Gb,c.upgradeCustomControlSchema=Xse,c.wait=FN,c.warn=Ue,c.wrapControls=xle,Object.defineProperty(c,"__esModule",{value:!0})});