@byteluck-fe/model-driven-core-all 2.8.0-alpha.1g → 2.8.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.umd.js +1 -1
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var Ni=(c,mn,Ut)=>new Promise((vy,Mi)=>{var j=It=>{try{fo(Ut.next(It))}catch(lo){Mi(lo)}},hy=It=>{try{fo(Ut.throw(It))}catch(lo){Mi(lo)}},fo=It=>It.done?vy(It.value):Promise.resolve(It.value).then(j,hy);fo((Ut=Ut.apply(c,mn)).next())});(function(c,mn){typeof exports=="object"&&typeof module!="undefined"?mn(exports):typeof define=="function"&&define.amd?define(["exports"],mn):(c=typeof globalThis!="undefined"?globalThis:c||self,mn(c.modelDrivenCoreAll={}))})(this,function(c){"use strict";function mn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var vy=function e(){mn(this,e),Ut(this,"department_en_name",void 0),Ut(this,"department_id",void 0),Ut(this,"department_name",void 0)};function Mi(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}var hy=function e(){Mi(this,e),j(this,"avatar_big",void 0),j(this,"avatar_small",void 0),j(this,"avatar_url",void 0),j(this,"belong_dept_en_name",void 0),j(this,"belong_dept_id_list",void 0),j(this,"belong_dept_ids",void 0),j(this,"belong_dept_name",void 0),j(this,"cookie_language_enum",void 0),j(this,"department_id",void 0),j(this,"department_name",void 0),j(this,"email",void 0),j(this,"employee_card",void 0),j(this,"employee_en_name",void 0),j(this,"employee_id",void 0),j(this,"employee_name",void 0),j(this,"external_user",void 0),j(this,"gender",void 0),j(this,"is_show_chat_group",void 0),j(this,"manage_dept_en_name",void 0),j(this,"manage_dept_ids",void 0),j(this,"manage_dept_name",void 0),j(this,"msg_relation_type",void 0),j(this,"sequence",void 0),j(this,"telephone",void 0),j(this,"tenant_id",void 0)},fo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",It="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",lo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",CA="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",xA="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",zA="{caption}\u5FC5\u586B",VA="\u8BF7\u8F93\u5165\u6807\u9898",GA="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",YA="\u8BF7\u8F93\u5165\u884C\u6807\u9898",HA="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",qA="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",UA="\u8BF7\u7ED1\u5B9A\u8868\u5355",WA="\u8BF7\u7ED1\u5B9A\u5217\u8868",KA="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",XA="\u8BF7\u8F93\u5165\u663E\u793A\u503C",JA="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",QA="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ZA="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ek="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",tk="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",nk="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",rk="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ok="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ik="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",uk="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ck="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",fk="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",lk="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ak="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",sk="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",_k="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",yk="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",pk="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",dk="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",vk="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",hk="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",bk="\u8BF7\u7ED1\u5B9A\u670D\u52A1",gk="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",mk="\u8BF7\u9009\u62E9\u7701",Ok="\u8BF7\u9009\u62E9\u5E02",wk="\u8BF7\u9009\u62E9\u533A",Pk="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",$k="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Rk="\u8BF7\u8F93\u5165\u5217\u5BBD",Tk="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Sk="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ek="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ik="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Bk="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Nk="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Mk="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ak="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",kk="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Dk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",jk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Fk="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Lk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ck="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",xk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",zk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Vk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Gk="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Yk="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Hk="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",qk="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Uk="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Wk="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Kk="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Xk="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Jk="\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",Zk="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",e2="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",t2="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",n2={isNotNumber:fo,isNotString:It,isNotObject:lo,isNotArray:CA,isNotBoolean:xA,runtimeRequired:zA,pleaseEnterCaption:VA,pleaseEnterCaptionTip:GA,pleaseEnterRowCaption:YA,pleaseEnterPlaceholder:HA,pleaseEnterFieldCode:qA,pleaseEnterForm:UA,pleaseEnterList:WA,pleaseEnterProcess:KA,pleaseEnterLabel:XA,pleaseEnterValue:JA,bizKeyNotBindFiled:QA,pleaseSelectOneField:ZA,pleaseEnterNumberRange:ek,pleaseEnterAValueGreaterThanMin:tk,pleaseEnterAValueLessThanMax:nk,numberRangeSetError:rk,stringRangeError:ok,attachmentMaxSize:ik,pleaseEnterTotalScoreSetting:uk,theTotalScoreMustNotBeLessThan1:ck,scoreDefaultValueRange:fk,attachmentLimitError:lk,PleaseReselectTheOptionalQuantity:ak,TheMaximumLengthIsGreaterThanTheMinimumLength:sk,TheMinimumLengthIsGreaterThanTheMaximumLength:_k,PleaseSelectTheCorrectOptionSettings:yk,optionIdIsRepeat:pk,optionIsRequired:dk,pleaseEnterDataCode:vk,pleaseEnterValueFieldCode:hk,pleaseEnterSvcCode:bk,pleaseBindAtLeastOneDisplayValue:gk,pleaseSelectProvince:mk,pleaseSelectCity:Ok,pleaseSelectDistrict:wk,limitRowsCannotBeLessThan0:Pk,TheNumberOfRowsCannotBeLessThanMinRows:$k,pleaseEnterColumnWidth:Rk,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Tk,pleaseCompleteAllRulesAndConditions:Sk,pleaseSelectControl:Ek,pleaseSelectAtLeastOneColumn:Ik,pleaseSelectFillBackMode:Bk,pleaseSelectDashboard:Nk,rootNodeIsRequired:Mk,theViewNameCannotBeEmpty:Ak,pleaseSelectOcrType:kk,pleaseSelectAtLeastOneFieldToFillIn:Dk,pleaseChooseAtLeastOne:jk,pleaseEnterButtonContent:Fk,pleaseEnterDataCodeInDataSetting:Lk,pleaseEnterValueFieldCodeInDataSetting:Ck,pleaseEnterSvcCodeInDataSetting:xk,pleaseBindAtLeastOneDisplayValueInDataSetting:zk,rootNodeIsRequiredInDataSetting:Vk,pleaseEnterMaxHeight:Gk,pleaseEnter:Yk,pleaseEnterWatermark:Hk,pleaseEnterFileName:qk,pleaseUploadAtLeastOnePrintTemplate:Uk,pleaseAssignBusiness:Wk,pleaseAssignExternal:Kk,pleaseEnterAliasCode:Xk,pleaseSelectDataCode:Jk,pleaseSelectSvcCode:Qk,pleaseSelectJoinFieldCode:Zk,pleaseSelectMainFieldCode:e2,pleaseSelectSortFieldCode:t2},r2="Please enter a number",o2="Please enter a string",i2="Please enter an object",u2="Please enter an array",c2="Please enter a boolean",f2="{caption} Required",l2="Please enter the title",a2="Please enter the bubble prompt",s2="Please enter the row title",_2="Please enter the prompt text",y2="Please bind data items",p2="Please bind the form",d2="Please bind the list",v2="Please bind the process",h2="Please enter the displayed value",b2="Please enter the stored value",g2="The document number is not bound to the data item",m2="Please select at least one display field",O2="Please enter a value greater than or equal to {min} and less than or equal to {max}",w2="Please enter a value greater than or equal to {min}",P2="Please enter a value less than or equal to {max}",$2="The value range is set incorrectly",R2="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",T2="The attachment size must be between 0MB and 1000MB",S2="Please fill in the total score setting",E2="The total score cannot be less than 1",I2="The default value must be between {min} and {max}",B2="The number of attachments uploaded must be between {min} and {max}",N2="Please re-select the optional quantity",M2="The maximum length of the control must be greater than the minimum length",A2="The minimum length of the control must be less than the maximum length",k2="Please select the correct option setting",D2="Option ID cannot be repeated",j2="Please enter at least one option",F2="Please bind the data source",L2="Please bind the stored value",C2="Please bind the service",x2="At least one display value must be bound",z2="Please select a province",V2="Please select a city",G2="Please select a district",Y2="The minimum number of lines to fill in cannot be less than 0",H2="The number of rows cannot be less than {min} rows",q2="Please enter the column width",U2="Please set the logical relationship of all rule conditions",W2="Please complete all rules and conditions",K2="please select control",X2="Please select the dashboard",J2="View name cannot be empty",Q2="Please select recognition type",Z2="Please select at least one field to fill in",eD="Please select at least one",tD="Please enter the button title",nD="Please bind the business model in the data settings",rD="Please bind storage values in data settings",oD="Please bind the service in the data settings",iD="Please bind at least one display value in the data settings",uD="Please select the root node in the data settings",cD="Please enter the maximum height",fD="The input content cannot be empty",lD="Watermark cannot be empty",aD="File name cannot be empty",sD="Please upload at least one printing template!\uFF01",_D="Please select a specific business department",yD="Please select a specified external organization",pD="Please enter a sub table alias",dD="Please select the associated table to set the business model",vD="Please select the association table to set the binding service",hD="Select associated sub table fields",bD="Please select the associated main table field",gD="Please select the sort field",mD={isNotNumber:r2,isNotString:o2,isNotObject:i2,isNotArray:u2,isNotBoolean:c2,runtimeRequired:f2,pleaseEnterCaption:l2,pleaseEnterCaptionTip:a2,pleaseEnterRowCaption:s2,pleaseEnterPlaceholder:_2,pleaseEnterFieldCode:y2,pleaseEnterForm:p2,pleaseEnterList:d2,pleaseEnterProcess:v2,pleaseEnterLabel:h2,pleaseEnterValue:b2,bizKeyNotBindFiled:g2,pleaseSelectOneField:m2,pleaseEnterNumberRange:O2,pleaseEnterAValueGreaterThanMin:w2,pleaseEnterAValueLessThanMax:P2,numberRangeSetError:$2,stringRangeError:R2,attachmentMaxSize:T2,pleaseEnterTotalScoreSetting:S2,theTotalScoreMustNotBeLessThan1:E2,scoreDefaultValueRange:I2,attachmentLimitError:B2,PleaseReselectTheOptionalQuantity:N2,TheMaximumLengthIsGreaterThanTheMinimumLength:M2,TheMinimumLengthIsGreaterThanTheMaximumLength:A2,PleaseSelectTheCorrectOptionSettings:k2,optionIdIsRepeat:D2,optionIsRequired:j2,pleaseEnterDataCode:F2,pleaseEnterValueFieldCode:L2,pleaseEnterSvcCode:C2,pleaseBindAtLeastOneDisplayValue:x2,pleaseSelectProvince:z2,pleaseSelectCity:V2,pleaseSelectDistrict:G2,limitRowsCannotBeLessThan0:Y2,TheNumberOfRowsCannotBeLessThanMinRows:H2,pleaseEnterColumnWidth:q2,pleaseSetTheLogicalRelationshipOfAllRuleConditions:U2,pleaseCompleteAllRulesAndConditions:W2,pleaseSelectControl:K2,pleaseSelectDashboard:X2,theViewNameCannotBeEmpty:J2,pleaseSelectOcrType:Q2,pleaseSelectAtLeastOneFieldToFillIn:Z2,pleaseChooseAtLeastOne:eD,pleaseEnterButtonContent:tD,pleaseEnterDataCodeInDataSetting:nD,pleaseEnterValueFieldCodeInDataSetting:rD,pleaseEnterSvcCodeInDataSetting:oD,pleaseBindAtLeastOneDisplayValueInDataSetting:iD,rootNodeIsRequiredInDataSetting:uD,pleaseEnterMaxHeight:cD,pleaseEnter:fD,pleaseEnterWatermark:lD,pleaseEnterFileName:aD,pleaseUploadAtLeastOnePrintTemplate:sD,pleaseAssignBusiness:_D,pleaseAssignExternal:yD,pleaseEnterAliasCode:pD,pleaseSelectDataCode:dD,pleaseSelectSvcCode:vD,pleaseSelectJoinFieldCode:hD,pleaseSelectMainFieldCode:bD,pleaseSelectSortFieldCode:gD},OD="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wD="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",PD="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$D="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",RD="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",TD="{caption}\u5FC5\u9808",SD="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ED="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ID="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",BD="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ND="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",MD="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",AD="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kD="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",DD="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jD="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",FD="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",LD="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",CD="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xD="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zD="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",VD="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",GD="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",YD="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",HD="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qD="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",UD="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",WD="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",KD="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",XD="\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",JD="\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",QD="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ZD="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ej="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",tj="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nj="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rj="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oj="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ij="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",uj="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cj="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fj="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",lj="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",aj="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sj="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",_j="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",yj="please select control",pj="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",dj="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",vj="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",hj="\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",bj="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",gj="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mj="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Oj="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",wj="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Pj="\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",$j="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Rj="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Tj="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Sj="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ej="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ij="\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",Bj="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nj="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Mj="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Aj="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",kj="\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",Dj="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",jj="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fj="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Lj={isNotNumber:OD,isNotString:wD,isNotObject:PD,isNotArray:$D,isNotBoolean:RD,runtimeRequired:TD,pleaseEnterCaption:SD,pleaseEnterCaptionTip:ED,pleaseEnterRowCaption:ID,pleaseEnterPlaceholder:BD,pleaseEnterFieldCode:ND,pleaseEnterForm:MD,pleaseEnterList:AD,pleaseEnterProcess:kD,pleaseEnterLabel:DD,pleaseEnterValue:jD,bizKeyNotBindFiled:FD,pleaseSelectOneField:LD,pleaseEnterNumberRange:CD,pleaseEnterAValueGreaterThanMin:xD,pleaseEnterAValueLessThanMax:zD,numberRangeSetError:VD,stringRangeError:GD,attachmentMaxSize:YD,pleaseEnterTotalScoreSetting:HD,theTotalScoreMustNotBeLessThan1:qD,scoreDefaultValueRange:UD,attachmentLimitError:WD,PleaseReselectTheOptionalQuantity:KD,TheMaximumLengthIsGreaterThanTheMinimumLength:XD,TheMinimumLengthIsGreaterThanTheMaximumLength:JD,PleaseSelectTheCorrectOptionSettings:QD,optionIdIsRepeat:ZD,optionIsRequired:ej,pleaseEnterDataCode:tj,pleaseEnterValueFieldCode:nj,pleaseEnterSvcCode:rj,pleaseBindAtLeastOneDisplayValue:oj,pleaseSelectProvince:ij,pleaseSelectCity:uj,pleaseSelectDistrict:cj,limitRowsCannotBeLessThan0:fj,TheNumberOfRowsCannotBeLessThanMinRows:lj,pleaseEnterColumnWidth:aj,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sj,pleaseCompleteAllRulesAndConditions:_j,pleaseSelectControl:yj,pleaseSelectDashboard:pj,theViewNameCannotBeEmpty:dj,pleaseSelectOcrType:vj,pleaseSelectAtLeastOneFieldToFillIn:hj,pleaseChooseAtLeastOne:bj,pleaseEnterButtonContent:gj,pleaseEnterDataCodeInDataSetting:mj,pleaseEnterValueFieldCodeInDataSetting:Oj,pleaseEnterSvcCodeInDataSetting:wj,pleaseBindAtLeastOneDisplayValueInDataSetting:Pj,rootNodeIsRequiredInDataSetting:$j,pleaseEnterMaxHeight:Rj,pleaseEnter:Tj,pleaseEnterWatermark:Sj,pleaseEnterFileName:Ej,pleaseUploadAtLeastOnePrintTemplate:Ij,pleaseAssignBusiness:Bj,pleaseAssignExternal:Nj,pleaseEnterAliasCode:Mj,pleaseSelectDataCode:Aj,pleaseSelectSvcCode:kj,pleaseSelectJoinFieldCode:Dj,pleaseSelectMainFieldCode:jj,pleaseSelectSortFieldCode:Fj},Cj={zhCN:n2,enUS:mD,jaJP:Lj};function xj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.CALC_TOKEN_TYPE=void 0,function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"}(c.CALC_TOKEN_TYPE||(c.CALC_TOKEN_TYPE={})),c.CALC_AGGREGATE_TYPE=void 0,function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"}(c.CALC_AGGREGATE_TYPE||(c.CALC_AGGREGATE_TYPE={}));var zj=function e(t){xj(this,e),ur(this,"name",void 0),ur(this,"id",void 0),ur(this,"type",void 0),ur(this,"subTableId",void 0),ur(this,"subTableName",void 0),ur(this,"aggregateType",void 0);var r;this.name=(r=t==null?void 0:t.name)!==null&&r!==void 0?r:"";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:"";var o;this.type=(o=t==null?void 0:t.type)!==null&&o!==void 0?o:"Number";var i;this.subTableId=(i=t==null?void 0:t.subTableId)!==null&&i!==void 0?i:void 0;var u;this.subTableName=(u=t==null?void 0:t.subTableId)!==null&&u!==void 0?u:void 0;var f;this.aggregateType=(f=t==null?void 0:t.aggregateType)!==null&&f!==void 0?f:void 0},ww="zh-CN",Vj=function(){};function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.CONTROL_BASE_TYPE=void 0,function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"}(c.CONTROL_BASE_TYPE||(c.CONTROL_BASE_TYPE={})),c.CONTROL_TYPE=void 0,function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap"}(c.CONTROL_TYPE||(c.CONTROL_TYPE={})),c.FieldTypes=void 0,function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"}(c.FieldTypes||(c.FieldTypes={}));var $e,Gj=($e={},Ce($e,"array","array-column"),Ce($e,"auto_number","auto-number-column"),Ce($e,"decimal","decimal-column"),Ce($e,"department","department-column"),Ce($e,"file","file-column"),Ce($e,"image","image-column"),Ce($e,"location","location-column"),Ce($e,"people","employee-column"),Ce($e,"text","text-column"),Ce($e,"timescope","timescope-column"),Ce($e,"timestamp","timestamp-column"),Ce($e,"varchar","varchar-column"),Ce($e,"relation","varchar-column"),$e);c.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"}(c.DateType||(c.DateType={}));var Pw="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Yj=Pw+"0123456789";function Ke(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Pw:Yj,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function by(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 Hj(e){if(Array.isArray(e))return by(e)}function qj(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 Ai(e,t,r){return Sw()?Ai=Reflect.construct:Ai=function(o,i,u){var f=[null];f.push.apply(f,i);var l=Function.bind.apply(o,f),a=new l;return u&&so(a,u.prototype),a},Ai.apply(null,arguments)}function ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ao(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&&so(e,t)}function Uj(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Wj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Kj(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Xj(e,t){return t&&(Jj(t)==="object"||typeof t=="function")?t:qj(e)}function so(e,t){return so=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},so(e,t)}function Tw(e){return Hj(e)||Wj(e)||Qj(e)||Kj()}function Jj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qj(e,t){if(!!e){if(typeof e=="string")return by(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 by(e,t)}}function gy(e){var t=typeof Map=="function"?new Map:void 0;return gy=function(n){if(n===null||!Uj(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 Ai(n,arguments,ao(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),so(o,n)},gy(e)}function Sw(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ew(e){var t=Sw();return function(){var n=ao(e),o;if(t){var i=ao(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xj(this,o)}}var my=console;function On(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=my).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Tw(o)))}function _o(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=my).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Tw(o)))}function Zj(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Oy=function(e){Rw(r,e);var t=Ew(r);function r(n){$w(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?Zj(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(gy(Error)),eF=function(e){Rw(r,e);var t=Ew(r);function r(n){$w(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(Oy);function Wt(e){throw new Oy(e)}function wy(e){throw new eF(e)}function Iw(e){my.error(new Oy(e))}function ki(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":ki(r==null?void 0:r.children,t);break;case"wrap":ki(r==null?void 0:r.children,t);break;case"search":ki(r==null?void 0:r.children,t);break;case"form":t(r)}})}var tF=Object.prototype.toString;function Bw(e,t){return tF.call(e)==="[object "+t+"]"}function nF(e){return Bw(e,"String")}function rF(e){return Bw(e,"Promise")}var oF=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();rF(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,u,f){if(o!==void 0){var l=o[i];if(!(u===f.length-1&&!nF(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 iF(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 uF(e,t,r){return t&&Nw(e.prototype,t),r&&Nw(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}var p=function(){function e(){iF(this,e)}return uF(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]:ww;return new oF({locale:r,messages:Cj})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();cF(p,"$i18n",p.resetI18n());function Mw(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,f,l){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){On("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return f===l.length-1&&!Object.is(a[u],r)&&(a[u]=r,o=!0),a[u]}},e),o}var fF=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Py={exports:{}};(function(e){(function(t){var r=function(v,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(v,O[T],P));else{w={};for(var S in O)Object.prototype.hasOwnProperty.call(O,S)&&(w[v(S,P)]=r(v,O[S],P))}return w},n=function(v,O){O=O||{};var P=O.separator||"_",w=O.split||/(?=[A-Z])/;return v.split(w).join(P)},o=function(v){return g(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(O,P){return P?P.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var O=o(v);return O.substr(0,1).toUpperCase()+O.substr(1)},u=function(v,O){return n(v,O).toLowerCase()},f=Object.prototype.toString,l=function(v){return typeof v=="function"},a=function(v){return v===Object(v)},s=function(v){return f.call(v)=="[object Array]"},_=function(v){return f.call(v)=="[object Date]"},y=function(v){return f.call(v)=="[object RegExp]"},b=function(v){return f.call(v)=="[object Boolean]"},g=function(v){return v=v-0,v===v},h=function(v,O){var P=O&&"process"in O?O.process:O;return typeof P!="function"?v:function(w,T){return P(w,v,T)}},m={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(v,O){return r(h(o,O),v)},decamelizeKeys:function(v,O){return r(h(u,O),v,O)},pascalizeKeys:function(v,O){return r(h(i,O),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=m:t.humps=m})(fF)})(Py);var Aw={};Object.defineProperty(Aw,"__esModule",{value:!0});function $y(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:$y(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:$y(n)}return t}}var lF=Aw.default=$y;function Bt(e){if(e!==void 0)return typeof e=="object"?lF(e):e}function be(e){return Ry(e)&&"zh"in e}function Ry(e){return Object.prototype.toString.call(e)==="[object Object]"}function aF(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function wn(e){return Array.isArray(e)}function kw(e){return typeof e=="string"}function Ty(e){return typeof e=="number"}function sF(e){return typeof e=="function"}function _F(e){return wn(e)&&e.every(function(t){return kw(t)})}function yF(e){return wn(e)&&e.every(function(t){return Ty(t)})}function pF(e){return wn(e)&&e.every(function(t){return Ty(t)||t===""})}function dF(e){return/^\[.*?]$/.test(e)}function vF(e){return/^{.*?}$/.test(e)}function Pn(e){return isNaN(parseFloat(e))?"":Number(e)}function Dw(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function hF(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,r;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u=this;r||(r=setTimeout(function(){e.apply(u,o),clearTimeout(r),r=null},t))}}function bF(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function le(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=le(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=le(n.footers,t)),t(o)})),r}function jw(e){return Py.exports.camelizeKeys(e)}function $n(e){return Py.exports.decamelizeKeys(e)}function gF(e){return Object.values(c.CONTROL_TYPE).includes(e)}function Sy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function mF(e){if(Array.isArray(e))return Sy(e)}function Fw(e,t,r,n,o,i,u){try{var f=e[i](u),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function OF(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){Fw(i,n,o,u,f,"next",l)}function f(l){Fw(i,n,o,u,f,"throw",l)}u(void 0)})}}function wF(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 PF(e,t,r){return t&&Lw(e.prototype,t),r&&Lw(e,r),e}function Cw(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){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function RF(){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 Ey(e){return mF(e)||$F(e)||TF(e)||RF()}function TF(e,t){if(!!e){if(typeof e=="string")return Sy(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 Sy(e,t)}}function SF(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next: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(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var xw=function(){function e(){wF(this,e),Cw(this,"_events",new Map),Cw(this,"debug",!1)}return PF(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var u=this;return OF(function(){var f,l,a,s,_,y,b,g,h,m,v,O;return SF(this,function(P){switch(P.label){case 0:if(f=u._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(h=g.value,!f.includes(h))return[3,6];P.label=3;case 3:return P.trys.push([3,5,,6]),u.debug&&_o.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Ey(o))),[4,h.apply(null,Ey(o))];case 4:return m=P.sent(),u.debug&&_o.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Ey(o),[m])),l.push(m),m===!1?[3,7]:[3,6];case 5:return v=P.sent(),Iw(String(v)+":"+String(v.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return O=P.sent(),_=!0,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 EF(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 IF(e,t,r){return t&&zw(e.prototype,t),r&&zw(e,r),e}function BF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var NF=[{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"}],Vw=function(){function e(){EF(this,e)}return IF(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}();BF(Vw,"events",NF);function Iy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function MF(e){if(Array.isArray(e))return Iy(e)}function AF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kF(){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 Gw(e){return MF(e)||AF(e)||DF(e)||kF()}function DF(e,t){if(!!e){if(typeof e=="string")return Iy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Iy(e,t)}}function Di(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function By(e,t,r){r==="Designer"&&(e.parent=t,Di(e,"parent"))}function Yw(e,t,r){e.forEach(function(n){By(n,t,r)})}var Hw=Symbol("targetKey");function qw(e){var t;return(t=e[Hw])!==null&&t!==void 0?t:e}function Uw(e,t,r){return Yw(e,t,r),new Proxy(e,{get:function(o,i){for(var u=arguments.length,f=new Array(u>2?u-2:0),l=2;l<u;l++)f[l-2]=arguments[l];var a;return i===Hw?o:(a=Reflect).get.apply(a,[o,i].concat(Gw(f)))},set:function(o,i,u){for(var f=arguments.length,l=new Array(f>3?f-3:0),a=3;a<f;a++)l[a-3]=arguments[a];var s;if(wn(e)&&i==="length"&&u===e.length)return!0;var _=(s=Reflect).set.apply(s,[o,i,u].concat(Gw(l)));return Ry(u)&&By(u,t,r),_}})}function it(e,t,r,n,o){var i=n!=null?n:e,u=Uw(qw(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(l){u=Uw(qw(l),i,o)},enumerable:!0})}function jF(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 FF(e,t,r){return t&&Ww(e.prototype,t),r&&Ww(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}var Kw=[],yo=function(){function e(t){jF(this,e),Kt(this,"registeredControlTypes",new Set),Kt(this,"controlConfigMap",new Map),Kt(this,"_controls",[]),Kt(this,"_type",void 0),this._type=t,this._initControls(t)}return FF(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__||Wt("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(On("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(s){return o.createControl(s,n)});if(r.children&&(r.children=r.children.map(function(s){return o.createControl(s,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(s){return o.createControl(s,n)})),i.footers&&(i.footers=i.footers.map(function(s){var _;return s&&(_=o.createControl(s,n)),_}))}var u=this.getControlFormType(r.type);if(u){var f=r;if(typeof n=="function"){var l=n(f);l&&(f=l)}var a;return u.mode==="Runtime"?(a=f,this._setParentPrototypeToSchema(a,this)):a=new u(f),a}else Wt("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}}),Di(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var i=r.id,u=n._controlParentIdMap,f=n.instanceMap;if(!(!u||!f)){var l=u[i],a=f[i];if(!(!l&&!a)){var s=a.findIndex(function(b){return b==r}),_=f[l]||[],y;return _.length!==a.length?y=_[0]:y=_[s],y}}}}),Di(r,"parent"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r]),e.staticControlsRuntimeRules.set(o.Runtime.controlType,o.Property.RuntimeRules),o.Property.mode=r})}}],[{key:"staticGetRules",value:function(r,n){var o=e.staticControlsRuntimeRules.get(r),i=[];if(o){var u=new o(n);i=Array.from(u)}return i}},{key:"register",value:function(r,n){var o=r.Designer,i=r.Runtime,u=r.Property;(!o||!i||!o.__is_control__||!i.__is_control__)&&Wt("".concat(r," is can't register as a Control"));var f=this.staticControls.findIndex(function(l){return l.Designer.controlType===o.controlType});return f>-1&&(On("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(f,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(r),u.mode=n,this}}]),e}();Kt(yo,"staticControlsRuntimeRules",new Map),Kt(yo,"staticControls",Kw),Kt(yo,"staticRegisteredTypes",new Set(Kw.map(function(e){return e.Designer.controlType}))),Kt(yo,"staticRegisteredConfigs",new Map);function F(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 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 ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function Xe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function LF(e,t){return t&&(CF(t)==="object"||typeof t=="function")?t:F(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}function CF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Je(e){var t=xF();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 LF(this,o)}}var Qe=function e(t){R(this,e),d(this,"dataCode",void 0),d(this,"fieldCode",void 0),d(this,"fieldType",void 0),d(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},My=function e(t){R(this,e),d(this,"minWidth",void 0),d(this,"maxWidth",void 0),d(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},Fi=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),d(F(o),"width",void 0),d(F(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var u;return o.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",o}return r}(My),Ay=function e(t){R(this,e),d(this,"pc",void 0),d(this,"mobile",void 0),this.pc=new Fi(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Fi(t==null?void 0:t.mobile):new Fi({width:130,minWidth:180})},Xw=function e(t){R(this,e),d(this,"type",void 0),d(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},Rn=function e(t){R(this,e),d(this,"dataCode",void 0),d(this,"formKey",void 0),d(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:""},Jw=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),d(F(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(Rn),Qw=function e(t){R(this,e),d(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},Li=function e(t){R(this,e);var r;d(this,"appId",void 0),d(this,"formKey",void 0),d(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new Qw(u)}))!==null&&i!==void 0?i:[]},Zw=function e(t){R(this,e),d(this,"fieldName",void 0),d(this,"fieldCode",void 0),d(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:c.FieldTypes.VARCHAR},eP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),d(F(o),"title",void 0),d(F(o),"svcCode",void 0),d(F(o),"isOpenFilter",void 0),d(F(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var 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}(Rn),tP=function e(t){R(this,e);var r,n;d(this,"type","sublist-page"),d(this,"formBind",void 0),d(this,"displayFields",void 0),d(this,"sublists",void 0),this.formBind=new Rn(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new Zw(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new eP(u)}))!==null&&i!==void 0?i:[]},nP=function e(t){R(this,e),d(this,"type",void 0),d(this,"value",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},cr=function e(t){R(this,e),d(this,"type",void 0),d(this,"value",void 0),d(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:[]},Ci=function e(t){var r=this;R(this,e),d(this,"id",void 0),d(this,"ruleId",void 0),d(this,"type","conditions"),d(this,"level",void 0),d(this,"value",void 0),d(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Ke();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(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 po(f);(s=r.children)===null||s===void 0||s.push(_)}}))},po=function e(t){R(this,e),d(this,"id",void 0),d(this,"ruleId",void 0),d(this,"type","condition"),d(this,"symbol",void 0),d(this,"checked",void 0),d(this,"describe",void 0),d(this,"leftVariableBo",void 0),d(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Ke();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new nP(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new cr(t==null?void 0:t.rightVariableBo)},rP=function e(t){R(this,e),d(this,"aliasCode",void 0),d(this,"datasourceBind",void 0),d(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),d(this,"controlId",void 0),d(this,"fieldCode",void 0),d(this,"fieldType",void 0),d(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:""},xi=function e(t){R(this,e),d(this,"type",void 0),d(this,"value",void 0),d(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},ky=function e(t){R(this,e),d(this,"columnName",void 0),d(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},oP=function e(t){R(this,e),d(this,"code",void 0),d(this,"value",void 0),d(this,"field_type",void 0);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY},zF=function e(t){R(this,e);var r,n;d(this,"id",void 0),d(this,"limit",void 0),d(this,"orders",void 0),d(this,"formKey",void 0),d(this,"dataSet",void 0);var o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var u;this.formKey=(u=t.formKey)!==null&&u!==void 0?u:"";var f;this.orders=(f=(r=t.orders)===null||r===void 0?void 0:r.map(function(a){return new ky(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 oP(a)}))!==null&&l!==void 0?l:[]};function Dy(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 Ci(f):new po(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 Ci(f):new po(f)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(f){return new ky(f)}))!==null&&u!==void 0?u:[]}var re=function e(t){var r=this;R(this,e),d(this,"dataCode",void 0),d(this,"valueFieldCode",void 0),d(this,"displayBoList",void 0),d(this,"keywordMapping",void 0),d(this,"svcCode",void 0),d(this,"appId",void 0),d(this,"filters",void 0),d(this,"viewFilters",void 0),d(this,"isOpenViewFilters",void 0),d(this,"orders",void 0),d(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(s){var _;(_=r.displayBoList)===null||_===void 0||_.push(new xi(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:"",Dy.call(this,t)},zi=function e(t){R(this,e),d(this,"dataCode",void 0),d(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:[]},vt=function e(t){R(this,e),d(this,"code",void 0),d(this,"color",void 0),d(this,"command",void 0),d(this,"confirmMessage",void 0),d(this,"defaultState",void 0),d(this,"formKey",void 0),d(this,"formType",void 0),d(this,"icon",void 0),d(this,"needConfirm",void 0),d(this,"openType",void 0),d(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var 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},jy=function e(t){R(this,e);var r;d(this,"name",void 0),d(this,"key",void 0),d(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new xi(u)}))!==null&&i!==void 0?i:[]},vo=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o,i;o=t.call(this,n),d(F(o),"attributes",void 0);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(f){return new jy(f)}))!==null&&u!==void 0?u:[],o}return r}(re),iP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o,i;o=t.call(this,n),d(F(o),"attributes",void 0),d(F(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(l){return new jy(l)}))!==null&&u!==void 0?u:[];var f;return o.formCode=(f=n==null?void 0:n.formCode)!==null&&f!==void 0?f:"",o}return r}(re),Fy=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),d(F(o),"rootNode",void 0),d(F(o),"filterCode",void 0),o.rootNode=new cr(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(vo),uP=function e(t){R(this,e);var r;d(this,"dataCode",void 0),d(this,"appId",void 0),d(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Re(u)}))!==null&&i!==void 0?i:[]},Ly=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;return o=t.call(this,n),d(F(o),"filters",void 0),d(F(o),"viewFilters",void 0),d(F(o),"orders",void 0),Dy.call(F(o),n),o}return r}(uP),Cy=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),d(F(o),"mode",void 0),d(F(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(uP),VF=function e(t){R(this,e),d(this,"zh",void 0),d(this,"en",void 0),d(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:""},xy=function e(t){R(this,e),d(this,"stencilName",void 0),d(this,"expression",void 0),d(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:""},zy=function e(t){R(this,e),d(this,"id",void 0),d(this,"label",void 0),d(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Ke(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},cP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),d(F(o),"image",void 0),d(F(o),"type",void 0);var i;o.image=(i=n==null?void 0:n.image)!==null&&i!==void 0?i:"";var u;return o.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:"src",o}return r}(zy);function ht(e){var t;return(t=e==null?void 0:e.map(function(r){return new zy(r)}))!==null&&t!==void 0?t:[]}function GF(e){var t;return(t=e==null?void 0:e.map(function(r){return new cP(r)}))!==null&&t!==void 0?t:[]}var Vi=function e(){R(this,e)},fP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;return o=t.call(this),d(F(o),"amount",void 0),d(F(o),"currency",void 0),o.amount=new Qe(n==null?void 0:n.amount),o.currency=new Qe(n==null?void 0:n.currency),o}return r}(Vi),lP=function e(t){R(this,e),d(this,"amount",void 0),d(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:"CNY"},aP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;return o=t.call(this),d(F(o),"min",void 0),d(F(o),"max",void 0),o.min=new Qe(n==null?void 0:n.min),o.max=new Qe(n==null?void 0:n.max),o}return r}(Vi),sP=function e(t){R(this,e),d(this,"min",void 0),d(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:""},_P=function e(t){R(this,e),d(this,"city",void 0),d(this,"cityDisplay",void 0),d(this,"district",void 0),d(this,"districtDisplay",void 0),d(this,"province",void 0),d(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var f;this.provinceDisplay=(f=t==null?void 0:t.provinceDisplay)!==null&&f!==void 0?f:""},yP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;return o=t.call(this),d(F(o),"result",void 0),d(F(o),"unit",void 0),o.result=new Qe(n==null?void 0:n.result),o.unit=new Qe(n==null?void 0:n.unit),o}return r}(Vi),pP=function e(t){R(this,e),d(this,"result",void 0),d(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""};c.AMOUNT_TYPE=void 0,function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"}(c.AMOUNT_TYPE||(c.AMOUNT_TYPE={})),c.COMMON_SETTING_TYPE=void 0,function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste"}(c.COMMON_SETTING_TYPE||(c.COMMON_SETTING_TYPE={})),c.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(c.PAGE_STATUS||(c.PAGE_STATUS={}));var Nt=function e(t){R(this,e),d(this,"isShow",void 0),d(this,"priorityProcess",void 0),d(this,"formKey",void 0),d(this,"content",void 0),d(this,"openType",void 0),d(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var f;this.priorityProcess=(f=t==null?void 0:t.priorityProcess)!==null&&f!==void 0?f:!1},dP=function e(t){R(this,e);var r;d(this,"id",void 0),d(this,"title",void 0),d(this,"filters",void 0),d(this,"viewFilters",void 0),d(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Ke(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new Qw(u)}))!==null&&i!==void 0?i:[],Dy.call(this,t)},YF=function e(t){R(this,e),d(this,"key",void 0),d(this,"caption",void 0);var r;this.key=(r=t.key)!==null&&r!==void 0?r:Ke(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},vP=function e(t){R(this,e),d(this,"width",void 0),d(this,"height",void 0),d(this,"widthConfig",void 0),d(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"},hP=function e(t){R(this,e),d(this,"optCode",void 0),d(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:""},bP=function e(t){R(this,e);var r;d(this,"id",void 0),d(this,"name",void 0),d(this,"color",void 0),d(this,"filters",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Ke();var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var i;this.color=(i=t==null?void 0:t.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=t==null||(r=t.filters)===null||r===void 0?void 0:r.map(function(f){return f.children!==void 0?new Ci(f):new po(f)}))!==null&&u!==void 0?u:[]};function HF(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 Gi(e,t,r){return gP()?Gi=Reflect.construct:Gi=function(o,i,u){var f=[null];f.push.apply(f,i);var l=Function.bind.apply(o,f),a=new l;return u&&bo(a,u.prototype),a},Gi.apply(null,arguments)}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 ho(e){return ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ho(e)}function qF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bo(e,t)}function UF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function WF(e,t){return t&&(KF(t)==="object"||typeof t=="function")?t:HF(e)}function bo(e,t){return bo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bo(e,t)}function KF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gy(e){var t=typeof Map=="function"?new Map:void 0;return Gy=function(n){if(n===null||!UF(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 Gi(n,arguments,ho(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),bo(o,n)},Gy(e)}function gP(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XF(e){var t=gP();return function(){var n=ho(e),o;if(t){var i=ho(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WF(this,o)}}var ne=function e(t){Vy(this,e),Xt(this,"isHide",{type:"boolean"})},Jt=function(e){qF(r,e);var t=XF(r);function r(n){return Vy(this,r),t.call(this)}return r}(Gy(Array)),X=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Vy(this,e),Xt(this,"isHide",void 0),Xt(this,"className",void 0),Xt(this,"style",void 0),Xt(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new vP(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};Xt(X,"mode",void 0),Xt(X,"Rules",ne),Xt(X,"RuntimeRules",Jt);function bt(){return bt=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},bt.apply(this,arguments)}function JF(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Yy(e){return Yy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yy(e)}function Yi(e,t){return Yi=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yi(e,t)}function QF(){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 Hi(e,t,r){return QF()?Hi=Reflect.construct:Hi=function(o,i,u){var f=[null];f.push.apply(f,i);var l=Function.bind.apply(o,f),a=new l;return u&&Yi(a,u.prototype),a},Hi.apply(null,arguments)}function ZF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Hy(e){var t=typeof Map=="function"?new Map:void 0;return Hy=function(n){if(n===null||!ZF(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 Hi(n,arguments,Yy(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Yi(o,n)},Hy(e)}var eL=/%[sdj%]/g,mP=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(mP=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function qy(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 u=String(o).replace(eL,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 u}return o}function tL(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||tL(t)&&typeof e=="string"&&!e)}function nL(e,t,r){var n=[],o=0,i=e.length;function u(f){n.push.apply(n,f),o++,o===i&&r(n)}e.forEach(function(f){t(f,u)})}function OP(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var f=n;n=n+1,f<o?t(e[f],i):r([])}i([])}function rL(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var wP=function(e){JF(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}(Hy(Error));function oL(e,t,r,n){if(t.first){var o=new Promise(function(_,y){var b=function(m){return n(m),m.length?y(new wP(m,qy(m))):_()},g=rL(e);OP(g,r,b)});return o.catch(function(_){return _}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),f=u.length,l=0,a=[],s=new Promise(function(_,y){var b=function(h){if(a.push.apply(a,h),l++,l===f)return n(a),a.length?y(new wP(a,qy(a))):_()};u.length||(n(a),_()),u.forEach(function(g){var h=e[g];i.indexOf(g)!==-1?OP(h,r,b):nL(h,r,b)})});return s.catch(function(_){return _}),s}function PP(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 $P(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]=bt(bt({},e[r]),n):e[r]=n}}return e}function RP(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 iL(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(xe(o.messages.whitespace,e.fullField))}var Uy={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},go={integer:function(t){return go.number(t)&&parseInt(t,10)===t},float:function(t){return go.number(t)&&!go.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!go.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Uy.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Uy.url)},hex:function(t){return typeof t=="string"&&!!t.match(Uy.hex)}};function uL(e,t,r,n,o){if(e.required&&t===void 0){RP(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?go[u](t)||n.push(xe(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(xe(o.messages.types[u],e.fullField,e.type))}function cL(e,t,r,n,o){var i=typeof e.len=="number",u=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)):u&&!f&&a<e.min?n.push(xe(o.messages[s].min,e.fullField,e.min)):f&&!u&&a>e.max?n.push(xe(o.messages[s].max,e.fullField,e.max)):u&&f&&(a<e.min||a>e.max)&&n.push(xe(o.messages[s].range,e.fullField,e.min,e.max))}var fr="enum";function fL(e,t,r,n,o){e[fr]=Array.isArray(e[fr])?e[fr]:[],e[fr].indexOf(t)===-1&&n.push(xe(o.messages[fr],e.fullField,e[fr].join(", ")))}function lL(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:RP,whitespace:iL,type:uL,range:cL,enum:fL,pattern:lL};function aL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t,"string")&&!e.required)return r();N.required(e,t,n,i,o,"string"),oe(t,"string")||(N.type(e,t,n,i,o),N.range(e,t,n,i,o),N.pattern(e,t,n,i,o),e.whitespace===!0&&N.whitespace(e,t,n,i,o))}r(i)}function sL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N.type(e,t,n,i,o)}r(i)}function _L(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&(N.type(e,t,n,i,o),N.range(e,t,n,i,o))}r(i)}function yL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N.type(e,t,n,i,o)}r(i)}function pL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),oe(t)||N.type(e,t,n,i,o)}r(i)}function dL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&(N.type(e,t,n,i,o),N.range(e,t,n,i,o))}r(i)}function vL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&(N.type(e,t,n,i,o),N.range(e,t,n,i,o))}r(i)}function hL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();N.required(e,t,n,i,o,"array"),t!=null&&(N.type(e,t,n,i,o),N.range(e,t,n,i,o))}r(i)}function bL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N.type(e,t,n,i,o)}r(i)}var gL="enum";function mL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N[gL](e,t,n,i,o)}r(i)}function OL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t,"string")&&!e.required)return r();N.required(e,t,n,i,o),oe(t,"string")||N.pattern(e,t,n,i,o)}r(i)}function wL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t,"date")&&!e.required)return r();if(N.required(e,t,n,i,o),!oe(t,"date")){var 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 PL(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;N.required(e,t,n,i,o,u),r(i)}function Wy(e,t,r,n,o){var i=e.type,u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(oe(t,i)&&!e.required)return r();N.required(e,t,n,u,o,i),oe(t,i)||N.type(e,t,n,u,o)}r(u)}function $L(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o)}r(i)}var mo={string:aL,method:sL,number:_L,boolean:yL,regexp:pL,integer:dL,float:vL,array:hL,object:bL,enum:mL,pattern:OL,date:wL,url:Wy,hex:Wy,email:Wy,required:PL,any:$L};function Ky(){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 Xy=Ky();function Qt(e){this.rules=null,this._messages=Xy,this.define(e)}Qt.prototype={messages:function(t){return t&&(this._messages=$P(Ky(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,f=n;if(typeof u=="function"&&(f=u,u={}),!this.rules||Object.keys(this.rules).length===0)return f&&f(),Promise.resolve();function l(h){var m,v=[],O={};function P(w){if(Array.isArray(w)){var T;v=(T=v).concat.apply(T,w)}else v.push(w)}for(m=0;m<h.length;m++)P(h[m]);v.length?O=qy(v):(v=null,O=null),f(v,O)}if(u.messages){var a=this.messages();a===Xy&&(a=Ky()),$P(a,u.messages),u.messages=a}else u.messages=this.messages();var s,_,y={},b=u.keys||Object.keys(this.rules);b.forEach(function(h){s=o.rules[h],_=i[h],s.forEach(function(m){var v=m;typeof v.transform=="function"&&(i===t&&(i=bt({},i)),_=i[h]=v.transform(_)),typeof v=="function"?v={validator:v}:v=bt({},v),v.validator=o.getValidationMethod(v),v.field=h,v.fullField=v.fullField||h,v.type=o.getType(v),v.validator&&(y[h]=y[h]||[],y[h].push({rule:v,value:_,source:i,field:h}))})});var g={};return oL(y,u,function(h,m){var v=h.rule,O=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");O=O&&(v.required||!v.required&&h.value),v.field=h.field;function P($,S){return bt(bt({},S),{},{fullField:v.fullField+"."+$})}function w($){$===void 0&&($=[]);var S=$;if(Array.isArray(S)||(S=[S]),!u.suppressWarning&&S.length&&Qt.warning("async-validator:",S),S.length&&v.message!==void 0&&(S=[].concat(v.message)),S=S.map(PP(v)),u.first&&S.length)return g[v.field]=1,m(S);if(!O)m(S);else{if(v.required&&!h.value)return v.message!==void 0?S=[].concat(v.message).map(PP(v)):u.error&&(S=[u.error(v,xe(u.messages.required,v.field))]),m(S);var D={};if(v.defaultField)for(var Le in h.value)h.value.hasOwnProperty(Le)&&(D[Le]=v.defaultField);D=bt(bt({},D),h.rule.fields);for(var ve in D)if(D.hasOwnProperty(ve)){var he=Array.isArray(D[ve])?D[ve]:[D[ve]];D[ve]=he.map(P.bind(null,ve))}var co=new Qt(D);co.messages(u.messages),h.rule.options&&(h.rule.options.messages=u.messages,h.rule.options.error=u.error),co.validate(h.value,h.rule.options||u,function(ir){var Et=[];S&&S.length&&Et.push.apply(Et,S),ir&&ir.length&&Et.push.apply(Et,ir),m(Et.length?Et:null)})}}var T;v.asyncValidator?T=v.asyncValidator(v,h.value,w,h.source,u):v.validator&&(T=v.validator(v,h.value,w,h.source,u),T===!0?w():T===!1?w(v.message||v.field+" fails"):T instanceof Array?w(T):T instanceof Error&&w(T.message)),T&&T.then&&T.then(function(){return w()},function($){return w($)})},function(h){l(h)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!mo.hasOwnProperty(t.type))throw new Error(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"?mo.required:mo[this.getType(t)]||!1}},Qt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");mo[t]=r},Qt.warning=mP,Qt.messages=Xy,Qt.validators=mo;var RL={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 TP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Qt(e);return r.messages(Object.assign(RL,t)),r}var SP=new xw;function Jy(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 TL(e){if(Array.isArray(e))return e}function SL(e){if(Array.isArray(e))return Jy(e)}function EP(e,t,r,n,o,i,u){try{var f=e[i](u),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function IP(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){EP(i,n,o,u,f,"next",l)}function f(l){EP(i,n,o,u,f,"throw",l)}u(void 0)})}}function EL(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 IL(e,t,r){return t&&BP(e.prototype,t),r&&BP(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 NP(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function MP(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function BL(){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 NL(){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 AP(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 ML(e){return TL(e)||MP(e)||kP(e)||BL()}function Qy(e){return SL(e)||MP(e)||kP(e)||NL()}function kP(e,t){if(!!e){if(typeof e=="string")return Jy(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 Jy(e,t)}}function DP(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next: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(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var L=function(){function t(r){var n=this;EL(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",FP),C(this,"removeSetting",jP),this._callControlHooks("preInstance",r);var o=NP(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,f=o.controlType,l=o.controlFieldType,a=o.controlEventKeys,s=o.controlCustomEvents,_=o.name,y=o.setting;i&&u&&f||wy("The ".concat(_," controlName,controlIcon,controlType is not define"));var b;this.id=(b=r==null?void 0:r.id)!==null&&b!==void 0?b:Ke(10),this.name=i,this.icon=u;var g;this.type=(g=r==null?void 0:r.type)!==null&&g!==void 0?g:f,this.props=new X(r==null?void 0:r.props,(NP(this,t)?this.constructor:void 0).controlName);var h;this.controlType=(h=r==null?void 0:r.controlType)!==null&&h!==void 0?h:"base",this.setting=Bt(y);var m;this.fieldType=(m=r==null?void 0:r.fieldType)!==null&&m!==void 0?m:l,this.eventKeys=Bt(a),this.customEvents=Bt(s),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return IL(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u,f=ML(o),l=f[0],a=f.slice(1);return(u=SP).emit.apply(u,[l,this].concat(Qy(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),Mw(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return IP(function(){var o,i,u;return DP(this,function(f){switch(f.label){case 0:return o=AP({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=f.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return IP(function(){var u,f,l,a;return DP(this,function(s){switch(s.label){case 0:return[4,i.preValidate()];case 1:u=s.sent(),f=u!==void 0?u:AP({},i.rules),Array.isArray(o)&&o.forEach(function(_){f.hasOwnProperty(_)&&delete f[_]}),l=TP(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,u=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,h=f.encrypted,m=f.encryptedMode;if(!(!o&&!l&&!a)){var v={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(l&&(v.dataBind=l),s){case"datasource":case void 0:a&&(v.datasourceBind=a);break;case"custom":v.props.options=g;break}return y!==void 0&&(v.required=y),b!==void 0&&(v.maxLength=b),h!==void 0&&(v.encrypted=h),m!==void 0&&(v.encryptedMode=m),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Bt(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,Qy(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();C(L,"mode","Designer"),C(L,"controlName","\u63A7\u4EF6"),C(L,"controlIcon","icon"),C(L,"controlType","control"),C(L,"controlFieldType",void 0),C(L,"controlEventKeys",[]),C(L,"controlCustomEvents",[]),C(L,"setting",[]),C(L,"__is_control__",!0),C(L,"removeSettingItem",jP),C(L,"updateSettingItem",FP);function jP(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(a){return a.key===(i?n.key:n)});if(u!==-1){var f,l;i?t.setting[u].showItems=(f=t.setting[u].showItems)===null||f===void 0?void 0:f.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(u,1),i&&!(!((l=t.setting[u].showItems)===null||l===void 0)&&l.length)&&t.setting.splice(u,1)}})}function FP(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(a){return a.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,f=(u=t.type)!==null&&u!==void 0?u:"replace";if(f==="replace")i.showItems=t.showItems;else{var l;(l=i.showItems).push.apply(l,Qy(t.showItems))}}}})}function AL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kL(e,t,r){return t&&LP(e.prototype,t),r&&LP(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 DL(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var J=function(){function t(r){AL(this,t),ze(this,"id",void 0),ze(this,"type",void 0),ze(this,"controlType",void 0),ze(this,"props",void 0),ze(this,"fieldType",void 0),ze(this,"customEvents",[]),ze(this,"pageStatus",void 0),ze(this,"parent",null);var n=DL(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,f=n.controlCustomEvents;o||wy("The ".concat(u," controlType is not define"));var l;this.id=(l=r==null?void 0:r.id)!==null&&l!==void 0?l:Ke(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:o,this.props=new X(r==null?void 0:r.props),this.customEvents=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:c.PAGE_STATUS.UNKNOWN}return kL(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}();ze(J,"mode","Runtime"),ze(J,"controlType","control"),ze(J,"controlFieldType",void 0),ze(J,"__is_control__",!0),ze(J,"controlCustomEvents",[]);function qi(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 i=n.map(function(f){return f.value}),u=Dw(i);i.length!==u.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 Oo(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,i,u){i.length===0&&u(p.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},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 CP(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function V(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ui(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 Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function Ki(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jL(e,t){return t&&(FL(t)==="object"||typeof t=="function")?t:V(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}function FL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xi(e){var t=LL();return function(){var n=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jL(this,o)}}var ae=function(e){Ki(r,e);var t=Xi(r);function r(n){Ui(this,r);var o;o=t.call(this,n),G(V(o),"dataBind",{}),G(V(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),G(V(o),"isHideCaption",{type:"boolean"}),G(V(o),"labelPosition",{type:"enum",enum:["top","left"]}),G(V(o),"defaultState",{type:"enum",enum:["default","readonly"]}),G(V(o),"required",{type:"boolean"}),G(V(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}};if(CP(n.dataBind))o.dataBind={type:"object",required:!0,fields:Bt(i),message:p.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:p.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(f){u.fields[f]={type:"object",required:!0,fields:Bt(i),message:p.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ne),x=function(e){Ki(r,e);var t=Xi(r);function r(n){Ui(this,r);var o;o=t.call(this,n);var i=n.isHide?!1:n.required;return i&&o.push({type:"string",required:i,message:n.requiredMessage!==""?n.requiredMessage:p.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(Jt),M=function(e){Ki(r,e);var t=Xi(r);function r(n){Ui(this,r);var o;o=t.call(this,n),G(V(o),"caption",void 0),G(V(o),"isHideCaption",void 0),G(V(o),"isShowCaptionTip",void 0),G(V(o),"captionTip",void 0),G(V(o),"labelPosition",void 0),G(V(o),"dataBind",void 0),G(V(o),"defaultValue",void 0),G(V(o),"placeholder",void 0),G(V(o),"defaultState",void 0),G(V(o),"required",void 0),G(V(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var 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 Qe(n==null?void 0:n.dataBind);var g;return o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:"",o}return r}(X);G(M,"Rules",ae),G(M,"RuntimeRules",x);var Tn=function(e){Ki(r,e);var t=Xi(r);function r(n){Ui(this,r);var o;return o=t.call(this,n),G(V(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),G(V(o),"options",[{type:"array",message:p.getMessage("isNotArray")}]),G(V(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),qi.call(V(o),n),o}return r}(ae);function ep(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(e)}function xL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tp(e,t)}function zL(e,t){return t&&(VL(t)==="object"||typeof t=="function")?t:ep(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}function VL(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 YL(e){var t=GL();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 zL(this,o)}}var A=function(e){xL(r,e);var t=YL(r);function r(n){CL(this,r);var o;return o=t.call(this,n),Ji(ep(o),"controlType","form"),Ji(ep(o),"props",void 0),o.props=new M(n==null?void 0:n.props),o}return r}(L);Ji(A,"controlEventKeys",["on_change","on_focus","on_blur"]),Ji(A,"controlCustomAttributes",void 0);function Zi(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 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 eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function qL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function UL(e,t){return t&&(WL(t)==="object"||typeof t=="function")?t:Zi(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}function WL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=KL();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 UL(this,o)}}var k=function(e){qL(r,e);var t=XL(r);function r(n){HL(this,r);var o;return o=t.call(this,n),np(Zi(o),"controlType","form"),np(Zi(o),"props",void 0),np(Zi(o),"value",void 0),o.props=new M(n==null?void 0:n.props),o}return r}(J);function JL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function ZL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 e4(e,t){return t&&(t4(t)==="object"||typeof t=="function")?t:JL(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}function t4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=n4();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 e4(this,o)}}var z=function(e){ZL(r,e);var t=r4(r);function r(n){return QL(this,r),t.call(this,n)}return r}(X);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 o4(e){if(Array.isArray(e))return ip(e)}function Sn(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,u){try{var f=e[i](u),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function i4(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){xP(i,n,o,u,f,"next",l)}function f(l){xP(i,n,o,u,f,"throw",l)}u(void 0)})}}function u4(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 c4(e,t,r){return t&&zP(e.prototype,t),r&&zP(e,r),e}function Zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?lr=Reflect.get:lr=function(o,i,u){var f=v4(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},lr(e,t,r||e)}function en(e){return en=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},en(e)}function f4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 l4(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function a4(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function s4(){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 _4(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){Zt(e,o,r[o])})}return e}function y4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function p4(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):y4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function d4(e,t){return t&&(h4(t)==="object"||typeof t=="function")?t:Sn(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}function v4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=en(e),e!==null););return e}function VP(e){return o4(e)||a4(e)||b4(e)||s4()}function h4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b4(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 g4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m4(e){var t=g4();return function(){var n=en(e),o;if(t){var i=en(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d4(this,o)}}function O4(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next: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(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var w4=1e4,Y=function(t){f4(n,t);var r=m4(n);function n(o){u4(this,n);var i;i=r.call(this,o),Zt(Sn(i),"controlType","layout"),Zt(Sn(i),"children",void 0),Zt(Sn(i),"excludes",void 0),Zt(Sn(i),"childrenMaxLength",void 0),Zt(Sn(i),"props",void 0);var u=l4(this,n)?this.constructor:void 0,f=u.excludes,l=u.childrenMaxLength;return i.props=new z(o==null?void 0:o.props),it(Sn(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Bt(f),i.childrenMaxLength=l,i}return c4(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var f=this,l=this,a=function(){return lr(en(n.prototype),"validate",f)};return i4(function(){return O4(this,function(s){switch(s.label){case 0:return[4,a().call(l,i,u)];case 1:return s.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=lr(en(n.prototype),"toDataBindModel",this).call(this),f=u?[u]:[];return this.children.reduce(function(l,a){var s=a.toDataBindModel(i);if(Array.isArray(s)){var _=s.filter(function(y){return!!y});return VP(l).concat(VP(_))}return s&&l.push(s),l},f)}},{key:"toSchema",value:function(){var i=lr(en(n.prototype),"toSchema",this).call(this),u=this.children.map(function(f){var l=f.toSchema();return l});return p4(_4({},i),{children:u})}}]),n}(L);Zt(Y,"excludes",!1),Zt(Y,"childrenMaxLength",w4);function wo(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 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 $4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fp(e,t)}function R4(e,t){return t&&(T4(t)==="object"||typeof t=="function")?t:wo(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}function T4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E4(e){var t=S4();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 R4(this,o)}}var Q=function(e){$4(r,e);var t=E4(r);function r(n){P4(this,r);var o;return o=t.call(this,n),cp(wo(o),"controlType","layout"),cp(wo(o),"children",void 0),cp(wo(o),"props",void 0),o.props=new z(n==null?void 0:n.props),it(wo(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(J);function Mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function B4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lp(e,t)}function N4(e,t){return t&&(M4(t)==="object"||typeof t=="function")?t:Mt(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}function M4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k4(e){var t=A4();return function(){var n=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N4(this,o)}}var Po=function(e){B4(r,e);var t=k4(r);function r(n,o,i){I4(this,r);var u;u=t.call(this,o),ar(Mt(u),"headers",void 0),ar(Mt(u),"footers",void 0),ar(Mt(u),"pageIndex",void 0),ar(Mt(u),"pageSize",void 0),ar(Mt(u),"pageSizeOptions",void 0),ar(Mt(u),"totalCount",void 0),it(Mt(u),"headers",o==null?void 0:o.headers,n,i),it(Mt(u),"footers",o==null?void 0:o.footers,n);var f;u.pageIndex=(f=o==null?void 0:o.pageIndex)!==null&&f!==void 0?f:1;var l;u.pageSize=(l=o==null?void 0:o.pageSize)!==null&&l!==void 0?l:20;var a;u.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var s;return u.totalCount=(s=o==null?void 0:o.totalCount)!==null&&s!==void 0?s:0,u}return r}(X);function ap(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 D4(e){if(Array.isArray(e))return ap(e)}function ou(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GP(e,t,r,n,o,i,u){try{var f=e[i](u),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function j4(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){GP(i,n,o,u,f,"next",l)}function f(l){GP(i,n,o,u,f,"throw",l)}u(void 0)})}}function F4(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 L4(e,t,r){return t&&YP(e.prototype,t),r&&YP(e,r),e}function iu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?sr=Reflect.get:sr=function(o,i,u){var f=Y4(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},sr(e,t,r||e)}function tn(e){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tn(e)}function C4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function x4(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function z4(){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 HP(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){iu(e,o,r[o])})}return e}function V4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function qP(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):V4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function G4(e,t){return t&&(H4(t)==="object"||typeof t=="function")?t:ou(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}function Y4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=tn(e),e!==null););return e}function UP(e){return D4(e)||x4(e)||q4(e)||z4()}function H4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q4(e,t){if(!!e){if(typeof e=="string")return ap(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 ap(e,t)}}function U4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W4(e){var t=U4();return function(){var n=tn(e),o;if(t){var i=tn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G4(this,o)}}function K4(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next: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(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var uu=function(e){C4(r,e);var t=W4(r);function r(n){F4(this,r);var o;return o=t.call(this,n),iu(ou(o),"controlType","list"),iu(ou(o),"props",void 0),o.props=new Po(ou(o),n==null?void 0:n.props,"Designer"),o}return L4(r,[{key:"validate",value:function(o,i){var u=this,f=this,l=function(){return sr(tn(r.prototype),"validate",u)};return j4(function(){return K4(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=sr(tn(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(f,l){var a=l.toDataBindModel(u);if(Array.isArray(a)){var s=a.filter(function(_){return!!_});return UP(f).concat(UP(s))}return a&&f.push(a),f},i)}},{key:"toSchema",value:function(){var o,i,u=sr(tn(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 qP(HP({},u),{props:qP(HP({},this.props),{headers:f,footers:l})})}}]),r}(L);iu(uu,"controlFieldType",c.FieldTypes.LIST);function _r(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X4(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 J4(e,t,r){return t&&WP(e.prototype,t),r&&WP(e,r),e}function _p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(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&&yp(e,t)}function Z4(e,t){return t&&(eC(t)==="object"||typeof t=="function")?t:_r(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(e,t)}function 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=cu(e),o;if(t){var i=cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z4(this,o)}}var pp=function(e){Q4(r,e);var t=nC(r);function r(n){X4(this,r);var o;return o=t.call(this,n),_p(_r(o),"controlType","list"),_p(_r(o),"children",void 0),_p(_r(o),"props",void 0),o.props=new Po(_r(o),n==null?void 0:n.props,"Runtime"),it(_r(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return J4(r,[{key:"length",get:function(){return this.children.length}}]),r}(J);function se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function vp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function rC(e,t){return t&&(oC(t)==="object"||typeof t=="function")?t:se(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}function oC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bp(e){var t=iC();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 rC(this,o)}}var ut=function(e){vp(r,e);var t=bp(r);function r(n){dp(this,r);var o;return o=t.call(this,n),ge(se(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),ge(se(o),"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(ne),Z=function(e){vp(r,e);var t=bp(r);function r(n){dp(this,r);var o;o=t.call(this,n),ge(se(o),"widthType",void 0),ge(se(o),"width",void 0),ge(se(o),"caption",void 0),ge(se(o),"dataBind",void 0),ge(se(o),"autoWidth",void 0),ge(se(o),"fixed",void 0),ge(se(o),"sort",void 0),ge(se(o),"align",void 0),ge(se(o),"colSpan",void 0),ge(se(o),"autoHeight",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"none",o.autoWidth=new My(n==null?void 0:n.autoWidth),o.dataBind=new Qe(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}(X);ge(Z,"Rules",ut);var gp=function(e){vp(r,e);var t=bp(r);function r(n){dp(this,r);var o;return o=t.call(this,n),ge(se(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),ge(se(o),"options",[{type:"array",message:p.getMessage("isNotArray")}]),ge(se(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),qi.call(se(o),n),o}return r}(ut);function mp(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 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 lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(e)}function cC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Op(e,t)}function fC(e,t){return t&&(lC(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 lC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sC(e){var t=aC();return function(){var n=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fC(this,o)}}var ie=function(e){cC(r,e);var t=sC(r);function r(n){uC(this,r);var o;return o=t.call(this,n),KP(mp(o),"controlType","column"),KP(mp(o),"props",void 0),o.props=new Z(n==null?void 0:n.props),o}return r}(L);function wp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function yC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function pC(e,t){return t&&(dC(t)==="object"||typeof t=="function")?t:wp(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pp(e,t)}function dC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hC(e){var t=vC();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pC(this,o)}}var ue=function(e){yC(r,e);var t=hC(r);function r(n){_C(this,r);var o;return o=t.call(this,n),XP(wp(o),"controlType","column"),XP(wp(o),"props",void 0),o.props=new Z(n==null?void 0:n.props),o}return r}(J);function JP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gC(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 mC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$p(e,t)}function OC(e,t){return t&&(wC(t)==="object"||typeof t=="function")?t:JP(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(e,t)}function wC(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 $C(e){var t=PC();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 OC(this,o)}}var _u=function(e){mC(r,e);var t=$C(r);function r(n){bC(this,r);var o;return o=t.call(this,n),gC(JP(o),"dataBind",void 0),o.dataBind=new Qe(n==null?void 0:n.dataBind),o}return r}(z);function Rp(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 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 yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function TC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}function SC(e,t){return t&&(EC(t)==="object"||typeof t=="function")?t:Rp(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}function EC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BC(e){var t=IC();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SC(this,o)}}var ZP=function(e){TC(r,e);var t=BC(r);function r(n){RC(this,r);var o;return o=t.call(this,n),QP(Rp(o),"controlType","search"),QP(Rp(o),"props",void 0),o.props=new _u(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 NC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(e)}function MC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ep(e,t)}function AC(e,t){return t&&(kC(t)==="object"||typeof t=="function")?t:Sp(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}function kC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jC(e){var t=DC();return function(){var n=pu(e),o;if(t){var i=pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AC(this,o)}}var t$=function(e){MC(r,e);var t=jC(r);function r(n){NC(this,r);var o;return o=t.call(this,n),e$(Sp(o),"controlType","search"),e$(Sp(o),"props",void 0),o.props=new _u(n==null?void 0:n.props),o}return r}(Q);function FC(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 du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function CC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ip(e,t)}function xC(e,t){return t&&(zC(t)==="object"||typeof t=="function")?t:FC(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(e,t)}function zC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GC(e){var t=VC();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 xC(this,o)}}var vu=function(e){CC(r,e);var t=GC(r);function r(n){return LC(this,r),t.call(this,n)}return r}(z);function Bp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function HC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Np(e,t)}function qC(e,t){return t&&(UC(t)==="object"||typeof t=="function")?t:Bp(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}function UC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KC(e){var t=WC();return function(){var n=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qC(this,o)}}var r$=function(e){HC(r,e);var t=KC(r);function r(n){YC(this,r);var o;return o=t.call(this,n),n$(Bp(o),"controlType","wrap"),n$(Bp(o),"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return r}(Y);function Mp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function JC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ap(e,t)}function QC(e,t){return t&&(ZC(t)==="object"||typeof t=="function")?t:Mp(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}function ZC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t5(e){var t=e5();return function(){var n=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QC(this,o)}}var i$=function(e){JC(r,e);var t=t5(r);function r(n){XC(this,r);var o;return o=t.call(this,n),o$(Mp(o),"controlType","wrap"),o$(Mp(o),"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return r}(Q);function At(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}}}])}function En(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n5(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 gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function r5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kp(e,t)}function o5(e,t){return t&&(i5(t)==="object"||typeof t=="function")?t:En(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kp(e,t)}function i5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c5(e){var t=u5();return function(){var n=gu(e),o;if(t){var i=gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o5(this,o)}}var Dp=function(e){r5(r,e);var t=c5(r);function r(n){n5(this,r);var o;o=t.call(this,n),yr(En(o),"content",void 0),yr(En(o),"fontSize",void 0),yr(En(o),"color",void 0),yr(En(o),"icon",void 0),yr(En(o),"align",void 0),yr(En(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var 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}(X);function u$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f5(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 l5(e,t,r){return t&&c$(e.prototype,t),r&&c$(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 mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(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&&jp(e,t)}function s5(e,t){return t&&(_5(t)==="object"||typeof t=="function")?t:u$(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}function _5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function y5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p5(e){var t=y5();return function(){var n=mu(e),o;if(t){var i=mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s5(this,o)}}var l$=function(e){a5(r,e);var t=p5(r);function r(n){f5(this,r);var o;return o=t.call(this,n),f$(u$(o),"props",void 0),o.props=new Dp(n==null?void 0:n.props),o}return l5(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(L);f$(l$,"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 a$(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 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 v5(e,t,r){return t&&s$(e.prototype,t),r&&s$(e,r),e}function h5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function b5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 g5(e,t){return t&&(m5(t)==="object"||typeof t=="function")?t:a$(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function m5(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 w5(e){var t=O5();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 g5(this,o)}}var P5=function(e){b5(r,e);var t=w5(r);function r(n){d5(this,r);var o;return o=t.call(this,n),h5(a$(o),"props",void 0),o.props=new Dp(n==null?void 0:n.props),o}return v5(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(J),_$={Designer:l$,Runtime:P5,Property:Dp};function wu(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 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 Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function R5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cp(e,t)}function T5(e,t){return t&&(S5(t)==="object"||typeof t=="function")?t:wu(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}function S5(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 I5(e){var t=E5();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 T5(this,o)}}var xp=function(e){R5(r,e);var t=I5(r);function r(n){$5(this,r);var o;o=t.call(this,n),Lp(wu(o),"content",void 0),Lp(wu(o),"url",void 0),Lp(wu(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var f;return o.openMode=(f=n==null?void 0:n.openMode)!==null&&f!==void 0?f:"new",o}return r}(X);function y$(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 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 N5(e,t,r){return t&&p$(e.prototype,t),r&&p$(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 $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function M5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 A5(e,t){return t&&(k5(t)==="object"||typeof t=="function")?t:y$(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}function k5(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 j5(e){var t=D5();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 A5(this,o)}}var Gp=function(e){M5(r,e);var t=j5(r);function r(n){B5(this,r);var o;return o=t.call(this,n),zp(y$(o),"props",void 0),o.props=new xp(n==null?void 0:n.props),o}return N5(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(L);zp(Gp,"controlEventKeys",["on_click"]),zp(Gp,"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 d$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F5(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 L5(e,t,r){return t&&v$(e.prototype,t),r&&v$(e,r),e}function C5(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 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&&Yp(e,t)}function z5(e,t){return t&&(V5(t)==="object"||typeof t=="function")?t:d$(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}function V5(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 Y5(e){var t=G5();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 z5(this,o)}}var H5=function(e){x5(r,e);var t=Y5(r);function r(n){F5(this,r);var o;return o=t.call(this,n),C5(d$(o),"props",void 0),o.props=new xp(n==null?void 0:n.props),o}return L5(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(J),h$={Designer:Gp,Runtime:H5,Property:xp};function gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function U5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function W5(e,t){return t&&(K5(t)==="object"||typeof t=="function")?t:gt(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}function K5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J5(e){var t=X5();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 W5(this,o)}}var Te=function(e){U5(r,e);var t=J5(r);function r(n){q5(this,r);var o;o=t.call(this,n),kt(gt(o),"content",void 0),kt(gt(o),"buttonType",void 0),kt(gt(o),"showType",void 0),kt(gt(o),"color",void 0),kt(gt(o),"icon",void 0),kt(gt(o),"defaultState",void 0),kt(gt(o),"command",void 0),kt(gt(o),"isLoading",void 0),kt(gt(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var 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 hP((b=n==null?void 0:n.optObj)!==null&&b!==void 0?b:{}),o}return r}(X);function b$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z5(e,t,r){return t&&g$(e.prototype,t),r&&g$(e,r),e}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 Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function e6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 t6(e,t){return t&&(n6(t)==="object"||typeof t=="function")?t:b$(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}function n6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o6(e){var t=r6();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 t6(this,o)}}var Se=function(e){e6(r,e);var t=o6(r);function r(n){Q5(this,r);var o;return o=t.call(this,n),qp(b$(o),"props",void 0),o.props=new Te(n==null?void 0:n.props),o}return Z5(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(L);qp(Se,"controlEventKeys",["on_click","on_click_finish"]),qp(Se,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function m$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i6(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 u6(e,t,r){return t&&O$(e.prototype,t),r&&O$(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 Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function f6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function l6(e,t){return t&&(a6(t)==="object"||typeof t=="function")?t:m$(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function a6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=s6();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 l6(this,o)}}var Ve=function(e){f6(r,e);var t=_6(r);function r(n){i6(this,r);var o;return o=t.call(this,n),c6(m$(o),"props",void 0),o.props=new Te(n==null?void 0:n.props),o}return u6(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(J),w$={Designer:Se,Runtime:Ve,Property:Te};function Dt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.TitleConfigEnum=void 0,function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"}(c.TitleConfigEnum||(c.TitleConfigEnum={})),c.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(c.DATE_CONFIG_TYPE||(c.DATE_CONFIG_TYPE={})),c.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(c.DATE_LIMIT_TYPE||(c.DATE_LIMIT_TYPE={}));var Iu=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Ke(8),value:["",""]};Dt(this,e),E(this,"dateConfigType",void 0),E(this,"dateLimitType",void 0),E(this,"id",void 0),E(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};c.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(c.SCORE_TYPE||(c.SCORE_TYPE={}));var Bu=function e(t){Dt(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:Ke();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 Kp=function e(t){Dt(this,e),E(this,"type",void 0),E(this,"person",void 0),E(this,"signatureType",void 0),E(this,"telephone",void 0),E(this,"company",void 0),E(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new cr((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new cr((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var f,l;this.company=(l=t==null?void 0:t.company)!==null&&l!==void 0?l:new cr((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:""},P$=function e(t){Dt(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 Kp(l)}))!==null&&o!==void 0?o:[new Kp];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var f;this.completeTimeControl=(f=t==null?void 0:t.completeTimeControl)!==null&&f!==void 0?f:""},Xp=function e(t){Dt(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:Ke(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var 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},Jp=function e(t){Dt(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:""},$$=function e(t){Dt(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 Jp(t==null?void 0:t.watermark),this.autoRename=new Jp(t==null?void 0:t.autoRename)},R$=480;function $o(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var T$=function e(t){Dt(this,e),E(this,"fileId",void 0),E(this,"fileName",void 0),E(this,"ruleName",void 0),E(this,"isDefault",void 0),E(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},S$=function e(t){Dt(this,e),E(this,"direction",void 0),E(this,"justifyContent",void 0),E(this,"alignItems",void 0);var r;this.direction=(r=t==null?void 0:t.direction)!==null&&r!==void 0?r:"row";var n;this.justifyContent=(n=t==null?void 0:t.justifyContent)!==null&&n!==void 0?n:"flex-start";var o;this.alignItems=(o=t==null?void 0:t.alignItems)!==null&&o!==void 0?o:"flex-start"};c.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(c.EncryptTypeEnum||(c.EncryptTypeEnum={})),c.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(c.OrganizeType||(c.OrganizeType={})),c.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(c.DepartmentType||(c.DepartmentType={})),c.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(c.AssignType||(c.AssignType={})),c.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(c.InternalType||(c.InternalType={}));function Qp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function p6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zp(e,t)}function d6(e,t){return t&&(v6(t)==="object"||typeof t=="function")?t:Qp(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}function v6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b6(e){var t=h6();return function(){var n=Nu(e),o;if(t){var i=Nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d6(this,o)}}var ed=function(e){p6(r,e);var t=b6(r);function r(n){y6(this,r);var o;o=t.call(this,n),E$(Qp(o),"color",void 0),E$(Qp(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:c.LINE_STYLE.SOLID,o}return r}(X);function I$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 m6(e,t,r){return t&&B$(e.prototype,t),r&&B$(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 Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function O6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 w6(e,t){return t&&(P6(t)==="object"||typeof t=="function")?t:I$(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(e,t)}function P6(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 R6(e){var t=$6();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 w6(this,o)}}var M$=function(e){O6(r,e);var t=R6(r);function r(n){g6(this,r);var o;return o=t.call(this,n),N$(I$(o),"props",void 0),o.props=new ed(n==null?void 0:n.props),o}return m6(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(L);N$(M$,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}]);function A$(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 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 S6(e,t,r){return t&&k$(e.prototype,t),r&&k$(e,r),e}function E6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function 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&&nd(e,t)}function B6(e,t){return t&&(N6(t)==="object"||typeof t=="function")?t:A$(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}function N6(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 A6(e){var t=M6();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 B6(this,o)}}var k6=function(e){I6(r,e);var t=A6(r);function r(n){T6(this,r);var o;return o=t.call(this,n),E6(A$(o),"props",void 0),o.props=new ed(n==null?void 0:n.props),o}return S6(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(J),D$={Designer:M$,Runtime:k6,Property:ed};function nn(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 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 ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(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&&rd(e,t)}function D6(e,t){return t&&(j6(t)==="object"||typeof t=="function")?t:nn(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}function j6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L$(e){var t=F6();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D6(this,o)}}var L6=function(e){F$(r,e);var t=L$(r);function r(n){j$(this,r);var o;return o=t.call(this,n),rn(nn(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),rn(nn(o),"dataBind",{type:"any"}),rn(nn(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}(ne),Du=function(e){F$(r,e);var t=L$(r);function r(n){j$(this,r);var o;o=t.call(this,n),rn(nn(o),"dataBind",void 0),rn(nn(o),"caption",void 0),rn(nn(o),"config",void 0),rn(nn(o),"position",void 0),o.dataBind=new Qe(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[c.TitleConfigEnum.ShowSubmitUser,c.TitleConfigEnum.ShowSubmitDept,c.TitleConfigEnum.ShowSubmitTime,c.TitleConfigEnum.ShowCurrentApprovar,c.TitleConfigEnum.ShowTitle];var u,f;o.caption=(f=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:pr==null?void 0:pr.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}(X);rn(Du,"Rules",L6);function C$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x6(e,t,r){return t&&x$(e.prototype,t),r&&x$(e,r),e}function od(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function z6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 V6(e,t){return t&&(G6(t)==="object"||typeof t=="function")?t:C$(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}function G6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H6(e){var t=Y6();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 V6(this,o)}}var pr=function(e){z6(r,e);var t=H6(r);function r(n){C6(this,r);var o;return o=t.call(this,n),od(C$(o),"props",void 0),o.props=new Du(n==null?void 0:n.props),o}return x6(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(L);od(pr,"controlFieldType",c.FieldTypes.AUTO_NUMBER),od(pr,"setting",[{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function z$(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 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 U6(e,t,r){return t&&V$(e.prototype,t),r&&V$(e,r),e}function W6(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 K6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 X6(e,t){return t&&(J6(t)==="object"||typeof t=="function")?t:z$(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function J6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z6(e){var t=Q6();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 X6(this,o)}}var ex=function(e){K6(r,e);var t=Z6(r);function r(n){q6(this,r);var o;return o=t.call(this,n),W6(z$(o),"props",void 0),o.props=new Du(n==null?void 0:n.props),o}return U6(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(J),G$={Designer:pr,Runtime:ex,Property:Du};function Lu(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 Cu(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 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&&cd(e,t)}function tx(e,t){return t&&(nx(t)==="object"||typeof t=="function")?t:Lu(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}function nx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q$(e){var t=rx();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 tx(this,o)}}var ox=function(e){H$(r,e);var t=q$(r);function r(n){Y$(this,r);var o;return o=t.call(this,n),Cu(Lu(o),"formKey",{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return r}(ne),zu=function(e){H$(r,e);var t=q$(r);function r(n){Y$(this,r);var o;o=t.call(this,n),Cu(Lu(o),"formKey",void 0),Cu(Lu(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Ro.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Ro.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);Cu(zu,"Rules",ox);function U$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ix(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 ux(e,t,r){return t&&W$(e.prototype,t),r&&W$(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 Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function cx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fx(e,t){return t&&(lx(t)==="object"||typeof t=="function")?t:U$(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}function lx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ax(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sx(e){var t=ax();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 fx(this,o)}}var Ro=function(e){cx(r,e);var t=sx(r);function r(n){ix(this,r);var o;return o=t.call(this,n),fd(U$(o),"props",void 0),o.props=new zu(n==null?void 0:n.props),o}return ux(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Se);fd(Ro,"controlEventKeys",["on_click","on_click_finish"]),fd(Ro,"setting",[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function K$(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 X$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yx(e,t,r){return t&&X$(e.prototype,t),r&&X$(e,r),e}function px(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function dx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ad(e,t)}function vx(e,t){return t&&(hx(t)==="object"||typeof t=="function")?t:K$(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}function hx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gx(e){var t=bx();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 vx(this,o)}}var mx=function(e){dx(r,e);var t=gx(r);function r(n){_x(this,r);var o;return o=t.call(this,n),px(K$(o),"props",void 0),o.props=new zu(n==null?void 0:n.props),o}return yx(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Ve),J$={Designer:Ro,Runtime:mx,Property:zu};function dr(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 vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(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&&sd(e,t)}function Ox(e,t){return t&&(wx(t)==="object"||typeof t=="function")?t:dr(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}function wx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Px(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eR(e){var t=Px();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 Ox(this,o)}}var $x=function(e){Z$(r,e);var t=eR(r);function r(n){Q$(this,r);var o;return o=t.call(this,n),vr(dr(o),"processKey",[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterProcess")}]),o}return r}(ne),Hu=function(e){Z$(r,e);var t=eR(r);function r(n){Q$(this,r);var o;o=t.call(this,n),vr(dr(o),"processKey",void 0),vr(dr(o),"initiatorMode",void 0),vr(dr(o),"fieldCode",void 0),vr(dr(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:To.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:To.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);vr(Hu,"Rules",$x);function tR(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 nR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tx(e,t,r){return t&&nR(e.prototype,t),r&&nR(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 qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function Sx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yd(e,t)}function Ex(e,t){return t&&(Ix(t)==="object"||typeof t=="function")?t:tR(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}function Ix(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nx(e){var t=Bx();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 Ex(this,o)}}var To=function(e){Sx(r,e);var t=Nx(r);function r(n){Rx(this,r);var o;return o=t.call(this,n),_d(tR(o),"props",void 0),o.props=new Hu(n==null?void 0:n.props),o}return Tx(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);_d(To,"controlEventKeys",["on_click","on_click_finish"]),_d(To,"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 rR(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 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 Ax(e,t,r){return t&&oR(e.prototype,t),r&&oR(e,r),e}function kx(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 Dx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pd(e,t)}function jx(e,t){return t&&(Fx(t)==="object"||typeof t=="function")?t:rR(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(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 Cx(e){var t=Lx();return function(){var n=Uu(e),o;if(t){var i=Uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jx(this,o)}}var xx=function(e){Dx(r,e);var t=Cx(r);function r(n){Mx(this,r);var o;return o=t.call(this,n),kx(rR(o),"props",void 0),o.props=new Hu(n==null?void 0:n.props),o}return Ax(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Ve),iR={Designer:To,Runtime:xx,Property:Hu};function zx(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 Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(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&&dd(e,t)}function Yx(e,t){return t&&(Hx(t)==="object"||typeof t=="function")?t:zx(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(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=Wu(e),o;if(t){var i=Wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yx(this,o)}}var vd=function(e){Gx(r,e);var t=Ux(r);function r(n){Vx(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:So.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:So.controlIcon,o}return r}(Te);function uR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Kx(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function hd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function Xx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bd(e,t)}function Jx(e,t){return t&&(Qx(t)==="object"||typeof t=="function")?t:uR(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}function Qx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e7(e){var t=Zx();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 Jx(this,o)}}var So=function(e){Xx(r,e);var t=e7(r);function r(n){Wx(this,r);var o;return o=t.call(this,n),hd(uR(o),"props",void 0),o.props=new vd(n==null?void 0:n.props),o}return Kx(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);hd(So,"controlEventKeys",["on_click"]),hd(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:"super-setting",visible:!0}]);function fR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n7(e,t,r){return t&&lR(e.prototype,t),r&&lR(e,r),e}function r7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function o7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function i7(e,t){return t&&(u7(t)==="object"||typeof t=="function")?t:fR(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}function u7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f7(e){var t=c7();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 i7(this,o)}}var l7=function(e){o7(r,e);var t=f7(r);function r(n){t7(this,r);var o;return o=t.call(this,n),r7(fR(o),"props",void 0),o.props=new vd(n==null?void 0:n.props),o}return n7(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Ve),aR={Designer:So,Runtime:l7,Property:vd};function md(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sR(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 s7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _7(e,t){return t&&(y7(t)==="object"||typeof t=="function")?t:md(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}function y7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d7(e){var t=p7();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 _7(this,o)}}var wd=function(e){s7(r,e);var t=d7(r);function r(n){a7(this,r);var o,i;o=t.call(this,n),sR(md(o),"templateList",void 0),sR(md(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Eo.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Eo.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 Xp(s)}))!==null&&a!==void 0?a:[new Xp({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],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 v7(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 h7(e,t,r){return t&&yR(e.prototype,t),r&&yR(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 Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function b7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$d(e,t)}function g7(e,t){return t&&(m7(t)==="object"||typeof t=="function")?t:_R(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}function m7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w7(e){var t=O7();return function(){var n=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g7(this,o)}}var Eo=function(e){b7(r,e);var t=w7(r);function r(n){v7(this,r);var o;return o=t.call(this,n),Pd(_R(o),"props",void 0),o.props=new wd(n==null?void 0:n.props),o}return h7(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);Pd(Eo,"controlEventKeys",["on_click","on_click_finish"]),Pd(Eo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function pR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $7(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function R7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(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&&Rd(e,t)}function S7(e,t){return t&&(E7(t)==="object"||typeof t=="function")?t:pR(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}function E7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B7(e){var t=I7();return function(){var n=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S7(this,o)}}var N7=function(e){T7(r,e);var t=B7(r);function r(n){P7(this,r);var o;return o=t.call(this,n),R7(pR(o),"props",void 0),o.props=new wd(n==null?void 0:n.props),o}return $7(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Ve),vR={Designer:Eo,Runtime:N7,Property:wd};function M7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(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&&Td(e,t)}function D7(e,t){return t&&(j7(t)==="object"||typeof t=="function")?t:M7(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}function j7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L7(e){var t=F7();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 D7(this,o)}}var Sd=function(e){k7(r,e);var t=L7(r);function r(n){A7(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:Io.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Io.controlIcon,o}return r}(Te);function hR(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 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 x7(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),e}function Ed(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function 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&&Id(e,t)}function V7(e,t){return t&&(G7(t)==="object"||typeof t=="function")?t:hR(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function G7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H7(e){var t=Y7();return function(){var n=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V7(this,o)}}var Io=function(e){z7(r,e);var t=H7(r);function r(n){C7(this,r);var o;return o=t.call(this,n),Ed(hR(o),"props",void 0),o.props=new Sd(n==null?void 0:n.props),o}return x7(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);Ed(Io,"controlEventKeys",["on_click"]),Ed(Io,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function gR(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 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 U7(e,t,r){return t&&mR(e.prototype,t),r&&mR(e,r),e}function W7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(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&&Bd(e,t)}function X7(e,t){return t&&(J7(t)==="object"||typeof t=="function")?t:gR(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function J7(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=nc(e),o;if(t){var i=nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X7(this,o)}}var ez=function(e){K7(r,e);var t=Z7(r);function r(n){q7(this,r);var o;return o=t.call(this,n),W7(gR(o),"props",void 0),o.props=new Sd(n==null?void 0:n.props),o}return U7(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Ve),OR={Designer:Io,Runtime:ez,Property:Sd};function Nd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Md(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 tz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function nz(e,t){return t&&(rz(t)==="object"||typeof t=="function")?t:Nd(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function rz(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 iz(e){var t=oz();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 nz(this,o)}}var uz=function e(t){wR(this,e),Md(this,"dataCode",void 0),this.dataCode=t.dataCode},kd=function(e){tz(r,e);var t=iz(r);function r(n){wR(this,r);var o,i;o=t.call(this,n),Md(Nd(o),"canImportList",void 0),Md(Nd(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Bo.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:Bo.controlIcon;var l;o.canImportList=(l=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(s){return new uz(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 PR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 fz(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function Dd(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 lz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 az(e,t){return t&&(sz(t)==="object"||typeof t=="function")?t:PR(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}function sz(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 yz(e){var t=_z();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 az(this,o)}}var Bo=function(e){lz(r,e);var t=yz(r);function r(n){cz(this,r);var o;return o=t.call(this,n),Dd(PR(o),"props",void 0),o.props=new kd(n==null?void 0:n.props),o}return fz(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);Dd(Bo,"controlEventKeys",["on_click","on_click_finish"]),Dd(Bo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function RR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pz(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 dz(e,t,r){return t&&TR(e.prototype,t),r&&TR(e,r),e}function vz(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 hz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function bz(e,t){return t&&(gz(t)==="object"||typeof t=="function")?t:RR(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}function gz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oz(e){var t=mz();return function(){var n=ic(e),o;if(t){var i=ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bz(this,o)}}var wz=function(e){hz(r,e);var t=Oz(r);function r(n){pz(this,r);var o;return o=t.call(this,n),vz(RR(o),"props",void 0),o.props=new kd(n==null?void 0:n.props),o}return dz(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Ve),SR={Designer:Bo,Runtime:wz,Property:kd};function uc(){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 on(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ER(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(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&&Ld(e,t)}function BR(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){jt(e,o,r[o])})}return e}function Pz(e,t){return t&&($z(t)==="object"||typeof t=="function")?t:on(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}function $z(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 NR(e){var t=Rz();return function(){var n=cc(e),o;if(t){var i=cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pz(this,o)}}var Tz=function(e){IR(r,e);var t=NR(r);function r(n){ER(this,r);var o;return o=t.call(this,n),jt(on(o),"fillPayload",{type:"object",fields:BR({},uc())}),jt(on(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}}}),jt(on(o),"fillBack",{type:"object",fields:BR({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},uc())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}),o}return r}(ne),fc=function(e){IR(r,e);var t=NR(r);function r(n){ER(this,r);var o;o=t.call(this,n),jt(on(o),"fillPayload",void 0),jt(on(o),"formBind",void 0),jt(on(o),"fillBack",void 0),jt(on(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:No.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:No.controlIcon;var f;return o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"create",o.fillPayload=new Ly(n==null?void 0:n.fillPayload),o.formBind=new Jw(n==null?void 0:n.formBind),o.fillBack=new Cy(n==null?void 0:n.fillBack),o}return r}(Te);jt(fc,"Rules",Tz);function MR(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 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 Ez(e,t,r){return t&&AR(e.prototype,t),r&&AR(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 lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(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&&xd(e,t)}function Bz(e,t){return t&&(Nz(t)==="object"||typeof t=="function")?t:MR(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function Nz(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 Az(e){var t=Mz();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 Bz(this,o)}}var No=function(e){Iz(r,e);var t=Az(r);function r(n){Sz(this,r);var o;return o=t.call(this,n),Cd(MR(o),"props",void 0),o.props=new fc(n==null?void 0:n.props),o}return Ez(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);Cd(No,"controlEventKeys",["on_click","on_click_finish"]),Cd(No,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function kR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kz(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 Dz(e,t,r){return t&&DR(e.prototype,t),r&&DR(e,r),e}function jz(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 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&&zd(e,t)}function Lz(e,t){return t&&(Cz(t)==="object"||typeof t=="function")?t:kR(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}function Cz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zz(e){var t=xz();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 Lz(this,o)}}var Vz=function(e){Fz(r,e);var t=zz(r);function r(n){kz(this,r);var o;return o=t.call(this,n),jz(kR(o),"props",void 0),o.props=new fc(n==null?void 0:n.props),o}return Dz(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(Ve),jR={Designer:No,Runtime:Vz,Property:fc};function Ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FR(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 sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(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&&Vd(e,t)}function CR(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){mt(e,o,r[o])})}return e}function Gz(e,t){return t&&(Yz(t)==="object"||typeof t=="function")?t:Ft(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}function Yz(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 xR(e){var t=Hz();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 Gz(this,o)}}var qz=function(e){LR(r,e);var t=xR(r);function r(n){FR(this,r);var o;return o=t.call(this,n),mt(Ft(o),"fillPayload",{type:"object",fields:CR({},uc())}),mt(Ft(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}),mt(Ft(o),"fillBack",{type:"object",fields:CR({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},uc())}),o}return r}(ne),_c=function(e){LR(r,e);var t=xR(r);function r(n){FR(this,r);var o;o=t.call(this,n),mt(Ft(o),"fillPayload",void 0),mt(Ft(o),"listPageBind",void 0),mt(Ft(o),"fillBack",void 0),mt(Ft(o),"showSelectedDetail",void 0),mt(Ft(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Mo.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Mo.controlIcon,o.fillPayload=new Ly(n==null?void 0:n.fillPayload),o.listPageBind=new Li(n==null?void 0:n.listPageBind),o.fillBack=new Cy(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 zi(n==null?void 0:n.selectedContentConfig),o}return r}(Te);mt(_c,"Rules",qz);function zR(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 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 Wz(e,t,r){return t&&VR(e.prototype,t),r&&VR(e,r),e}function Gd(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 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&&Yd(e,t)}function Xz(e,t){return t&&(Jz(t)==="object"||typeof t=="function")?t:zR(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yd(e,t)}function Jz(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=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xz(this,o)}}var Mo=function(e){Kz(r,e);var t=Zz(r);function r(n){Uz(this,r);var o;return o=t.call(this,n),Gd(zR(o),"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return Wz(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);Gd(Mo,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),Gd(Mo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function GR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 t8(e,t,r){return t&&YR(e.prototype,t),r&&YR(e,r),e}function n8(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 r8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 o8(e,t){return t&&(i8(t)==="object"||typeof t=="function")?t:GR(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function i8(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 c8(e){var t=u8();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 o8(this,o)}}var f8=function(e){r8(r,e);var t=c8(r);function r(n){e8(this,r);var o;return o=t.call(this,n),n8(GR(o),"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return t8(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(Ve),HR={Designer:Mo,Runtime:f8,Property:_c};function l8(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 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 dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(e)}function Ud(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 a8(e,t){return t&&(s8(t)==="object"||typeof t=="function")?t:l8(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function s8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kd(e){var t=_8();return function(){var n=dc(e),o;if(t){var i=dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a8(this,o)}}var y8=function(e){Ud(r,e);var t=Kd(r);function r(n){return qd(this,r),t.call(this,n)}return r}(ne),p8=function(e){Ud(r,e);var t=Kd(r);function r(n){return qd(this,r),t.call(this,n)}return r}(Jt),Ao=function(e){Ud(r,e);var t=Kd(r);function r(n){return qd(this,r),t.call(this,n)}return r}(X);qR(Ao,"Rules",y8),qR(Ao,"RuntimeRules",p8);function UR(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 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 v8(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}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 vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function h8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function b8(e,t){return t&&(g8(t)==="object"||typeof t=="function")?t:UR(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function g8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=m8();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 b8(this,o)}}var XR=function(e){h8(r,e);var t=O8(r);function r(n){d8(this,r);var o;return o=t.call(this,n),KR(UR(o),"props",void 0),o.props=new Ao(n==null?void 0:n.props),o}return v8(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(L);KR(XR,"setting",[]);function JR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function P8(e,t,r){return t&&QR(e.prototype,t),r&&QR(e,r),e}function $8(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 R8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 T8(e,t){return t&&(S8(t)==="object"||typeof t=="function")?t:JR(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}function S8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I8(e){var t=E8();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 T8(this,o)}}var B8=function(e){R8(r,e);var t=I8(r);function r(n){w8(this,r);var o;return o=t.call(this,n),$8(JR(o),"props",void 0),o.props=new Ao(n==null?void 0:n.props),o}return P8(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(J),ZR={Designer:XR,Runtime:B8,Property:Ao};function Ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eT(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 bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(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&&Qd(e,t)}function N8(e,t){return t&&(M8(t)==="object"||typeof t=="function")?t:Ze(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}function M8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nT(e){var t=A8();return function(){var n=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N8(this,o)}}var k8=function(e){tT(r,e);var t=nT(r);function r(n){eT(this,r);var o;return o=t.call(this,n),et(Ze(o),"dashboardKey",{type:"string",required:!0,message:p.getMessage("pleaseSelectDashboard")}),et(Ze(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),et(Ze(o),"isHideCaption",{type:"boolean"}),et(Ze(o),"labelPosition",{type:"enum",enum:["top","left"]}),et(Ze(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ne),gc=function(e){tT(r,e);var t=nT(r);function r(n){eT(this,r);var o;o=t.call(this,n),et(Ze(o),"dashboardKey",void 0),et(Ze(o),"caption",void 0),et(Ze(o),"isHideCaption",void 0),et(Ze(o),"isShowCaptionTip",void 0),et(Ze(o),"captionTip",void 0),et(Ze(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var 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}(X);et(gc,"Rules",k8);function rT(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 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 j8(e,t,r){return t&&oT(e.prototype,t),r&&oT(e,r),e}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 mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(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&&Zd(e,t)}function L8(e,t){return t&&(C8(t)==="object"||typeof t=="function")?t:rT(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}function C8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z8(e){var t=x8();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 L8(this,o)}}var uT=function(e){F8(r,e);var t=z8(r);function r(n){D8(this,r);var o;return o=t.call(this,n),iT(rT(o),"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return j8(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(L);iT(uT,"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 cT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V8(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 G8(e,t,r){return t&&fT(e.prototype,t),r&&fT(e,r),e}function Y8(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 H8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function q8(e,t){return t&&(U8(t)==="object"||typeof t=="function")?t:cT(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}function U8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K8(e){var t=W8();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 q8(this,o)}}var X8=function(e){H8(r,e);var t=K8(r);function r(n){V8(this,r);var o;return o=t.call(this,n),Y8(cT(o),"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return G8(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(J),lT={Designer:uT,Runtime:X8,Property:gc};function ko(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 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 wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function sT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function J8(e,t){return t&&(Q8(t)==="object"||typeof t=="function")?t:ko(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}function Q8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _T(e){var t=Z8();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 J8(this,o)}}var eV=function(e){sT(r,e);var t=_T(r);function r(n){aT(this,r);var o;return o=t.call(this,n),Do(ko(o),"showType",{type:"enum",enum:["select","tabs"]}),Do(ko(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}(ne),Pc=function(e){sT(r,e);var t=_T(r);function r(n){aT(this,r);var o,i;o=t.call(this,n),Do(ko(o),"showType",void 0),Do(ko(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var f;return o.viewList=(f=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(l){return new dP(l)}))!==null&&f!==void 0?f:[],o}return r}(X);Do(Pc,"Rules",eV);function yT(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 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 nV(e,t,r){return t&&pT(e.prototype,t),r&&pT(e,r),e}function dT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(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&&nv(e,t)}function oV(e,t){return t&&(iV(t)==="object"||typeof t=="function")?t:yT(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}function iV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cV(e){var t=uV();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 oV(this,o)}}var vT=function(e){rV(r,e);var t=cV(r);function r(n){tV(this,r);var o;return o=t.call(this,n),dT(yT(o),"props",void 0),o.props=new Pc(n==null?void 0:n.props),o}return nV(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}(L);dT(vT,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function hT(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 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 lV(e,t,r){return t&&bT(e.prototype,t),r&&bT(e,r),e}function aV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(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&&rv(e,t)}function _V(e,t){return t&&(yV(t)==="object"||typeof t=="function")?t:hT(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function yV(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 dV(e){var t=pV();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 _V(this,o)}}var vV=function(e){sV(r,e);var t=dV(r);function r(n){fV(this,r);var o;return o=t.call(this,n),aV(hT(o),"props",void 0),o.props=new Pc(n==null?void 0:n.props),o}return lV(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(J),gT={Designer:vT,Runtime:vV,Property:Pc};function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mT(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 Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function OT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function hV(e,t){return t&&(bV(t)==="object"||typeof t=="function")?t:Ae(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(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 wT(e){var t=gV();return function(){var n=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hV(this,o)}}var mV=function(e){OT(r,e);var t=wT(r);function r(n){mT(this,r);var o;return o=t.call(this,n),ke(Ae(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),ke(Ae(o),"isHideCaption",{type:"boolean"}),ke(Ae(o),"labelPosition",{type:"enum",enum:["top","left"]}),ke(Ae(o),"ocrType",{type:"string",required:!0,message:p.getMessage("pleaseSelectOcrType")}),ke(Ae(o),"fillList",{type:"array",validator:function(u,f,l){var a=f.every(function(s){return!s.controlId});if(a){l(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),ke(Ae(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ne),Sc=function(e){OT(r,e);var t=wT(r);function r(n){mT(this,r);var o,i;o=t.call(this,n),ke(Ae(o),"caption",void 0),ke(Ae(o),"isHideCaption",void 0),ke(Ae(o),"isShowCaptionTip",void 0),ke(Ae(o),"captionTip",void 0),ke(Ae(o),"labelPosition",void 0),ke(Ae(o),"ocrType",void 0),ke(Ae(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:hr.controlName;var 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?_:hr.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:hr.controlIcon;var b;o.ocrType=(b=n==null?void 0:n.ocrType)!==null&&b!==void 0?b:"";var g;return o.fillList=(g=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(h){return new Re(h)}))!==null&&g!==void 0?g:[],o}return r}(Te);ke(Sc,"Rules",mV);function PT(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 $T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wV(e,t,r){return t&&$T(e.prototype,t),r&&$T(e,r),e}function iv(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 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&&uv(e,t)}function $V(e,t){return t&&(RV(t)==="object"||typeof t=="function")?t:PT(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function RV(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 SV(e){var t=TV();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 $V(this,o)}}var hr=function(e){PV(r,e);var t=SV(r);function r(n){OV(this,r);var o;return o=t.call(this,n),iv(PT(o),"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return wV(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);iv(hr,"controlEventKeys",["on_click","on_click_finish"]),iv(hr,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function RT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EV(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 IV(e,t,r){return t&&TT(e.prototype,t),r&&TT(e,r),e}function BV(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 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&&cv(e,t)}function MV(e,t){return t&&(AV(t)==="object"||typeof t=="function")?t:RT(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}function AV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DV(e){var t=kV();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 MV(this,o)}}var jV=function(e){NV(r,e);var t=DV(r);function r(n){EV(this,r);var o;return o=t.call(this,n),BV(RT(o),"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return IV(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Ve),ST={Designer:hr,Runtime:jV,Property:Sc};function De(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ET(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 Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function IT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function FV(e,t){return t&&(LV(t)==="object"||typeof t=="function")?t:De(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function LV(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 BT(e){var t=CV();return function(){var n=Bc(e),o;if(t){var i=Bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FV(this,o)}}var xV=function(e){IT(r,e);var t=BT(r);function r(n){ET(this,r);var o;return o=t.call(this,n),je(De(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),je(De(o),"isHideCaption",{type:"boolean"}),je(De(o),"labelPosition",{type:"enum",enum:["top","left"]}),je(De(o),"invoiceCheck",{type:"boolean"}),je(De(o),"fillList",{type:"array",validator:function(u,f,l){var a=f.every(function(s){return!s.controlId});if(a){l(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),je(De(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ne),Nc=function(e){IT(r,e);var t=BT(r);function r(n){ET(this,r);var o,i;o=t.call(this,n),je(De(o),"caption",void 0),je(De(o),"isHideCaption",void 0),je(De(o),"isShowCaptionTip",void 0),je(De(o),"captionTip",void 0),je(De(o),"labelPosition",void 0),je(De(o),"invoiceCheck",void 0),je(De(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:br.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?_:br.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:br.controlIcon;var b;o.invoiceCheck=(b=n==null?void 0:n.invoiceCheck)!==null&&b!==void 0?b:!0;var g;return o.fillList=(g=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(h){return new Re(h)}))!==null&&g!==void 0?g:[],o}return r}(Te);je(Nc,"Rules",xV);function NT(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 MT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VV(e,t,r){return t&&MT(e.prototype,t),r&&MT(e,r),e}function lv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function GV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YV(e,t){return t&&(HV(t)==="object"||typeof t=="function")?t:NT(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}function HV(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 UV(e){var t=qV();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 YV(this,o)}}var br=function(e){GV(r,e);var t=UV(r);function r(n){zV(this,r);var o;return o=t.call(this,n),lv(NT(o),"props",void 0),o.props=new Nc(n==null?void 0:n.props),o}return VV(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);lv(br,"controlEventKeys",["on_click","on_click_finish"]),lv(br,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function AT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WV(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 KV(e,t,r){return t&&kT(e.prototype,t),r&&kT(e,r),e}function XV(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 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&&sv(e,t)}function QV(e,t){return t&&(ZV(t)==="object"||typeof t=="function")?t:AT(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}function ZV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=e9();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 QV(this,o)}}var n9=function(e){JV(r,e);var t=t9(r);function r(n){WV(this,r);var o;return o=t.call(this,n),XV(AT(o),"props",void 0),o.props=new Nc(n==null?void 0:n.props),o}return KV(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Ve),DT={Designer:br,Runtime:n9,Property:Nc};function kc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dc(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 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&&_v(e,t)}function r9(e,t){return t&&(o9(t)==="object"||typeof t=="function")?t:kc(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}function 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 LT(e){var t=i9();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 r9(this,o)}}var u9=function(e){FT(r,e);var t=LT(r);function r(){jT(this,r);var n;return n=t.apply(this,arguments),Dc(kc(n),"printTemplates",{type:"array",min:1,required:!0,message:p.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(ne),Fc=function(e){FT(r,e);var t=LT(r);function r(n){jT(this,r);var o,i;o=t.call(this,n),Dc(kc(o),"printTemplates",void 0),Dc(kc(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:jo.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:jo.controlName;var l;o.printTemplates=(l=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new T$(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);Dc(Fc,"Rules",u9);function CT(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 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 f9(e,t,r){return t&&xT(e.prototype,t),r&&xT(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 l9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function a9(e,t){return t&&(s9(t)==="object"||typeof t=="function")?t:CT(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}function s9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y9(e){var t=_9();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 a9(this,o)}}var jo=function(e){l9(r,e);var t=y9(r);function r(n){c9(this,r);var o;return o=t.call(this,n),yv(CT(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return f9(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);yv(jo,"controlEventKeys",["on_click","on_click_finish"]),yv(jo,"setting",[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function zT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d9(e,t,r){return t&&VT(e.prototype,t),r&&VT(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 Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function h9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function b9(e,t){return t&&(g9(t)==="object"||typeof t=="function")?t:zT(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}function g9(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 O9(e){var t=m9();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b9(this,o)}}var w9=function(e){h9(r,e);var t=O9(r);function r(n){p9(this,r);var o;return o=t.call(this,n),v9(zT(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return d9(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Ve),GT={Designer:jo,Runtime:w9,Property:Fc};function P9(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 xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function R9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function T9(e,t){return t&&(S9(t)==="object"||typeof t=="function")?t:P9(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function S9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I9(e){var t=E9();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 T9(this,o)}}var hv=function(e){R9(r,e);var t=I9(r);function r(n){$9(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Fo.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Fo.controlIcon,o}return r}(Te);function YT(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 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 N9(e,t,r){return t&&HT(e.prototype,t),r&&HT(e,r),e}function bv(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 M9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function A9(e,t){return t&&(k9(t)==="object"||typeof t=="function")?t:YT(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}function k9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j9(e){var t=D9();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 A9(this,o)}}var Fo=function(e){M9(r,e);var t=j9(r);function r(n){B9(this,r);var o;return o=t.call(this,n),bv(YT(o),"props",void 0),o.props=new hv(n==null?void 0:n.props),o}return N9(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);bv(Fo,"controlEventKeys",["on_click"]),bv(Fo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function qT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F9(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 L9(e,t,r){return t&&UT(e.prototype,t),r&&UT(e,r),e}function C9(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 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&&mv(e,t)}function z9(e,t){return t&&(V9(t)==="object"||typeof t=="function")?t:qT(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}function V9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y9(e){var t=G9();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 z9(this,o)}}var H9=function(e){x9(r,e);var t=Y9(r);function r(n){F9(this,r);var o;return o=t.call(this,n),C9(qT(o),"props",void 0),o.props=new hv(n==null?void 0:n.props),o}return L9(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Ve),WT={Designer:Fo,Runtime:H9,Property:hv};function Ee(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 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 Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(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&&Ov(e,t)}function q9(e,t){return t&&(U9(t)==="object"||typeof t=="function")?t:Ee(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}function U9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=W9();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 q9(this,o)}}var K9=function(e){XT(r,e);var t=JT(r);function r(n){KT(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:p.getMessage("pleaseEnterForm")}),o}return r}(ne),Yc=function(e){XT(r,e);var t=JT(r);function r(n){KT(this,r);var o;o=t.call(this,n),Ie(Ee(o),"content",void 0),Ie(Ee(o),"code",void 0),Ie(Ee(o),"command",void 0),Ie(Ee(o),"color",void 0),Ie(Ee(o),"icon",void 0),Ie(Ee(o),"formKey",void 0),Ie(Ee(o),"openType",void 0),Ie(Ee(o),"needConfirm",void 0),Ie(Ee(o),"confirmMessage",void 0),Ie(Ee(o),"options",void 0),Ie(Ee(o),"defaultState",void 0),Ie(Ee(o),"priorityProcess",void 0),Ie(Ee(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var 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}(X);Ie(Yc,"Rules",K9);function QT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X9(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 J9(e,t,r){return t&&ZT(e.prototype,t),r&&ZT(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 Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function Q9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pv(e,t)}function Z9(e,t){return t&&(eG(t)==="object"||typeof t=="function")?t:QT(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function eG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tG();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 Z9(this,o)}}var qc=function(e){Q9(r,e);var t=nG(r);function r(n){X9(this,r);var o;return o=t.call(this,n),wv(QT(o),"props",void 0),o.props=new Yc(n==null?void 0:n.props),o}return J9(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}(L);wv(qc,"controlEventKeys",["on_click"]),wv(qc,"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 eS(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 tS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oG(e,t,r){return t&&tS(e.prototype,t),r&&tS(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 Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(e)}function uG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function cG(e,t){return t&&(fG(t)==="object"||typeof t=="function")?t:eS(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}function fG(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 aG(e){var t=lG();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 cG(this,o)}}var sG=function(e){uG(r,e);var t=aG(r);function r(n){rG(this,r);var o;return o=t.call(this,n),iG(eS(o),"props",void 0),o.props=new Yc(n==null?void 0:n.props),o}return oG(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(J),Lo={Designer:qc,Runtime:sG,Property:Yc};function Lt(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 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 Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(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&&Rv(e,t)}function pG(e,t){return t&&(dG(t)==="object"||typeof t=="function")?t:Lt(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}function dG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hG(e){var t=vG();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 pG(this,o)}}var Tv=function(e){yG(r,e);var t=hG(r);function r(n){_G(this,r);var o;o=t.call(this,n),un(Lt(o),"content",void 0),un(Lt(o),"buttonType",void 0),un(Lt(o),"showType",void 0),un(Lt(o),"color",void 0),un(Lt(o),"icon",void 0),un(Lt(o),"defaultState",void 0),un(Lt(o),"command",void 0),un(Lt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Co.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Co.controlIcon;var 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}(X);function nS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gG(e,t,r){return t&&rS(e.prototype,t),r&&rS(e,r),e}function Sv(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 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&&Ev(e,t)}function OG(e,t){return t&&(wG(t)==="object"||typeof t=="function")?t:nS(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}function wG(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 $G(e){var t=PG();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 OG(this,o)}}var Co=function(e){mG(r,e);var t=$G(r);function r(n){bG(this,r);var o;return o=t.call(this,n),Sv(nS(o),"props",void 0),o.props=new Tv(n==null?void 0:n.props),o}return gG(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}(L);Sv(Co,"controlEventKeys",["on_click"]),Sv(Co,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function oS(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 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 TG(e,t,r){return t&&iS(e.prototype,t),r&&iS(e,r),e}function SG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function EG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iv(e,t)}function IG(e,t){return t&&(BG(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 BG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MG(e){var t=NG();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 IG(this,o)}}var AG=function(e){EG(r,e);var t=MG(r);function r(n){RG(this,r);var o;return o=t.call(this,n),SG(oS(o),"props",void 0),o.props=new Tv(n==null?void 0:n.props),o}return TG(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(J),uS={Designer:Co,Runtime:AG,Property:Tv},kG=Object.freeze({__proto__:null,Text:_$,Link:h$,Button:w$,Divider:D$,Title:G$,CreateFormListButton:J$,BatchSubmissionListButton:iR,SubmissionRecordListButton:aR,ExportListButton:vR,ExportRecordListButton:OR,ImportRecordListButton:SR,FormSelectButton:jR,ListSelectButton:HR,Pagination:ZR,Dashboard:lT,ListViewSelect:gT,TextOcrButton:ST,InvoiceCheckButton:DT,BatchPrintListButton:GT,BatchPrintRecordListButton:WT,OperationButton:Lo,BatchDeleteButton:uS});function Ot(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 ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(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&&Mv(e,t)}function DG(e,t){return t&&(jG(t)==="object"||typeof t=="function")?t:Ot(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}function jG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Av(e){var t=FG();return function(){var n=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DG(this,o)}}var LG=function(e){Nv(r,e);var t=Av(r);function r(n){Bv(this,r);var o;return o=t.call(this,n),ct(Ot(o),"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),ct(Ot(o),"minLength",{type:"number",max:200,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),ct(Ot(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=$o(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ae),CG=function(e){Nv(r,e);var t=Av(r);function r(n){Bv(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:$o(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(x),gr=function(e){Nv(r,e);var t=Av(r);function r(n){Bv(this,r);var o;o=t.call(this,n),ct(Ot(o),"maxLength",void 0),ct(Ot(o),"minLength",void 0),ct(Ot(o),"regularRules",void 0),ct(Ot(o),"defaultValue",void 0),ct(Ot(o),"encrypted",void 0),ct(Ot(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new xy(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:mr.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var s;o.encrypted=(s=n==null?void 0:n.encrypted)!==null&&s!==void 0?s:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return r}(M);ct(gr,"Rules",LG),ct(gr,"RuntimeRules",CG);function cS(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 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 zG(e,t,r){return t&&fS(e.prototype,t),r&&fS(e,r),e}function Qc(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 VG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function GG(e,t){return t&&(YG(t)==="object"||typeof t=="function")?t:cS(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}function YG(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 qG(e){var t=HG();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 GG(this,o)}}var mr=function(e){VG(r,e);var t=qG(r);function r(n){xG(this,r);var o;return o=t.call(this,n),Qc(cS(o),"props",void 0),o.props=new gr(n==null?void 0:n.props),o}return zG(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);Qc(mr,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Qc(mr,"controlFieldType",c.FieldTypes.VARCHAR),Qc(mr,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function lS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WG(e,t,r){return t&&aS(e.prototype,t),r&&aS(e,r),e}function sS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function KG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function XG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:lS(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}function JG(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 ZG(e){var t=QG();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 XG(this,o)}}var _S=function(e){KG(r,e);var t=ZG(r);function r(n){UG(this,r);var o;return o=t.call(this,n),sS(lS(o),"props",void 0),o.props=new gr(n==null?void 0:n.props),o}return WG(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(k);sS(_S,"controlFieldType",c.FieldTypes.VARCHAR);var yS={Designer:mr,Runtime:_S,Property:gr};function me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(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&&Lv(e,t)}function eY(e,t){return t&&(tY(t)==="object"||typeof t=="function")?t:me(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}function tY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cv(e){var t=nY();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 eY(this,o)}}var rY=function(e){Fv(r,e);var t=Cv(r);function r(n){jv(this,r);var o;o=t.call(this,n),_e(me(o),"limitMax",{type:"number",min:void 0,message:p.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(f){return f==="unlimited"?void 0:f};return o.limitMax.min=u(n.limitMin),o}return r}(Tn),oY=function(e){Fv(r,e);var t=Cv(r);function r(n){jv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(x),xo=function(e){Fv(r,e);var t=Cv(r);function r(n){jv(this,r);var o;o=t.call(this,n),_e(me(o),"checkboxMode",void 0),_e(me(o),"options",void 0),_e(me(o),"optionsOrder",void 0),_e(me(o),"limitMax",void 0),_e(me(o),"limitMin",void 0),_e(me(o),"otherOption",void 0),_e(me(o),"optionConfig",void 0),_e(me(o),"optionsFormat",void 0),_e(me(o),"defaultShowOptions",void 0),_e(me(o),"datasourceBind",void 0),_e(me(o),"multistageFilling",void 0),_e(me(o),"interreaction",void 0),_e(me(o),"defaultValue",void 0),_e(me(o),"openMultistageFilling",void 0);var i;o.options=ht((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var 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:zo.controlName;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:[];var h;o.optionsFormat=(h=n==null?void 0:n.optionsFormat)!==null&&h!==void 0?h:"horizontal";var m;o.defaultShowOptions=(m=n==null?void 0:n.defaultShowOptions)!==null&&m!==void 0?m:!0;var v;return o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Re(O))})),o}return r}(M);_e(xo,"Rules",rY),_e(xo,"RuntimeRules",oY);function pS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uY(e,t,r){return t&&dS(e.prototype,t),r&&dS(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 cY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function fY(e,t){return t&&(lY(t)==="object"||typeof t=="function")?t:pS(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}function lY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=aY();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 fY(this,o)}}var zo=function(e){cY(r,e);var t=sY(r);function r(n){iY(this,r);var o;return o=t.call(this,n),nf(pS(o),"props",void 0),o.props=new xo(n==null?void 0:n.props),o}return uY(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(A);nf(zo,"controlEventKeys",["on_change","on_click"]),nf(zo,"controlFieldType",c.FieldTypes.ARRAY),nf(zo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 vS(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 hS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yY(e,t,r){return t&&hS(e.prototype,t),r&&hS(e,r),e}function bS(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&&zv(e,t)}function dY(e,t){return t&&(vY(t)==="object"||typeof t=="function")?t:vS(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}function vY(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 bY(e){var t=hY();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 dY(this,o)}}var gS=function(e){pY(r,e);var t=bY(r);function r(n){_Y(this,r);var o;return o=t.call(this,n),bS(vS(o),"props",void 0),o.props=new xo(n==null?void 0:n.props),o}return yY(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(k);bS(gS,"controlFieldType",c.FieldTypes.ARRAY);var mS={Designer:zo,Runtime:gS,Property:xo};function Ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(e)}function wS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gY(e,t){return t&&(mY(t)==="object"||typeof t=="function")?t:Ge(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(e,t)}function mY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PS(e){var t=OY();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 gY(this,o)}}var wY=function(e){wS(r,e);var t=PS(r);function r(n){return OS(this,r),t.call(this,n)}return r}(Tn),cf=function(e){wS(r,e);var t=PS(r);function r(n){OS(this,r);var o;o=t.call(this,n),Ye(Ge(o),"radioMode",void 0),Ye(Ge(o),"options",void 0),Ye(Ge(o),"optionConfig",void 0),Ye(Ge(o),"optionsFormat",void 0),Ye(Ge(o),"defaultShowOptions",void 0),Ye(Ge(o),"otherOption",void 0),Ye(Ge(o),"optionsOrder",void 0),Ye(Ge(o),"datasourceBind",void 0),Ye(Ge(o),"multistageFilling",void 0),Ye(Ge(o),"interreaction",void 0),Ye(Ge(o),"defaultValue",void 0),Ye(Ge(o),"openMultistageFilling",void 0);var i;o.options=ht((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var 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:Vo.controlName;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:"";var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Re(m))})),o}return r}(M);Ye(cf,"Rules",wY);function $S(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 RS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $Y(e,t,r){return t&&RS(e.prototype,t),r&&RS(e,r),e}function ff(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(e)}function RY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function TY(e,t){return t&&(SY(t)==="object"||typeof t=="function")?t:$S(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function SY(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=lf(e),o;if(t){var i=lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TY(this,o)}}var Vo=function(e){RY(r,e);var t=IY(r);function r(n){PY(this,r);var o;return o=t.call(this,n),ff($S(o),"props",void 0),o.props=new cf(n==null?void 0:n.props),o}return $Y(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(A);ff(Vo,"controlEventKeys",["on_change","on_click"]),ff(Vo,"controlFieldType",c.FieldTypes.VARCHAR),ff(Vo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function TS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NY(e,t,r){return t&&SS(e.prototype,t),r&&SS(e,r),e}function ES(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 MY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}function AY(e,t){return t&&(kY(t)==="object"||typeof t=="function")?t:TS(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}function kY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=DY();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 AY(this,o)}}var IS=function(e){MY(r,e);var t=jY(r);function r(n){BY(this,r);var o;return o=t.call(this,n),ES(TS(o),"props",void 0),o.props=new cf(n==null?void 0:n.props),o}return NY(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(k);ES(IS,"controlFieldType",c.FieldTypes.VARCHAR);var BS={Designer:Vo,Runtime:IS,Property:cf};function Be(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 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 sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function qv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function FY(e,t){return t&&(LY(t)==="object"||typeof t=="function")?t:Be(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}function LY(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 Wv(e){var t=CY();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 FY(this,o)}}var xY=function(e){qv(r,e);var t=Wv(r);function r(n){Hv(this,r);var o;o=t.call(this,n),Oe(Be(o),"defaultValue",[{type:"number",min:0,max:200,message:p.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),Oe(Be(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=p.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:p.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=$o(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ae),zY=function(e){qv(r,e);var t=Wv(r);function r(n){Hv(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:p.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:$o(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(x),Go=function(e){qv(r,e);var t=Wv(r);function r(n){Hv(this,r);var o;o=t.call(this,n),Oe(Be(o),"rangeMin",void 0),Oe(Be(o),"rangeMax",void 0),Oe(Be(o),"numberType",void 0),Oe(Be(o),"percentageFormat",void 0),Oe(Be(o),"micrometer",void 0),Oe(Be(o),"precision",void 0),Oe(Be(o),"showUpperCase",void 0),Oe(Be(o),"isShowUnit",void 0),Oe(Be(o),"unitPosition",void 0),Oe(Be(o),"unit",void 0),Oe(Be(o),"defaultValue",void 0),Oe(Be(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var 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 h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Yo.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u8F93\u5165";var v;return o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"",o.regularRules=new xy(n==null?void 0:n.regularRules),o}return r}(M);Oe(Go,"Rules",xY),Oe(Go,"RuntimeRules",zY);function NS(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 MS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GY(e,t,r){return t&&MS(e.prototype,t),r&&MS(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 yf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?yf=Reflect.get:yf=function(o,i,u){var f=qY(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},yf(e,t,r||e)}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Or(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&&Kv(e,t)}function HY(e,t){return t&&(UY(t)==="object"||typeof t=="function")?t:NS(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}function qY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Or(e),e!==null););return e}function UY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KY(e){var t=WY();return function(){var n=Or(e),o;if(t){var i=Or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HY(this,o)}}var Yo=function(e){YY(r,e);var t=KY(r);function r(n){VY(this,r);var o;return o=t.call(this,n),_f(NS(o),"props",void 0),o.props=new Go(n==null?void 0:n.props),o}return GY(r,[{key:"toDataBindModel",value:function(o){var i=yf(Or(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.precision,l=u.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);_f(Yo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),_f(Yo,"controlFieldType",c.FieldTypes.DECIMAL),_f(Yo,"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 AS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JY(e,t,r){return t&&kS(e.prototype,t),r&&kS(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 pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(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&&Xv(e,t)}function ZY(e,t){return t&&(eH(t)==="object"||typeof t=="function")?t:AS(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}function eH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tH();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 ZY(this,o)}}var jS=function(e){QY(r,e);var t=nH(r);function r(n){XY(this,r);var o;return o=t.call(this,n),DS(AS(o),"props",void 0),o.props=new Go(n==null?void 0:n.props),o}return JY(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(k);DS(jS,"controlFieldType",c.FieldTypes.DECIMAL);var FS={Designer:Yo,Runtime:jS,Property:Go};function Ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function oH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jv(e,t)}function iH(e,t){return t&&(uH(t)==="object"||typeof t=="function")?t:Ct(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function uH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fH(e){var t=cH();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 iH(this,o)}}var Qv=function(e){oH(r,e);var t=fH(r);function r(n){rH(this,r);var o,i;o=t.call(this,n),cn(Ct(o),"dateType",void 0),cn(Ct(o),"dateFormat",void 0),cn(Ct(o),"commonTimeSetting",void 0),cn(Ct(o),"setValueType",void 0),cn(Ct(o),"defaultValue",void 0),cn(Ct(o),"limitDateList",void 0),cn(Ct(o),"allowDateRange",void 0),cn(Ct(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.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:hf.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 Iu(m)}))!==null&&b!==void 0?b:[];var g;o.allowDateRange=(g=n==null?void 0:n.allowDateRange)!==null&&g!==void 0?g:["",""];var h;return o.filterWeekend=(h=n==null?void 0:n.filterWeekend)!==null&&h!==void 0?h:!1,o}return r}(M);function LS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lH(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 aH(e,t,r){return t&&CS(e.prototype,t),r&&CS(e,r),e}function Zv(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,u){var f=yH(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},vf(e,t,r||e)}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(e)}function sH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _H(e,t){return t&&(pH(t)==="object"||typeof t=="function")?t:LS(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}function yH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wr(e),e!==null););return e}function pH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vH(e){var t=dH();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 _H(this,o)}}var hf=function(e){sH(r,e);var t=vH(r);function r(n){lH(this,r);var o;return o=t.call(this,n),Zv(LS(o),"props",void 0),o.props=new Qv(n==null?void 0:n.props),o}return aH(r,[{key:"toDataBindModel",value:function(o){var i=vf(wr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(A);Zv(hf,"controlFieldType",c.FieldTypes.TIMESTAMP),Zv(hf,"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 xS(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 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 bH(e,t,r){return t&&zS(e.prototype,t),r&&zS(e,r),e}function VS(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 gH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function mH(e,t){return t&&(OH(t)==="object"||typeof t=="function")?t:xS(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}function OH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=wH();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 mH(this,o)}}var GS=function(e){gH(r,e);var t=PH(r);function r(n){hH(this,r);var o;return o=t.call(this,n),VS(xS(o),"props",void 0),o.props=new Qv(n==null?void 0:n.props),o}return bH(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(k);VS(GS,"controlFieldType",c.FieldTypes.TIMESTAMP);var YS={Designer:hf,Runtime:GS,Property:Qv};function tt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HS(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 gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function qS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function $H(e,t){return t&&(RH(t)==="object"||typeof t=="function")?t:tt(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}function RH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function US(e){var t=TH();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 $H(this,o)}}var SH=function(e){qS(r,e);var t=US(r);function r(n){HS(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}(x),mf=function(e){qS(r,e);var t=US(r);function r(n){HS(this,r);var o,i;o=t.call(this,n),nt(tt(o),"dataBind",void 0),nt(tt(o),"rangeMin",void 0),nt(tt(o),"rangeMax",void 0),nt(tt(o),"placeholderStart",void 0),nt(tt(o),"placeholderEnd",void 0),nt(tt(o),"dateFormat",void 0),nt(tt(o),"commonTimeSetting",void 0),nt(tt(o),"dateType",void 0),nt(tt(o),"setValueType",void 0),nt(tt(o),"defaultValue",void 0),nt(tt(o),"limitDateList",void 0),o.dataBind=new aP(n==null?void 0:n.dataBind),o.defaultValue=new sP(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var 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:wf.controlName;var h;return o.limitDateList=(h=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(m){return new Iu(m)}))!==null&&h!==void 0?h:[],o}return r}(M);nt(mf,"RuntimeRules",SH);function WS(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 KS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IH(e,t,r){return t&&KS(e.prototype,t),r&&KS(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 Of(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Of=Reflect.get:Of=function(o,i,u){var f=MH(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},Of(e,t,r||e)}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pr(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 NH(e,t){return t&&(AH(t)==="object"||typeof t=="function")?t:WS(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}function MH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pr(e),e!==null););return e}function AH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=kH();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 NH(this,o)}}var wf=function(e){BH(r,e);var t=DH(r);function r(n){EH(this,r);var o;return o=t.call(this,n),rh(WS(o),"props",void 0),o.props=new mf(n==null?void 0:n.props),o}return IH(r,[{key:"toDataBindModel",value:function(o){var i=Of(Pr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(A);rh(wf,"controlFieldType",c.FieldTypes.TIMESCOPE),rh(wf,"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 XS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FH(e,t,r){return t&&JS(e.prototype,t),r&&JS(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 Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function LH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function CH(e,t){return t&&(xH(t)==="object"||typeof t=="function")?t:XS(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function xH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VH(e){var t=zH();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 CH(this,o)}}var ZS=function(e){LH(r,e);var t=VH(r);function r(n){jH(this,r);var o;return o=t.call(this,n),QS(XS(o),"props",void 0),o.props=new mf(n==null?void 0:n.props),o}return FH(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(k);QS(ZS,"controlFieldType",c.FieldTypes.TIMESCOPE);var eE={Designer:wf,Runtime:ZS,Property:mf};function fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uh(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 $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function ch(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function GH(e,t){return t&&(YH(t)==="object"||typeof t=="function")?t:fn(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function YH(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 lh(e){var t=HH();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 GH(this,o)}}var qH=function(e){ch(r,e);var t=lh(r);function r(n){uh(this,r);var o;return o=t.call(this,n),xt(fn(o),"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),xt(fn(o),"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),xt(fn(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}(ae),UH=function(e){ch(r,e);var t=lh(r);function r(n){uh(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}(x),Ho=function(e){ch(r,e);var t=lh(r);function r(n){uh(this,r);var o;o=t.call(this,n),xt(fn(o),"maxLength",void 0),xt(fn(o),"minLength",void 0),xt(fn(o),"defaultValue",void 0),xt(fn(o),"lineEllipsis",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var 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:qo.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);xt(Ho,"Rules",qH),xt(Ho,"RuntimeRules",UH);function tE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KH(e,t,r){return t&&nE(e.prototype,t),r&&nE(e,r),e}function Rf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(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&&ah(e,t)}function JH(e,t){return t&&(QH(t)==="object"||typeof t=="function")?t:tE(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}function QH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ZH();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 JH(this,o)}}var qo=function(e){XH(r,e);var t=eq(r);function r(n){WH(this,r);var o;return o=t.call(this,n),Rf(tE(o),"props",void 0),o.props=new Ho(n==null?void 0:n.props),o}return KH(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);Rf(qo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Rf(qo,"controlFieldType",c.FieldTypes.TEXT),Rf(qo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 rE(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 oE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nq(e,t,r){return t&&oE(e.prototype,t),r&&oE(e,r),e}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 Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function rq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function oq(e,t){return t&&(iq(t)==="object"||typeof t=="function")?t:rE(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}function iq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=uq();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 oq(this,o)}}var uE=function(e){rq(r,e);var t=cq(r);function r(n){tq(this,r);var o;return o=t.call(this,n),iE(rE(o),"props",void 0),o.props=new Ho(n==null?void 0:n.props),o}return nq(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(k);iE(uE,"controlFieldType",c.FieldTypes.TEXT);var cE={Designer:qo,Runtime:uE,Property:Ho};function In(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(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&&ph(e,t)}function fq(e,t){return t&&(lq(t)==="object"||typeof t=="function")?t:In(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}function lq(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 dh(e){var t=aq();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 fq(this,o)}}var sq=function(e){yh(r,e);var t=dh(r);function r(n){_h(this,r);var o;return o=t.call(this,n),ln(In(o),"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),ln(In(o),"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),ln(In(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}(ae),_q=function(e){yh(r,e);var t=dh(r);function r(n){_h(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}(x),Uo=function(e){yh(r,e);var t=dh(r);function r(n){_h(this,r);var o;o=t.call(this,n),ln(In(o),"maxLength",void 0),ln(In(o),"minLength",void 0),ln(In(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var 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:Wo.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);ln(Uo,"Rules",sq),ln(Uo,"RuntimeRules",_q);function fE(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 lE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pq(e,t,r){return t&&lE(e.prototype,t),r&&lE(e,r),e}function If(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 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&&vh(e,t)}function vq(e,t){return t&&(hq(t)==="object"||typeof t=="function")?t:fE(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}function hq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gq(e){var t=bq();return function(){var n=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vq(this,o)}}var Wo=function(e){dq(r,e);var t=gq(r);function r(n){yq(this,r);var o;return o=t.call(this,n),If(fE(o),"props",void 0),o.props=new Uo(n==null?void 0:n.props),o}return pq(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(A);If(Wo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),If(Wo,"controlFieldType",c.FieldTypes.TEXT),If(Wo,"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 aE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Oq(e,t,r){return t&&sE(e.prototype,t),r&&sE(e,r),e}function _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 Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(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&&hh(e,t)}function Pq(e,t){return t&&($q(t)==="object"||typeof t=="function")?t:aE(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}function $q(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tq(e){var t=Rq();return function(){var n=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pq(this,o)}}var yE=function(e){wq(r,e);var t=Tq(r);function r(n){mq(this,r);var o;return o=t.call(this,n),_E(aE(o),"props",void 0),o.props=new Uo(n==null?void 0:n.props),o}return Oq(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(k);_E(yE,"controlFieldType",c.FieldTypes.TEXT);var pE={Designer:Wo,Runtime:yE,Property:Uo};function He(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function vE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bh(e,t)}function Sq(e,t){return t&&(Eq(t)==="object"||typeof t=="function")?t:He(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function Eq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hE(e){var t=Iq();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 Sq(this,o)}}var Bq=function(e){vE(r,e);var t=hE(r);function r(n){dE(this,r);var o;return o=t.call(this,n),qe(He(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Tn),Af=function(e){vE(r,e);var t=hE(r);function r(n){dE(this,r);var o;o=t.call(this,n),qe(He(o),"options",void 0),qe(He(o),"defaultShowOptions",void 0),qe(He(o),"optionConfig",void 0),qe(He(o),"defaultValue",void 0),qe(He(o),"datasourceBind",void 0),qe(He(o),"multistageFilling",void 0),qe(He(o),"allowCopyOptions",void 0),qe(He(o),"openMultistageFilling",void 0),qe(He(o),"viewFormModelType",void 0),qe(He(o),"canViewForm",void 0),qe(He(o),"formBind",void 0);var i;o.options=ht((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var 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:Df.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(h){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new Re(h))}));var b;o.canViewForm=(b=n==null?void 0:n.canViewForm)!==null&&b!==void 0?b:!1;var g;return o.viewFormModelType=(g=n==null?void 0:n.viewFormModelType)!==null&&g!==void 0?g:"window",o.formBind=new Rn(n==null?void 0:n.formBind),o}return r}(M);qe(Af,"Rules",Bq);function bE(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 gE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mq(e,t,r){return t&&gE(e.prototype,t),r&&gE(e,r),e}function gh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function 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&&mh(e,t)}function kq(e,t){return t&&(Dq(t)==="object"||typeof t=="function")?t:bE(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}function Dq(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 Fq(e){var t=jq();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kq(this,o)}}var Df=function(e){Aq(r,e);var t=Fq(r);function r(n){Nq(this,r);var o;return o=t.call(this,n),gh(bE(o),"props",void 0),o.props=new Af(n==null?void 0:n.props),o}return Mq(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);gh(Df,"controlFieldType",c.FieldTypes.VARCHAR),gh(Df,"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 mE(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 OE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cq(e,t,r){return t&&OE(e.prototype,t),r&&OE(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 jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(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&&Oh(e,t)}function zq(e,t){return t&&(Vq(t)==="object"||typeof t=="function")?t:mE(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function Vq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yq(e){var t=Gq();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 zq(this,o)}}var PE=function(e){xq(r,e);var t=Yq(r);function r(n){Lq(this,r);var o;return o=t.call(this,n),wE(mE(o),"props",void 0),o.props=new Af(n==null?void 0:n.props),o}return Cq(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(k);wE(PE,"controlFieldType",c.FieldTypes.VARCHAR);var $E={Designer:Df,Runtime:PE,Property:Af};function rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function Ph(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$h(e,t)}function Hq(e,t){return t&&(qq(t)==="object"||typeof t=="function")?t:rt(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}function qq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rh(e){var t=Uq();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 Hq(this,o)}}var Wq=function(e){Ph(r,e);var t=Rh(r);function r(n){wh(this,r);var o;return o=t.call(this,n),Ue(rt(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Tn),Kq=function(e){Ph(r,e);var t=Rh(r);function r(n){wh(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),Ko=function(e){Ph(r,e);var t=Rh(r);function r(n){wh(this,r);var o;o=t.call(this,n),Ue(rt(o),"options",void 0),Ue(rt(o),"defaultShowOptions",void 0),Ue(rt(o),"optionConfig",void 0),Ue(rt(o),"defaultValue",void 0),Ue(rt(o),"datasourceBind",void 0),Ue(rt(o),"multistageFilling",void 0),Ue(rt(o),"openMultistageFilling",void 0),Ue(rt(o),"viewFormModelType",void 0),Ue(rt(o),"canViewForm",void 0),Ue(rt(o),"formBind",void 0);var i;o.options=ht((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var 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:Cf.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new Re(g))}));var 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 Rn(n==null?void 0:n.formBind),o}return r}(M);Ue(Ko,"Rules",Wq),Ue(Ko,"RuntimeRules",Kq);function RE(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 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 Jq(e,t,r){return t&&TE(e.prototype,t),r&&TE(e,r),e}function Th(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 Qq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function Zq(e,t){return t&&(eU(t)==="object"||typeof t=="function")?t:RE(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}function eU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nU(e){var t=tU();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 Zq(this,o)}}var Cf=function(e){Qq(r,e);var t=nU(r);function r(n){Xq(this,r);var o;return o=t.call(this,n),Th(RE(o),"props",void 0),o.props=new Ko(n==null?void 0:n.props),o}return Jq(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);Th(Cf,"controlFieldType",c.FieldTypes.ARRAY),Th(Cf,"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 SE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oU(e,t,r){return t&&EE(e.prototype,t),r&&EE(e,r),e}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 xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(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&&Eh(e,t)}function uU(e,t){return t&&(cU(t)==="object"||typeof t=="function")?t:SE(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}function cU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lU(e){var t=fU();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 uU(this,o)}}var BE=function(e){iU(r,e);var t=lU(r);function r(n){rU(this,r);var o;return o=t.call(this,n),IE(SE(o),"props",void 0),o.props=new Ko(n==null?void 0:n.props),o}return oU(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(k);IE(BE,"controlFieldType",c.FieldTypes.ARRAY);var NE={Designer:Cf,Runtime:BE,Property:Ko};function zt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ME(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function AE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ih(e,t)}function aU(e,t){return t&&(sU(t)==="object"||typeof t=="function")?t:zt(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}function sU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _U(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kE(e){var t=_U();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aU(this,o)}}var yU=function(e){AE(r,e);var t=kE(r);function r(n){ME(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),Vf=function(e){AE(r,e);var t=kE(r);function r(n){ME(this,r);var o;o=t.call(this,n),Vt(zt(o),"showType",void 0),Vt(zt(o),"range",void 0),Vt(zt(o),"rangeOptions",void 0),Vt(zt(o),"multiple",void 0),Vt(zt(o),"defaultValueType",void 0),Vt(zt(o),"defaultValue",void 0),Vt(zt(o),"multistageFilling",void 0),Vt(zt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var 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?_:Yf.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 h;(h=o.multistageFilling)===null||h===void 0||h.push(new Re(g))})),o}return r}(M);Vt(Vf,"RuntimeRules",yU);function DE(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 jE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dU(e,t,r){return t&&jE(e.prototype,t),r&&jE(e,r),e}function Bh(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 vU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nh(e,t)}function hU(e,t){return t&&(bU(t)==="object"||typeof t=="function")?t:DE(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}function bU(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 mU(e){var t=gU();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 hU(this,o)}}var Yf=function(e){vU(r,e);var t=mU(r);function r(n){pU(this,r);var o;return o=t.call(this,n),Bh(DE(o),"props",void 0),o.props=new Vf(n==null?void 0:n.props),o}return dU(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(A);Bh(Yf,"controlFieldType",c.FieldTypes.EMPLOYEES),Bh(Yf,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.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 FE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wU(e,t,r){return t&&LE(e.prototype,t),r&&LE(e,r),e}function CE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(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&&Mh(e,t)}function $U(e,t){return t&&(RU(t)==="object"||typeof t=="function")?t:FE(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}function RU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=TU();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 $U(this,o)}}var xE=function(e){PU(r,e);var t=SU(r);function r(n){OU(this,r);var o;return o=t.call(this,n),CE(FE(o),"props",void 0),o.props=new Vf(n==null?void 0:n.props),o}return wU(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(k);CE(xE,"controlFieldType",c.FieldTypes.EMPLOYEES);var zE={Designer:Yf,Runtime:xE,Property:Vf};function Gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ah(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function kh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dh(e,t)}function EU(e,t){return t&&(IU(t)==="object"||typeof t=="function")?t:Gt(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}function IU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jh(e){var t=BU();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 EU(this,o)}}var NU=10485760,MU=104857600,AU=1048576e3,kU=function(e){kh(r,e);var t=jh(r);function r(n){Ah(this,r);var o;return o=t.call(this,n),wt(Gt(o),"maxSize",{type:"number",min:0,max:AU,message:p.getMessage("attachmentMaxSize")}),o}return r}(ae),DU=function(e){kh(r,e);var t=jh(r);function r(n){Ah(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}(x),$r=function(e){kh(r,e);var t=jh(r);function r(n){Ah(this,r);var o;o=t.call(this,n),wt(Gt(o),"defaultValue",void 0),wt(Gt(o),"showType",void 0),wt(Gt(o),"resultShowType",void 0),wt(Gt(o),"attachmentAccept",void 0),wt(Gt(o),"maxLimit",void 0),wt(Gt(o),"minLimit",void 0),wt(Gt(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var 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?_:MU;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Rr.controlName;var b;return o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(M);wt($r,"Rules",kU),wt($r,"RuntimeRules",DU);function VE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FU(e,t,r){return t&&GE(e.prototype,t),r&&GE(e,r),e}function Uf(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 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&&Fh(e,t)}function CU(e,t){return t&&(xU(t)==="object"||typeof t=="function")?t:VE(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}function xU(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 VU(e){var t=zU();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 CU(this,o)}}var Rr=function(e){LU(r,e);var t=VU(r);function r(n){jU(this,r);var o;return o=t.call(this,n),Uf(VE(o),"props",void 0),o.props=new $r(n==null?void 0:n.props),o}return FU(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(A);Uf(Rr,"controlEventKeys",["on_change"]),Uf(Rr,"controlFieldType",c.FieldTypes.FILE),Uf(Rr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function YE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GU(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 YU(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 Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function HU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lh(e,t)}function qU(e,t){return t&&(UU(t)==="object"||typeof t=="function")?t:YE(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}function UU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KU(e){var t=WU();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qU(this,o)}}var Ch=function(e){HU(r,e);var t=KU(r);function r(n){GU(this,r);var o;return o=t.call(this,n),qE(YE(o),"props",void 0),o.props=new $r(n==null?void 0:n.props),o}return YU(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(k);qE(Ch,"controlFieldType",c.FieldTypes.FILE);var UE={Designer:Rr,Runtime:Ch,Property:$r};function XU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QU(e,t,r){return t&&WE(e.prototype,t),r&&WE(e,r),e}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 Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function ZU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eW(e,t){return t&&(tW(t)==="object"||typeof t=="function")?t:XU(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}function tW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rW(e){var t=nW();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 eW(this,o)}}var zh=function(e){ZU(r,e);var t=rW(r);function r(n){JU(this,r);var o,i,u;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||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&l!==void 0?l:"\u4E0A\u4F20\u56FE\u7247",o}return QU(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(Rr);KE(zh,"controlFieldType",c.FieldTypes.IMAGE),KE(zh,"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 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 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 uW(e,t,r){return t&&XE(e.prototype,t),r&&XE(e,r),e}function Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jf(e)}function cW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function fW(e,t){return t&&(lW(t)==="object"||typeof t=="function")?t:oW(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}function lW(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 sW(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 fW(this,o)}}var _W=function(e){cW(r,e);var t=sW(r);function r(n){iW(this,r);var o,i,u,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||(u=n.props)===null||u===void 0?void 0:u.caption)!==null&&a!==void 0?a:"\u56FE\u7247";var s;return o.props.placeholder=(s=n==null||(f=n.props)===null||f===void 0?void 0:f.placeholder)!==null&&s!==void 0?s:"\u4E0A\u4F20\u56FE\u7247",o}return uW(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(Ch);function yW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(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&&Gh(e,t)}function vW(e,t){return t&&(hW(t)==="object"||typeof t=="function")?t:yW(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}function hW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gW(e){var t=bW();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 vW(this,o)}}var mW=function(e){dW(r,e);var t=gW(r);function r(n){return pW(this,r),t.call(this,n)}return r}($r),JE={Designer:zh,Runtime:_W,Property:mW};function Fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Zf(e){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zf(e)}function Hh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function OW(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 wW(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)):wW(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function $W(e,t){return t&&(RW(t)==="object"||typeof t=="function")?t:Fe(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}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 Uh(e){var t=TW();return function(){var n=Zf(e),o;if(t){var i=Zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $W(this,o)}}var SW=function(e){Hh(r,e);var t=Uh(r);function r(n){Yh(this,r);var o;o=t.call(this,n),we(Fe(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:p.getMessage("pleaseEnterNumberRange")}]}}),we(Fe(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=p.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:p.getMessage("numberRangeSetError")}),o}return r}(Tn),EW=function(e){Hh(r,e);var t=Uh(r);function r(n){Yh(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="object");var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[PW(OW({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:p.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(x),Xo=function(e){Hh(r,e);var t=Uh(r);function r(n){Yh(this,r);var o;o=t.call(this,n),we(Fe(o),"rangeMin",void 0),we(Fe(o),"rangeMax",void 0),we(Fe(o),"showUpperCase",void 0),we(Fe(o),"submitSelectCurrency",void 0),we(Fe(o),"micrometer",void 0),we(Fe(o),"precision",void 0),we(Fe(o),"optionConfig",void 0),we(Fe(o),"dataBind",void 0),we(Fe(o),"datasourceBind",void 0),we(Fe(o),"defaultValue",void 0),we(Fe(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var 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 fP(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 xi({value:"name"})]});var _;o.defaultValue=new lP((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:c.AMOUNT_TYPE.CNY}),o.options=ht(n==null?void 0:n.options);var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Jo.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u8F93\u5165";var g;o.submitSelectCurrency=(g=n==null?void 0:n.submitSelectCurrency)!==null&&g!==void 0?g:!1;var h;return o.showUpperCase=(h=n==null?void 0:n.showUpperCase)!==null&&h!==void 0?h:!1,o}return r}(M);we(Xo,"Rules",SW),we(Xo,"RuntimeRules",EW);function QE(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 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 BW(e,t,r){return t&&ZE(e.prototype,t),r&&ZE(e,r),e}function el(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?tl=Reflect.get:tl=function(o,i,u){var f=AW(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},tl(e,t,r||e)}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tr(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 MW(e,t){return t&&(kW(t)==="object"||typeof t=="function")?t:QE(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}function AW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tr(e),e!==null););return e}function kW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jW(e){var t=DW();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 MW(this,o)}}var Jo=function(e){NW(r,e);var t=jW(r);function r(n){IW(this,r);var o;return o=t.call(this,n),el(QE(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return BW(r,[{key:"toDataBindModel",value:function(o){var i=tl(Tr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.precision,l=u.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);el(Jo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),el(Jo,"controlFieldType",c.FieldTypes.MONEY),el(Jo,"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 eI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LW(e,t,r){return t&&tI(e.prototype,t),r&&tI(e,r),e}function nI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(e)}function CW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function xW(e,t){return t&&(zW(t)==="object"||typeof t=="function")?t:eI(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}function zW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GW(e){var t=VW();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 xW(this,o)}}var rI=function(e){CW(r,e);var t=GW(r);function r(n){FW(this,r);var o;return o=t.call(this,n),nI(eI(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return LW(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(k);nI(rI,"controlFieldType",c.FieldTypes.MONEY);var oI={Designer:Jo,Runtime:rI,Property:Xo};function an(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xh(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 rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rl(e)}function Jh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qh(e,t)}function YW(e,t){return t&&(HW(t)==="object"||typeof t=="function")?t:an(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}function HW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zh(e){var t=qW();return function(){var n=rl(e),o;if(t){var i=rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YW(this,o)}}var UW=function(e){Jh(r,e);var t=Zh(r);function r(n){Xh(this,r);var o;return o=t.call(this,n),Yt(an(o),"totalScore",[{type:"number",required:!0,message:p.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:p.getMessage("theTotalScoreMustNotBeLessThan1")}]),Yt(an(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}(ae),WW=function(e){Jh(r,e);var t=Zh(r);function r(n){Xh(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(x),Qo=function(e){Jh(r,e);var t=Zh(r);function r(n){Xh(this,r);var o,i;o=t.call(this,n),Yt(an(o),"totalScore",void 0),Yt(an(o),"scoreType",void 0),Yt(an(o),"isShowExplain",void 0),Yt(an(o),"explain",void 0),Yt(an(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var f;o.scoreType=(f=n==null?void 0:n.scoreType)!==null&&f!==void 0?f:c.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 Bu(y)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new Bu});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?_:Zo.controlName,o}return r}(M);Yt(Qo,"Rules",UW),Yt(Qo,"RuntimeRules",WW);function eb(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 KW(e){if(Array.isArray(e))return eb(e)}function iI(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 uI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JW(e,t,r){return t&&uI(e.prototype,t),r&&uI(e,r),e}function ol(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?il=Reflect.get:il=function(o,i,u){var f=nK(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},il(e,t,r||e)}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sr(e)}function QW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function ZW(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function eK(){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 tK(e,t){return t&&(oK(t)==="object"||typeof t=="function")?t:iI(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}function nK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Sr(e),e!==null););return e}function rK(e){return KW(e)||ZW(e)||iK(e)||eK()}function oK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iK(e,t){if(!!e){if(typeof e=="string")return eb(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 eb(e,t)}}function uK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cK(e){var t=uK();return function(){var n=Sr(e),o;if(t){var i=Sr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tK(this,o)}}var Zo=function(e){QW(r,e);var t=cK(r);function r(n){XW(this,r);var o;return o=t.call(this,n),ol(iI(o),"props",void 0),o.props=new Qo(n==null?void 0:n.props),o}return JW(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,f=i-this.props.explain.length,l=Array(f).fill(void 0).map(function(){return new Bu});(u=this.props.explain).push.apply(u,rK(l))}}il(Sr(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(A);ol(Zo,"controlEventKeys",["on_change","on_click"]),ol(Zo,"controlFieldType",c.FieldTypes.DECIMAL),ol(Zo,"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 cI(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 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 lK(e,t,r){return t&&fI(e.prototype,t),r&&fI(e,r),e}function lI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(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&&nb(e,t)}function sK(e,t){return t&&(_K(t)==="object"||typeof t=="function")?t:cI(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}function _K(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 pK(e){var t=yK();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 sK(this,o)}}var aI=function(e){aK(r,e);var t=pK(r);function r(n){fK(this,r);var o;return o=t.call(this,n),lI(cI(o),"props",void 0),o.props=new Qo(n==null?void 0:n.props),o}return lK(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(k);lI(aI,"controlFieldType",c.FieldTypes.DECIMAL);var sI={Designer:Zo,Runtime:aI,Property:Qo};function cl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _I(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(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&&rb(e,t)}function dK(e,t){return t&&(vK(t)==="object"||typeof t=="function")?t:cl(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function vK(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 pI(e){var t=hK();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 dK(this,o)}}var bK=function(e){yI(r,e);var t=pI(r);function r(n){_I(this,r);var o;if(o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:p.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:p.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:p.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(x),al=function(e){yI(r,e);var t=pI(r);function r(n){_I(this,r);var o;o=t.call(this,n),fl(cl(o),"defaultValueType",void 0),fl(cl(o),"defaultValue",void 0),fl(cl(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_l.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"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 _P((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);fl(al,"RuntimeRules",bK);function dI(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 vI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mK(e,t,r){return t&&vI(e.prototype,t),r&&vI(e,r),e}function ob(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 OK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ib(e,t)}function wK(e,t){return t&&(PK(t)==="object"||typeof t=="function")?t:dI(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}function PK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof 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 RK(e){var t=$K();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 wK(this,o)}}var _l=function(e){OK(r,e);var t=RK(r);function r(n){gK(this,r);var o;return o=t.call(this,n),ob(dI(o),"props",void 0),o.props=new al(n==null?void 0:n.props),o}return mK(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(A);ob(_l,"controlFieldType",c.FieldTypes.ADDRESS),ob(_l,"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 hI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bI(e,t){for(var r=0;r<t.length;r++){var 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&&bI(e.prototype,t),r&&bI(e,r),e}function gI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(e)}function EK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IK(e,t){return t&&(BK(t)==="object"||typeof t=="function")?t:hI(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function BK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=NK();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 IK(this,o)}}var mI=function(e){EK(r,e);var t=MK(r);function r(n){TK(this,r);var o;return o=t.call(this,n),gI(hI(o),"props",void 0),o.props=new al(n==null?void 0:n.props),o}return SK(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);gI(mI,"controlFieldType",c.FieldTypes.ADDRESS);var OI={Designer:_l,Runtime:mI,Property:al};function ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pl(e)}function PI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AK(e,t){return t&&(kK(t)==="object"||typeof t=="function")?t:ft(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function kK(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 $I(e){var t=DK();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 AK(this,o)}}var jK=function(e){PI(r,e);var t=$I(r);function r(n){wI(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),dl=function(e){PI(r,e);var t=$I(r);function r(n){wI(this,r);var o;o=t.call(this,n),lt(ft(o),"showType",void 0),lt(ft(o),"range",void 0),lt(ft(o),"defaultValueType",void 0),lt(ft(o),"multiple",void 0),lt(ft(o),"rangeOptions",void 0),lt(ft(o),"defaultValue",void 0),lt(ft(o),"displayLevel",void 0),lt(ft(o),"showSubDept",void 0),lt(ft(o),"multistageFilling",void 0),lt(ft(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var 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:ei.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u90E8\u95E8";var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Re(m))})),o}return r}(M);lt(dl,"RuntimeRules",jK);function RI(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 TI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LK(e,t,r){return t&&TI(e.prototype,t),r&&TI(e,r),e}function vl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?hl=Reflect.get:hl=function(o,i,u){var f=zK(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},hl(e,t,r||e)}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Er(e)}function CK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function xK(e,t){return t&&(VK(t)==="object"||typeof t=="function")?t:RI(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function zK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Er(e),e!==null););return e}function VK(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 YK(e){var t=GK();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 xK(this,o)}}var ei=function(e){CK(r,e);var t=YK(r);function r(n){FK(this,r);var o;return o=t.call(this,n),vl(RI(o),"props",void 0),o.props=new dl(n==null?void 0:n.props),o}return LK(r,[{key:"toDataBindModel",value:function(o){var i=hl(Er(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.displayLevel,l=u.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);vl(ei,"controlName","\u90E8\u95E8"),vl(ei,"controlFieldType",c.FieldTypes.DEPARTMENTS),vl(ei,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 SI(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 EI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qK(e,t,r){return t&&EI(e.prototype,t),r&&EI(e,r),e}function II(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 UK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lb(e,t)}function WK(e,t){return t&&(KK(t)==="object"||typeof t=="function")?t:SI(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function KK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JK(e){var t=XK();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 WK(this,o)}}var BI=function(e){UK(r,e);var t=JK(r);function r(n){HK(this,r);var o;return o=t.call(this,n),II(SI(o),"props",void 0),o.props=new dl(n==null?void 0:n.props),o}return qK(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(k);II(BI,"controlFieldType",c.FieldTypes.DEPARTMENTS);var NI={Designer:ei,Runtime:BI,Property:dl};function MI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZK(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 eX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ab(e,t)}function tX(e,t){return t&&(nX(t)==="object"||typeof t=="function")?t:MI(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}function nX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oX(e){var t=rX();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 tX(this,o)}}var sb=function(e){eX(r,e);var t=oX(r);function r(n){QK(this,r);var o;o=t.call(this,n),ZK(MI(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ti.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 AI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uX(e,t,r){return t&&kI(e.prototype,t),r&&kI(e,r),e}function ml(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function cX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:AI(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}function lX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sX(e){var t=aX();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 fX(this,o)}}var ti=function(e){cX(r,e);var t=sX(r);function r(n){iX(this,r);var o;return o=t.call(this,n),ml(AI(o),"props",void 0),o.props=new sb(n==null?void 0:n.props),o}return uX(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);ml(ti,"controlEventKeys",["on_change"]),ml(ti,"controlFieldType",c.FieldTypes.AUTO_NUMBER),ml(ti,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 DI(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 jI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yX(e,t,r){return t&&jI(e.prototype,t),r&&jI(e,r),e}function FI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function pX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yb(e,t)}function dX(e,t){return t&&(vX(t)==="object"||typeof t=="function")?t:DI(e)}function yb(e,t){return yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yb(e,t)}function vX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=hX();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 dX(this,o)}}var LI=function(e){pX(r,e);var t=bX(r);function r(n){_X(this,r);var o;return o=t.call(this,n),FI(DI(o),"props",void 0),o.props=new sb(n==null?void 0:n.props),o}return yX(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(k);FI(LI,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var CI={Designer:ti,Runtime:LI,Property:sb};function sn(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 Ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function db(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gX(e,t){return t&&(mX(t)==="object"||typeof t=="function")?t:sn(e)}function vb(e,t){return vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vb(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 hb(e){var t=OX();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 gX(this,o)}}var wX=function(e){db(r,e);var t=hb(r);function r(n){pb(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(ae),PX=function(e){db(r,e);var t=hb(r);function r(n){pb(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:p.getMessage("isNotObject"),fields:{result:[{type:"number",message:p.getMessage("isNotNumber")}],unit:{type:"string",message:p.getMessage("isNotString")}}}),o}return r}(x),ni=function(e){db(r,e);var t=hb(r);function r(n){pb(this,r);var o;o=t.call(this,n),Ht(sn(o),"precision",void 0),Ht(sn(o),"micrometer",void 0),Ht(sn(o),"showUpperCase",void 0),Ht(sn(o),"scriptSrc",void 0),Ht(sn(o),"scriptEcho",void 0),Ht(sn(o),"dataBind",void 0),Ht(sn(o),"defaultValue",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var f;o.showUpperCase=(f=n==null?void 0:n.showUpperCase)!==null&&f!==void 0?f:!1,o.dataBind=new yP(n==null?void 0:n.dataBind),o.defaultValue=new pP(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:ri.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);Ht(ni,"Rules",wX),Ht(ni,"RuntimeRules",PX);function xI(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 zI(e,t){for(var r=0;r<t.length;r++){var 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&&zI(e.prototype,t),r&&zI(e,r),e}function $l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Rl=Reflect.get:Rl=function(o,i,u){var f=EX(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},Rl(e,t,r||e)}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ir(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&&bb(e,t)}function SX(e,t){return t&&(IX(t)==="object"||typeof t=="function")?t:xI(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function EX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ir(e),e!==null););return e}function IX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NX(e){var t=BX();return function(){var n=Ir(e),o;if(t){var i=Ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SX(this,o)}}var ri=function(e){TX(r,e);var t=NX(r);function r(n){$X(this,r);var o;return o=t.call(this,n),$l(xI(o),"props",void 0),o.props=new ni(n==null?void 0:n.props),o}return RX(r,[{key:"toDataBindModel",value:function(o){var i=Rl(Ir(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.precision,l=u.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);$l(ri,"controlEventKeys",["on_change"]),$l(ri,"controlFieldType",c.FieldTypes.CALC),$l(ri,"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 VI(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 GI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AX(e,t,r){return t&&GI(e.prototype,t),r&&GI(e,r),e}function YI(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 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&&gb(e,t)}function DX(e,t){return t&&(jX(t)==="object"||typeof t=="function")?t:VI(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(e,t)}function jX(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=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DX(this,o)}}var HI=function(e){kX(r,e);var t=LX(r);function r(n){MX(this,r);var o;return o=t.call(this,n),YI(VI(o),"props",void 0),o.props=new ni(n==null?void 0:n.props),o}return AX(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(k);YI(HI,"controlFieldType",c.FieldTypes.CALC);var qI={Designer:ri,Runtime:HI,Property:ni};function Br(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function WI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mb(e,t)}function CX(e,t){return t&&(xX(t)==="object"||typeof t=="function")?t:Br(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}function xX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KI(e){var t=zX();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 CX(this,o)}}var VX=function(e){WI(r,e);var t=KI(r);function r(n){UI(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(u,f){if(n.required){var l=f.every(function(a){return!a});return l?Promise.reject(p.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(x),El=function(e){WI(r,e);var t=KI(r);function r(n){UI(this,r);var o;o=t.call(this,n),Nr(Br(o),"rangeMin",void 0),Nr(Br(o),"rangeMax",void 0),Nr(Br(o),"placeholderStart",void 0),Nr(Br(o),"placeholderEnd",void 0),Nr(Br(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var 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:Bl.controlName,o}return r}(M);Nr(El,"RuntimeRules",VX);function XI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YX(e,t,r){return t&&JI(e.prototype,t),r&&JI(e,r),e}function Ob(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 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&&wb(e,t)}function qX(e,t){return t&&(UX(t)==="object"||typeof t=="function")?t:XI(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function UX(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=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qX(this,o)}}var Bl=function(e){HX(r,e);var t=KX(r);function r(n){GX(this,r);var o;return o=t.call(this,n),Ob(XI(o),"props",void 0),o.props=new El(n==null?void 0:n.props),o}return YX(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);Ob(Bl,"controlFieldType",c.FieldTypes.DECIMAL_RANGE),Ob(Bl,"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 QI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JX(e,t,r){return t&&ZI(e.prototype,t),r&&ZI(e,r),e}function eB(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 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&&Pb(e,t)}function ZX(e,t){return t&&(eJ(t)==="object"||typeof t=="function")?t:QI(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function eJ(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=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZX(this,o)}}var tB=function(e){QX(r,e);var t=nJ(r);function r(n){XX(this,r);var o;return o=t.call(this,n),eB(QI(o),"props",void 0),o.props=new El(n==null?void 0:n.props),o}return JX(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(k);eB(tB,"controlFieldType",c.FieldTypes.DECIMAL_RANGE);var nB={Designer:Bl,Runtime:tB,Property:El};function at(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function st(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(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&&$b(e,t)}function rJ(e,t){return t&&(oJ(t)==="object"||typeof t=="function")?t:at(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}function oJ(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 iB(e){var t=iJ();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 rJ(this,o)}}var uJ=function(e){oB(r,e);var t=iB(r);function r(n){rB(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}(x),Al=function(e){oB(r,e);var t=iB(r);function r(n){rB(this,r);var o,i;o=t.call(this,n),st(at(o),"rangeMin",void 0),st(at(o),"rangeMax",void 0),st(at(o),"placeholderStart",void 0),st(at(o),"placeholderEnd",void 0),st(at(o),"dateType",void 0),st(at(o),"dateFormat",void 0),st(at(o),"commonTimeSetting",void 0),st(at(o),"setValueType",void 0),st(at(o),"defaultValue",void 0),st(at(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var f;o.dateType=(f=n==null?void 0:n.dateType)!==null&&f!==void 0?f:c.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 h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Dl.controlName;var m;return o.limitDateList=(m=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(v){return new Iu(v)}))!==null&&m!==void 0?m:[],o}return r}(M);st(Al,"RuntimeRules",uJ);function uB(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 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 fJ(e,t,r){return t&&cB(e.prototype,t),r&&cB(e,r),e}function Rb(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 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&&Tb(e,t)}function aJ(e,t){return t&&(sJ(t)==="object"||typeof t=="function")?t:uB(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(e,t)}function sJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _J(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yJ(e){var t=_J();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 aJ(this,o)}}var Dl=function(e){lJ(r,e);var t=yJ(r);function r(n){cJ(this,r);var o;return o=t.call(this,n),Rb(uB(o),"props",void 0),o.props=new Al(n==null?void 0:n.props),o}return fJ(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);Rb(Dl,"controlFieldType",c.FieldTypes.ARRAY),Rb(Dl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 fB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dJ(e,t,r){return t&&lB(e.prototype,t),r&&lB(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 jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function vJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sb(e,t)}function hJ(e,t){return t&&(bJ(t)==="object"||typeof t=="function")?t:fB(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function bJ(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=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hJ(this,o)}}var sB=function(e){vJ(r,e);var t=mJ(r);function r(n){pJ(this,r);var o;return o=t.call(this,n),aB(fB(o),"props",void 0),o.props=new Al(n==null?void 0:n.props),o}return dJ(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(k);aB(sB,"controlFieldType",c.FieldTypes.ARRAY);var _B={Designer:Dl,Runtime:sB,Property:Al};function oi(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 Mr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fl(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&&Bb(e,t)}function OJ(e,t){return t&&(wJ(t)==="object"||typeof t=="function")?t:oi(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(e,t)}function wJ(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 Nb(e){var t=PJ();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 OJ(this,o)}}var $J=function(e){Ib(r,e);var t=Nb(r);function r(n){Eb(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ae),RJ=function(e){Ib(r,e);var t=Nb(r);function r(n){Eb(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(x),ii=function(e){Ib(r,e);var t=Nb(r);function r(n){Eb(this,r);var o;o=t.call(this,n),Mr(oi(o),"controlExportName",void 0),Mr(oi(o),"permissions",void 0),Mr(oi(o),"defaultValue",void 0),Mr(oi(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ui.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u: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);Mr(ii,"Rules",$J),Mr(ii,"RuntimeRules",RJ);function yB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TJ(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 SJ(e,t,r){return t&&pB(e.prototype,t),r&&pB(e,r),e}function Ll(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cl(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&&Mb(e,t)}function IJ(e,t){return t&&(BJ(t)==="object"||typeof t=="function")?t:yB(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}function BJ(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 MJ(e){var t=NJ();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 IJ(this,o)}}var ui=function(e){EJ(r,e);var t=MJ(r);function r(n){TJ(this,r);var o;return o=t.call(this,n),Ll(yB(o),"props",void 0),o.props=new ii(n==null?void 0:n.props),o}return SJ(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);Ll(ui,"controlFieldType",c.FieldTypes.ANY),Ll(ui,"controlEventKeys",[]),Ll(ui,"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 dB(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 vB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kJ(e,t,r){return t&&vB(e.prototype,t),r&&vB(e,r),e}function hB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(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&&Ab(e,t)}function jJ(e,t){return t&&(FJ(t)==="object"||typeof t=="function")?t:dB(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function FJ(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 CJ(e){var t=LJ();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 jJ(this,o)}}var bB=function(e){DJ(r,e);var t=CJ(r);function r(n){AJ(this,r);var o;return o=t.call(this,n),hB(dB(o),"props",void 0),o.props=new ii(n==null?void 0:n.props),o}return kJ(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(k);hB(bB,"controlFieldType",c.FieldTypes.ANY);var gB={Designer:ui,Runtime:bB,Property:ii};function Ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mB(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 zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(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&&kb(e,t)}function xJ(e,t){return t&&(zJ(t)==="object"||typeof t=="function")?t:Ne(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}function zJ(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 wB(e){var t=VJ();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 xJ(this,o)}}var GJ=function(e){OB(r,e);var t=wB(r);function r(n){mB(this,r);var o;return o=t.call(this,n),Me(Ne(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")}]}}]),Me(Ne(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Tn),Vl=function(e){OB(r,e);var t=wB(r);function r(n){mB(this,r);var o;o=t.call(this,n),Me(Ne(o),"options",void 0),Me(Ne(o),"optionConfig",void 0),Me(Ne(o),"defaultValue",void 0),Me(Ne(o),"listPageBind",void 0),Me(Ne(o),"datasourceBind",void 0),Me(Ne(o),"multistageFilling",void 0),Me(Ne(o),"viewFormModelType",void 0),Me(Ne(o),"canViewForm",void 0),Me(Ne(o),"formBind",void 0),Me(Ne(o),"openMultistageFilling",void 0),Me(Ne(o),"showSelectedDetail",void 0),Me(Ne(o),"selectedContentConfig",void 0);var i;o.options=ht((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new Li(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:ci.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 zi(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new Re(g))}));var 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 Rn(n==null?void 0:n.formBind),o}return r}(M);Me(Vl,"Rules",GJ);function PB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 HJ(e,t,r){return t&&$B(e.prototype,t),r&&$B(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 Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function qJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Db(e,t)}function UJ(e,t){return t&&(WJ(t)==="object"||typeof t=="function")?t:PB(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function WJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XJ(e){var t=KJ();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 UJ(this,o)}}var ci=function(e){qJ(r,e);var t=XJ(r);function r(n){YJ(this,r);var o;return o=t.call(this,n),Gl(PB(o),"props",void 0),o.props=new Vl(n==null?void 0:n.props),o}return HJ(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);Gl(ci,"controlFieldType",c.FieldTypes.VARCHAR),Gl(ci,"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}]),Gl(ci,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function RB(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 TB(e,t){for(var r=0;r<t.length;r++){var 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&&TB(e.prototype,t),r&&TB(e,r),e}function SB(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 ZJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jb(e,t)}function eQ(e,t){return t&&(tQ(t)==="object"||typeof t=="function")?t:RB(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function tQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rQ(e){var t=nQ();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 eQ(this,o)}}var EB=function(e){ZJ(r,e);var t=rQ(r);function r(n){JJ(this,r);var o;return o=t.call(this,n),SB(RB(o),"props",void 0),o.props=new Vl(n==null?void 0:n.props),o}return QJ(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(k);SB(EB,"controlFieldType",c.FieldTypes.VARCHAR);var IB={Designer:ci,Runtime:EB,Property:Vl};function oQ(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 ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(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&&Fb(e,t)}function cQ(e,t){return t&&(fQ(t)==="object"||typeof t=="function")?t:oQ(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(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=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cQ(this,o)}}var Lb=function(e){uQ(r,e);var t=aQ(r);function r(n){return iQ(this,r),t.call(this,n)}return r}(gr);function BB(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 NB(e,t){for(var r=0;r<t.length;r++){var 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&&NB(e.prototype,t),r&&NB(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 Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(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&&Cb(e,t)}function pQ(e,t){return t&&(dQ(t)==="object"||typeof t=="function")?t:BB(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(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=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pQ(this,o)}}var AB=function(e){yQ(r,e);var t=hQ(r);function r(n){sQ(this,r);var o;return o=t.call(this,n),MB(BB(o),"props",void 0),o.props=new Lb(n==null?void 0:n.props),o}return _Q(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(mr);MB(AB,"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 kB(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 DB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gQ(e,t,r){return t&&DB(e.prototype,t),r&&DB(e,r),e}function jB(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 mQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xb(e,t)}function OQ(e,t){return t&&(wQ(t)==="object"||typeof t=="function")?t:kB(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}function wQ(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 $Q(e){var t=PQ();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 OQ(this,o)}}var FB=function(e){mQ(r,e);var t=$Q(r);function r(n){bQ(this,r);var o;return o=t.call(this,n),jB(kB(o),"props",void 0),o.props=new Lb(n==null?void 0:n.props),o}return gQ(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(k);jB(FB,"controlFieldType",c.FieldTypes.VARCHAR);var LB={Designer:AB,Runtime:FB,Property:Lb};function ee(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 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 Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(e)}function Vb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gb(e,t)}function RQ(e,t){return t&&(TQ(t)==="object"||typeof t=="function")?t:ee(e)}function Gb(e,t){return Gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gb(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 Yb(e){var t=SQ();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 RQ(this,o)}}var EQ=function(e){Vb(r,e);var t=Yb(r);function r(n){zb(this,r);var o;return o=t.call(this,n),te(ee(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Oo.call(ee(o),n,_n.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}(ae),IQ=function(e){Vb(r,e);var t=Yb(r);function r(n){zb(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),fi=function(e){Vb(r,e);var t=Yb(r);function r(n){zb(this,r);var o,i;o=t.call(this,n),te(ee(o),"placeholder",void 0),te(ee(o),"multiple",void 0),te(ee(o),"canSearch",void 0),te(ee(o),"levelType",void 0),te(ee(o),"optionalLevel",void 0),te(ee(o),"containsSubNode",void 0),te(ee(o),"defaultDisplay",void 0),te(ee(o),"isShowIncludeSub",void 0),te(ee(o),"isDefaultCheckSub",void 0),te(ee(o),"isShowFilterItem",void 0),te(ee(o),"defaultCollapse",void 0),te(ee(o),"defaultCollapseLevel",void 0),te(ee(o),"optionConfig","datasource"),te(ee(o),"datasourceBind",void 0),te(ee(o),"filterItemDatasourceBind",void 0),te(ee(o),"multistageFilling",void 0),te(ee(o),"defaultValue",void 0),te(ee(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:_n.controlName;var 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 h;o.isDefaultCheckSub=(h=n==null?void 0:n.isDefaultCheckSub)!==null&&h!==void 0?h:!1;var m;o.defaultCollapse=(m=n==null?void 0:n.defaultCollapse)!==null&&m!==void 0?m:"all";var v;o.defaultCollapseLevel=(v=n==null?void 0:n.defaultCollapseLevel)!==null&&v!==void 0?v:1;var O;o.datasourceBind=new Fy((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:_n.controlCustomAttributes});var P;o.filterItemDatasourceBind=new Fy((P=n==null?void 0:n.filterItemDatasourceBind)!==null&&P!==void 0?P:{attributes:_n.controlCustomAttributes});var w;o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1;var T;o.defaultDisplay=(T=n==null?void 0:n.defaultDisplay)!==null&&T!==void 0?T:!1;var $;o.multistageFilling=($=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(D){return new Re(D)}))!==null&&$!==void 0?$:[];var S;return o.defaultValue=(S=n==null?void 0:n.defaultValue)!==null&&S!==void 0?S:[],o}return r}(M);te(fi,"Rules",EQ),te(fi,"RuntimeRules",IQ);function CB(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 xB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NQ(e,t,r){return t&&xB(e.prototype,t),r&&xB(e,r),e}function Xl(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 MQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hb(e,t)}function AQ(e,t){return t&&(kQ(t)==="object"||typeof t=="function")?t:CB(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}function kQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jQ(e){var t=DQ();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 AQ(this,o)}}var _n=function(e){MQ(r,e);var t=jQ(r);function r(n){BQ(this,r);var o;return o=t.call(this,n),Xl(CB(o),"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return NQ(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);Xl(_n,"controlEventKeys",["on_change","on_click"]),Xl(_n,"controlFieldType",c.FieldTypes.ARRAY),Xl(_n,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.CAN_SEARCH,c.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,c.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function zB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LQ(e,t,r){return t&&VB(e.prototype,t),r&&VB(e,r),e}function GB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ql(e)}function CQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qb(e,t)}function xQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:zB(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}function zQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GQ(e){var t=VQ();return function(){var n=Ql(e),o;if(t){var i=Ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xQ(this,o)}}var YB=function(e){CQ(r,e);var t=GQ(r);function r(n){FQ(this,r);var o;return o=t.call(this,n),GB(zB(o),"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return LQ(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(k);GB(YB,"controlFieldType",c.FieldTypes.ARRAY);var HB={Designer:_n,Runtime:YB,Property:fi};function ye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ub(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 Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(e)}function Wb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kb(e,t)}function YQ(e,t){return t&&(HQ(t)==="object"||typeof t=="function")?t:ye(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(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 Xb(e){var t=qQ();return function(){var n=Zl(e),o;if(t){var i=Zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YQ(this,o)}}var UQ=function(e){Wb(r,e);var t=Xb(r);function r(n){Ub(this,r);var o;return o=t.call(this,n),pe(ye(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),pe(ye(o),"externalScope",{type:"any"}),Oo.call(ye(o),n,Ar.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:p.getMessage("pleaseAssignExternal")}),o}return r}(ae),WQ=function(e){Wb(r,e);var t=Xb(r);function r(n){Ub(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),li=function(e){Wb(r,e);var t=Xb(r);function r(n){Ub(this,r);var o;o=t.call(this,n),pe(ye(o),"showType",void 0),pe(ye(o),"range",void 0),pe(ye(o),"rangeOptions",void 0),pe(ye(o),"multiple",void 0),pe(ye(o),"defaultValueType",void 0),pe(ye(o),"defaultValue",void 0),pe(ye(o),"multistageFilling",void 0),pe(ye(o),"datasourceBind",void 0),pe(ye(o),"datasourceType",void 0),pe(ye(o),"insideType",void 0),pe(ye(o),"externalType",void 0),pe(ye(o),"externalScope",void 0),pe(ye(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var 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?_:Ar.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 vo((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Ar.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:c.OrganizeType.INTERNAL;var h;o.insideType=(h=n==null?void 0:n.insideType)!==null&&h!==void 0?h:c.InternalType.ADMIN;var m;o.externalType=(m=n==null?void 0:n.externalType)!==null&&m!==void 0?m:c.AssignType.ALL;var v;o.externalScope=(v=n==null?void 0:n.externalScope)!==null&&v!==void 0?v:[];var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Re(P))})),o}return r}(M);pe(li,"Rules",UQ),pe(li,"RuntimeRules",WQ);function qB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KQ(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 XQ(e,t,r){return t&&UB(e.prototype,t),r&&UB(e,r),e}function Jb(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 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&&Qb(e,t)}function QQ(e,t){return t&&(ZQ(t)==="object"||typeof t=="function")?t:qB(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(e,t)}function ZQ(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=ea(e),o;if(t){var i=ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QQ(this,o)}}var Ar=function(e){JQ(r,e);var t=tZ(r);function r(n){KQ(this,r);var o;return o=t.call(this,n),Jb(qB(o),"props",void 0),o.props=new li(n==null?void 0:n.props),o}return XQ(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);Jb(Ar,"controlFieldType",c.FieldTypes.EMPLOYEES),Jb(Ar,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function WB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nZ(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 rZ(e,t,r){return t&&KB(e.prototype,t),r&&KB(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 ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(e)}function oZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zb(e,t)}function iZ(e,t){return t&&(uZ(t)==="object"||typeof t=="function")?t:WB(e)}function Zb(e,t){return Zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zb(e,t)}function uZ(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 fZ(e){var t=cZ();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 iZ(this,o)}}var JB=function(e){oZ(r,e);var t=fZ(r);function r(n){nZ(this,r);var o;return o=t.call(this,n),XB(WB(o),"props",void 0),o.props=new li(n==null?void 0:n.props),o}return rZ(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(k);XB(JB,"controlFieldType",c.FieldTypes.EMPLOYEES);var QB={Designer:Ar,Runtime:JB,Property:li};function Pt(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 $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 na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(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&&eg(e,t)}function lZ(e,t){return t&&(aZ(t)==="object"||typeof t=="function")?t:Pt(e)}function eg(e,t){return eg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eg(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 t3(e){var t=sZ();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 lZ(this,o)}}var _Z=function(e){e3(r,e);var t=t3(r);function r(n){ZB(this,r);var o;return o=t.call(this,n),$t(Pt(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,u,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(u.type==="public"&&wn(s.value)&&s.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(a,s,_){if(u.type==="public"&&u.signatureType.includes("company")&&wn(s.value)&&s.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},i},{})}}},o}return r}(ae),ra=function(e){e3(r,e);var t=t3(r);function r(n){ZB(this,r);var o;o=t.call(this,n),$t(Pt(o),"buttonType",void 0),$t(Pt(o),"content",void 0),$t(Pt(o),"showType",void 0),$t(Pt(o),"color",void 0),$t(Pt(o),"icon",void 0),$t(Pt(o),"command",""),$t(Pt(o),"isLoading",!1),$t(Pt(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ai.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\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 P$(n==null?void 0:n.signatureConfig),o}return r}(M);$t(ra,"Rules",_Z);function n3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pZ(e,t,r){return t&&r3(e.prototype,t),r&&r3(e,r),e}function oa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function dZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tg(e,t)}function vZ(e,t){return t&&(hZ(t)==="object"||typeof t=="function")?t:n3(e)}function tg(e,t){return tg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tg(e,t)}function hZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gZ(e){var t=bZ();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 vZ(this,o)}}var ai=function(e){dZ(r,e);var t=gZ(r);function r(n){yZ(this,r);var o;return o=t.call(this,n),oa(n3(o),"props",void 0),o.props=new ra(n==null?void 0:n.props),o}return pZ(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(A);oa(ai,"controlEventKeys",["on_click","on_click_finish"]),oa(ai,"controlFieldType",c.FieldTypes.VARCHAR),oa(ai,"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 o3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i3(e,t){for(var r=0;r<t.length;r++){var 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&&i3(e.prototype,t),r&&i3(e,r),e}function u3(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 wZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ng(e,t)}function PZ(e,t){return t&&($Z(t)==="object"||typeof t=="function")?t:o3(e)}function ng(e,t){return ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ng(e,t)}function $Z(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 TZ(e){var t=RZ();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 PZ(this,o)}}var c3=function(e){wZ(r,e);var t=TZ(r);function r(n){mZ(this,r);var o;return o=t.call(this,n),u3(o3(o),"props",void 0),o.props=new ra(n==null?void 0:n.props),o}return OZ(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(k);u3(c3,"controlFieldType",c.FieldTypes.VARCHAR);var f3={Designer:ai,Runtime:c3,Property:ra};function Pe(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 de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(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&&ig(e,t)}function SZ(e,t){return t&&(EZ(t)==="object"||typeof t=="function")?t:Pe(e)}function ig(e,t){return ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ig(e,t)}function EZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ug(e){var t=IZ();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 SZ(this,o)}}var BZ=function(e){og(r,e);var t=ug(r);function r(n){rg(this,r);var o;return o=t.call(this,n),de(Pe(o),"content",{type:"string",required:!0,message:p.getMessage("pleaseEnterButtonContent")}),de(Pe(o),"canAdd",void 0),de(Pe(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,f,l){if(f.active&&!f.text){l(p.getMessage("pleaseEnterWatermark"));return}l()}},autoRename:{type:"object",validator:function(u,f,l){if(f.active&&!f.text){l(p.getMessage("pleaseEnterFileName"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(u,f,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l(p.getMessage("pleaseChooseAtLeastOne"));return}l()}},o}return r}(ae),NZ=function(e){og(r,e);var t=ug(r);function r(n){rg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),si=function(e){og(r,e);var t=ug(r);function r(n){rg(this,r);var o;o=t.call(this,n),de(Pe(o),"content",void 0),de(Pe(o),"canAdd",void 0),de(Pe(o),"addLocal",void 0),de(Pe(o),"addOnline",void 0),de(Pe(o),"canDownload",void 0),de(Pe(o),"canEdit",void 0),de(Pe(o),"canExport",void 0),de(Pe(o),"canDelete",void 0),de(Pe(o),"wpsSetting",void 0),de(Pe(o),"maxSize",void 0),de(Pe(o),"defaultValue",void 0),de(Pe(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_i.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\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:NU;var h;o.defaultValue=(h=n==null?void 0:n.defaultValue)!==null&&h!==void 0?h:[],o.wpsSetting=new $$(n==null?void 0:n.wpsSetting);var m;return o.revisionsMode=(m=n==null?void 0:n.revisionsMode)!==null&&m!==void 0?m:!1,o}return r}(M);de(si,"Rules",BZ),de(si,"RuntimeRules",NZ);function l3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 AZ(e,t,r){return t&&a3(e.prototype,t),r&&a3(e,r),e}function fa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(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&&cg(e,t)}function DZ(e,t){return t&&(jZ(t)==="object"||typeof t=="function")?t:l3(e)}function cg(e,t){return cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cg(e,t)}function jZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LZ(e){var t=FZ();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 DZ(this,o)}}var _i=function(e){kZ(r,e);var t=LZ(r);function r(n){MZ(this,r);var o;return o=t.call(this,n),fa(l3(o),"props",void 0),o.props=new si(n==null?void 0:n.props),o}return AZ(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(A);fa(_i,"controlEventKeys",["on_change","on_wps_open"]),fa(_i,"controlFieldType",c.FieldTypes.FILE),fa(_i,"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 s3(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 _3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xZ(e,t,r){return t&&_3(e.prototype,t),r&&_3(e,r),e}function y3(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 zZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fg(e,t)}function VZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:s3(e)}function fg(e,t){return fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fg(e,t)}function GZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function 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 HZ(e){var t=YZ();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 VZ(this,o)}}var p3=function(e){zZ(r,e);var t=HZ(r);function r(n){CZ(this,r);var o;return o=t.call(this,n),y3(s3(o),"props",void 0),o.props=new si(n==null?void 0:n.props),o}return xZ(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(k);y3(p3,"controlFieldType",c.FieldTypes.FILE);var d3={Designer:_i,Runtime:p3,Property:si};function ce(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 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 sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(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&&sg(e,t)}function qZ(e,t){return t&&(UZ(t)==="object"||typeof t=="function")?t:ce(e)}function sg(e,t){return sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sg(e,t)}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 _g(e){var t=WZ();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 qZ(this,o)}}var KZ=function(e){ag(r,e);var t=_g(r);function r(n){lg(this,r);var o;return o=t.call(this,n),fe(ce(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),fe(ce(o),"businessScope",{type:"any"}),Oo.call(ce(o),n,Bn.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return r}(ae),XZ=function(e){ag(r,e);var t=_g(r);function r(n){lg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),yi=function(e){ag(r,e);var t=_g(r);function r(n){lg(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 u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!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:Bn.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u90E8\u95E8";var h;o.datasourceBind=new vo((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Bn.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:c.DepartmentType.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var O;o.businessType=(O=n==null?void 0:n.businessType)!==null&&O!==void 0?O:c.AssignType.ALL;var P;return o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var T;(T=o.multistageFilling)===null||T===void 0||T.push(new Re(w))})),o}return r}(M);fe(yi,"Rules",KZ),fe(yi,"RuntimeRules",XZ);function v3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JZ(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 QZ(e,t,r){return t&&h3(e.prototype,t),r&&h3(e,r),e}function _a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ya=Reflect.get:ya=function(o,i,u){var f=tee(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},ya(e,t,r||e)}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function ZZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yg(e,t)}function eee(e,t){return t&&(nee(t)==="object"||typeof t=="function")?t:v3(e)}function yg(e,t){return yg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yg(e,t)}function tee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kr(e),e!==null););return e}function nee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ree(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oee(e){var t=ree();return function(){var n=kr(e),o;if(t){var i=kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eee(this,o)}}var Bn=function(e){ZZ(r,e);var t=oee(r);function r(n){JZ(this,r);var o;return o=t.call(this,n),_a(v3(o),"props",void 0),o.props=new yi(n==null?void 0:n.props),o}return QZ(r,[{key:"toDataBindModel",value:function(o){var i=ya(kr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.displayLevel,l=u.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);_a(Bn,"controlName","\u90E8\u95E8"),_a(Bn,"controlFieldType",c.FieldTypes.DEPARTMENTS),_a(Bn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function b3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iee(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 uee(e,t,r){return t&&g3(e.prototype,t),r&&g3(e,r),e}function m3(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 cee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fee(e,t){return t&&(lee(t)==="object"||typeof t=="function")?t:b3(e)}function pg(e,t){return pg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pg(e,t)}function lee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function see(e){var t=aee();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 fee(this,o)}}var O3=function(e){cee(r,e);var t=see(r);function r(n){iee(this,r);var o;return o=t.call(this,n),m3(b3(o),"props",void 0),o.props=new yi(n==null?void 0:n.props),o}return uee(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(k);m3(O3,"controlFieldType",c.FieldTypes.DEPARTMENTS);var w3={Designer:Bn,Runtime:O3,Property:yi};function H(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dg(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 da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function vg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hg(e,t)}function _ee(e,t){return t&&(yee(t)==="object"||typeof t=="function")?t:H(e)}function hg(e,t){return hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hg(e,t)}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 bg(e){var t=pee();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 _ee(this,o)}}var dee=function(e){vg(r,e);var t=bg(r);function r(n){dg(this,r);var o;return o=t.call(this,n),q(H(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),q(H(o),"businessScope",{type:"any"}),Oo.call(H(o),n,Nn.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return r}(ae),vee=function(e){vg(r,e);var t=bg(r);function r(n){dg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),pi=function(e){vg(r,e);var t=bg(r);function r(n){dg(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 u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all",o.listPageBind=new Li(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:Nn.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var h;o.datasourceBind=new iP((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Nn.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:c.DepartmentType.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var O;o.businessType=(O=n==null?void 0:n.businessType)!==null&&O!==void 0?O:c.AssignType.ALL;var P;o.organizingFunction=(P=n==null?void 0:n.organizingFunction)!==null&&P!==void 0?P:void 0;var w;o.organizationView=(w=n==null?void 0:n.organizationView)!==null&&w!==void 0?w:void 0;var T;o.showSelectedDetail=(T=n==null?void 0:n.showSelectedDetail)!==null&&T!==void 0?T:!1,o.selectedContentConfig=new zi(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(pi,"Rules",dee),q(pi,"RuntimeRules",vee);function P3(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 $3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bee(e,t,r){return t&&$3(e.prototype,t),r&&$3(e,r),e}function va(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ha=Reflect.get:ha=function(o,i,u){var f=Oee(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},ha(e,t,r||e)}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(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 mee(e,t){return t&&(wee(t)==="object"||typeof t=="function")?t:P3(e)}function gg(e,t){return gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gg(e,t)}function Oee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Dr(e),e!==null););return e}function wee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ee(e){var t=Pee();return function(){var n=Dr(e),o;if(t){var i=Dr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mee(this,o)}}var Nn=function(e){gee(r,e);var t=$ee(r);function r(n){hee(this,r);var o;return o=t.call(this,n),va(P3(o),"props",void 0),o.props=new pi(n==null?void 0:n.props),o}return bee(r,[{key:"toDataBindModel",value:function(o){var i=ha(Dr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.displayLevel,l=u.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);va(Nn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),va(Nn,"controlFieldType",c.FieldTypes.DEPARTMENTS),va(Nn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function R3(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 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 Tee(e,t,r){return t&&T3(e.prototype,t),r&&T3(e,r),e}function S3(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 See(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Eee(e,t){return t&&(Iee(t)==="object"||typeof t=="function")?t:R3(e)}function mg(e,t){return mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mg(e,t)}function Iee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Bee();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 Eee(this,o)}}var E3=function(e){See(r,e);var t=Nee(r);function r(n){Ree(this,r);var o;return o=t.call(this,n),S3(R3(o),"props",void 0),o.props=new pi(n==null?void 0:n.props),o}return Tee(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(k);S3(E3,"controlFieldType",c.FieldTypes.DEPARTMENTS);var I3={Designer:Nn,Runtime:E3,Property:pi},Mee=Object.freeze({__proto__:null,Input:yS,Checkbox:mS,Radio:BS,Number:FS,DatePicker:YS,DateRange:eE,Textarea:cE,RichText:pE,Select:$E,SelectMultiple:NE,Employee:zE,Image:JE,Attachment:UE,Amount:oI,Score:sI,Address:OI,Department:NI,AutoNumber:CI,Calc:qI,SearchNumberRange:nB,SearchDateRange:_B,VueFormItem:gB,SelectRelation:IB,SearchInput:LB,Tree:HB,Employee2:QB,ElectronicSignature:f3,WPS:d3,Department2:w3,OrganizationSelection:I3});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 B3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dee(e,t,r){return t&&B3(e.prototype,t),r&&B3(e,r),e}function jee(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 Fee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Lee(e,t){return t&&(Cee(t)==="object"||typeof t=="function")?t:Aee(e)}function Og(e,t){return Og=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Og(e,t)}function Cee(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 zee(e){var t=xee();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 Lee(this,o)}}var N3=function(e){Fee(r,e);var t=zee(r);function r(n){return kee(this,r),t.call(this,n)}return Dee(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(Y);jee(N3,"excludes",[c.CONTROL_TYPE.GRID]);function Vee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yee(e,t,r){return t&&M3(e.prototype,t),r&&M3(e,r),e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function Hee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qee(e,t){return t&&(Uee(t)==="object"||typeof t=="function")?t:Vee(e)}function wg(e,t){return wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wg(e,t)}function Uee(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 Kee(e){var t=Wee();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 qee(this,o)}}var Xee=function(e){Hee(r,e);var t=Kee(r);function r(n){return Gee(this,r),t.call(this,n)}return Yee(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(Q),A3={Designer:N3,Runtime:Xee,Property:z};function Pg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(e)}function Qee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$g(e,t)}function Zee(e,t){return t&&(ete(t)==="object"||typeof t=="function")?t:Pg(e)}function $g(e,t){return $g=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$g(e,t)}function ete(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nte(e){var t=tte();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 Zee(this,o)}}var rte=24,Mn=function(e){Qee(r,e);var t=nte(r);function r(n){Jee(this,r);var o;o=t.call(this,n),k3(Pg(o),"span",void 0),k3(Pg(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:rte;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(z);function D3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ote(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 ite(e,t,r){return t&&j3(e.prototype,t),r&&j3(e,r),e}function Rg(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 ute(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tg(e,t)}function cte(e,t){return t&&(fte(t)==="object"||typeof t=="function")?t:D3(e)}function Tg(e,t){return Tg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tg(e,t)}function fte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ate(e){var t=lte();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 cte(this,o)}}var di=function(e){ute(r,e);var t=ate(r);function r(n){ote(this,r);var o;return o=t.call(this,n),Rg(D3(o),"props",void 0),o.props=new Mn(n==null?void 0:n.props),o}return ite(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(Y);Rg(di,"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]),Rg(di,"childrenMaxLength",1);function F3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ste(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _te(e,t,r){return t&&L3(e.prototype,t),r&&L3(e,r),e}function yte(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 pte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sg(e,t)}function dte(e,t){return t&&(vte(t)==="object"||typeof t=="function")?t:F3(e)}function Sg(e,t){return Sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sg(e,t)}function vte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=hte();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 dte(this,o)}}var Eg=function(e){pte(r,e);var t=bte(r);function r(n){ste(this,r);var o;return o=t.call(this,n),yte(F3(o),"props",void 0),o.props=new Mn(n==null?void 0:n.props),o}return _te(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Q),$a={Designer:di,Runtime:Eg,Property:Mn};function Ig(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C3(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 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&&Bg(e,t)}function Ote(e,t){return t&&(wte(t)==="object"||typeof t=="function")?t:Ig(e)}function Bg(e,t){return Bg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bg(e,t)}function wte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $te(e){var t=Pte();return function(){var n=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ote(this,o)}}var Ta=function(e){mte(r,e);var t=$te(r);function r(n){gte(this,r);var o;o=t.call(this,n),C3(Ig(o),"layoutMode",void 0),C3(Ig(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(z);function x3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tte(e,t,r){return t&&z3(e.prototype,t),r&&z3(e,r),e}function Ng(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function 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&&Mg(e,t)}function Ete(e,t){return t&&(Ite(t)==="object"||typeof t=="function")?t:x3(e)}function Mg(e,t){return Mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mg(e,t)}function Ite(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nte(e){var t=Bte();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 Ete(this,o)}}var Ea=function(e){Ste(r,e);var t=Nte(r);function r(n){Rte(this,r);var o;return o=t.call(this,n),Ng(x3(o),"props",void 0),o.props=new Ta(n==null?void 0:n.props),o}return Tte(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);Ng(Ea,"excludes",[c.CONTROL_TYPE.ROW]),Ng(Ea,"setting",[{key:"col-setting",visible:!0}]);function V3(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 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 Ate(e,t,r){return t&&G3(e.prototype,t),r&&G3(e,r),e}function kte(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 Dte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ag(e,t)}function jte(e,t){return t&&(Fte(t)==="object"||typeof t=="function")?t:V3(e)}function Ag(e,t){return Ag=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ag(e,t)}function Fte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cte(e){var t=Lte();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 jte(this,o)}}var Y3=function(e){Dte(r,e);var t=Cte(r);function r(n){Mte(this,r);var o;return o=t.call(this,n),kte(V3(o),"props",void 0),o.props=new Ta(n==null?void 0:n.props),o}return Ate(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Q),H3={Designer:Ea,Runtime:Y3,Property:Ta};function xte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vte(e,t,r){return t&&q3(e.prototype,t),r&&q3(e,r),e}function kg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(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&&Dg(e,t)}function Yte(e,t){return t&&(Hte(t)==="object"||typeof t=="function")?t:xte(e)}function Dg(e,t){return Dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dg(e,t)}function Hte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function 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=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yte(this,o)}}var Wte=4,Na=function(e){Gte(r,e);var t=Ute(r);function r(n){return zte(this,r),t.call(this,n)}return Vte(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}(Ea);kg(Na,"excludes",[c.CONTROL_TYPE.GRID_ROW]),kg(Na,"setting",[]),kg(Na,"childrenMaxLength",Wte);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 U3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jte(e,t,r){return t&&U3(e.prototype,t),r&&U3(e,r),e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(e)}function Qte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jg(e,t)}function Zte(e,t){return t&&(ene(t)==="object"||typeof t=="function")?t:Kte(e)}function jg(e,t){return jg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jg(e,t)}function ene(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nne(e){var t=tne();return function(){var n=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zte(this,o)}}var rne=function(e){Qte(r,e);var t=nne(r);function r(n){return Xte(this,r),t.call(this,n)}return Jte(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(Y3);function one(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ine(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(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&&Fg(e,t)}function cne(e,t){return t&&(fne(t)==="object"||typeof t=="function")?t:one(e)}function Fg(e,t){return Fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fg(e,t)}function fne(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 ane(e){var t=lne();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 cne(this,o)}}var sne=function(e){une(r,e);var t=ane(r);function r(n){return ine(this,r),t.call(this,n)}return r}(Ta),Lg={Designer:Na,Runtime:rne,Property:sne};function ka(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 Da(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 K3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _ne(e,t){return t&&(yne(t)==="object"||typeof t=="function")?t:ka(e)}function Cg(e,t){return Cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cg(e,t)}function yne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X3(e){var t=pne();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 _ne(this,o)}}var dne=function(e){K3(r,e);var t=X3(r);function r(){W3(this,r);var n;return n=t.apply(this,arguments),Da(ka(n),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),n}return r}(z.Rules),Fa=function(e){K3(r,e);var t=X3(r);function r(n){W3(this,r);var o;o=t.call(this,n),Da(ka(o),"caption",void 0),Da(ka(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;return o.collapse=(u=n==null?void 0:n.collapse)!==null&&u!==void 0?u:"none",o}return r}(z);Da(Fa,"Rules",dne);function J3(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 Q3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hne(e,t,r){return t&&Q3(e.prototype,t),r&&Q3(e,r),e}function xg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function bne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zg(e,t)}function gne(e,t){return t&&(mne(t)==="object"||typeof t=="function")?t:J3(e)}function zg(e,t){return zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zg(e,t)}function mne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function One(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wne(e){var t=One();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 gne(this,o)}}var Vg=function(e){bne(r,e);var t=wne(r);function r(n){vne(this,r);var o;return o=t.call(this,n),xg(J3(o),"props",void 0),o.props=new Fa(n==null?void 0:n.props),o}return hne(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(Y);xg(Vg,"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}]),xg(Vg,"excludes",[c.CONTROL_TYPE.CARD_GROUP]);function Z3(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 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 $ne(e,t,r){return t&&eN(e.prototype,t),r&&eN(e,r),e}function Rne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function Tne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Sne(e,t){return t&&(Ene(t)==="object"||typeof t=="function")?t:Z3(e)}function Gg(e,t){return Gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gg(e,t)}function Ene(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 Bne(e){var t=Ine();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 Sne(this,o)}}var Nne=function(e){Tne(r,e);var t=Bne(r);function r(n){Pne(this,r);var o;return o=t.call(this,n),Rne(Z3(o),"props",void 0),o.props=new Fa(n==null?void 0:n.props),o}return $ne(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(Q),tN={Designer:Vg,Runtime:Nne,Property:Fa};function Rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function rN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yg(e,t)}function Mne(e,t){return t&&(Ane(t)==="object"||typeof t=="function")?t:Rt(e)}function Yg(e,t){return Yg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yg(e,t)}function Ane(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oN(e){var t=kne();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 Mne(this,o)}}var Dne=function(e){rN(r,e);var t=oN(r);function r(n){nN(this,r);var o;return o=t.call(this,n),Tt(Rt(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Tt(Rt(o),"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),Tt(Rt(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ne),za=function(e){rN(r,e);var t=oN(r);function r(n){nN(this,r);var o;o=t.call(this,n),Tt(Rt(o),"metaAutoWidth",void 0),Tt(Rt(o),"caption",void 0),Tt(Rt(o),"fixed",void 0),Tt(Rt(o),"isShowCaptionTip",void 0),Tt(Rt(o),"captionTip",void 0),Tt(Rt(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var 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 Ay(n==null?void 0:n.metaAutoWidth),o}return r}(z);Tt(za,"Rules",Dne);function iN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function Fne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hg(e,t)}function Lne(e,t){return t&&(Cne(t)==="object"||typeof t=="function")?t:iN(e)}function Hg(e,t){return Hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hg(e,t)}function Cne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zne(e){var t=xne();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 Lne(this,o)}}var _t=function(e){Fne(r,e);var t=zne(r);function r(n){jne(this,r);var o;return o=t.call(this,n),An(iN(o),"props",void 0),o.props=new za(n==null?void 0:n.props),o}return r}(Y);An(_t,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),An(_t,"controlType","subtable-column"),An(_t,"controlIcon","subtable-column"),An(_t,"childrenMaxLength",1),An(_t,"excludes",[c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT]),An(_t,"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 uN(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 cN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(e)}function Gne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qg(e,t)}function Yne(e,t){return t&&(Hne(t)==="object"||typeof t=="function")?t:uN(e)}function qg(e,t){return qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qg(e,t)}function Hne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Une(e){var t=qne();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yne(this,o)}}var fN=function(e){Gne(r,e);var t=Une(r);function r(n){Vne(this,r);var o;return o=t.call(this,n),cN(uN(o),"props",void 0),o.props=new za(n==null?void 0:n.props),o}return r}(Q);cN(fN,"controlType","subtable-column");var Ug={Designer:_t,Runtime:fN,Property:za};function Wne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kne(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 Xne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jne(e,t){return t&&(Qne(t)==="object"||typeof t=="function")?t:Wne(e)}function Wg(e,t){return Wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wg(e,t)}function Qne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ere(e){var t=Zne();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 Jne(this,o)}}var Kg=function(e){Xne(r,e);var t=ere(r);function r(n){return Kne(this,r),t.call(this,n)}return r}(z);function lN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(e)}function nre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xg(e,t)}function rre(e,t){return t&&(ore(t)==="object"||typeof t=="function")?t:lN(e)}function Xg(e,t){return Xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xg(e,t)}function ore(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ire(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ure(e){var t=ire();return function(){var n=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rre(this,o)}}var Dn=function(e){nre(r,e);var t=ure(r);function r(n){tre(this,r);var o;return o=t.call(this,n),kn(lN(o),"props",void 0),o.props=new Kg(n==null?void 0:n.props),o}return r}(Y);kn(Dn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),kn(Dn,"controlType","subtable-row"),kn(Dn,"controlIcon","subtable-row"),kn(Dn,"childrenMaxLength",1),kn(Dn,"excludes",[c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.SUBTABLE_ROW,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT]),kn(Dn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0}]);function aN(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 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 fre(e,t,r){return t&&sN(e.prototype,t),r&&sN(e,r),e}function lre(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&&Jg(e,t)}function sre(e,t){return t&&(_re(t)==="object"||typeof t=="function")?t:aN(e)}function Jg(e,t){return Jg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jg(e,t)}function _re(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 pre(e){var t=yre();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 sre(this,o)}}var dre=function(e){are(r,e);var t=pre(r);function r(n){cre(this,r);var o;return o=t.call(this,n),lre(aN(o),"props",void 0),o.props=new Kg(n==null?void 0:n.props),o}return fre(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(Q),_N={Designer:Dn,Runtime:dre,Property:Kg};function We(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function hre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bre(e,t){return t&&(gre(t)==="object"||typeof t=="function")?t:We(e)}function Qg(e,t){return Qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qg(e,t)}function gre(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 Ore(e){var t=mre();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 bre(this,o)}}var Zg=function(e){hre(r,e);var t=Ore(r);function r(n){vre(this,r);var o;o=t.call(this,n),ot(We(o),"widthType",void 0),ot(We(o),"width",void 0),ot(We(o),"caption",void 0),ot(We(o),"fieldCode",void 0),ot(We(o),"fieldType",void 0),ot(We(o),"fieldName",void 0),ot(We(o),"datasourceBind",void 0),ot(We(o),"fixed",void 0),ot(We(o),"textCleanFormart",void 0),ot(We(o),"decimalKeepPrecision",void 0),ot(We(o),"timestampDateType",void 0),ot(We(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var 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:c.FieldTypes.VARCHAR;var s;o.fieldName=(s=n==null?void 0:n.fieldName)!==null&&s!==void 0?s:"",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var 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:c.DateType.DATE;var g;return o.departmentDisplayLevel=(g=n==null?void 0:n.departmentDisplayLevel)!==null&&g!==void 0?g:1,o}return r}(z);function yN(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 jn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function Pre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&em(e,t)}function $re(e,t){return t&&(Rre(t)==="object"||typeof t=="function")?t:yN(e)}function em(e,t){return em=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},em(e,t)}function Rre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sre(e){var t=Tre();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $re(this,o)}}var Fn=function(e){Pre(r,e);var t=Sre(r);function r(n){wre(this,r);var o;return o=t.call(this,n),jn(yN(o),"props",void 0),o.props=new Zg(n==null?void 0:n.props),o}return r}(Y);jn(Fn,"controlName","\u5217\u8868\u5355\u5143\u683C"),jn(Fn,"controlType","gridtable-column"),jn(Fn,"controlIcon","gridtable-column"),jn(Fn,"childrenMaxLength",1),jn(Fn,"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]),jn(Fn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function pN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ere(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 Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function Ire(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tm(e,t)}function Bre(e,t){return t&&(Nre(t)==="object"||typeof t=="function")?t:pN(e)}function tm(e,t){return tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tm(e,t)}function Nre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Are(e){var t=Mre();return function(){var n=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bre(this,o)}}var vN=function(e){Ire(r,e);var t=Are(r);function r(n){Ere(this,r);var o;return o=t.call(this,n),dN(pN(o),"props",void 0),o.props=new Zg(n==null?void 0:n.props),o}return r}(Q);dN(vN,"controlType","gridtable-column");var hN={Designer:Fn,Runtime:vN,Property:Zg};function nm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(e)}function Dre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rm(e,t)}function jre(e,t){return t&&(Fre(t)==="object"||typeof t=="function")?t:nm(e)}function rm(e,t){return rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rm(e,t)}function Fre(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 Cre(e){var t=Lre();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 jre(this,o)}}var om=function(e){Dre(r,e);var t=Cre(r);function r(n){kre(this,r);var o;o=t.call(this,n),bN(nm(o),"childMinWidth",void 0),bN(nm(o),"colGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var u;return o.colGap=(u=n==null?void 0:n.colGap)!==null&&u!==void 0?u:24,o}return r}(z);function gN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zre(e,t,r){return t&&mN(e.prototype,t),r&&mN(e,r),e}function im(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 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&&um(e,t)}function Gre(e,t){return t&&(Yre(t)==="object"||typeof t=="function")?t:gN(e)}function um(e,t){return um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},um(e,t)}function Yre(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=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gre(this,o)}}var cm=function(e){Vre(r,e);var t=qre(r);function r(n){xre(this,r);var o;return o=t.call(this,n),im(gN(o),"props",void 0),o.props=new om(n==null?void 0:n.props),o}return zre(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);im(cm,"excludes",[c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.TAB]),im(cm,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function ON(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 wN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wre(e,t,r){return t&&wN(e.prototype,t),r&&wN(e,r),e}function Kre(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 Xre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jre(e,t){return t&&(Qre(t)==="object"||typeof t=="function")?t:ON(e)}function fm(e,t){return fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fm(e,t)}function Qre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eoe(e){var t=Zre();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 Jre(this,o)}}var toe=function(e){Xre(r,e);var t=eoe(r);function r(n){Ure(this,r);var o;return o=t.call(this,n),Kre(ON(o),"props",void 0),o.props=new om(n==null?void 0:n.props),o}return Wre(r,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),r}(Q),PN={Designer:cm,Runtime:toe,Property:om};function $N(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function noe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function roe(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 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&&lm(e,t)}function ioe(e,t){return t&&(uoe(t)==="object"||typeof t=="function")?t:$N(e)}function lm(e,t){return lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lm(e,t)}function uoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function coe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function foe(e){var t=coe();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 ioe(this,o)}}var am=function(e){ooe(r,e);var t=foe(r);function r(n){noe(this,r);var o;o=t.call(this,n),roe($N(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}(z);function sm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _m(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 TN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ym(e,t)}function loe(e,t){return t&&(aoe(t)==="object"||typeof t=="function")?t:sm(e)}function ym(e,t){return ym=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ym(e,t)}function aoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function soe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SN(e){var t=soe();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 loe(this,o)}}var _oe=function(e){TN(r,e);var t=SN(r);function r(n){RN(this,r);var o;return o=t.call(this,n),_m(sm(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),o}return r}(ne),ts=function(e){TN(r,e);var t=SN(r);function r(n){RN(this,r);var o;o=t.call(this,n),_m(sm(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:hi.controlName,o}return r}(z);_m(ts,"Rules",_oe);function EN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yoe(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 poe(e,t,r){return t&&IN(e.prototype,t),r&&IN(e,r),e}function pm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function doe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 voe(e,t){return t&&(hoe(t)==="object"||typeof t=="function")?t:EN(e)}function dm(e,t){return dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dm(e,t)}function hoe(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 goe(e){var t=boe();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 voe(this,o)}}var vi=function(e){doe(r,e);var t=goe(r);function r(n){yoe(this,r);var o;return o=t.call(this,n),pm(EN(o),"props",void 0),o.props=new ts(n==null?void 0:n.props),o}return poe(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(Y);pm(vi,"excludes",[c.CONTROL_TYPE.TAB]),pm(vi,"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 BN(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 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 Ooe(e,t,r){return t&&NN(e.prototype,t),r&&NN(e,r),e}function woe(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 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&&vm(e,t)}function $oe(e,t){return t&&(Roe(t)==="object"||typeof t=="function")?t:BN(e)}function vm(e,t){return vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vm(e,t)}function Roe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Toe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Soe(e){var t=Toe();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 $oe(this,o)}}var Eoe=function(e){Poe(r,e);var t=Soe(r);function r(n){moe(this,r);var o;return o=t.call(this,n),woe(BN(o),"props",void 0),o.props=new ts(n==null?void 0:n.props),o}return Ooe(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(Q),MN={Designer:vi,Runtime:Eoe,Property:ts};function AN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ioe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Boe(e,t,r){return t&&kN(e.prototype,t),r&&kN(e,r),e}function os(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function is(e){return is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},is(e)}function Noe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hm(e,t)}function Moe(e,t){return t&&(Aoe(t)==="object"||typeof t=="function")?t:AN(e)}function hm(e,t){return hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hm(e,t)}function Aoe(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 Doe(e){var t=koe();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 Moe(this,o)}}var hi=function(e){Noe(r,e);var t=Doe(r);function r(n){Ioe(this,r);var o;o=t.call(this,n),os(AN(o),"props",void 0),o.props=new am(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new vi,new vi],o}return Boe(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(Y);os(hi,"excludes",[c.CONTROL_TYPE.TAB]),os(hi,"controlEventKeys",["on_change_tab"]),os(hi,"setting",[{key:"tab-mobile-show-type",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 joe(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 Foe(e,t,r){return t&&jN(e.prototype,t),r&&jN(e,r),e}function Loe(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 Coe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xoe(e,t){return t&&(zoe(t)==="object"||typeof t=="function")?t:DN(e)}function bm(e,t){return bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bm(e,t)}function zoe(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 Goe(e){var t=Voe();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 xoe(this,o)}}var Yoe=function(e){Coe(r,e);var t=Goe(r);function r(n){joe(this,r);var o;return o=t.call(this,n),Loe(DN(o),"props",void 0),o.props=new am(n==null?void 0:n.props),o}return Foe(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(Q),FN={Designer:hi,Runtime:Yoe,Property:am};function Hoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cs(e){return cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cs(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&&gm(e,t)}function Woe(e,t){return t&&(Koe(t)==="object"||typeof t=="function")?t:Hoe(e)}function gm(e,t){return gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gm(e,t)}function Koe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Joe(e){var t=Xoe();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 Woe(this,o)}}var LN=function(e){Uoe(r,e);var t=Joe(r);function r(n){return qoe(this,r),t.call(this,n)}return r}(z);function CN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Zoe(e,t,r){return t&&xN(e.prototype,t),r&&xN(e,r),e}function zN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fs(e)}function eie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tie(e,t){return t&&(nie(t)==="object"||typeof t=="function")?t:CN(e)}function mm(e,t){return mm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mm(e,t)}function nie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oie(e){var t=rie();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 tie(this,o)}}var VN=function(e){eie(r,e);var t=oie(r);function r(n){Qoe(this,r);var o;return o=t.call(this,n),zN(CN(o),"props",void 0),o.props=new LN({}),o.children=(n==null?void 0:n.children)||[new di({props:new Mn({span:12})}),new di({props:new Mn({span:12})})],o}return Zoe(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(Y);zN(VN,"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 iie(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 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 cie(e,t,r){return t&&GN(e.prototype,t),r&&GN(e,r),e}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ls(e)}function fie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Om(e,t)}function lie(e,t){return t&&(aie(t)==="object"||typeof t=="function")?t:iie(e)}function Om(e,t){return Om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Om(e,t)}function aie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=sie();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 lie(this,o)}}var yie=function(e){fie(r,e);var t=_ie(r);function r(n){uie(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new Eg({props:new Mn({span:12})}),new Eg({props:new Mn({span:12})})],o}return cie(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(Q),YN={Designer:VN,Runtime:yie,Property:LN};function U(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 W(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},as(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&&$m(e,t)}function pie(e,t){return t&&(die(t)==="object"||typeof t=="function")?t:U(e)}function $m(e,t){return $m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$m(e,t)}function die(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rm(e){var t=vie();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 pie(this,o)}}var HN;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(HN||(HN={}));var hie=function(e){Pm(r,e);var t=Rm(r);function r(n){wm(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Jt),bie=function(e){Pm(r,e);var t=Rm(r);function r(n){wm(this,r);var o;if(o=t.call(this,n),W(U(o),"triggerFieldCode",{type:"any"}),W(U(o),"datasourceBind",{type:"any"}),W(U(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&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")}}}}]}}]),qi.call(U(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(ne),bi=function(e){Pm(r,e);var t=Rm(r);function r(n){wm(this,r);var o;o=t.call(this,n),W(U(o),"datasourceBind",void 0),W(U(o),"isLoading",void 0),W(U(o),"isShowSubList",void 0),W(U(o),"triggerType",void 0),W(U(o),"triggerFieldCode",void 0),W(U(o),"sublistPage",void 0),W(U(o),"isShowJoinRelation",void 0),W(U(o),"joinRelation",void 0),W(U(o),"showType",void 0),W(U(o),"showFullScreen",void 0),W(U(o),"isFixedHeader",void 0),W(U(o),"selectionType",void 0),W(U(o),"isShowSelection",void 0),W(U(o),"isAllLoaded",void 0),W(U(o),"countType",void 0),W(U(o),"countLimit",void 0),W(U(o),"rowStyleType",void 0),W(U(o),"rowStyleRules",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 u;o.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var f;o.triggerType=(f=n==null?void 0:n.triggerType)!==null&&f!==void 0?f:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new tP(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 rP(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 h;o.isAllLoaded=(h=n==null?void 0:n.isAllLoaded)!==null&&h!==void 0?h:!0,o.countType=n==null?void 0:n.countType;var m;o.countLimit=(m=n==null?void 0:n.countLimit)!==null&&m!==void 0?m:1e5;var v;o.rowStyleType=(v=n==null?void 0:n.rowStyleType)!==null&&v!==void 0?v:"none";var O;return o.rowStyleRules=(O=n==null?void 0:n.rowStyleRules)!==null&&O!==void 0?O:new bP(n==null?void 0:n.rowStyleRules),o}return r}(z);W(bi,"Rules",bie),W(bi,"RuntimeRules",hie);function qN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mie(e,t,r){return t&&UN(e.prototype,t),r&&UN(e,r),e}function ss(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_s(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&&Tm(e,t)}function wie(e,t){return t&&(Pie(t)==="object"||typeof t=="function")?t:qN(e)}function Tm(e,t){return Tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tm(e,t)}function Pie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $ie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rie(e){var t=$ie();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 wie(this,o)}}var ys=function(e){Oie(r,e);var t=Rie(r);function r(n){gie(this,r);var o;return o=t.call(this,n),ss(qN(o),"props",void 0),o.props=new bi(n==null?void 0:n.props),o}return mie(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);ss(ys,"excludes",[c.CONTROL_TYPE.ROW]),ss(ys,"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"]),ss(ys,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}]);function WN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Sie(e,t,r){return t&&KN(e.prototype,t),r&&KN(e,r),e}function Eie(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 Iie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bie(e,t){return t&&(Nie(t)==="object"||typeof t=="function")?t:WN(e)}function Sm(e,t){return Sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sm(e,t)}function Nie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aie(e){var t=Mie();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 Bie(this,o)}}var kie=function(e){Iie(r,e);var t=Aie(r);function r(n){Tie(this,r);var o;return o=t.call(this,n),Eie(WN(o),"props",void 0),o.props=new bi(n==null?void 0:n.props),o}return Sie(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Q),Em={Designer:ys,Runtime:kie,Property:bi};function yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function JN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Die(e,t){return t&&(jie(t)==="object"||typeof t=="function")?t:yn(e)}function Im(e,t){return Im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Im(e,t)}function jie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QN(e){var t=Fie();return function(){var n=ds(e),o;if(t){var i=ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Die(this,o)}}var Lie=function(e){JN(r,e);var t=QN(r);function r(n){XN(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Jt),vs=function(e){JN(r,e);var t=QN(r);function r(n){XN(this,r);var o;o=t.call(this,n),pn(yn(o),"save",void 0),pn(yn(o),"cancel",void 0),pn(yn(o),"saveAs",void 0),pn(yn(o),"print",void 0),pn(yn(o),"custom",void 0),pn(yn(o),"isLoading",void 0),pn(yn(o),"datasourceBind",void 0);var i;o.save=new Nt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Nt((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{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}(z);pn(vs,"RuntimeRules",Lie);function ZN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 xie(e,t,r){return t&&e1(e.prototype,t),r&&e1(e,r),e}function t1(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 zie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Vie(e,t){return t&&(Gie(t)==="object"||typeof t=="function")?t:ZN(e)}function Bm(e,t){return Bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bm(e,t)}function Gie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hie(e){var t=Yie();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 Vie(this,o)}}var n1=function(e){zie(r,e);var t=Hie(r);function r(n){Cie(this,r);var o;return o=t.call(this,n),t1(ZN(o),"props",void 0),o.props=new vs(n==null?void 0:n.props),o}return xie(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(Y);t1(n1,"excludes",[]);function r1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Uie(e,t,r){return t&&o1(e.prototype,t),r&&o1(e,r),e}function Wie(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 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&&Nm(e,t)}function Xie(e,t){return t&&(Jie(t)==="object"||typeof t=="function")?t:r1(e)}function Nm(e,t){return Nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nm(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=bs(e),o;if(t){var i=bs(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){qie(this,r);var o;return o=t.call(this,n),Wie(r1(o),"props",void 0),o.props=new vs(n==null?void 0:n.props),o}return Uie(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Q),Mm={Designer:n1,Runtime:eue,Property:vs};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 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 rue(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 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&&Am(e,t)}function iue(e,t){return t&&(uue(t)==="object"||typeof t=="function")?t:tue(e)}function Am(e,t){return Am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Am(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=gs(e),o;if(t){var i=gs(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:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(Y);function aue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 _ue(e,t,r){return t&&u1(e.prototype,t),r&&u1(e,r),e}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ms(e)}function yue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&km(e,t)}function pue(e,t){return t&&(due(t)==="object"||typeof t=="function")?t:aue(e)}function km(e,t){return km=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},km(e,t)}function due(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hue(e){var t=vue();return function(){var n=ms(e),o;if(t){var i=ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pue(this,o)}}var bue=function(e){yue(r,e);var t=hue(r);function r(n){return sue(this,r),t.call(this,n)}return _ue(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(Q);function jr(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 gi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Os(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&&Dm(e,t)}function Oue(e,t){return t&&(wue(t)==="object"||typeof t=="function")?t:jr(e)}function Dm(e,t){return Dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dm(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=Os(e),o;if(t){var i=Os(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){gue(this,r);var o;o=t.call(this,n),gi(jr(o),"hideHeader",void 0),gi(jr(o),"background","#fff"),gi(jr(o),"minWidth",""),gi(jr(o),"maxWidth",""),gi(jr(o),"heightConfig","auto");var i;return o.hideHeader=(i=n==null?void 0:n.hideHeader)!==null&&i!==void 0?i:!1,o}return r}(z),c1={Designer:lue,Runtime:bue,Property:Rue};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 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 Eue(e,t,r){return t&&f1(e.prototype,t),r&&f1(e,r),e}function ws(e){return ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ws(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&&jm(e,t)}function Bue(e,t){return t&&(Nue(t)==="object"||typeof t=="function")?t:Tue(e)}function jm(e,t){return jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jm(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=ws(e),o;if(t){var i=ws(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:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Y);function Due(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jue(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 Fue(e,t,r){return t&&l1(e.prototype,t),r&&l1(e,r),e}function Ps(e){return Ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ps(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&&Fm(e,t)}function Cue(e,t){return t&&(xue(t)==="object"||typeof t=="function")?t:Due(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fm(e,t)}function xue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vue(e){var t=zue();return function(){var n=Ps(e),o;if(t){var i=Ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cue(this,o)}}var Gue=function(e){Lue(r,e);var t=Vue(r);function r(n){return jue(this,r),t.call(this,n)}return Fue(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Q);function Lm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $s(e){return $s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$s(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&&Cm(e,t)}function que(e,t){return t&&(Uue(t)==="object"||typeof t=="function")?t:Lm(e)}function Cm(e,t){return Cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cm(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=$s(e),o;if(t){var i=$s(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){Yue(this,r);var o;return o=t.call(this,n),a1(Lm(o),"display",void 0),a1(Lm(o),"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new S$(n==null?void 0:n.flexConfig),o}return r}(z),s1={Designer:kue,Runtime:Gue,Property:Xue};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 _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 Zue(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 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&&xm(e,t)}function tce(e,t){return t&&(nce(t)==="object"||typeof t=="function")?t:Jue(e)}function xm(e,t){return xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xm(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=Rs(e),o;if(t){var i=Rs(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:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Y);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 y1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fce(e,t,r){return t&&y1(e.prototype,t),r&&y1(e,r),e}function Ts(e){return Ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ts(e)}function lce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ace(e,t){return t&&(sce(t)==="object"||typeof t=="function")?t:uce(e)}function zm(e,t){return zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zm(e,t)}function sce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yce(e){var t=_ce();return function(){var n=Ts(e),o;if(t){var i=Ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ace(this,o)}}var pce=function(e){lce(r,e);var t=yce(r);function r(n){return cce(this,r),t.call(this,n)}return fce(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),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 vce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ss(e){return Ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ss(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&&Vm(e,t)}function bce(e,t){return t&&(gce(t)==="object"||typeof t=="function")?t:dce(e)}function Vm(e,t){return Vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vm(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=Ss(e),o;if(t){var i=Ss(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 vce(this,r),t.call(this,n)}return r}(z),p1={Designer:ice,Runtime:pce,Property:wce};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 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 Rce(e,t,r){return t&&d1(e.prototype,t),r&&d1(e,r),e}function Es(e){return Es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Es(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&&Gm(e,t)}function Sce(e,t){return t&&(Ece(t)==="object"||typeof t=="function")?t:Pce(e)}function Gm(e,t){return Gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gm(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=Es(e),o;if(t){var i=Es(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:"controlName",get:function(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),r}(Y);function Mce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ace(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kce(e,t,r){return t&&v1(e.prototype,t),r&&v1(e,r),e}function Is(e){return Is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Is(e)}function Dce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ym(e,t)}function jce(e,t){return t&&(Fce(t)==="object"||typeof t=="function")?t:Mce(e)}function Ym(e,t){return Ym=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ym(e,t)}function Fce(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 Cce(e){var t=Lce();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 jce(this,o)}}var xce=function(e){Dce(r,e);var t=Cce(r);function r(n){return Ace(this,r),t.call(this,n)}return kce(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(Q);function mi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bs(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 Vce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gce(e,t){return t&&(Yce(t)==="object"||typeof t=="function")?t:mi(e)}function Hm(e,t){return Hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hm(e,t)}function Yce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qce(e){var t=Hce();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 Gce(this,o)}}var Uce=function(e){Vce(r,e);var t=qce(r);function r(n){zce(this,r);var o;o=t.call(this,n),Bs(mi(o),"widthSpan",void 0),Bs(mi(o),"heightSpan",void 0),Bs(mi(o),"left",void 0),Bs(mi(o),"top",void 0);var i;o.widthSpan=(i=n==null?void 0:n.widthSpan)!==null&&i!==void 0?i:12;var u;o.heightSpan=(u=n==null?void 0:n.heightSpan)!==null&&u!==void 0?u:12;var 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}(z),h1={Designer:Nce,Runtime:xce,Property:Uce};function Ms(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 qm(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 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&&Um(e,t)}function Xce(e,t){return t&&(Jce(t)==="object"||typeof t=="function")?t:Ms(e)}function Um(e,t){return Um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Um(e,t)}function Jce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zce(e){var t=Qce();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 Xce(this,o)}}var Wm=function(e){Kce(r,e);var t=Zce(r);function r(n){Wce(this,r);var o;o=t.call(this,n),qm(Ms(o),"position",void 0),qm(Ms(o),"opacity",void 0),qm(Ms(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var f;return o.align=(f=n==null?void 0:n.align)!==null&&f!==void 0?f:"right",o}return r}(z);function b1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function efe(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 tfe(e,t,r){return t&&g1(e.prototype,t),r&&g1(e,r),e}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 ks(e){return ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ks(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&&Xm(e,t)}function rfe(e,t){return t&&(ofe(t)==="object"||typeof t=="function")?t:b1(e)}function Xm(e,t){return Xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xm(e,t)}function ofe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ife(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ufe(e){var t=ife();return function(){var n=ks(e),o;if(t){var i=ks(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rfe(this,o)}}var Jm=function(e){nfe(r,e);var t=ufe(r);function r(n){efe(this,r);var o;o=t.call(this,n),Km(b1(o),"props",void 0);var i;return o.props=new Wm((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return tfe(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);Km(Jm,"excludes",[]),Km(Jm,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function m1(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 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 ffe(e,t,r){return t&&O1(e.prototype,t),r&&O1(e,r),e}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 Ds(e){return Ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ds(e)}function afe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qm(e,t)}function sfe(e,t){return t&&(_fe(t)==="object"||typeof t=="function")?t:m1(e)}function Qm(e,t){return Qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qm(e,t)}function _fe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=yfe();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 sfe(this,o)}}var dfe=function(e){afe(r,e);var t=pfe(r);function r(n){cfe(this,r);var o;o=t.call(this,n),lfe(m1(o),"props",void 0);var i;return o.props=new Wm((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return ffe(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(Q),w1={Designer:Jm,Runtime:dfe,Property:Wm},vfe=Object.freeze({__proto__:null,Grid:A3,Col:$a,Row:H3,GridRow:Lg,CardGroup:tN,SubTableColumn:Ug,SubTableRow:_N,GridTableColumn:hN,GridLayoutContainer:PN,Tab:FN,TabPane:MN,Toolbox:YN,ListView:Em,DataView:Mm,Page:c1,AdvancedContainer:s1,PositioningContainer:p1,Position:h1,ActionBar:w1});function B(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 I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function js(e){return js=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},js(e)}function e0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t0(e,t)}function hfe(e,t){return t&&(bfe(t)==="object"||typeof t=="function")?t:B(e)}function t0(e,t){return t0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t0(e,t)}function bfe(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 n0(e){var t=gfe();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 hfe(this,o)}}var mfe=function(e){e0(r,e);var t=n0(r);function r(n){Zm(this,r);var o;return o=t.call(this,n),I(B(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),I(B(o),"limitRows",[{type:"number",required:!0,message:p.getMessage("isNotNumber")},{type:"number",min:0,message:p.getMessage("limitRowsCannotBeLessThan0")}]),I(B(o),"formKey",{type:"string",required:!1,message:p.getMessage("pleaseEnterForm")}),I(B(o),"maxHeight",{type:"number",required:!0,message:p.getMessage("pleaseEnterMaxHeight")}),I(B(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),I(B(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}(ne),Ofe=function(e){e0(r,e);var t=n0(r);function r(n){Zm(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(u,f,l){f.length<n.limitRows&&l(p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),l()},message:p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(Jt),Oi=function(e){e0(r,e);var t=n0(r);function r(n,o){Zm(this,r);var i;i=t.call(this,n,o,r.mode),I(B(i),"caption",void 0),I(B(i),"labelPosition",void 0),I(B(i),"isHideCaption",void 0),I(B(i),"isShowCaptionTip",void 0),I(B(i),"captionTip",void 0),I(B(i),"defaultState",void 0),I(B(i),"limitRows",void 0),I(B(i),"maxRows",void 0),I(B(i),"defaultRows",void 0),I(B(i),"datasourceBind",void 0),I(B(i),"printMode",void 0),I(B(i),"openType",void 0),I(B(i),"formKey",void 0),I(B(i),"useCustomHeight",void 0),I(B(i),"maxHeight",void 0),I(B(i),"canAdd",void 0),I(B(i),"canDelete",void 0),I(B(i),"canCheck",void 0),I(B(i),"canEdit",void 0),I(B(i),"canImport",void 0),I(B(i),"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 u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:Ls.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:R$;var g;i.printMode=(g=o==null?void 0:o.printMode)!==null&&g!==void 0?g:"row";var h;i.limitRows=(h=o==null?void 0:o.limitRows)!==null&&h!==void 0?h:1;var m;i.maxRows=(m=o==null?void 0:o.maxRows)!==null&&m!==void 0?m:null;var v;i.defaultRows=(v=o==null?void 0:o.defaultRows)!==null&&v!==void 0?v:1,i.datasourceBind=new re(o==null?void 0:o.datasourceBind);var O;i.canAdd=(O=o==null?void 0:o.canAdd)!==null&&O!==void 0?O:!0;var P;i.canDelete=(P=o==null?void 0:o.canDelete)!==null&&P!==void 0?P:!0;var w;i.canCheck=(w=o==null?void 0:o.canCheck)!==null&&w!==void 0?w:!1;var T;i.canEdit=(T=o==null?void 0:o.canEdit)!==null&&T!==void 0?T:!1;var $;i.canImport=($=o==null?void 0:o.canImport)!==null&&$!==void 0?$:!1;var S;i.canExport=(S=o==null?void 0:o.canExport)!==null&&S!==void 0?S:!1;var D;i.canClear=(D=o==null?void 0:o.canClear)!==null&&D!==void 0?D:!0;var Le;i.serverPagination=(Le=o==null?void 0:o.serverPagination)!==null&&Le!==void 0?Le:!1;var ve;i.isShowCaptionTip=(ve=o==null?void 0:o.isShowCaptionTip)!==null&&ve!==void 0?ve:!1;var he;i.captionTip=(he=o==null?void 0:o.captionTip)!==null&&he!==void 0?he:"";var co;i.mobileShowType=(co=o==null?void 0:o.mobileShowType)!==null&&co!==void 0?co:"list";var ir;i.mobileDefaultNum=(ir=o==null?void 0:o.mobileDefaultNum)!==null&&ir!==void 0?ir:10;var Et;i.dataStorageDoc=(Et=o==null?void 0:o.dataStorageDoc)!==null&&Et!==void 0?Et:new Xw;var vw;i.fixedColumn=(vw=o==null?void 0:o.fixedColumn)!==null&&vw!==void 0?vw:[];var hw;i.mobileRowCaption=(hw=o==null?void 0:o.mobileRowCaption)!==null&&hw!==void 0?hw:"\u660E\u7EC6";var bw;i.mobileIsTile=(bw=o==null?void 0:o.mobileIsTile)!==null&&bw!==void 0?bw:!1;var gw;i.isPaste=(gw=o==null?void 0:o.isPaste)!==null&&gw!==void 0?gw:!1;var mw;i.pageSize=(mw=o==null?void 0:o.pageSize)!==null&&mw!==void 0?mw:10;var Ow;return i.pageSizeOptions=(Ow=o==null?void 0:o.pageSizeOptions)!==null&&Ow!==void 0?Ow:[10,20,50,100],i}return r}(Po);I(Oi,"Rules",mfe),I(Oi,"RuntimeRules",Ofe);function r0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pfe(e,t,r){return t&&P1(e.prototype,t),r&&P1(e,r),e}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 Fs(e){return Fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fs(e)}function $fe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i0(e,t)}function Rfe(e,t){return t&&(Tfe(t)==="object"||typeof t=="function")?t:r0(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function Tfe(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=Fs(e),o;if(t){var i=Fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rfe(this,o)}}var Ls=function(e){$fe(r,e);var t=Efe(r);function r(n){wfe(this,r);var o,i,u;return o=t.call(this,n),o0(r0(o),"props",void 0),o.props=new Oi(r0(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 _t,new _t,new _t]),(n==null||(u=n.props)===null||u===void 0?void 0:u.footers)===void 0&&(o.props.footers=[]),o}return Pfe(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new _t,f=typeof o=="number"?o:i;return f===void 0?this.props.headers.push(u):this.props.headers.splice(f,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(uu);o0(Ls,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),o0(Ls,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.IS_PASTE,c.COMMON_SETTING_TYPE.SERVER_PAGINATION]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"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 u0(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 $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 Bfe(e,t,r){return t&&$1(e.prototype,t),r&&$1(e,r),e}function Nfe(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 Mfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Afe(e,t){return t&&(kfe(t)==="object"||typeof t=="function")?t:u0(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c0(e,t)}function kfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jfe(e){var t=Dfe();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 Afe(this,o)}}var Ffe=function(e){Mfe(r,e);var t=jfe(r);function r(n){Ife(this,r);var o;return o=t.call(this,n),Nfe(u0(o),"props",void 0),o.props=new Oi(u0(o),n==null?void 0:n.props),o}return Bfe(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Wt("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(pp),R1={Designer:Ls,Runtime:Ffe,Property:Oi};function Fr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wi(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 Cfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xfe(e,t){return t&&(zfe(t)==="object"||typeof t=="function")?t:Fr(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}function zfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Vfe();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 xfe(this,o)}}var l0=function(e){Cfe(r,e);var t=Gfe(r);function r(n,o){Lfe(this,r);var i;i=t.call(this,n,o),wi(Fr(i),"isFixedHeader",void 0),wi(Fr(i),"selectionType",void 0),wi(Fr(i),"isShowToolbar",void 0),wi(Fr(i),"isShowSelection",void 0),wi(Fr(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var 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;i.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var s;return i.pageSizeOptions=(s=o==null?void 0:o.pageSizeOptions)!==null&&s!==void 0?s:[10,20,50,100,500],i}return r}(Po);function Yfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 zs(e){return zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zs(e)}function S1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a0(e,t)}function qfe(e,t){return t&&(Ufe(t)==="object"||typeof t=="function")?t:Yfe(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a0(e,t)}function Ufe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E1(e){var t=Wfe();return function(){var n=zs(e),o;if(t){var i=zs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qfe(this,o)}}var Kfe=function(e){S1(r,e);var t=E1(r);function r(n){T1(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(ut),Vs=function(e){S1(r,e);var t=E1(r);function r(n){T1(this,r);var o,i,u;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:Ln.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var s;o.autoWidth.minWidth=(s=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&s!==void 0?s:60;var _;o.autoWidth.flex=(_=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&_!==void 0?_:.4;var y;return o.widthType=(y=n==null?void 0:n.widthType)!==null&&y!==void 0?y:"px",o}return r}(Z);Hfe(Vs,"Rules",Kfe);function I1(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 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 Gs(e){return Gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gs(e)}function Jfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s0(e,t)}function Qfe(e,t){return t&&(Zfe(t)==="object"||typeof t=="function")?t:I1(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s0(e,t)}function Zfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ele(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tle(e){var t=ele();return function(){var n=Gs(e),o;if(t){var i=Gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qfe(this,o)}}var Ln=function(e){Jfe(r,e);var t=tle(r);function r(n){Xfe(this,r);var o;return o=t.call(this,n),Pi(I1(o),"props",void 0),o.props=new Vs(n==null?void 0:n.props),o}return r}(ie);Pi(Ln,"controlType","order-column"),Pi(Ln,"controlName","\u5E8F\u53F7"),Pi(Ln,"controlIcon","order-column"),Pi(Ln,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function B1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _0(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 rle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ole(e,t){return t&&(ile(t)==="object"||typeof t=="function")?t:B1(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}function ile(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ule(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cle(e){var t=ule();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 ole(this,o)}}var p0=function(e){rle(r,e);var t=cle(r);function r(n){nle(this,r);var o;return o=t.call(this,n),_0(B1(o),"props",void 0),o.props=new Vs(n==null?void 0:n.props),o}return r}(ue);_0(p0,"controlType","order-column"),_0(p0,"controlFieldType",c.FieldTypes.DECIMAL);var N1={Designer:Ln,Runtime:p0,Property:Vs};function d0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M1(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 lle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v0(e,t)}function ale(e,t){return t&&(sle(t)==="object"||typeof t=="function")?t:d0(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v0(e,t)}function sle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _le(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=_le();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 ale(this,o)}}var h0=function(e){lle(r,e);var t=yle(r);function r(n){fle(this,r);var o,i;o=t.call(this,n),M1(d0(o),"showType",void 0),M1(d0(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var 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:xn.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var s;return o.limit=(s=n==null?void 0:n.limit)!==null&&s!==void 0?s:3,o}return r}(Z);function qs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A1(e,t,r,n,o,i,u){try{var f=e[i](u),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function ple(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){A1(i,n,o,u,f,"next",l)}function f(l){A1(i,n,o,u,f,"throw",l)}u(void 0)})}}function dle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vle(e,t,r){return t&&k1(e.prototype,t),r&&k1(e,r),e}function Cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Lr=Reflect.get:Lr=function(o,i,u){var f=wle(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},Lr(e,t,r||e)}function dn(e){return dn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dn(e)}function hle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b0(e,t)}function ble(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Cn(e,o,r[o])})}return e}function gle(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 mle(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):gle(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Ole(e,t){return t&&(Ple(t)==="object"||typeof t=="function")?t:qs(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b0(e,t)}function wle(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dn(e),e!==null););return e}function Ple(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $le(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=$le();return function(){var n=dn(e),o;if(t){var i=dn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ole(this,o)}}function Tle(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next: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(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var xn=function(e){hle(r,e);var t=Rle(r);function r(n){dle(this,r);var o;return o=t.call(this,n),Cn(qs(o),"props",void 0),Cn(qs(o),"children",void 0),o.props=new h0(n==null?void 0:n.props),it(qs(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return vle(r,[{key:"toDataBindModel",value:function(){var o=Lr(dn(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===qc.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=Lr(dn(r.prototype),"toSchema",this).call(this);return mle(ble({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,f=this,l=function(){return Lr(dn(r.prototype),"validate",u)};return ple(function(){return Tle(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);Cn(xn,"controlType","operation-column"),Cn(xn,"controlName","\u64CD\u4F5C"),Cn(xn,"controlIcon","operation-column"),Cn(xn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function Us(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ws(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ks(e){return Ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ks(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&&g0(e,t)}function Ile(e,t){return t&&(Ble(t)==="object"||typeof t=="function")?t:Us(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g0(e,t)}function Ble(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mle(e){var t=Nle();return function(){var n=Ks(e),o;if(t){var i=Ks(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ile(this,o)}}var m0=function(e){Ele(r,e);var t=Mle(r);function r(n){Sle(this,r);var o;return o=t.call(this,n),Ws(Us(o),"props",void 0),Ws(Us(o),"children",void 0),o.props=new h0(n==null?void 0:n.props),it(Us(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(ue);Ws(m0,"controlType","operation-column"),Ws(m0,"controlFieldType",c.FieldTypes.FILE);var D1={Designer:xn,Runtime:m0,Property:h0};function $i(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j1(e,t,r,n,o,i,u){try{var f=e[i](u),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function Ale(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){j1(i,n,o,u,f,"next",l)}function f(l){j1(i,n,o,u,f,"throw",l)}u(void 0)})}}function kle(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 Dle(e,t,r){return t&&F1(e.prototype,t),r&&F1(e,r),e}function Xs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ri(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ri=Reflect.get:Ri=function(o,i,u){var f=zle(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},Ri(e,t,r||e)}function zn(e){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zn(e)}function jle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O0(e,t)}function Fle(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){Xs(e,o,r[o])})}return e}function Lle(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 Cle(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Lle(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function xle(e,t){return t&&(Vle(t)==="object"||typeof t=="function")?t:$i(e)}function O0(e,t){return O0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O0(e,t)}function zle(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zn(e),e!==null););return e}function Vle(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=zn(e),o;if(t){var i=zn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xle(this,o)}}function Hle(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next: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(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var L1=function(e){jle(r,e);var t=Yle(r);function r(n){kle(this,r);var o,i;return o=t.call(this,n),Xs($i(o),"props",void 0),Xs($i(o),"children",void 0),o.props=new l0($i(o),n==null?void 0:n.props),it($i(o),"children",n==null?void 0:n.children,void 0,"Designer"),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new Ln,new xn]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return Dle(r,[{key:"toSchema",value:function(){var o=Ri(zn(r.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return Cle(Fle({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,f=this,l=function(){return Ri(zn(r.prototype),"validate",u)};return Ale(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]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(uu);Xs(L1,"setting",[{key:"list-fixed-header",visible:!0}]);function w0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ule(e,t,r){return t&&C1(e.prototype,t),r&&C1(e,r),e}function Wle(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 Kle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xle(e,t){return t&&(Jle(t)==="object"||typeof t=="function")?t:w0(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}function Jle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Qle();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 Xle(this,o)}}var eae=function(e){Kle(r,e);var t=Zle(r);function r(n){qle(this,r);var o;return o=t.call(this,n),Wle(w0(o),"props",void 0),o.props=new l0(w0(o),n==null?void 0:n.props),o}return Ule(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Wt("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}(pp),x1={Designer:L1,Runtime:eae,Property:l0},tae=Object.freeze({__proto__:null,SubTable:R1,GridTable:x1});function vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Qs(e){return Qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qs(e)}function V1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$0(e,t)}function nae(e,t){return t&&(rae(t)==="object"||typeof t=="function")?t:vn(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}function rae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G1(e){var t=oae();return function(){var n=Qs(e),o;if(t){var i=Qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nae(this,o)}}var iae=function(e){V1(r,e);var t=G1(r);function r(n){z1(this,r);var o;return o=t.call(this,n),At.call(vn(o),n),o}return r}(gp),Zs=function(e){V1(r,e);var t=G1(r);function r(n){z1(this,r);var o;o=t.call(this,n),Vn(vn(o),"optionConfig",void 0),Vn(vn(o),"datasourceBind",void 0),Vn(vn(o),"showLinkOperation",void 0),Vn(vn(o),"linkOperationOption",void 0),Vn(vn(o),"options",void 0),Vn(vn(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Gn.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var f;o.options=ht((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 vt(n==null?void 0:n.linkOperationOption);var a;return o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1,o}return r}(Z);Vn(Zs,"Rules",iae);function Y1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function e_(e){return e_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},e_(e)}function cae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fae(e,t){return t&&(lae(t)==="object"||typeof t=="function")?t:Y1(e)}function R0(e,t){return R0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R0(e,t)}function lae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sae(e){var t=aae();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 fae(this,o)}}var Gn=function(e){cae(r,e);var t=sae(r);function r(n){uae(this,r);var o;return o=t.call(this,n),Cr(Y1(o),"props",void 0),o.props=new Zs(n==null?void 0:n.props),o}return r}(ie);Cr(Gn,"controlType","varchar-column"),Cr(Gn,"controlName","\u77ED\u6587\u672C"),Cr(Gn,"controlIcon","varchar-column"),Cr(Gn,"controlFieldType",c.FieldTypes.VARCHAR),Cr(Gn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function H1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S0(e,t)}function pae(e,t){return t&&(dae(t)==="object"||typeof t=="function")?t:H1(e)}function S0(e,t){return S0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S0(e,t)}function dae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hae(e){var t=vae();return function(){var n=t_(e),o;if(t){var i=t_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pae(this,o)}}var E0=function(e){yae(r,e);var t=hae(r);function r(n){_ae(this,r);var o;return o=t.call(this,n),T0(H1(o),"props",void 0),o.props=new Zs(n==null?void 0:n.props),o}return r}(ue);T0(E0,"controlType","varchar-column"),T0(E0,"controlFieldType",c.FieldTypes.VARCHAR);var q1={Designer:Gn,Runtime:E0,Property:Zs};function xr(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 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 n_(e){return n_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},n_(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&&I0(e,t)}function bae(e,t){return t&&(gae(t)==="object"||typeof t=="function")?t:xr(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I0(e,t)}function gae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K1(e){var t=mae();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 bae(this,o)}}var Oae=function(e){W1(r,e);var t=K1(r);function r(n){U1(this,r);var o;return o=t.call(this,n),At.call(xr(o),n),o}return r}(ut),r_=function(e){W1(r,e);var t=K1(r);function r(n){U1(this,r);var o;o=t.call(this,n),Ti(xr(o),"escapeHTML",void 0),Ti(xr(o),"showLinkOperation",void 0),Ti(xr(o),"linkOperationOption",void 0),Ti(xr(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Yn.controlName;var 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 vt(n==null?void 0:n.linkOperationOption),o}return r}(Z);Ti(r_,"Rules",Oae);function X1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J1(e,t){for(var r=0;r<t.length;r++){var 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&&J1(e.prototype,t),r&&J1(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 o_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?o_=Reflect.get:o_=function(o,i,u){var f=Tae(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||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 $ae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B0(e,t)}function Rae(e,t){return t&&(Sae(t)==="object"||typeof t=="function")?t:X1(e)}function B0(e,t){return B0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B0(e,t)}function Tae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vr(e),e!==null););return e}function Sae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iae(e){var t=Eae();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 Rae(this,o)}}var Yn=function(e){$ae(r,e);var t=Iae(r);function r(n){wae(this,r);var o;return o=t.call(this,n),zr(X1(o),"props",void 0),o.props=new r_(n==null?void 0:n.props),o}return Pae(r,[{key:"toDataBindModel",value:function(o){var i=o_(Vr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(ie);zr(Yn,"controlType","text-column"),zr(Yn,"controlName","\u957F\u6587\u672C"),zr(Yn,"controlIcon","text-column"),zr(Yn,"controlFieldType",c.FieldTypes.TEXT),zr(Yn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function Q1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 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&&M0(e,t)}function Mae(e,t){return t&&(Aae(t)==="object"||typeof t=="function")?t:Q1(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M0(e,t)}function Aae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dae(e){var t=kae();return function(){var n=i_(e),o;if(t){var i=i_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mae(this,o)}}var A0=function(e){Nae(r,e);var t=Dae(r);function r(n){Bae(this,r);var o;return o=t.call(this,n),N0(Q1(o),"props",void 0),o.props=new r_(n==null?void 0:n.props),o}return r}(ue);N0(A0,"controlType","text-column"),N0(A0,"controlFieldType",c.FieldTypes.TEXT);var Z1={Designer:Yn,Runtime:A0,Property:r_};function St(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 qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u_(e){return u_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},u_(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&&k0(e,t)}function jae(e,t){return t&&(Fae(t)==="object"||typeof t=="function")?t:St(e)}function k0(e,t){return k0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k0(e,t)}function Fae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nM(e){var t=Lae();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 jae(this,o)}}var Cae=function(e){tM(r,e);var t=nM(r);function r(n){eM(this,r);var o;return o=t.call(this,n),At.call(St(o),n),o}return r}(ut),c_=function(e){tM(r,e);var t=nM(r);function r(n){eM(this,r);var o;o=t.call(this,n),qt(St(o),"optionConfig",void 0),qt(St(o),"datasourceBind",void 0),qt(St(o),"showLinkOperation",void 0),qt(St(o),"linkOperationOption",void 0),qt(St(o),"options",void 0),qt(St(o),"precision",void 0),qt(St(o),"micrometer",void 0),qt(St(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Hn.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var 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=ht((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 vt(n==null?void 0:n.linkOperationOption),o}return r}(Z);qt(c_,"Rules",Cae);function rM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xae(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 zae(e,t,r){return t&&oM(e.prototype,t),r&&oM(e,r),e}function Gr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?f_=Reflect.get:f_=function(o,i,u){var f=Yae(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},f_(e,t,r||e)}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(e)}function Vae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D0(e,t)}function Gae(e,t){return t&&(Hae(t)==="object"||typeof t=="function")?t:rM(e)}function D0(e,t){return D0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D0(e,t)}function Yae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yr(e),e!==null););return e}function Hae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uae(e){var t=qae();return function(){var n=Yr(e),o;if(t){var i=Yr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gae(this,o)}}var Hn=function(e){Vae(r,e);var t=Uae(r);function r(n){xae(this,r);var o;return o=t.call(this,n),Gr(rM(o),"props",void 0),o.props=new c_(n==null?void 0:n.props),o}return zae(r,[{key:"toDataBindModel",value:function(o){var i=f_(Yr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,f=u.precision,l=u.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=l}return i}}]),r}(ie);Gr(Hn,"controlType","decimal-column"),Gr(Hn,"controlName","\u6570\u503C"),Gr(Hn,"controlIcon","decimal-column"),Gr(Hn,"controlFieldType",c.FieldTypes.DECIMAL),Gr(Hn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION,c.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function iM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l_(e){return l_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},l_(e)}function Kae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xae(e,t){return t&&(Jae(t)==="object"||typeof t=="function")?t:iM(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function Jae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zae(e){var t=Qae();return function(){var n=l_(e),o;if(t){var i=l_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xae(this,o)}}var L0=function(e){Kae(r,e);var t=Zae(r);function r(n){Wae(this,r);var o;return o=t.call(this,n),j0(iM(o),"props",void 0),o.props=new c_(n==null?void 0:n.props),o}return r}(ue);j0(L0,"controlType","decimal-column"),j0(L0,"controlFieldType",c.FieldTypes.DECIMAL);var uM={Designer:Hn,Runtime:L0,Property:c_};function Si(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s_(e){return s_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},s_(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&&C0(e,t)}function ese(e,t){return t&&(tse(t)==="object"||typeof t=="function")?t:Si(e)}function C0(e,t){return C0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C0(e,t)}function tse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lM(e){var t=nse();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 ese(this,o)}}var rse=function(e){fM(r,e);var t=lM(r);function r(n){cM(this,r);var o;return o=t.call(this,n),At.call(Si(o),n),o}return r}(ut),__=function(e){fM(r,e);var t=lM(r);function r(n){cM(this,r);var o;o=t.call(this,n),a_(Si(o),"dateType",void 0),a_(Si(o),"showLinkOperation",void 0),a_(Si(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new vt(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}(Z);a_(__,"Rules",rse);function aM(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 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 ise(e,t,r){return t&&sM(e.prototype,t),r&&sM(e,r),e}function Hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?y_=Reflect.get:y_=function(o,i,u){var f=fse(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},y_(e,t,r||e)}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qr(e)}function use(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x0(e,t)}function cse(e,t){return t&&(lse(t)==="object"||typeof t=="function")?t:aM(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x0(e,t)}function fse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qr(e),e!==null););return e}function lse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ase(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sse(e){var t=ase();return function(){var n=qr(e),o;if(t){var i=qr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cse(this,o)}}var qn=function(e){use(r,e);var t=sse(r);function r(n){ose(this,r);var o;return o=t.call(this,n),Hr(aM(o),"props",void 0),o.props=new __(n==null?void 0:n.props),o}return ise(r,[{key:"toDataBindModel",value:function(o){var i=y_(qr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ie);Hr(qn,"controlType","timescope-column"),Hr(qn,"controlName","\u65E5\u671F\u533A\u95F4"),Hr(qn,"controlIcon","timescope-column"),Hr(qn,"controlFieldType",c.FieldTypes.TIMESCOPE),Hr(qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function _M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p_(e){return p_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},p_(e)}function yse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pse(e,t){return t&&(dse(t)==="object"||typeof t=="function")?t:_M(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function dse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hse(e){var t=vse();return function(){var n=p_(e),o;if(t){var i=p_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pse(this,o)}}var G0=function(e){yse(r,e);var t=hse(r);function r(n){_se(this,r);var o;return o=t.call(this,n),z0(_M(o),"props",void 0),o.props=new __(n==null?void 0:n.props),o}return r}(ue);z0(G0,"controlType","timescope-column"),z0(G0,"controlFieldType",c.FieldTypes.TIMESCOPE);var yM={Designer:qn,Runtime:G0,Property:__};function Ei(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 v_(e){return v_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},v_(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&&Y0(e,t)}function bse(e,t){return t&&(gse(t)==="object"||typeof t=="function")?t:Ei(e)}function Y0(e,t){return Y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y0(e,t)}function gse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vM(e){var t=mse();return function(){var n=v_(e),o;if(t){var i=v_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bse(this,o)}}var Ose=function(e){dM(r,e);var t=vM(r);function r(n){pM(this,r);var o;return o=t.call(this,n),At.call(Ei(o),n),o}return r}(ut),h_=function(e){dM(r,e);var t=vM(r);function r(n){pM(this,r);var o;o=t.call(this,n),d_(Ei(o),"dateType",void 0),d_(Ei(o),"showLinkOperation",void 0),d_(Ei(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new vt(n==null?void 0:n.linkOperationOption);var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Un.controlName,o}return r}(Z);d_(h_,"Rules",Ose);function hM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wse(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 Pse(e,t,r){return t&&bM(e.prototype,t),r&&bM(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 b_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?b_=Reflect.get:b_=function(o,i,u){var f=Tse(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},b_(e,t,r||e)}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(e)}function $se(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H0(e,t)}function Rse(e,t){return t&&(Sse(t)==="object"||typeof t=="function")?t:hM(e)}function H0(e,t){return H0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H0(e,t)}function Tse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wr(e),e!==null););return e}function Sse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ese(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ise(e){var t=Ese();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 Rse(this,o)}}var Un=function(e){$se(r,e);var t=Ise(r);function r(n){wse(this,r);var o;return o=t.call(this,n),Ur(hM(o),"props",void 0),o.props=new h_(n==null?void 0:n.props),o}return Pse(r,[{key:"toDataBindModel",value:function(o){var i=b_(Wr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ie);Ur(Un,"controlType","timestamp-column"),Ur(Un,"controlName","\u65E5\u671F"),Ur(Un,"controlIcon","timestamp-column"),Ur(Un,"controlFieldType",c.FieldTypes.TIMESTAMP),Ur(Un,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function gM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 g_(e){return g_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},g_(e)}function Nse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mse(e,t){return t&&(Ase(t)==="object"||typeof t=="function")?t:gM(e)}function U0(e,t){return U0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U0(e,t)}function Ase(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dse(e){var t=kse();return function(){var n=g_(e),o;if(t){var i=g_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mse(this,o)}}var W0=function(e){Nse(r,e);var t=Dse(r);function r(n){Bse(this,r);var o;return o=t.call(this,n),q0(gM(o),"props",void 0),o.props=new h_(n==null?void 0:n.props),o}return r}(ue);q0(W0,"controlType","timestamp-column"),q0(W0,"controlFieldType",c.FieldTypes.TIMESTAMP);var mM={Designer:Un,Runtime:W0,Property:h_};function Wn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OM(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 m_(e){return m_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},m_(e)}function wM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K0(e,t)}function jse(e,t){return t&&(Fse(t)==="object"||typeof t=="function")?t:Wn(e)}function K0(e,t){return K0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K0(e,t)}function Fse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PM(e){var t=Lse();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 jse(this,o)}}var Cse=function(e){wM(r,e);var t=PM(r);function r(n){OM(this,r);var o;return o=t.call(this,n),At.call(Wn(o),n),o}return r}(gp),O_=function(e){wM(r,e);var t=PM(r);function r(n){OM(this,r);var o;o=t.call(this,n),Kr(Wn(o),"optionConfig",void 0),Kr(Wn(o),"datasourceBind",void 0),Kr(Wn(o),"showLinkOperation",void 0),Kr(Wn(o),"linkOperationOption",void 0),Kr(Wn(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Kn.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var f;o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new vt(n==null?void 0:n.linkOperationOption);var l;return o.options=ht((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]),o}return r}(Z);Kr(O_,"Rules",Cse);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 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 w_(e){return w_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},w_(e)}function zse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X0(e,t)}function Vse(e,t){return t&&(Gse(t)==="object"||typeof t=="function")?t:$M(e)}function X0(e,t){return X0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X0(e,t)}function Gse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hse(e){var t=Yse();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 Vse(this,o)}}var Kn=function(e){zse(r,e);var t=Hse(r);function r(n){xse(this,r);var o;return o=t.call(this,n),Xr($M(o),"props",void 0),o.props=new O_(n==null?void 0:n.props),o}return r}(ie);Xr(Kn,"controlType","array-column"),Xr(Kn,"controlName","\u6570\u7EC4"),Xr(Kn,"controlIcon","array-column"),Xr(Kn,"controlFieldType",c.FieldTypes.ARRAY),Xr(Kn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function RM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P_(e){return P_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},P_(e)}function Use(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q0(e,t)}function Wse(e,t){return t&&(Kse(t)==="object"||typeof t=="function")?t:RM(e)}function Q0(e,t){return Q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q0(e,t)}function Kse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jse(e){var t=Xse();return function(){var n=P_(e),o;if(t){var i=P_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wse(this,o)}}var Z0=function(e){Use(r,e);var t=Jse(r);function r(n){qse(this,r);var o;return o=t.call(this,n),J0(RM(o),"props",void 0),o.props=new O_(n==null?void 0:n.props),o}return r}(ue);J0(Z0,"controlType","array-column"),J0(Z0,"controlFieldType",c.FieldTypes.ARRAY);var TM={Designer:Kn,Runtime:Z0,Property:O_};function SM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zse(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 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&&eO(e,t)}function t_e(e,t){return t&&(n_e(t)==="object"||typeof t=="function")?t:SM(e)}function eO(e,t){return eO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eO(e,t)}function n_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r_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 o_e(e){var t=r_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 t_e(this,o)}}var tO=function(e){e_e(r,e);var t=o_e(r);function r(n){Qse(this,r);var o;o=t.call(this,n),Zse(SM(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Xn.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(Z);function EM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 u_e(e,t,r){return t&&IM(e.prototype,t),r&&IM(e,r),e}function Jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?R_=Reflect.get:R_=function(o,i,u){var f=l_e(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},R_(e,t,r||e)}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function c_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&&nO(e,t)}function f_e(e,t){return t&&(a_e(t)==="object"||typeof t=="function")?t:EM(e)}function nO(e,t){return nO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nO(e,t)}function l_e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qr(e),e!==null););return e}function a_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function __e(e){var t=s_e();return function(){var n=Qr(e),o;if(t){var i=Qr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f_e(this,o)}}var Xn=function(e){c_e(r,e);var t=__e(r);function r(n){i_e(this,r);var o;return o=t.call(this,n),Jr(EM(o),"props",void 0),o.props=new tO(n==null?void 0:n.props),o}return u_e(r,[{key:"toDataBindModel",value:function(o){var i=R_(Qr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(ie);Jr(Xn,"controlType","department-column"),Jr(Xn,"controlName","\u90E8\u95E8"),Jr(Xn,"controlIcon","department-column"),Jr(Xn,"controlFieldType",c.FieldTypes.DEPARTMENTS),Jr(Xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function BM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T_(e){return T_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},T_(e)}function p_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oO(e,t)}function d_e(e,t){return t&&(v_e(t)==="object"||typeof t=="function")?t:BM(e)}function oO(e,t){return oO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oO(e,t)}function v_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b_e(e){var t=h_e();return function(){var n=T_(e),o;if(t){var i=T_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d_e(this,o)}}var iO=function(e){p_e(r,e);var t=b_e(r);function r(n){y_e(this,r);var o;return o=t.call(this,n),rO(BM(o),"props",void 0),o.props=new tO(n==null?void 0:n.props),o}return r}(ue);rO(iO,"controlType","department-column"),rO(iO,"controlFieldType",c.FieldTypes.DEPARTMENTS);var NM={Designer:Xn,Runtime:iO,Property:tO};function S_(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 uO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E_(e){return E_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},E_(e)}function AM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 g_e(e,t){return t&&(m_e(t)==="object"||typeof t=="function")?t:S_(e)}function cO(e,t){return cO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cO(e,t)}function m_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O_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 kM(e){var t=O_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 g_e(this,o)}}var w_e=function(e){AM(r,e);var t=kM(r);function r(n){MM(this,r);var o;return o=t.call(this,n),At.call(S_(o),n),o}return r}(ut),I_=function(e){AM(r,e);var t=kM(r);function r(n){MM(this,r);var o;o=t.call(this,n),uO(S_(o),"showLinkOperation",void 0),uO(S_(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Jn.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new vt(n==null?void 0:n.linkOperationOption),o}return r}(Z);uO(I_,"Rules",w_e);function DM(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 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 B_(e){return B_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},B_(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&&fO(e,t)}function R_e(e,t){return t&&(T_e(t)==="object"||typeof t=="function")?t:DM(e)}function fO(e,t){return fO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fO(e,t)}function T_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E_e(e){var t=S_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 R_e(this,o)}}var Jn=function(e){$_e(r,e);var t=E_e(r);function r(n){P_e(this,r);var o;return o=t.call(this,n),Zr(DM(o),"props",void 0),o.props=new I_(n==null?void 0:n.props),o}return r}(ie);Zr(Jn,"controlType","auto-number-column"),Zr(Jn,"controlName","\u81EA\u52A8\u7F16\u53F7"),Zr(Jn,"controlIcon","auto-number-column"),Zr(Jn,"controlFieldType",c.FieldTypes.AUTO_NUMBER),Zr(Jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function jM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N_(e){return N_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},N_(e)}function B_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aO(e,t)}function N_e(e,t){return t&&(M_e(t)==="object"||typeof t=="function")?t:jM(e)}function aO(e,t){return aO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aO(e,t)}function M_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k_e(e){var t=A_e();return function(){var n=N_(e),o;if(t){var i=N_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N_e(this,o)}}var sO=function(e){B_e(r,e);var t=k_e(r);function r(n){I_e(this,r);var o;return o=t.call(this,n),lO(jM(o),"props",void 0),o.props=new I_(n==null?void 0:n.props),o}return r}(ue);lO(sO,"controlType","auto-number-column"),lO(sO,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var FM={Designer:Jn,Runtime:sO,Property:I_};function D_e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M_(e){return M_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},M_(e)}function F_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&&_O(e,t)}function L_e(e,t){return t&&(C_e(t)==="object"||typeof t=="function")?t:D_e(e)}function _O(e,t){return _O=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_O(e,t)}function C_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 z_e(e){var t=x_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 L_e(this,o)}}var yO=function(e){F_e(r,e);var t=z_e(r);function r(n){j_e(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Qn.controlName,o}return r}(Z);function LM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 A_(e){return A_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},A_(e)}function G_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pO(e,t)}function Y_e(e,t){return t&&(H_e(t)==="object"||typeof t=="function")?t:LM(e)}function pO(e,t){return pO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pO(e,t)}function H_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U_e(e){var t=q_e();return function(){var n=A_(e),o;if(t){var i=A_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y_e(this,o)}}var Qn=function(e){G_e(r,e);var t=U_e(r);function r(n){V_e(this,r);var o;return o=t.call(this,n),eo(LM(o),"props",void 0),o.props=new yO(n==null?void 0:n.props),o}return r}(ie);eo(Qn,"controlType","file-column"),eo(Qn,"controlName","\u9644\u4EF6"),eo(Qn,"controlIcon","file-column"),eo(Qn,"controlFieldType",c.FieldTypes.FILE),eo(Qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function CM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 k_(e){return k_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},k_(e)}function K_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vO(e,t)}function X_e(e,t){return t&&(J_e(t)==="object"||typeof t=="function")?t:CM(e)}function vO(e,t){return vO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vO(e,t)}function J_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z_e(e){var t=Q_e();return function(){var n=k_(e),o;if(t){var i=k_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X_e(this,o)}}var hO=function(e){K_e(r,e);var t=Z_e(r);function r(n){W_e(this,r);var o;return o=t.call(this,n),dO(CM(o),"props",void 0),o.props=new yO(n==null?void 0:n.props),o}return r}(ue);dO(hO,"controlType","file-column"),dO(hO,"controlFieldType",c.FieldTypes.FILE);var xM={Designer:Qn,Runtime:hO,Property:yO};function eye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D_(e){return D_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},D_(e)}function nye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bO(e,t)}function rye(e,t){return t&&(oye(t)==="object"||typeof t=="function")?t:eye(e)}function bO(e,t){return bO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bO(e,t)}function oye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uye(e){var t=iye();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 rye(this,o)}}var gO=function(e){nye(r,e);var t=uye(r);function r(n){tye(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Zn.controlName,o}return r}(Z);function zM(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 to(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j_(e){return j_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},j_(e)}function fye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mO(e,t)}function lye(e,t){return t&&(aye(t)==="object"||typeof t=="function")?t:zM(e)}function mO(e,t){return mO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mO(e,t)}function aye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ye(e){var t=sye();return function(){var n=j_(e),o;if(t){var i=j_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lye(this,o)}}var Zn=function(e){fye(r,e);var t=_ye(r);function r(n){cye(this,r);var o;return o=t.call(this,n),to(zM(o),"props",void 0),o.props=new gO(n==null?void 0:n.props),o}return r}(ie);to(Zn,"controlType","image-column"),to(Zn,"controlName","\u56FE\u7247"),to(Zn,"controlIcon","image-column"),to(Zn,"controlFieldType",c.FieldTypes.IMAGE),to(Zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function VM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 F_(e){return F_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},F_(e)}function pye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wO(e,t)}function dye(e,t){return t&&(vye(t)==="object"||typeof t=="function")?t:VM(e)}function wO(e,t){return wO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wO(e,t)}function vye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bye(e){var t=hye();return function(){var n=F_(e),o;if(t){var i=F_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dye(this,o)}}var PO=function(e){pye(r,e);var t=bye(r);function r(n){yye(this,r);var o;return o=t.call(this,n),OO(VM(o),"props",void 0),o.props=new gO(n==null?void 0:n.props),o}return r}(ue);OO(PO,"controlType","image-column"),OO(PO,"controlFieldType",c.FieldTypes.IMAGE);var GM={Designer:Zn,Runtime:PO,Property:gO};function gye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L_(e){return L_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},L_(e)}function Oye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$O(e,t)}function wye(e,t){return t&&(Pye(t)==="object"||typeof t=="function")?t:gye(e)}function $O(e,t){return $O=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$O(e,t)}function Pye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $ye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=$ye();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 wye(this,o)}}var RO=function(e){Oye(r,e);var t=Rye(r);function r(n){mye(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:er.controlName,o}return r}(Z);function YM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function no(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function C_(e){return C_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},C_(e)}function Sye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&TO(e,t)}function Eye(e,t){return t&&(Iye(t)==="object"||typeof t=="function")?t:YM(e)}function TO(e,t){return TO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TO(e,t)}function Iye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nye(e){var t=Bye();return function(){var n=C_(e),o;if(t){var i=C_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eye(this,o)}}var er=function(e){Sye(r,e);var t=Nye(r);function r(n){Tye(this,r);var o;return o=t.call(this,n),no(YM(o),"props",void 0),o.props=new RO(n==null?void 0:n.props),o}return r}(ie);no(er,"controlType","people-column"),no(er,"controlName","\u4EBA\u5458"),no(er,"controlIcon","people-column"),no(er,"controlFieldType",c.FieldTypes.EMPLOYEES),no(er,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function HM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x_(e){return x_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},x_(e)}function Aye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&EO(e,t)}function kye(e,t){return t&&(Dye(t)==="object"||typeof t=="function")?t:HM(e)}function EO(e,t){return EO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EO(e,t)}function Dye(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=x_(e),o;if(t){var i=x_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kye(this,o)}}var IO=function(e){Aye(r,e);var t=Fye(r);function r(n){Mye(this,r);var o;return o=t.call(this,n),SO(HM(o),"props",void 0),o.props=new RO(n==null?void 0:n.props),o}return r}(ue);SO(IO,"controlType","people-column"),SO(IO,"controlFieldType",c.FieldTypes.EMPLOYEES);var qM={Designer:er,Runtime:IO,Property:RO};function z_(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 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 V_(e){return V_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},V_(e)}function WM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NO(e,t)}function Lye(e,t){return t&&(Cye(t)==="object"||typeof t=="function")?t:z_(e)}function NO(e,t){return NO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NO(e,t)}function Cye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KM(e){var t=xye();return function(){var n=V_(e),o;if(t){var i=V_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lye(this,o)}}var zye=function(e){WM(r,e);var t=KM(r);function r(n){UM(this,r);var o;return o=t.call(this,n),At.call(z_(o),n),o}return r}(ut),G_=function(e){WM(r,e);var t=KM(r);function r(n){UM(this,r);var o;o=t.call(this,n),BO(z_(o),"showLinkOperation",void 0),BO(z_(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:tr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new vt(n==null?void 0:n.linkOperationOption),o}return r}(Z);BO(G_,"Rules",zye);function XM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vye(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 Y_(e){return Y_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Y_(e)}function Gye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&MO(e,t)}function Yye(e,t){return t&&(Hye(t)==="object"||typeof t=="function")?t:XM(e)}function MO(e,t){return MO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},MO(e,t)}function Hye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uye(e){var t=qye();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 Yye(this,o)}}var tr=function(e){Gye(r,e);var t=Uye(r);function r(n){Vye(this,r);var o;return o=t.call(this,n),ro(XM(o),"props",void 0),o.props=new G_(n==null?void 0:n.props),o}return r}(ie);ro(tr,"controlType","location-column"),ro(tr,"controlName","\u5730\u5740"),ro(tr,"controlIcon","location-column"),ro(tr,"controlFieldType",c.FieldTypes.ADDRESS),ro(tr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function JM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 H_(e){return H_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},H_(e)}function Kye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kO(e,t)}function Xye(e,t){return t&&(Jye(t)==="object"||typeof t=="function")?t:JM(e)}function kO(e,t){return kO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kO(e,t)}function Jye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zye(e){var t=Qye();return function(){var n=H_(e),o;if(t){var i=H_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xye(this,o)}}var DO=function(e){Kye(r,e);var t=Zye(r);function r(n){Wye(this,r);var o;return o=t.call(this,n),AO(JM(o),"props",void 0),o.props=new G_(n==null?void 0:n.props),o}return r}(ue);AO(DO,"controlType","location-column"),AO(DO,"controlFieldType",c.FieldTypes.ADDRESS);var QM={Designer:tr,Runtime:DO,Property:G_};function q_(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 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 W_(e){return W_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},W_(e)}function eA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jO(e,t)}function epe(e,t){return t&&(tpe(t)==="object"||typeof t=="function")?t:q_(e)}function jO(e,t){return jO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jO(e,t)}function tpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function npe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tA(e){var t=npe();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 epe(this,o)}}var rpe=function(e){eA(r,e);var t=tA(r);function r(n){ZM(this,r);var o;return o=t.call(this,n),U_(q_(o),"sortFieldCode",{type:"string",message:p.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(ut),K_=function(e){eA(r,e);var t=tA(r);function r(n){ZM(this,r);var o;o=t.call(this,n),U_(q_(o),"fieldCodeList",void 0),U_(q_(o),"sortFieldCode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:hn.controlName;var u;o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[];var f;return o.sortFieldCode=(f=n==null?void 0:n.sortFieldCode)!==null&&f!==void 0?f:"",o}return r}(Z);U_(K_,"Rules",rpe);function oo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ope(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ipe(e,t,r){return t&&nA(e.prototype,t),r&&nA(e,r),e}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 Ii(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ii=Reflect.get:Ii=function(o,i,u){var f=_pe(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},Ii(e,t,r||e)}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(e)}function upe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&FO(e,t)}function cpe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function fpe(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){yt(e,o,r[o])})}return e}function lpe(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 ape(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lpe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function spe(e,t){return t&&(ype(t)==="object"||typeof t=="function")?t:oo(e)}function FO(e,t){return FO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},FO(e,t)}function _pe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nr(e),e!==null););return e}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=nr(e),o;if(t){var i=nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return spe(this,o)}}var vpe=1,hn=function(t){upe(n,t);var r=dpe(n);function n(o){ope(this,n);var i;i=r.call(this,o),yt(oo(i),"excludes",void 0),yt(oo(i),"childrenMaxLength",void 0),yt(oo(i),"props",void 0),yt(oo(i),"children",void 0);var u=cpe(this,n)?this.constructor:void 0,f=u.excludes,l=u.childrenMaxLength;return i.props=new K_(o==null?void 0:o.props),it(oo(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Bt(f),i.childrenMaxLength=l,i}return ipe(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=Ii(nr(n.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.fieldCodeList;u.props.fieldCodeList=f}return u}},{key:"toSchema",value:function(){var i=Ii(nr(n.prototype),"toSchema",this).call(this);return ape(fpe({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(ie);yt(hn,"controlType","custom-column"),yt(hn,"controlName","\u81EA\u5B9A\u4E49"),yt(hn,"controlIcon","custom-column"),yt(hn,"excludes",[]),yt(hn,"childrenMaxLength",vpe),yt(hn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}]);function X_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function J_(e){return J_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},J_(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&&CO(e,t)}function gpe(e,t){return t&&(mpe(t)==="object"||typeof t=="function")?t:X_(e)}function CO(e,t){return CO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},CO(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=J_(e),o;if(t){var i=J_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gpe(this,o)}}var rA=function(e){bpe(r,e);var t=wpe(r);function r(n){hpe(this,r);var o;return o=t.call(this,n),LO(X_(o),"props",void 0),LO(X_(o),"children",void 0),o.props=new K_(n==null?void 0:n.props),it(X_(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(ue);LO(rA,"controlType","custom-column");var oA={Designer:hn,Runtime:rA,Property:K_};function iA(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 $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 Q_(e){return Q_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Q_(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&&xO(e,t)}function Tpe(e,t){return t&&(Spe(t)==="object"||typeof t=="function")?t:iA(e)}function xO(e,t){return xO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xO(e,t)}function 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=Q_(e),o;if(t){var i=Q_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tpe(this,o)}}var zO=function(e){Rpe(r,e);var t=Ipe(r);function r(n){Ppe(this,r);var o;o=t.call(this,n),$pe(iA(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:bn.controlName;var u;return o.datasourceBind=new vo((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:bn.controlCustomAttributes}),o}return r}(Z);function uA(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 cA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Npe(e,t,r){return t&&cA(e.prototype,t),r&&cA(e,r),e}function io(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z_(e){return Z_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Z_(e)}function Mpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ape(e,t){return t&&(kpe(t)==="object"||typeof t=="function")?t:uA(e)}function VO(e,t){return VO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},VO(e,t)}function kpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jpe(e){var t=Dpe();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 Ape(this,o)}}var bn=function(e){Mpe(r,e);var t=jpe(r);function r(n){Bpe(this,r);var o;return o=t.call(this,n),io(uA(o),"props",void 0),o.props=new zO(n==null?void 0:n.props),o}return Npe(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ie);io(bn,"controlType","employee-column"),io(bn,"controlName","\u4EBA\u5458"),io(bn,"controlIcon","employee-column"),io(bn,"controlFieldType",c.FieldTypes.EMPLOYEES),io(bn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function fA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fpe(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 ey(e){return ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ey(e)}function Lpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&YO(e,t)}function Cpe(e,t){return t&&(xpe(t)==="object"||typeof t=="function")?t:fA(e)}function YO(e,t){return YO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YO(e,t)}function xpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vpe(e){var t=zpe();return function(){var n=ey(e),o;if(t){var i=ey(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cpe(this,o)}}var HO=function(e){Lpe(r,e);var t=Vpe(r);function r(n){Fpe(this,r);var o;return o=t.call(this,n),GO(fA(o),"props",void 0),o.props=new zO(n==null?void 0:n.props),o}return r}(ue);GO(HO,"controlType","employee-column"),GO(HO,"controlFieldType",c.FieldTypes.EMPLOYEES);var lA={Designer:bn,Runtime:HO,Property:zO};function ty(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ype(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&UO(e,t)}function Hpe(e,t){return t&&(qpe(t)==="object"||typeof t=="function")?t:ty(e)}function UO(e,t){return UO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UO(e,t)}function qpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Upe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wpe(e){var t=Upe();return function(){var n=ny(e),o;if(t){var i=ny(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hpe(this,o)}}var WO=function(e){Ype(r,e);var t=Wpe(r);function r(n){Gpe(this,r);var o;o=t.call(this,n),qO(ty(o),"lineEllipsis",void 0),qO(ty(o),"showLinkOperation",void 0),qO(ty(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:or.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new vt(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}(Z);function KO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ry(e){return ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ry(e)}function Xpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&XO(e,t)}function Jpe(e,t){return t&&(Qpe(t)==="object"||typeof t=="function")?t:KO(e)}function XO(e,t){return XO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},XO(e,t)}function Qpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ede(e){var t=Zpe();return function(){var n=ry(e),o;if(t){var i=ry(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jpe(this,o)}}var or=function(e){Xpe(r,e);var t=ede(r);function r(n){Kpe(this,r);var o;return o=t.call(this,n),rr(KO(o),"props",void 0),rr(KO(o),"children",void 0),o.props=new WO(n==null?void 0:n.props),o}return r}(ie);rr(or,"controlType","approval-status-column"),rr(or,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),rr(or,"controlIcon","approval-status-column"),rr(or,"excludes",[]),rr(or,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function JO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 oy(e){return oy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oy(e)}function nde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ZO(e,t)}function rde(e,t){return t&&(ode(t)==="object"||typeof t=="function")?t:JO(e)}function ZO(e,t){return ZO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZO(e,t)}function ode(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ide(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ude(e){var t=ide();return function(){var n=oy(e),o;if(t){var i=oy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rde(this,o)}}var aA=function(e){nde(r,e);var t=ude(r);function r(n){tde(this,r);var o;return o=t.call(this,n),QO(JO(o),"props",void 0),QO(JO(o),"children",void 0),o.props=new WO(n==null?void 0:n.props),o}return r}(ue);QO(aA,"controlType","approval-status-column");var sA={Designer:or,Runtime:aA,Property:WO},cde=Object.freeze({__proto__:null,VarcharColumn:q1,TextColumn:Z1,DecimalColumn:uM,TimescopeColumn:yM,TimestampColumn:mM,ArrayColumn:TM,DepartmentColumn:NM,AutoNumberColumn:FM,FileColumn:xM,ImageColumn:GM,PeopleColumn:qM,LocationColumn:QM,CustomColumn:oA,OrderColumn:N1,OperationColumn:D1,EmployeeColumn:lA,ApprovalStatusColumn:sA});function pt(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 dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iy(e){return iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iy(e)}function yA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ew(e,t)}function fde(e,t){return t&&(lde(t)==="object"||typeof t=="function")?t:pt(e)}function ew(e,t){return ew=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ew(e,t)}function lde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ade(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pA(e){var t=ade();return function(){var n=iy(e),o;if(t){var i=iy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fde(this,o)}}var sde=function(e){yA(r,e);var t=pA(r);function r(n){_A(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Jt),uy=function(e){yA(r,e);var t=pA(r);function r(n){_A(this,r);var o;o=t.call(this,n),dt(pt(o),"search",void 0),dt(pt(o),"cancel",void 0),dt(pt(o),"searchType",void 0),dt(pt(o),"labelPosition",void 0),dt(pt(o),"viewType",void 0),dt(pt(o),"isLoading",void 0),dt(pt(o),"custom",void 0),dt(pt(o),"queryTypeMap",void 0),dt(pt(o),"childMinWidth",void 0),dt(pt(o),"colGap",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var u;o.labelPosition=(u=n==null?void 0:n.labelPosition)!==null&&u!==void 0?u:"top";var 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(h){return new Nt(h)});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}(_u);dt(uy,"RuntimeRules",sde);function dA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cy(e){return cy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cy(e)}function yde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nw(e,t)}function pde(e,t){return t&&(dde(t)==="object"||typeof t=="function")?t:dA(e)}function nw(e,t){return nw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nw(e,t)}function dde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hde(e){var t=vde();return function(){var n=cy(e),o;if(t){var i=cy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pde(this,o)}}var rw=function(e){yde(r,e);var t=hde(r);function r(n){_de(this,r);var o;return o=t.call(this,n),tw(dA(o),"props",void 0),o.props=new uy(n==null?void 0:n.props),o}return r}(ZP);tw(rw,"controlType","simple-search"),tw(rw,"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 ow(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 iw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fy(e){return fy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fy(e)}function gde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uw(e,t)}function mde(e,t){return t&&(Ode(t)==="object"||typeof t=="function")?t:ow(e)}function uw(e,t){return uw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uw(e,t)}function Ode(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pde(e){var t=wde();return function(){var n=fy(e),o;if(t){var i=fy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mde(this,o)}}var vA=function(e){gde(r,e);var t=Pde(r);function r(n){bde(this,r);var o;o=t.call(this,n),iw(ow(o),"props",void 0),iw(ow(o),"children",void 0),o.props=new uy(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}(t$);iw(vA,"controlType","simple-search");var hA={Designer:rw,Runtime:vA,Property:uy},$de=Object.freeze({__proto__:null,SimpleSearch:hA});function bA(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 Tde(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ly(e){return ly=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ly(e)}function Sde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ede(e,t){return t&&(Ide(t)==="object"||typeof t=="function")?t:bA(e)}function cw(e,t){return cw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cw(e,t)}function Ide(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nde(e){var t=Bde();return function(){var n=ly(e),o;if(t){var i=ly(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ede(this,o)}}var fw=function(e){Sde(r,e);var t=Nde(r);function r(n){Rde(this,r);var o;o=t.call(this,n),Tde(bA(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}(vu);function gA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ade(e,t,r){return t&&mA(e.prototype,t),r&&mA(e,r),e}function kde(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ay(e){return ay=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ay(e)}function Dde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lw(e,t)}function jde(e,t){return t&&(Fde(t)==="object"||typeof t=="function")?t:gA(e)}function lw(e,t){return lw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lw(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 Cde(e){var t=Lde();return function(){var n=ay(e),o;if(t){var i=ay(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jde(this,o)}}var xde=function(e){Dde(r,e);var t=Cde(r);function r(n){Mde(this,r);var o;return o=t.call(this,n),kde(gA(o),"props",void 0),o.props=new fw(n==null?void 0:n.props),o}return Ade(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}(r$);function OA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vde(e,t,r){return t&&wA(e.prototype,t),r&&wA(e,r),e}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 sy(e){return sy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sy(e)}function Yde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aw(e,t)}function Hde(e,t){return t&&(qde(t)==="object"||typeof t=="function")?t:OA(e)}function aw(e,t){return aw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aw(e,t)}function qde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ude(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wde(e){var t=Ude();return function(){var n=sy(e),o;if(t){var i=sy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hde(this,o)}}var Kde=function(e){Yde(r,e);var t=Wde(r);function r(n){zde(this,r);var o;return o=t.call(this,n),Gde(OA(o),"props",void 0),o.props=new fw(n==null?void 0:n.props),o}return Vde(r,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(i$);function fhe(e){return e}var Xde={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},PA={Designer:xde,Runtime:Kde,Property:fw,Setting:Xde},Jde=Object.freeze({__proto__:null,GridLayoutWrap:PA});function sw(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 Qde(e){if(Array.isArray(e))return e}function Zde(e){if(Array.isArray(e))return sw(e)}function eve(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tve(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,u,f;try{for(r=r.call(e);!(o=(u=r.next()).done)&&(n.push(u.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 nve(){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 rve(){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 ove(e,t){return Qde(e)||tve(e,t)||RA(e,t)||nve()}function $A(e){return Zde(e)||eve(e)||RA(e)||rve()}function RA(e,t){if(!!e){if(typeof e=="string")return sw(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 sw(e,t)}}var ive=function(e,t){var r=Array.isArray(e),n=r?e:[e];hve(t==null?void 0:t.events),sve(n),_ve(n);var o=ave(n),i=yve(o,t),u=$n(le(i,function(f){return lve(f,t)}));return r?u:u[0]},uve=[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"],cve=["subtable","grid-table"],fve=["simple-search"];function lve(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":uve.includes(i.type)?i.controlType="base":i.controlType="form",cve.includes(i.type)&&(i.controlType="list"),fve.includes(i.type)&&(i.controlType="search-view")),delete i.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),be(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),be(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),be(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(i.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(i.type="department",e.props.value.length&&(i.props.default_value=e.props.value),i.props.showType=e.props.show_tree?"tree":"default",i.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=e.props.value),e.type==="file"){var u;i.type="attachment",i.props.attachmentAccept=(u=e.attachment_format)===null||u===void 0?void 0:u.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var 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"&&(be(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(be(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var 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 Ug.Designer;D.props.caption=be($.field_name)?$.field_name.zh:$.field_name;var Le=D.toSchema();Le.id=$.header_id;var ve=i.children[0].children[S].children[0];return ve&&(Le.children=[ve]),Le}),i.children=[])}i.type==="subtable-cell"&&(i.type="subtable-column");var s=["radio","checkbox","select","select-multiple"];if(s.includes(e.type)&&(e.props.options.map(function($){$.label=be($.text)?$.text.zh:$.text,$.id=$.id||$.opt_id||$.optId||$.data_id}),i=e),e.type==="grid-row"){var _=24/i.children.length;i.children=i.children.map(function($){var S=new $a.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&&(TA(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 h=i==null?void 0:i.children[0],m=i==null?void 0:i.children[1],v={},O={};h&&(TA(i,t),i.id=h.id,v.amount=h.props.data_bind,i.props.range_min=Pn(h.props.range_min),i.props.range_max=Pn(h.props.range_max),O.amount=Pn(h.props.value),i.props.required=h.props.required,i.props.is_hide=h.props.is_hide,i.props.default_state=h.props.default_state,i.props.caption=be(h.props.caption)?h.props.caption.zh:h.props.caption,i.props.is_hide_caption=h.props.is_hide_caption,i.props.showUpperCase=h.props.is_show_chn),m&&(v.currency=m.props.data_bind,O.currency=m.props.value,i.props.datasourceBind=m.props.datasource_bind,i.props.options=m.props.options.map(function($){return{label:$.text,value:$.value}})),i.props.dataBind=v,i.props.defaultValue=O,delete i.children}if(e.type==="date-range"){i.controlType="form";var P=i==null?void 0:i.children[0],w=i==null?void 0:i.children[1];i.props.placeholderStart=be(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=be(e.props.caption)?e.props.caption.zh:e.props.caption;var T={};P&&(T.min=P.props.data_bind),w&&(T.max=w.props.data_bind),i.props.dataBind=T,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=be(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=Pn(e.props.range_min),i.props.range_max=Pn(e.props.range_max),i.props.defaultValue=Pn(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(i.props.buttonType="default"),bve(i,t==null?void 0:t.control_events),i}function TA(e,t){if(!!t){var r=t.displayBoList,n=r===void 0?[]:r,o=t.behaviors,i=o===void 0?[]:o,u=e.id,f=e.children[0].id;n.forEach(function(l){l.id===u&&(l.id=f);var a=l.show_controls.findIndex(function(_){return _===u}),s=l.hide_controls.findIndex(function(_){return _===u});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===u&&(l.id=f)})}}function ave(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new Mm.Designer,n=r.toSchema();return n.children=e,[n]}function sve(e){e.forEach(function(t){t.children&&vve(t.children)})}function _ve(e){e.forEach(function(t){if(!!(t&&t.children))for(var r=t.children,n=0;n<r.length;n++){var o,i,u=r[n],f=(i=r[n])===null||i===void 0||(o=i.children)===null||o===void 0?void 0:o[0];u.type==="grid-row"&&f&&["group-panel","subtable","tab"].includes(f.type)&&r.splice(n,1,f)}})}function yve(e,t){var r,n,o,i,u;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=ove(a,3),_=s[0],y=s[1],b=s[2];pve(_),b.props.is_fixed_header=l==null||(r=l.source_config)===null||r===void 0?void 0:r.is_fixed_header,dve(b,y);var g,h=(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,v=((m=l==null||(o=l.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&m!==void 0?m:h)?"".concat(h,"_selectMore"):void 0,O,P=(O=l==null||(i=l.source_config)===null||i===void 0?void 0:i.orders)!==null&&O!==void 0?O:[],w=new Em.Designer;w.props.datasourceBind=new re({dataCode:h,svcCode:v,orders:jw(P)}),w.props.isShowSubList=l.is_show_sublist,w.props.triggerType=l.timing_type,w.props.triggerFieldCode=l.ctrl_field_code,l==null||(u=l.sublist_page)===null||u===void 0||u.sublists.forEach(function($){$.title=be($.title)?$.title.zh:$.title}),w.props.sublistPage=l.sublist_page;var T=w.toSchema();return T.children.push(_,b),[T]}function pve(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=be(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"){var n,o;t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=t.dateType)===null||o===void 0||(n=o.replace)===null||n===void 0?void 0:n.call(o,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function dve(e,t){e.children=t.children.filter(function(r){return r.type!=="list-page-btn-custom-head"}),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(function(r){var n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:be(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=be(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order")n.type="order-column",n.props.fixed=!0;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var i;n.props.delete=(i=r.delete)!==null&&i!==void 0?i:{},n.props.delete.openType="window";var u;n.props.edit=(u=r.edit)!==null&&u!==void 0?u:{},n.props.edit.openType="window",n.props.fixed=!0}else n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column");return r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new re({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function vve(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 hve(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 bve(e,t){var r;if(!(!t||!e.props.events)){var n=Object.keys(e.props.events);if(!!n.length&&(n.forEach(function(i){var u;!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),(u=t[e.id][i]).push.apply(u,$A(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,$A(t[e.id].on_blur))}}}var gve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$n(le(n,function(i){return mve(i)}));return r?o:o[0]};function mve(e,t){if(e.type===c.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===c.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Qe({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var Ove=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$n(le(n,function(i){return wve(i)}));return r?o:o[0]};function wve(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 Pve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$n(le(n,function(i){return $ve(i)}));return r?o:o[0]};function $ve(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 Rve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$n(le(n,function(i){return Sve(i)}));return r?o:o[0]},Tve=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function Sve(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(Tve.includes(r.type))return r;var n=new Lg.Designer,o=new $a.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var Eve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$n(le(n,function(i){return Ive(i)}));return r?o:o[0]};function Ive(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 Bve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=le(n,function(i){return Nve(i)});return r?o:o[0]};function Nve(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function K(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Mve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=le(n,function(i){return Ave(i)});return r?o:o[0]};function gn(e,t){e.field_code&&(e.field_type=t)}function Ave(e,t){var r,n=(r={},K(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),K(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),K(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),K(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),K(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),K(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),K(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),K(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),K(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),K(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),K(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),K(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),K(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),K(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),K(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),K(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),K(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),K(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),K(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),K(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),K(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),K(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),K(r,c.CONTROL_TYPE.SEARCH_NUMBER_RANGE,c.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&gn(e.props.data_bind,n[e.type]),e.type===c.CONTROL_TYPE.AMOUNT&&(gn(e.props.data_bind.amount,c.FieldTypes.DECIMAL),gn(e.props.data_bind.currency,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.CALC&&(gn(e.props.data_bind.result,c.FieldTypes.DECIMAL),gn(e.props.data_bind.unit,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.DATE_RANGE&&(gn(e.props.data_bind.min,c.FieldTypes.TIMESTAMP),gn(e.props.data_bind.max,c.FieldTypes.TIMESTAMP)),e.type===c.CONTROL_TYPE.VUE_FORM_ITEM){var o;gn(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY)}return e}var kve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=le(n,function(i){return Dve(i)});return r?o:o[0]};function Dve(e,t){return e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type.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 jve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=le(n,function(i){return Fve(i)});return r?o:o[0]};function Fve(e,t){return e.type===c.CONTROL_TYPE.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(function(r){var n,o;[c.FieldTypes.VARCHAR,c.FieldTypes.TEXT,c.FieldTypes.AUTO_NUMBER].includes((o=r.props)===null||o===void 0||(n=o.data_bind)===null||n===void 0?void 0:n.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}var Lve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=le(n,function(i){return Cve(i)});return r?o:o[0]};function Cve(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 xve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=le(n,function(i){return zve(i)});return r?o:o[0]};function zve(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 Vve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=le(n,function(i){return Gve(i)});return r?o:o[0]};function Gve(e,t){return e.type===c.CONTROL_TYPE.TITLE&&e.props.config.push(c.TitleConfigEnum.ShowTitle),e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(r){if(r.type===c.CONTROL_TYPE.OPERATION_COLUMN){var n,o,i;r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto";var u;if(r.children=(u=r==null?void 0:r.children)!==null&&u!==void 0?u:[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var f,l,a,s,_,y,b=new Lo.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,h,m,v,O,P,w=new Lo.Designer;Object.defineProperty(w,"id",{value:"listPageEditBtnId"}),w.props.code="edit",w.props.icon="iconbianji1",w.props.command="edit",w.props.content=(g=r.props)===null||g===void 0?void 0:g.edit.content,w.props.priorityProcess=(h=r.props)===null||h===void 0?void 0:h.edit.priority_process,w.props.openType=(m=r.props)===null||m===void 0?void 0:m.edit.open_type,w.props.formKey=(v=r.props)===null||v===void 0?void 0:v.edit.form_key,!((O=r.props)===null||O===void 0)&&O.edit.is_show&&r.children.push(w.toSchema()),(P=r.props)===null||P===void 0||delete P.edit}if(((i=r.props)===null||i===void 0?void 0:i.delete)!==void 0){var T,$,S,D,Le,ve,he=new Lo.Designer;Object.defineProperty(he,"id",{value:"listPageDeleteBtnId"}),he.props.code="delete",he.props.icon="iconlajitong",he.props.command="delete",he.props.content=(T=r.props)===null||T===void 0?void 0:T.delete.content,he.props.priorityProcess=($=r.props)===null||$===void 0?void 0:$.delete.priority_process,he.props.openType=(S=r.props)===null||S===void 0?void 0:S.delete.open_type,he.props.formKey=(D=r.props)===null||D===void 0?void 0:D.delete.form_key,he.props.needConfirm=!0,he.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((Le=r.props)===null||Le===void 0)&&Le.delete.is_show&&r.children.push(he.toSchema()),(ve=r.props)===null||ve===void 0||delete ve.delete}}}),[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var Yve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=le(n,function(i){return Hve(i)});return r?o:o[0]};function Hve(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.headers.map(function(r){r.props.meta_auto_width=new Ay,r.props.width_type==="px"&&(r.props.meta_auto_width.pc.width=r.props.width,r.props.meta_auto_width.pc.width_type="px"),delete r.props.width,delete r.props.width_type}),e.props.page_index===void 0&&(e.props.page_index=1),e.props.page_size===void 0&&(e.props.page_size=10),e.props.page_size_options===void 0&&(e.props.page_size_options=[10,20,50,100]),e.props.total_count===void 0&&(e.props.total_count=0)),e.type===c.CONTROL_TYPE.GRID_TABLE&&(e.props.page_index===void 0&&(e.props.page_index=1),e.props.page_size===void 0&&(e.props.page_size=20),e.props.page_size_options===void 0&&(e.props.page_size_options=[10,20,50,100,500]),e.props.total_count===void 0&&(e.props.total_count=0)),e.type===c.CONTROL_TYPE.LIST_VIEW&&(e.props.row_style_type="none"),e}var SA={"v1.0":ive,"v2.0":gve,"v2.1":Ove,"v2.2":Pve,"v2.3":Rve,"v2.4":Eve,"v2.5":Bve,"v2.6":Mve,"v2.7":kve,"v2.8":jve,"v2.9":Lve,"v2.10":xve,"v3.0":Vve,"v3.1":Yve,"v3.2":function(){}};const EA=(e,t)=>{const r=IA(e),n=IA(t),o=r.pop(),i=n.pop(),u=MA(r,n);return u!==0?u:o&&i?MA(o.split("."),i.split(".")):o||i?o?-1:1:0},_y=(e,t,r)=>{Kve(r);const n=EA(e,t);return AA[r].includes(n)},qve=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,IA=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(qve);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},BA=e=>e==="*"||e==="x"||e==="X",NA=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Uve=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Wve=(e,t)=>{if(BA(e)||BA(t))return 0;const[r,n]=Uve(NA(e),NA(t));return r>n?1:r<n?-1:0},MA=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Wve(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},AA={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},kA=Object.keys(AA),Kve=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(kA.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${kA.join("|")}`)};function Xve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jve(e,t,r){return t&&DA(e.prototype,t),r&&DA(e,r),e}function jA(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 e.replace(/^v/,"")}var uo=Object.keys(SA).map(function(e){return _w(e)}).sort(EA),Bi=uo[uo.length-1],Qve=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Bi;Xve(this,e),jA(this,"toVersion",void 0),jA(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=r,_y(r,Bi,">")?Wt("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(Bi)):(!uo.includes(_w(r))||!uo.includes(_w(t)))&&Wt("Version Builder: Please give me a valid version number, The valid version is: ".concat(uo.join(","),", But give me a ").concat(t))}return Jve(e,[{key:"dataCleaner",value:function(r,n){var o=this;if(_y(this.toVersion,this.schemaVersion,"="))return r;var i=this.callDataCleanerKeys.reduce(function(u,f,l,a){var s,_=(s=a[l+1])!==null&&s!==void 0?s:o.toVersion;_o("Version Builder: current version: ".concat(f,", nextVersion: ").concat(_));var y=SA[f],b=u;if(typeof y=="function"){var g=y(u,n);g&&(b=g)}return b},r);return _o("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var r=this;return uo.filter(function(n){return _y(n,r.schemaVersion,">=")&&_y(n,r.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(r){return"v"+r})}},{key:"version",get:function(){return Bi}}],[{key:"version",get:function(){return Bi}}]),e}();const yy=[],yw={exports:{}};let pw=!1;const Zve=window.module,ehe=window.exports,the=window.require;function nhe(e){return pw||(window.module=yw,window.exports=yw.exports,window.require=function(t){return e[t]},pw=!0),function(){window.module=Zve,window.exports=ehe,window.require=the,pw=!1}}function rhe(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=nhe(t);i.src=e,i.type="text/javascript";const f=()=>{document.head.removeChild(i);const l=yy.findIndex(a=>a===r);yy.splice(l,1),yy.length===0&&u()};i.onerror=function(l){f(),o(l)},i.onload=function(){n(yw.exports),f()},document.head.appendChild(i)});return yy.push(r),r}function dw(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 FA(e,t,r={fetch:dw}){return new Promise((n,o)=>{r.fetch(e).then(i=>{const u={exports:{}};new Function("module","exports","require",i)(u,u.exports,function(f){return t[f]}),n(u.exports)}).catch(i=>{o(i)})})}function py(e,t){return FA(e,t)}function ohe(e,t){return Ni(this,null,function*(){return yield Promise.all(e.map(r=>py(r,t)))})}function dy(e,t,r){let n;t==="runtime"?n=class extends J{constructor(l){super(l),this.props={}}static get controlType(){return e}}:n=class extends L{constructor(l){super(l),this.props={}}static get controlType(){return e}};class o extends X{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="low-code iconshibaimian" style="margin-right:4px"></i>${r}</div>`;return{Runtime:n,Designer:n,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{error:{template:i}}},upgrade:f=>f}}function ihe(e,t,r,n){return Ni(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>Ni(this,null,function*(){let u=!0,f;try{u=!0;let l="";n.type==="runtime"?l=i.runtime:l=i.designer,l+="?v="+i.version,f=yield py(l,r)}catch(l){u=!1,On("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,l),f=dy(i.id,n.type,n.tipMessage)}if(u){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)}}LA(n.type,f,o,u,i)}))),e==null||e.map(i=>{const[u,f]=i.split(":");if(o.has(u)===!1){const a=dy(u,n.type,n.tipMessage);LA(n.type,a,o,!1,{fieldType:"",id:u,name:"",runtime:"",designer:"",type:"",version:f})}})),o})}function LA(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&On(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&On(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function uhe(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";r==null||r.map(u=>{const[f,l]=u.split(":");o.props.id===f&&(i=l!=null?l:"")}),e=o.control.upgrade(e,o.version,i,n)}return e}function che(e,t){return Ni(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield dw(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const u=yield py(`${e}/${t.type}.js?v=${r}`,t.globalModules);i.map(f=>{let l=u.find(a=>t.type==="runtime"?a.Runtime.controlType===f.id:a.Designer.controlType===f.id);l===void 0&&(l=dy(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})}c.ActionBar=w1,c.Address=OI,c.AddressValue=_P,c.AdvancedContainer=s1,c.Amount=oI,c.AmountDataBind=fP,c.AmountValue=lP,c.ApprovalStatusColumn=sA,c.ArrayColumn=TM,c.Attachment=UE,c.AutoNumber=CI,c.AutoNumberColumn=FM,c.AutoWidth=My,c.BaseControlProperty=M,c.BaseControlPropertyRules=ae,c.BaseControlPropertyRuntimeRules=x,c.BaseStyle=vP,c.BatchDeleteButton=uS,c.BatchPrintListButton=GT,c.BatchPrintRecordListButton=WT,c.BatchSubmissionListButton=iR,c.Button=w$,c.Calc=qI,c.CalcDataBind=yP,c.CalcScriptEchoItem=zj,c.CalcValue=pP,c.CardGroup=tN,c.Checkbox=mS,c.Col=$a,c.ColumnControlProperty=Z,c.ColumnControlPropertyRules=ut,c.ColumnOptionAndDataSourcePropertyRules=gp,c.CreateFormListButton=J$,c.CustomAttributeItem=jy,c.CustomColumn=oA,c.CustomPermissionItem=YF,c.DEFAULT_LOCALE=ww,c.Dashboard=lT,c.DataBind=Qe,c.DataSourceBind=re,c.DataSourceDataSetValue=oP,c.DataSourceOrderItem=ky,c.DataSourceParamItem=zF,c.DataStorageDoc=Xw,c.DataView=Mm,c.DatePicker=YS,c.DateRange=eE,c.DecimalColumn=uM,c.Department=NI,c.Department2=w3,c.DepartmentColumn=NM,c.DepartmentEntity=vy,c.DesignerColumnControl=ie,c.DesignerControl=L,c.DesignerFormControl=A,c.DesignerLayoutControl=Y,c.DesignerListControl=uu,c.DesignerSearchControl=ZP,c.DesignerWrapControl=r$,c.DisplayBoListItem=xi,c.Divider=D$,c.ElectronicSignature=f3,c.ElectronicSignatureConfig=P$,c.Employee=zE,c.Employee2=QB,c.EmployeeColumn=lA,c.EventLogic=Vw,c.Explain=Bu,c.ExportListButton=vR,c.ExportRecordListButton=OR,c.ExportTemplate=Xp,c.FieldBindItem=Zw,c.FieldFilterCondition=po,c.FieldFilterConditions=Ci,c.FieldTypeToColumnType=Gj,c.FileColumn=xM,c.FillBackBind=Cy,c.FillPayloadBind=Ly,c.FlexStyleConfig=S$,c.FormBind=Rn,c.FormSelectBind=Jw,c.FormSelectButton=jR,c.Grid=A3,c.GridLayoutContainer=PN,c.GridLayoutWrap=PA,c.GridRow=Lg,c.GridTable=x1,c.GridTableColumn=hN,c.Image=JE,c.ImageColumn=GM,c.ImageOptionSetting=cP,c.ImportRecordListButton=SR,c.Input=yS,c.InvoiceCheckButton=DT,c.JSONCopy=Bt,c.JoinRelation=rP,c.Language=VF,c.LayoutControlProperty=z,c.LeftVariable=nP,c.LimitDate=Iu,c.Link=h$,c.LinkOperationOption=vt,c.ListBind=Li,c.ListControlProperty=Po,c.ListSelectButton=HR,c.ListView=Em,c.ListViewSelect=gT,c.LocationColumn=QM,c.MetaAutoWidth=Ay,c.MetaWidth=Fi,c.MultistageFillingItem=Re,c.Number=FS,c.ObjectDataBind=Vi,c.OperationButton=Lo,c.OperationColumn=D1,c.OperationItem=Nt,c.OptObject=hP,c.OptionAndDataSourcePropertyRules=Tn,c.OptionSetting=zy,c.OrderColumn=N1,c.OrganizationDataSourceBind=iP,c.OrganizationSelection=I3,c.Page=c1,c.Pagination=ZR,c.PeopleColumn=qM,c.Position=h1,c.PositioningContainer=p1,c.PrintTemplate=T$,c.Property=X,c.PropertyRules=ne,c.PropertyRuntimeRules=Jt,c.Radio=BS,c.RangeDataBind=aP,c.RangeDateValue=sP,c.RegisterControls=yo,c.RegularRules=xy,c.RichText=pE,c.RightVariable=cr,c.Row=H3,c.RowStyleRules=bP,c.RulesMessage=p,c.RuntimeColumnControl=ue,c.RuntimeControl=J,c.RuntimeFormControl=k,c.RuntimeLayoutControl=Q,c.RuntimeListControl=pp,c.RuntimeSearchControl=t$,c.RuntimeWrapControl=i$,c.SUBTABLE_DEFAULT_MAX_HEIGHT=R$,c.Score=sI,c.SearchControlProperty=_u,c.SearchDateRange=_B,c.SearchInput=LB,c.SearchNumberRange=nB,c.Select=$E,c.SelectMultiple=NE,c.SelectRelation=IB,c.SelectedContentConfig=zi,c.SimpleSearch=hA,c.SubListItem=eP,c.SubListPageConfig=tP,c.SubTable=R1,c.SubTableColumn=Ug,c.SubTableRow=_N,c.SubmissionRecordListButton=aR,c.SuperDataSourceBind=vo,c.Tab=FN,c.TabPane=MN,c.Text=_$,c.TextColumn=Z1,c.TextOcrButton=ST,c.Textarea=cE,c.TimescopeColumn=yM,c.TimestampColumn=mM,c.Title=G$,c.Toolbox=YN,c.Tree=HB,c.TreeDataSourceBind=Fy,c.UndersignedPerson=Kp,c.UserEntity=hy,c.VarcharColumn=q1,c.VersionBuilder=Qve,c.ViewOperationItem=dP,c.VueFormItem=gB,c.WPS=d3,c.WPSSetting=$$,c.Watcher=xw,c.WpsOperationItem=Jp,c.WrapControlProperty=vu,c.baseControls=kG,c.camelizeKeys=jw,c.columnControls=cde,c.controlHooksEmitter=SP,c.createValidator=TP,c.debounce=hF,c.decamelizeKeys=$n,c.defineArrayParent=Yw,c.defineControlArrayToProperty=it,c.defineParent=By,c.error=Wt,c.formControls=Mee,c.genNonDuplicateId=Ke,c.getHackerControl=dy,c.getNotRepeatItems=Dw,c.initExpression=$o,c.initImageOptions=GF,c.initLinkOperationRules=At,c.initOptionAndDataSourceRules=qi,c.initOptions=ht,c.initSuperDataSourceRules=Oo,c.isArray=wn,c.isBuiltInControls=gF,c.isDataBind=CP,c.isFunction=sF,c.isJSONArray=dF,c.isJSONObject=vF,c.isLanguageObject=be,c.isNumber=Ty,c.isNumberAndEmptyStringArray=pF,c.isNumberArray=yF,c.isObject=aF,c.isPlainObject=Ry,c.isString=kw,c.isStringArray=_F,c.layoutControls=vfe,c.listControls=tae,c.loadRemoteControl=py,c.loadRemoteControls=ohe,c.loadScriptFromFetch=FA,c.loadScriptFromTag=rhe,c.log=_o,c.logerror=Iw,c.loop=le,c.loopFormSchema=ki,c.nativeFetch=dw,c.noop=Vj,c.referenceError=wy,c.registerByteluckControls=che,c.registerCustomControls=ihe,c.searchControls=$de,c.setPropertyDontEnum=Di,c.toNumberOrEmpty=Pn,c.updateValueFromKeys=Mw,c.upgradeCustomControlSchema=uhe,c.wait=bF,c.warn=On,c.wrapControls=Jde,Object.defineProperty(c,"__esModule",{value:!0})});
|
|
1
|
+
var Ni=(c,mn,Ut)=>new Promise((vy,Mi)=>{var j=It=>{try{fo(Ut.next(It))}catch(lo){Mi(lo)}},hy=It=>{try{fo(Ut.throw(It))}catch(lo){Mi(lo)}},fo=It=>It.done?vy(It.value):Promise.resolve(It.value).then(j,hy);fo((Ut=Ut.apply(c,mn)).next())});(function(c,mn){typeof exports=="object"&&typeof module!="undefined"?mn(exports):typeof define=="function"&&define.amd?define(["exports"],mn):(c=typeof globalThis!="undefined"?globalThis:c||self,mn(c.modelDrivenCoreAll={}))})(this,function(c){"use strict";function mn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var vy=function e(){mn(this,e),Ut(this,"department_en_name",void 0),Ut(this,"department_id",void 0),Ut(this,"department_name",void 0)};function Mi(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}var hy=function e(){Mi(this,e),j(this,"avatar_big",void 0),j(this,"avatar_small",void 0),j(this,"avatar_url",void 0),j(this,"belong_dept_en_name",void 0),j(this,"belong_dept_id_list",void 0),j(this,"belong_dept_ids",void 0),j(this,"belong_dept_name",void 0),j(this,"cookie_language_enum",void 0),j(this,"department_id",void 0),j(this,"department_name",void 0),j(this,"email",void 0),j(this,"employee_card",void 0),j(this,"employee_en_name",void 0),j(this,"employee_id",void 0),j(this,"employee_name",void 0),j(this,"external_user",void 0),j(this,"gender",void 0),j(this,"is_show_chat_group",void 0),j(this,"manage_dept_en_name",void 0),j(this,"manage_dept_ids",void 0),j(this,"manage_dept_name",void 0),j(this,"msg_relation_type",void 0),j(this,"sequence",void 0),j(this,"telephone",void 0),j(this,"tenant_id",void 0)},fo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",It="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",lo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",CA="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",xA="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",zA="{caption}\u5FC5\u586B",VA="\u8BF7\u8F93\u5165\u6807\u9898",GA="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",YA="\u8BF7\u8F93\u5165\u884C\u6807\u9898",HA="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",qA="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",UA="\u8BF7\u7ED1\u5B9A\u8868\u5355",WA="\u8BF7\u7ED1\u5B9A\u5217\u8868",KA="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",XA="\u8BF7\u8F93\u5165\u663E\u793A\u503C",JA="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",QA="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ZA="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ek="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",tk="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",nk="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",rk="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ok="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ik="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",uk="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ck="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",fk="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",lk="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ak="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",sk="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",_k="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",yk="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",pk="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",dk="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",vk="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",hk="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",bk="\u8BF7\u7ED1\u5B9A\u670D\u52A1",gk="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",mk="\u8BF7\u9009\u62E9\u7701",Ok="\u8BF7\u9009\u62E9\u5E02",wk="\u8BF7\u9009\u62E9\u533A",Pk="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",$k="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Rk="\u8BF7\u8F93\u5165\u5217\u5BBD",Tk="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Sk="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ek="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ik="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Bk="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Nk="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Mk="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ak="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",kk="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Dk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",jk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Fk="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Lk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ck="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",xk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",zk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Vk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Gk="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Yk="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Hk="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",qk="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Uk="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Wk="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Kk="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Xk="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Jk="\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",Zk="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",e2="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",t2="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",n2={isNotNumber:fo,isNotString:It,isNotObject:lo,isNotArray:CA,isNotBoolean:xA,runtimeRequired:zA,pleaseEnterCaption:VA,pleaseEnterCaptionTip:GA,pleaseEnterRowCaption:YA,pleaseEnterPlaceholder:HA,pleaseEnterFieldCode:qA,pleaseEnterForm:UA,pleaseEnterList:WA,pleaseEnterProcess:KA,pleaseEnterLabel:XA,pleaseEnterValue:JA,bizKeyNotBindFiled:QA,pleaseSelectOneField:ZA,pleaseEnterNumberRange:ek,pleaseEnterAValueGreaterThanMin:tk,pleaseEnterAValueLessThanMax:nk,numberRangeSetError:rk,stringRangeError:ok,attachmentMaxSize:ik,pleaseEnterTotalScoreSetting:uk,theTotalScoreMustNotBeLessThan1:ck,scoreDefaultValueRange:fk,attachmentLimitError:lk,PleaseReselectTheOptionalQuantity:ak,TheMaximumLengthIsGreaterThanTheMinimumLength:sk,TheMinimumLengthIsGreaterThanTheMaximumLength:_k,PleaseSelectTheCorrectOptionSettings:yk,optionIdIsRepeat:pk,optionIsRequired:dk,pleaseEnterDataCode:vk,pleaseEnterValueFieldCode:hk,pleaseEnterSvcCode:bk,pleaseBindAtLeastOneDisplayValue:gk,pleaseSelectProvince:mk,pleaseSelectCity:Ok,pleaseSelectDistrict:wk,limitRowsCannotBeLessThan0:Pk,TheNumberOfRowsCannotBeLessThanMinRows:$k,pleaseEnterColumnWidth:Rk,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Tk,pleaseCompleteAllRulesAndConditions:Sk,pleaseSelectControl:Ek,pleaseSelectAtLeastOneColumn:Ik,pleaseSelectFillBackMode:Bk,pleaseSelectDashboard:Nk,rootNodeIsRequired:Mk,theViewNameCannotBeEmpty:Ak,pleaseSelectOcrType:kk,pleaseSelectAtLeastOneFieldToFillIn:Dk,pleaseChooseAtLeastOne:jk,pleaseEnterButtonContent:Fk,pleaseEnterDataCodeInDataSetting:Lk,pleaseEnterValueFieldCodeInDataSetting:Ck,pleaseEnterSvcCodeInDataSetting:xk,pleaseBindAtLeastOneDisplayValueInDataSetting:zk,rootNodeIsRequiredInDataSetting:Vk,pleaseEnterMaxHeight:Gk,pleaseEnter:Yk,pleaseEnterWatermark:Hk,pleaseEnterFileName:qk,pleaseUploadAtLeastOnePrintTemplate:Uk,pleaseAssignBusiness:Wk,pleaseAssignExternal:Kk,pleaseEnterAliasCode:Xk,pleaseSelectDataCode:Jk,pleaseSelectSvcCode:Qk,pleaseSelectJoinFieldCode:Zk,pleaseSelectMainFieldCode:e2,pleaseSelectSortFieldCode:t2},r2="Please enter a number",o2="Please enter a string",i2="Please enter an object",u2="Please enter an array",c2="Please enter a boolean",f2="{caption} Required",l2="Please enter the title",a2="Please enter the bubble prompt",s2="Please enter the row title",_2="Please enter the prompt text",y2="Please bind data items",p2="Please bind the form",d2="Please bind the list",v2="Please bind the process",h2="Please enter the displayed value",b2="Please enter the stored value",g2="The document number is not bound to the data item",m2="Please select at least one display field",O2="Please enter a value greater than or equal to {min} and less than or equal to {max}",w2="Please enter a value greater than or equal to {min}",P2="Please enter a value less than or equal to {max}",$2="The value range is set incorrectly",R2="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",T2="The attachment size must be between 0MB and 1000MB",S2="Please fill in the total score setting",E2="The total score cannot be less than 1",I2="The default value must be between {min} and {max}",B2="The number of attachments uploaded must be between {min} and {max}",N2="Please re-select the optional quantity",M2="The maximum length of the control must be greater than the minimum length",A2="The minimum length of the control must be less than the maximum length",k2="Please select the correct option setting",D2="Option ID cannot be repeated",j2="Please enter at least one option",F2="Please bind the data source",L2="Please bind the stored value",C2="Please bind the service",x2="At least one display value must be bound",z2="Please select a province",V2="Please select a city",G2="Please select a district",Y2="The minimum number of lines to fill in cannot be less than 0",H2="The number of rows cannot be less than {min} rows",q2="Please enter the column width",U2="Please set the logical relationship of all rule conditions",W2="Please complete all rules and conditions",K2="please select control",X2="Please select the dashboard",J2="View name cannot be empty",Q2="Please select recognition type",Z2="Please select at least one field to fill in",eD="Please select at least one",tD="Please enter the button title",nD="Please bind the business model in the data settings",rD="Please bind storage values in data settings",oD="Please bind the service in the data settings",iD="Please bind at least one display value in the data settings",uD="Please select the root node in the data settings",cD="Please enter the maximum height",fD="The input content cannot be empty",lD="Watermark cannot be empty",aD="File name cannot be empty",sD="Please upload at least one printing template!\uFF01",_D="Please select a specific business department",yD="Please select a specified external organization",pD="Please enter a sub table alias",dD="Please select the associated table to set the business model",vD="Please select the association table to set the binding service",hD="Select associated sub table fields",bD="Please select the associated main table field",gD="Please select the sort field",mD={isNotNumber:r2,isNotString:o2,isNotObject:i2,isNotArray:u2,isNotBoolean:c2,runtimeRequired:f2,pleaseEnterCaption:l2,pleaseEnterCaptionTip:a2,pleaseEnterRowCaption:s2,pleaseEnterPlaceholder:_2,pleaseEnterFieldCode:y2,pleaseEnterForm:p2,pleaseEnterList:d2,pleaseEnterProcess:v2,pleaseEnterLabel:h2,pleaseEnterValue:b2,bizKeyNotBindFiled:g2,pleaseSelectOneField:m2,pleaseEnterNumberRange:O2,pleaseEnterAValueGreaterThanMin:w2,pleaseEnterAValueLessThanMax:P2,numberRangeSetError:$2,stringRangeError:R2,attachmentMaxSize:T2,pleaseEnterTotalScoreSetting:S2,theTotalScoreMustNotBeLessThan1:E2,scoreDefaultValueRange:I2,attachmentLimitError:B2,PleaseReselectTheOptionalQuantity:N2,TheMaximumLengthIsGreaterThanTheMinimumLength:M2,TheMinimumLengthIsGreaterThanTheMaximumLength:A2,PleaseSelectTheCorrectOptionSettings:k2,optionIdIsRepeat:D2,optionIsRequired:j2,pleaseEnterDataCode:F2,pleaseEnterValueFieldCode:L2,pleaseEnterSvcCode:C2,pleaseBindAtLeastOneDisplayValue:x2,pleaseSelectProvince:z2,pleaseSelectCity:V2,pleaseSelectDistrict:G2,limitRowsCannotBeLessThan0:Y2,TheNumberOfRowsCannotBeLessThanMinRows:H2,pleaseEnterColumnWidth:q2,pleaseSetTheLogicalRelationshipOfAllRuleConditions:U2,pleaseCompleteAllRulesAndConditions:W2,pleaseSelectControl:K2,pleaseSelectDashboard:X2,theViewNameCannotBeEmpty:J2,pleaseSelectOcrType:Q2,pleaseSelectAtLeastOneFieldToFillIn:Z2,pleaseChooseAtLeastOne:eD,pleaseEnterButtonContent:tD,pleaseEnterDataCodeInDataSetting:nD,pleaseEnterValueFieldCodeInDataSetting:rD,pleaseEnterSvcCodeInDataSetting:oD,pleaseBindAtLeastOneDisplayValueInDataSetting:iD,rootNodeIsRequiredInDataSetting:uD,pleaseEnterMaxHeight:cD,pleaseEnter:fD,pleaseEnterWatermark:lD,pleaseEnterFileName:aD,pleaseUploadAtLeastOnePrintTemplate:sD,pleaseAssignBusiness:_D,pleaseAssignExternal:yD,pleaseEnterAliasCode:pD,pleaseSelectDataCode:dD,pleaseSelectSvcCode:vD,pleaseSelectJoinFieldCode:hD,pleaseSelectMainFieldCode:bD,pleaseSelectSortFieldCode:gD},OD="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wD="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",PD="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$D="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",RD="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",TD="{caption}\u5FC5\u9808",SD="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ED="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ID="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",BD="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ND="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",MD="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",AD="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kD="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",DD="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jD="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",FD="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",LD="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",CD="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xD="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zD="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",VD="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",GD="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",YD="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",HD="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qD="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",UD="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",WD="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",KD="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",XD="\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",JD="\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",QD="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ZD="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ej="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",tj="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nj="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rj="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oj="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ij="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",uj="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cj="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fj="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",lj="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",aj="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sj="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",_j="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",yj="please select control",pj="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",dj="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",vj="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",hj="\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",bj="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",gj="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mj="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Oj="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",wj="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Pj="\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",$j="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Rj="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Tj="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Sj="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ej="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ij="\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",Bj="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nj="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Mj="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Aj="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",kj="\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",Dj="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",jj="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fj="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Lj={isNotNumber:OD,isNotString:wD,isNotObject:PD,isNotArray:$D,isNotBoolean:RD,runtimeRequired:TD,pleaseEnterCaption:SD,pleaseEnterCaptionTip:ED,pleaseEnterRowCaption:ID,pleaseEnterPlaceholder:BD,pleaseEnterFieldCode:ND,pleaseEnterForm:MD,pleaseEnterList:AD,pleaseEnterProcess:kD,pleaseEnterLabel:DD,pleaseEnterValue:jD,bizKeyNotBindFiled:FD,pleaseSelectOneField:LD,pleaseEnterNumberRange:CD,pleaseEnterAValueGreaterThanMin:xD,pleaseEnterAValueLessThanMax:zD,numberRangeSetError:VD,stringRangeError:GD,attachmentMaxSize:YD,pleaseEnterTotalScoreSetting:HD,theTotalScoreMustNotBeLessThan1:qD,scoreDefaultValueRange:UD,attachmentLimitError:WD,PleaseReselectTheOptionalQuantity:KD,TheMaximumLengthIsGreaterThanTheMinimumLength:XD,TheMinimumLengthIsGreaterThanTheMaximumLength:JD,PleaseSelectTheCorrectOptionSettings:QD,optionIdIsRepeat:ZD,optionIsRequired:ej,pleaseEnterDataCode:tj,pleaseEnterValueFieldCode:nj,pleaseEnterSvcCode:rj,pleaseBindAtLeastOneDisplayValue:oj,pleaseSelectProvince:ij,pleaseSelectCity:uj,pleaseSelectDistrict:cj,limitRowsCannotBeLessThan0:fj,TheNumberOfRowsCannotBeLessThanMinRows:lj,pleaseEnterColumnWidth:aj,pleaseSetTheLogicalRelationshipOfAllRuleConditions:sj,pleaseCompleteAllRulesAndConditions:_j,pleaseSelectControl:yj,pleaseSelectDashboard:pj,theViewNameCannotBeEmpty:dj,pleaseSelectOcrType:vj,pleaseSelectAtLeastOneFieldToFillIn:hj,pleaseChooseAtLeastOne:bj,pleaseEnterButtonContent:gj,pleaseEnterDataCodeInDataSetting:mj,pleaseEnterValueFieldCodeInDataSetting:Oj,pleaseEnterSvcCodeInDataSetting:wj,pleaseBindAtLeastOneDisplayValueInDataSetting:Pj,rootNodeIsRequiredInDataSetting:$j,pleaseEnterMaxHeight:Rj,pleaseEnter:Tj,pleaseEnterWatermark:Sj,pleaseEnterFileName:Ej,pleaseUploadAtLeastOnePrintTemplate:Ij,pleaseAssignBusiness:Bj,pleaseAssignExternal:Nj,pleaseEnterAliasCode:Mj,pleaseSelectDataCode:Aj,pleaseSelectSvcCode:kj,pleaseSelectJoinFieldCode:Dj,pleaseSelectMainFieldCode:jj,pleaseSelectSortFieldCode:Fj},Cj={zhCN:n2,enUS:mD,jaJP:Lj};function xj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.CALC_TOKEN_TYPE=void 0,function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"}(c.CALC_TOKEN_TYPE||(c.CALC_TOKEN_TYPE={})),c.CALC_AGGREGATE_TYPE=void 0,function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"}(c.CALC_AGGREGATE_TYPE||(c.CALC_AGGREGATE_TYPE={}));var zj=function e(t){xj(this,e),ur(this,"name",void 0),ur(this,"id",void 0),ur(this,"type",void 0),ur(this,"subTableId",void 0),ur(this,"subTableName",void 0),ur(this,"aggregateType",void 0);var r;this.name=(r=t==null?void 0:t.name)!==null&&r!==void 0?r:"";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:"";var o;this.type=(o=t==null?void 0:t.type)!==null&&o!==void 0?o:"Number";var i;this.subTableId=(i=t==null?void 0:t.subTableId)!==null&&i!==void 0?i:void 0;var u;this.subTableName=(u=t==null?void 0:t.subTableId)!==null&&u!==void 0?u:void 0;var f;this.aggregateType=(f=t==null?void 0:t.aggregateType)!==null&&f!==void 0?f:void 0},ww="zh-CN",Vj=function(){};function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.CONTROL_BASE_TYPE=void 0,function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"}(c.CONTROL_BASE_TYPE||(c.CONTROL_BASE_TYPE={})),c.CONTROL_TYPE=void 0,function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap"}(c.CONTROL_TYPE||(c.CONTROL_TYPE={})),c.FieldTypes=void 0,function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"}(c.FieldTypes||(c.FieldTypes={}));var $e,Gj=($e={},Ce($e,"array","array-column"),Ce($e,"auto_number","auto-number-column"),Ce($e,"decimal","decimal-column"),Ce($e,"department","department-column"),Ce($e,"file","file-column"),Ce($e,"image","image-column"),Ce($e,"location","location-column"),Ce($e,"people","employee-column"),Ce($e,"text","text-column"),Ce($e,"timescope","timescope-column"),Ce($e,"timestamp","timestamp-column"),Ce($e,"varchar","varchar-column"),Ce($e,"relation","varchar-column"),$e);c.DateType=void 0,function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"}(c.DateType||(c.DateType={}));var Pw="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Yj=Pw+"0123456789";function Ke(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Pw:Yj,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function by(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 Hj(e){if(Array.isArray(e))return by(e)}function qj(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 Ai(e,t,r){return Sw()?Ai=Reflect.construct:Ai=function(o,i,u){var f=[null];f.push.apply(f,i);var l=Function.bind.apply(o,f),a=new l;return u&&so(a,u.prototype),a},Ai.apply(null,arguments)}function ao(e){return ao=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ao(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&&so(e,t)}function Uj(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Wj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Kj(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Xj(e,t){return t&&(Jj(t)==="object"||typeof t=="function")?t:qj(e)}function so(e,t){return so=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},so(e,t)}function Tw(e){return Hj(e)||Wj(e)||Qj(e)||Kj()}function Jj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qj(e,t){if(!!e){if(typeof e=="string")return by(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 by(e,t)}}function gy(e){var t=typeof Map=="function"?new Map:void 0;return gy=function(n){if(n===null||!Uj(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 Ai(n,arguments,ao(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),so(o,n)},gy(e)}function Sw(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ew(e){var t=Sw();return function(){var n=ao(e),o;if(t){var i=ao(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xj(this,o)}}var my=console;function On(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=my).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Tw(o)))}function _o(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=my).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Tw(o)))}function Zj(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Oy=function(e){Rw(r,e);var t=Ew(r);function r(n){$w(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?Zj(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(gy(Error)),eF=function(e){Rw(r,e);var t=Ew(r);function r(n){$w(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(Oy);function Wt(e){throw new Oy(e)}function wy(e){throw new eF(e)}function Iw(e){my.error(new Oy(e))}function ki(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":ki(r==null?void 0:r.children,t);break;case"wrap":ki(r==null?void 0:r.children,t);break;case"search":ki(r==null?void 0:r.children,t);break;case"form":t(r)}})}var tF=Object.prototype.toString;function Bw(e,t){return tF.call(e)==="[object "+t+"]"}function nF(e){return Bw(e,"String")}function rF(e){return Bw(e,"Promise")}var oF=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();rF(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,u,f){if(o!==void 0){var l=o[i];if(!(u===f.length-1&&!nF(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 iF(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 uF(e,t,r){return t&&Nw(e.prototype,t),r&&Nw(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}var p=function(){function e(){iF(this,e)}return uF(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]:ww;return new oF({locale:r,messages:Cj})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();cF(p,"$i18n",p.resetI18n());function Mw(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,f,l){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){On("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return f===l.length-1&&!Object.is(a[u],r)&&(a[u]=r,o=!0),a[u]}},e),o}var fF=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Py={exports:{}};(function(e){(function(t){var r=function(v,O,w){if(!a(O)||_(O)||y(O)||b(O)||l(O))return O;var P,T=0,$=0;if(s(O))for(P=[],$=O.length;T<$;T++)P.push(r(v,O[T],w));else{P={};for(var S in O)Object.prototype.hasOwnProperty.call(O,S)&&(P[v(S,w)]=r(v,O[S],w))}return P},n=function(v,O){O=O||{};var w=O.separator||"_",P=O.split||/(?=[A-Z])/;return v.split(P).join(w)},o=function(v){return g(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(O,w){return w?w.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var O=o(v);return O.substr(0,1).toUpperCase()+O.substr(1)},u=function(v,O){return n(v,O).toLowerCase()},f=Object.prototype.toString,l=function(v){return typeof v=="function"},a=function(v){return v===Object(v)},s=function(v){return f.call(v)=="[object Array]"},_=function(v){return f.call(v)=="[object Date]"},y=function(v){return f.call(v)=="[object RegExp]"},b=function(v){return f.call(v)=="[object Boolean]"},g=function(v){return v=v-0,v===v},h=function(v,O){var w=O&&"process"in O?O.process:O;return typeof w!="function"?v:function(P,T){return w(P,v,T)}},m={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(v,O){return r(h(o,O),v)},decamelizeKeys:function(v,O){return r(h(u,O),v,O)},pascalizeKeys:function(v,O){return r(h(i,O),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=m:t.humps=m})(fF)})(Py);var Aw={};Object.defineProperty(Aw,"__esModule",{value:!0});function $y(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:$y(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:$y(n)}return t}}var lF=Aw.default=$y;function Bt(e){if(e!==void 0)return typeof e=="object"?lF(e):e}function be(e){return Ry(e)&&"zh"in e}function Ry(e){return Object.prototype.toString.call(e)==="[object Object]"}function aF(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function wn(e){return Array.isArray(e)}function kw(e){return typeof e=="string"}function Ty(e){return typeof e=="number"}function sF(e){return typeof e=="function"}function _F(e){return wn(e)&&e.every(function(t){return kw(t)})}function yF(e){return wn(e)&&e.every(function(t){return Ty(t)})}function pF(e){return wn(e)&&e.every(function(t){return Ty(t)||t===""})}function dF(e){return/^\[.*?]$/.test(e)}function vF(e){return/^{.*?}$/.test(e)}function Pn(e){return isNaN(parseFloat(e))?"":Number(e)}function Dw(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function hF(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,r;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u=this;r||(r=setTimeout(function(){e.apply(u,o),clearTimeout(r),r=null},t))}}function bF(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function le(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=le(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=le(n.footers,t)),t(o)})),r}function jw(e){return Py.exports.camelizeKeys(e)}function $n(e){return Py.exports.decamelizeKeys(e)}function gF(e){return Object.values(c.CONTROL_TYPE).includes(e)}function Sy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function mF(e){if(Array.isArray(e))return Sy(e)}function Fw(e,t,r,n,o,i,u){try{var f=e[i](u),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function OF(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){Fw(i,n,o,u,f,"next",l)}function f(l){Fw(i,n,o,u,f,"throw",l)}u(void 0)})}}function wF(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 PF(e,t,r){return t&&Lw(e.prototype,t),r&&Lw(e,r),e}function Cw(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){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function RF(){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 Ey(e){return mF(e)||$F(e)||TF(e)||RF()}function TF(e,t){if(!!e){if(typeof e=="string")return Sy(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 Sy(e,t)}}function SF(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next: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(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var xw=function(){function e(){wF(this,e),Cw(this,"_events",new Map),Cw(this,"debug",!1)}return PF(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var u=this;return OF(function(){var f,l,a,s,_,y,b,g,h,m,v,O;return SF(this,function(w){switch(w.label){case 0:if(f=u._events.get(r),l=[],!f)return[3,10];a=f.slice(),s=!0,_=!1,y=void 0,w.label=1;case 1:w.trys.push([1,8,9,10]),b=a[Symbol.iterator](),w.label=2;case 2:if(s=(g=b.next()).done)return[3,7];if(h=g.value,!f.includes(h))return[3,6];w.label=3;case 3:return w.trys.push([3,5,,6]),u.debug&&_o.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(Ey(o))),[4,h.apply(null,Ey(o))];case 4:return m=w.sent(),u.debug&&_o.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Ey(o),[m])),l.push(m),m===!1?[3,7]:[3,6];case 5:return v=w.sent(),Iw(String(v)+":"+String(v.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return O=w.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 EF(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 IF(e,t,r){return t&&zw(e.prototype,t),r&&zw(e,r),e}function BF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var NF=[{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"}],Vw=function(){function e(){EF(this,e)}return IF(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}();BF(Vw,"events",NF);function Iy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function MF(e){if(Array.isArray(e))return Iy(e)}function AF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kF(){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 Gw(e){return MF(e)||AF(e)||DF(e)||kF()}function DF(e,t){if(!!e){if(typeof e=="string")return Iy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Iy(e,t)}}function Di(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function By(e,t,r){r==="Designer"&&(e.parent=t,Di(e,"parent"))}function Yw(e,t,r){e.forEach(function(n){By(n,t,r)})}var Hw=Symbol("targetKey");function qw(e){var t;return(t=e[Hw])!==null&&t!==void 0?t:e}function Uw(e,t,r){return Yw(e,t,r),new Proxy(e,{get:function(o,i){for(var u=arguments.length,f=new Array(u>2?u-2:0),l=2;l<u;l++)f[l-2]=arguments[l];var a;return i===Hw?o:(a=Reflect).get.apply(a,[o,i].concat(Gw(f)))},set:function(o,i,u){for(var f=arguments.length,l=new Array(f>3?f-3:0),a=3;a<f;a++)l[a-3]=arguments[a];var s;if(wn(e)&&i==="length"&&u===e.length)return!0;var _=(s=Reflect).set.apply(s,[o,i,u].concat(Gw(l)));return Ry(u)&&By(u,t,r),_}})}function it(e,t,r,n,o){var i=n!=null?n:e,u=Uw(qw(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(l){u=Uw(qw(l),i,o)},enumerable:!0})}function jF(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 FF(e,t,r){return t&&Ww(e.prototype,t),r&&Ww(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}var Kw=[],yo=function(){function e(t){jF(this,e),Kt(this,"registeredControlTypes",new Set),Kt(this,"controlConfigMap",new Map),Kt(this,"_controls",[]),Kt(this,"_type",void 0),this._type=t,this._initControls(t)}return FF(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__||Wt("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(On("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(s){return o.createControl(s,n)});if(r.children&&(r.children=r.children.map(function(s){return o.createControl(s,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(s){return o.createControl(s,n)})),i.footers&&(i.footers=i.footers.map(function(s){var _;return s&&(_=o.createControl(s,n)),_}))}var u=this.getControlFormType(r.type);if(u){var f=r;if(typeof n=="function"){var l=n(f);l&&(f=l)}var a;return u.mode==="Runtime"?(a=f,a.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new u(f),a}else Wt("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}}),Di(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var i=r.id,u=n._controlParentIdMap,f=n.instanceMap;if(!(!u||!f)){var l=u[i],a=f[i];if(!(!l&&!a)){var s=a.findIndex(function(b){return b==r}),_=f[l]||[],y;return _.length!==a.length?y=_[0]:y=_[s],y}}}}),Di(r,"parent"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r]),e.staticControlsRuntimeRules.set(o.Runtime.controlType,o.Property.RuntimeRules),o.Property.mode=r})}}],[{key:"staticGetRules",value:function(r,n){var o=e.staticControlsRuntimeRules.get(r),i=[];if(o){var u=new o(n);i=Array.from(u)}return i}},{key:"register",value:function(r,n){var o=r.Designer,i=r.Runtime,u=r.Property;(!o||!i||!o.__is_control__||!i.__is_control__)&&Wt("".concat(r," is can't register as a Control"));var f=this.staticControls.findIndex(function(l){return l.Designer.controlType===o.controlType});return f>-1&&(On("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(f,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(r),u.mode=n,this}}]),e}();Kt(yo,"staticControlsRuntimeRules",new Map),Kt(yo,"staticControls",Kw),Kt(yo,"staticRegisteredTypes",new Set(Kw.map(function(e){return e.Designer.controlType}))),Kt(yo,"staticRegisteredConfigs",new Map);function F(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 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 ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function Xe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ny(e,t)}function LF(e,t){return t&&(CF(t)==="object"||typeof t=="function")?t:F(e)}function Ny(e,t){return Ny=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ny(e,t)}function CF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Je(e){var t=xF();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 LF(this,o)}}var Qe=function e(t){R(this,e),d(this,"dataCode",void 0),d(this,"fieldCode",void 0),d(this,"fieldType",void 0),d(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},My=function e(t){R(this,e),d(this,"minWidth",void 0),d(this,"maxWidth",void 0),d(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},Fi=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),d(F(o),"width",void 0),d(F(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var u;return o.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",o}return r}(My),Ay=function e(t){R(this,e),d(this,"pc",void 0),d(this,"mobile",void 0),this.pc=new Fi(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Fi(t==null?void 0:t.mobile):new Fi({width:130,minWidth:180})},Xw=function e(t){R(this,e),d(this,"type",void 0),d(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},Rn=function e(t){R(this,e),d(this,"dataCode",void 0),d(this,"formKey",void 0),d(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:""},Jw=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),d(F(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(Rn),Qw=function e(t){R(this,e),d(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},Li=function e(t){R(this,e);var r;d(this,"appId",void 0),d(this,"formKey",void 0),d(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new Qw(u)}))!==null&&i!==void 0?i:[]},Zw=function e(t){R(this,e),d(this,"fieldName",void 0),d(this,"fieldCode",void 0),d(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:c.FieldTypes.VARCHAR},eP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),d(F(o),"title",void 0),d(F(o),"svcCode",void 0),d(F(o),"isOpenFilter",void 0),d(F(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var 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}(Rn),tP=function e(t){R(this,e);var r,n;d(this,"type","sublist-page"),d(this,"formBind",void 0),d(this,"displayFields",void 0),d(this,"sublists",void 0),this.formBind=new Rn(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new Zw(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new eP(u)}))!==null&&i!==void 0?i:[]},nP=function e(t){R(this,e),d(this,"type",void 0),d(this,"value",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},cr=function e(t){R(this,e),d(this,"type",void 0),d(this,"value",void 0),d(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:[]},Ci=function e(t){var r=this;R(this,e),d(this,"id",void 0),d(this,"ruleId",void 0),d(this,"type","conditions"),d(this,"level",void 0),d(this,"value",void 0),d(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Ke();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(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 po(f);(s=r.children)===null||s===void 0||s.push(_)}}))},po=function e(t){R(this,e),d(this,"id",void 0),d(this,"ruleId",void 0),d(this,"type","condition"),d(this,"symbol",void 0),d(this,"checked",void 0),d(this,"describe",void 0),d(this,"leftVariableBo",void 0),d(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Ke();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new nP(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new cr(t==null?void 0:t.rightVariableBo)},rP=function e(t){R(this,e),d(this,"aliasCode",void 0),d(this,"datasourceBind",void 0),d(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),d(this,"controlId",void 0),d(this,"fieldCode",void 0),d(this,"fieldType",void 0),d(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:""},xi=function e(t){R(this,e),d(this,"type",void 0),d(this,"value",void 0),d(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},ky=function e(t){R(this,e),d(this,"columnName",void 0),d(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},oP=function e(t){R(this,e),d(this,"code",void 0),d(this,"value",void 0),d(this,"field_type",void 0);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY},zF=function e(t){R(this,e);var r,n;d(this,"id",void 0),d(this,"limit",void 0),d(this,"orders",void 0),d(this,"formKey",void 0),d(this,"dataSet",void 0);var o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var u;this.formKey=(u=t.formKey)!==null&&u!==void 0?u:"";var f;this.orders=(f=(r=t.orders)===null||r===void 0?void 0:r.map(function(a){return new ky(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 oP(a)}))!==null&&l!==void 0?l:[]};function Dy(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 Ci(f):new po(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 Ci(f):new po(f)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(f){return new ky(f)}))!==null&&u!==void 0?u:[]}var re=function e(t){var r=this;R(this,e),d(this,"dataCode",void 0),d(this,"valueFieldCode",void 0),d(this,"displayBoList",void 0),d(this,"keywordMapping",void 0),d(this,"svcCode",void 0),d(this,"appId",void 0),d(this,"filters",void 0),d(this,"viewFilters",void 0),d(this,"isOpenViewFilters",void 0),d(this,"orders",void 0),d(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(s){var _;(_=r.displayBoList)===null||_===void 0||_.push(new xi(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:"",Dy.call(this,t)},zi=function e(t){R(this,e),d(this,"dataCode",void 0),d(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:[]},vt=function e(t){R(this,e),d(this,"code",void 0),d(this,"color",void 0),d(this,"command",void 0),d(this,"confirmMessage",void 0),d(this,"defaultState",void 0),d(this,"formKey",void 0),d(this,"formType",void 0),d(this,"icon",void 0),d(this,"needConfirm",void 0),d(this,"openType",void 0),d(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var 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},jy=function e(t){R(this,e);var r;d(this,"name",void 0),d(this,"key",void 0),d(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new xi(u)}))!==null&&i!==void 0?i:[]},vo=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o,i;o=t.call(this,n),d(F(o),"attributes",void 0);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(f){return new jy(f)}))!==null&&u!==void 0?u:[],o}return r}(re),iP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o,i;o=t.call(this,n),d(F(o),"attributes",void 0),d(F(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(l){return new jy(l)}))!==null&&u!==void 0?u:[];var f;return o.formCode=(f=n==null?void 0:n.formCode)!==null&&f!==void 0?f:"",o}return r}(re),Fy=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),d(F(o),"rootNode",void 0),d(F(o),"filterCode",void 0),o.rootNode=new cr(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(vo),uP=function e(t){R(this,e);var r;d(this,"dataCode",void 0),d(this,"appId",void 0),d(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Re(u)}))!==null&&i!==void 0?i:[]},Ly=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;return o=t.call(this,n),d(F(o),"filters",void 0),d(F(o),"viewFilters",void 0),d(F(o),"orders",void 0),Dy.call(F(o),n),o}return r}(uP),Cy=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),d(F(o),"mode",void 0),d(F(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(uP),VF=function e(t){R(this,e),d(this,"zh",void 0),d(this,"en",void 0),d(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:""},xy=function e(t){R(this,e),d(this,"stencilName",void 0),d(this,"expression",void 0),d(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:""},zy=function e(t){R(this,e),d(this,"id",void 0),d(this,"label",void 0),d(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Ke(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},cP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;o=t.call(this,n),d(F(o),"image",void 0),d(F(o),"type",void 0);var i;o.image=(i=n==null?void 0:n.image)!==null&&i!==void 0?i:"";var u;return o.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:"src",o}return r}(zy);function ht(e){var t;return(t=e==null?void 0:e.map(function(r){return new zy(r)}))!==null&&t!==void 0?t:[]}function GF(e){var t;return(t=e==null?void 0:e.map(function(r){return new cP(r)}))!==null&&t!==void 0?t:[]}var Vi=function e(){R(this,e)},fP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;return o=t.call(this),d(F(o),"amount",void 0),d(F(o),"currency",void 0),o.amount=new Qe(n==null?void 0:n.amount),o.currency=new Qe(n==null?void 0:n.currency),o}return r}(Vi),lP=function e(t){R(this,e),d(this,"amount",void 0),d(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:"CNY"},aP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;return o=t.call(this),d(F(o),"min",void 0),d(F(o),"max",void 0),o.min=new Qe(n==null?void 0:n.min),o.max=new Qe(n==null?void 0:n.max),o}return r}(Vi),sP=function e(t){R(this,e),d(this,"min",void 0),d(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:""},_P=function e(t){R(this,e),d(this,"city",void 0),d(this,"cityDisplay",void 0),d(this,"district",void 0),d(this,"districtDisplay",void 0),d(this,"province",void 0),d(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var f;this.provinceDisplay=(f=t==null?void 0:t.provinceDisplay)!==null&&f!==void 0?f:""},yP=function(e){Xe(r,e);var t=Je(r);function r(n){R(this,r);var o;return o=t.call(this),d(F(o),"result",void 0),d(F(o),"unit",void 0),o.result=new Qe(n==null?void 0:n.result),o.unit=new Qe(n==null?void 0:n.unit),o}return r}(Vi),pP=function e(t){R(this,e),d(this,"result",void 0),d(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""};c.AMOUNT_TYPE=void 0,function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"}(c.AMOUNT_TYPE||(c.AMOUNT_TYPE={})),c.COMMON_SETTING_TYPE=void 0,function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste"}(c.COMMON_SETTING_TYPE||(c.COMMON_SETTING_TYPE={})),c.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(c.PAGE_STATUS||(c.PAGE_STATUS={}));var Nt=function e(t){R(this,e),d(this,"isShow",void 0),d(this,"priorityProcess",void 0),d(this,"formKey",void 0),d(this,"content",void 0),d(this,"openType",void 0),d(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var f;this.priorityProcess=(f=t==null?void 0:t.priorityProcess)!==null&&f!==void 0?f:!1},dP=function e(t){R(this,e);var r;d(this,"id",void 0),d(this,"title",void 0),d(this,"filters",void 0),d(this,"viewFilters",void 0),d(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Ke(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new Qw(u)}))!==null&&i!==void 0?i:[],Dy.call(this,t)},YF=function e(t){R(this,e),d(this,"key",void 0),d(this,"caption",void 0);var r;this.key=(r=t.key)!==null&&r!==void 0?r:Ke(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},vP=function e(t){R(this,e),d(this,"width",void 0),d(this,"height",void 0),d(this,"widthConfig",void 0),d(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"},hP=function e(t){R(this,e),d(this,"optCode",void 0),d(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:""},bP=function e(t){R(this,e);var r;d(this,"id",void 0),d(this,"name",void 0),d(this,"color",void 0),d(this,"filters",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Ke();var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var i;this.color=(i=t==null?void 0:t.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=t==null||(r=t.filters)===null||r===void 0?void 0:r.map(function(f){return f.children!==void 0?new Ci(f):new po(f)}))!==null&&u!==void 0?u:[]};function HF(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 Gi(e,t,r){return gP()?Gi=Reflect.construct:Gi=function(o,i,u){var f=[null];f.push.apply(f,i);var l=Function.bind.apply(o,f),a=new l;return u&&bo(a,u.prototype),a},Gi.apply(null,arguments)}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 ho(e){return ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ho(e)}function qF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bo(e,t)}function UF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function WF(e,t){return t&&(KF(t)==="object"||typeof t=="function")?t:HF(e)}function bo(e,t){return bo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bo(e,t)}function KF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gy(e){var t=typeof Map=="function"?new Map:void 0;return Gy=function(n){if(n===null||!UF(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 Gi(n,arguments,ho(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),bo(o,n)},Gy(e)}function gP(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XF(e){var t=gP();return function(){var n=ho(e),o;if(t){var i=ho(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WF(this,o)}}var ne=function e(t){Vy(this,e),Xt(this,"isHide",{type:"boolean"})},Jt=function(e){qF(r,e);var t=XF(r);function r(n){return Vy(this,r),t.call(this)}return r}(Gy(Array)),X=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Vy(this,e),Xt(this,"isHide",void 0),Xt(this,"className",void 0),Xt(this,"style",void 0),Xt(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new vP(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};Xt(X,"mode",void 0),Xt(X,"Rules",ne),Xt(X,"RuntimeRules",Jt);function bt(){return bt=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},bt.apply(this,arguments)}function JF(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Yy(e){return Yy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yy(e)}function Yi(e,t){return Yi=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yi(e,t)}function QF(){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 Hi(e,t,r){return QF()?Hi=Reflect.construct:Hi=function(o,i,u){var f=[null];f.push.apply(f,i);var l=Function.bind.apply(o,f),a=new l;return u&&Yi(a,u.prototype),a},Hi.apply(null,arguments)}function ZF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Hy(e){var t=typeof Map=="function"?new Map:void 0;return Hy=function(n){if(n===null||!ZF(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 Hi(n,arguments,Yy(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Yi(o,n)},Hy(e)}var eL=/%[sdj%]/g,mP=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(mP=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function qy(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 u=String(o).replace(eL,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 u}return o}function tL(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||tL(t)&&typeof e=="string"&&!e)}function nL(e,t,r){var n=[],o=0,i=e.length;function u(f){n.push.apply(n,f),o++,o===i&&r(n)}e.forEach(function(f){t(f,u)})}function OP(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var f=n;n=n+1,f<o?t(e[f],i):r([])}i([])}function rL(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var wP=function(e){JF(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}(Hy(Error));function oL(e,t,r,n){if(t.first){var o=new Promise(function(_,y){var b=function(m){return n(m),m.length?y(new wP(m,qy(m))):_()},g=rL(e);OP(g,r,b)});return o.catch(function(_){return _}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),f=u.length,l=0,a=[],s=new Promise(function(_,y){var b=function(h){if(a.push.apply(a,h),l++,l===f)return n(a),a.length?y(new wP(a,qy(a))):_()};u.length||(n(a),_()),u.forEach(function(g){var h=e[g];i.indexOf(g)!==-1?OP(h,r,b):nL(h,r,b)})});return s.catch(function(_){return _}),s}function PP(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 $P(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]=bt(bt({},e[r]),n):e[r]=n}}return e}function RP(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 iL(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(xe(o.messages.whitespace,e.fullField))}var Uy={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},go={integer:function(t){return go.number(t)&&parseInt(t,10)===t},float:function(t){return go.number(t)&&!go.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!go.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Uy.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Uy.url)},hex:function(t){return typeof t=="string"&&!!t.match(Uy.hex)}};function uL(e,t,r,n,o){if(e.required&&t===void 0){RP(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?go[u](t)||n.push(xe(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(xe(o.messages.types[u],e.fullField,e.type))}function cL(e,t,r,n,o){var i=typeof e.len=="number",u=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)):u&&!f&&a<e.min?n.push(xe(o.messages[s].min,e.fullField,e.min)):f&&!u&&a>e.max?n.push(xe(o.messages[s].max,e.fullField,e.max)):u&&f&&(a<e.min||a>e.max)&&n.push(xe(o.messages[s].range,e.fullField,e.min,e.max))}var fr="enum";function fL(e,t,r,n,o){e[fr]=Array.isArray(e[fr])?e[fr]:[],e[fr].indexOf(t)===-1&&n.push(xe(o.messages[fr],e.fullField,e[fr].join(", ")))}function lL(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:RP,whitespace:iL,type:uL,range:cL,enum:fL,pattern:lL};function aL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t,"string")&&!e.required)return r();N.required(e,t,n,i,o,"string"),oe(t,"string")||(N.type(e,t,n,i,o),N.range(e,t,n,i,o),N.pattern(e,t,n,i,o),e.whitespace===!0&&N.whitespace(e,t,n,i,o))}r(i)}function sL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N.type(e,t,n,i,o)}r(i)}function _L(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&(N.type(e,t,n,i,o),N.range(e,t,n,i,o))}r(i)}function yL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N.type(e,t,n,i,o)}r(i)}function pL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),oe(t)||N.type(e,t,n,i,o)}r(i)}function dL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&(N.type(e,t,n,i,o),N.range(e,t,n,i,o))}r(i)}function vL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&(N.type(e,t,n,i,o),N.range(e,t,n,i,o))}r(i)}function hL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();N.required(e,t,n,i,o,"array"),t!=null&&(N.type(e,t,n,i,o),N.range(e,t,n,i,o))}r(i)}function bL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N.type(e,t,n,i,o)}r(i)}var gL="enum";function mL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N[gL](e,t,n,i,o)}r(i)}function OL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t,"string")&&!e.required)return r();N.required(e,t,n,i,o),oe(t,"string")||N.pattern(e,t,n,i,o)}r(i)}function wL(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t,"date")&&!e.required)return r();if(N.required(e,t,n,i,o),!oe(t,"date")){var 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 PL(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;N.required(e,t,n,i,o,u),r(i)}function Wy(e,t,r,n,o){var i=e.type,u=[],f=e.required||!e.required&&n.hasOwnProperty(e.field);if(f){if(oe(t,i)&&!e.required)return r();N.required(e,t,n,u,o,i),oe(t,i)||N.type(e,t,n,u,o)}r(u)}function $L(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(oe(t)&&!e.required)return r();N.required(e,t,n,i,o)}r(i)}var mo={string:aL,method:sL,number:_L,boolean:yL,regexp:pL,integer:dL,float:vL,array:hL,object:bL,enum:mL,pattern:OL,date:wL,url:Wy,hex:Wy,email:Wy,required:PL,any:$L};function Ky(){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 Xy=Ky();function Qt(e){this.rules=null,this._messages=Xy,this.define(e)}Qt.prototype={messages:function(t){return t&&(this._messages=$P(Ky(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,f=n;if(typeof u=="function"&&(f=u,u={}),!this.rules||Object.keys(this.rules).length===0)return f&&f(),Promise.resolve();function l(h){var m,v=[],O={};function w(P){if(Array.isArray(P)){var T;v=(T=v).concat.apply(T,P)}else v.push(P)}for(m=0;m<h.length;m++)w(h[m]);v.length?O=qy(v):(v=null,O=null),f(v,O)}if(u.messages){var a=this.messages();a===Xy&&(a=Ky()),$P(a,u.messages),u.messages=a}else u.messages=this.messages();var s,_,y={},b=u.keys||Object.keys(this.rules);b.forEach(function(h){s=o.rules[h],_=i[h],s.forEach(function(m){var v=m;typeof v.transform=="function"&&(i===t&&(i=bt({},i)),_=i[h]=v.transform(_)),typeof v=="function"?v={validator:v}:v=bt({},v),v.validator=o.getValidationMethod(v),v.field=h,v.fullField=v.fullField||h,v.type=o.getType(v),v.validator&&(y[h]=y[h]||[],y[h].push({rule:v,value:_,source:i,field:h}))})});var g={};return oL(y,u,function(h,m){var v=h.rule,O=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");O=O&&(v.required||!v.required&&h.value),v.field=h.field;function w($,S){return bt(bt({},S),{},{fullField:v.fullField+"."+$})}function P($){$===void 0&&($=[]);var S=$;if(Array.isArray(S)||(S=[S]),!u.suppressWarning&&S.length&&Qt.warning("async-validator:",S),S.length&&v.message!==void 0&&(S=[].concat(v.message)),S=S.map(PP(v)),u.first&&S.length)return g[v.field]=1,m(S);if(!O)m(S);else{if(v.required&&!h.value)return v.message!==void 0?S=[].concat(v.message).map(PP(v)):u.error&&(S=[u.error(v,xe(u.messages.required,v.field))]),m(S);var D={};if(v.defaultField)for(var Le in h.value)h.value.hasOwnProperty(Le)&&(D[Le]=v.defaultField);D=bt(bt({},D),h.rule.fields);for(var ve in D)if(D.hasOwnProperty(ve)){var he=Array.isArray(D[ve])?D[ve]:[D[ve]];D[ve]=he.map(w.bind(null,ve))}var co=new Qt(D);co.messages(u.messages),h.rule.options&&(h.rule.options.messages=u.messages,h.rule.options.error=u.error),co.validate(h.value,h.rule.options||u,function(ir){var Et=[];S&&S.length&&Et.push.apply(Et,S),ir&&ir.length&&Et.push.apply(Et,ir),m(Et.length?Et:null)})}}var T;v.asyncValidator?T=v.asyncValidator(v,h.value,P,h.source,u):v.validator&&(T=v.validator(v,h.value,P,h.source,u),T===!0?P():T===!1?P(v.message||v.field+" fails"):T instanceof Array?P(T):T instanceof Error&&P(T.message)),T&&T.then&&T.then(function(){return P()},function($){return P($)})},function(h){l(h)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!mo.hasOwnProperty(t.type))throw new Error(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"?mo.required:mo[this.getType(t)]||!1}},Qt.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");mo[t]=r},Qt.warning=mP,Qt.messages=Xy,Qt.validators=mo;var RL={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 TP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Qt(e);return r.messages(Object.assign(RL,t)),r}var SP=new xw;function Jy(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 TL(e){if(Array.isArray(e))return e}function SL(e){if(Array.isArray(e))return Jy(e)}function EP(e,t,r,n,o,i,u){try{var f=e[i](u),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function IP(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){EP(i,n,o,u,f,"next",l)}function f(l){EP(i,n,o,u,f,"throw",l)}u(void 0)})}}function EL(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 IL(e,t,r){return t&&BP(e.prototype,t),r&&BP(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 NP(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function MP(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function BL(){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 NL(){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 AP(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 ML(e){return TL(e)||MP(e)||kP(e)||BL()}function Qy(e){return SL(e)||MP(e)||kP(e)||NL()}function kP(e,t){if(!!e){if(typeof e=="string")return Jy(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 Jy(e,t)}}function DP(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next: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(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var L=function(){function t(r){var n=this;EL(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",FP),C(this,"removeSetting",jP),this._callControlHooks("preInstance",r);var o=NP(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,f=o.controlType,l=o.controlFieldType,a=o.controlEventKeys,s=o.controlCustomEvents,_=o.name,y=o.setting;i&&u&&f||wy("The ".concat(_," controlName,controlIcon,controlType is not define"));var b;this.id=(b=r==null?void 0:r.id)!==null&&b!==void 0?b:Ke(10),this.name=i,this.icon=u;var g;this.type=(g=r==null?void 0:r.type)!==null&&g!==void 0?g:f,this.props=new X(r==null?void 0:r.props,(NP(this,t)?this.constructor:void 0).controlName);var h;this.controlType=(h=r==null?void 0:r.controlType)!==null&&h!==void 0?h:"base",this.setting=Bt(y);var m;this.fieldType=(m=r==null?void 0:r.fieldType)!==null&&m!==void 0?m:l,this.eventKeys=Bt(a),this.customEvents=Bt(s),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return IL(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u,f=ML(o),l=f[0],a=f.slice(1);return(u=SP).emit.apply(u,[l,this].concat(Qy(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),Mw(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return IP(function(){var o,i,u;return DP(this,function(f){switch(f.label){case 0:return o=AP({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=f.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return IP(function(){var u,f,l,a;return DP(this,function(s){switch(s.label){case 0:return[4,i.preValidate()];case 1:u=s.sent(),f=u!==void 0?u:AP({},i.rules),Array.isArray(o)&&o.forEach(function(_){f.hasOwnProperty(_)&&delete f[_]}),l=TP(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,u=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,h=f.encrypted,m=f.encryptedMode;if(!(!o&&!l&&!a)){var v={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(l&&(v.dataBind=l),s){case"datasource":case void 0:a&&(v.datasourceBind=a);break;case"custom":v.props.options=g;break}return y!==void 0&&(v.required=y),b!==void 0&&(v.maxLength=b),h!==void 0&&(v.encrypted=h),m!==void 0&&(v.encryptedMode=m),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Bt(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,Qy(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();C(L,"mode","Designer"),C(L,"controlName","\u63A7\u4EF6"),C(L,"controlIcon","icon"),C(L,"controlType","control"),C(L,"controlFieldType",void 0),C(L,"controlEventKeys",[]),C(L,"controlCustomEvents",[]),C(L,"setting",[]),C(L,"__is_control__",!0),C(L,"removeSettingItem",jP),C(L,"updateSettingItem",FP);function jP(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(a){return a.key===(i?n.key:n)});if(u!==-1){var f,l;i?t.setting[u].showItems=(f=t.setting[u].showItems)===null||f===void 0?void 0:f.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(u,1),i&&!(!((l=t.setting[u].showItems)===null||l===void 0)&&l.length)&&t.setting.splice(u,1)}})}function FP(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(a){return a.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,f=(u=t.type)!==null&&u!==void 0?u:"replace";if(f==="replace")i.showItems=t.showItems;else{var l;(l=i.showItems).push.apply(l,Qy(t.showItems))}}}})}function AL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kL(e,t,r){return t&&LP(e.prototype,t),r&&LP(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 DL(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var J=function(){function t(r){AL(this,t),ze(this,"id",void 0),ze(this,"type",void 0),ze(this,"controlType",void 0),ze(this,"props",void 0),ze(this,"fieldType",void 0),ze(this,"customEvents",[]),ze(this,"pageStatus",void 0),ze(this,"parent",null);var n=DL(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,f=n.controlCustomEvents;o||wy("The ".concat(u," controlType is not define"));var l;this.id=(l=r==null?void 0:r.id)!==null&&l!==void 0?l:Ke(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:o,this.props=new X(r==null?void 0:r.props),this.customEvents=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:c.PAGE_STATUS.UNKNOWN}return kL(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}();ze(J,"mode","Runtime"),ze(J,"controlType","control"),ze(J,"controlFieldType",void 0),ze(J,"__is_control__",!0),ze(J,"controlCustomEvents",[]);function qi(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 i=n.map(function(f){return f.value}),u=Dw(i);i.length!==u.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 Oo(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,i,u){i.length===0&&u(p.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},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 CP(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function Y(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ui(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 Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function Ki(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 jL(e,t){return t&&(FL(t)==="object"||typeof t=="function")?t:Y(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zy(e,t)}function FL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xi(e){var t=LL();return function(){var n=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jL(this,o)}}var ae=function(e){Ki(r,e);var t=Xi(r);function r(n){Ui(this,r);var o;o=t.call(this,n),H(Y(o),"dataBind",{}),H(Y(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),H(Y(o),"isHideCaption",{type:"boolean"}),H(Y(o),"labelPosition",{type:"enum",enum:["top","left"]}),H(Y(o),"defaultState",{type:"enum",enum:["default","readonly"]}),H(Y(o),"required",{type:"boolean"}),H(Y(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:p.getMessage("pleaseEnterFieldCode")}};if(CP(n.dataBind))o.dataBind={type:"object",required:!0,fields:Bt(i),message:p.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:p.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(f){u.fields[f]={type:"object",required:!0,fields:Bt(i),message:p.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ne),x=function(e){Ki(r,e);var t=Xi(r);function r(n){Ui(this,r);var o;o=t.call(this,n);var i=n.isHide?!1:n.required;return i&&o.push({type:"string",required:i,message:n.requiredMessage!==""?n.requiredMessage:p.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(Jt),M=function(e){Ki(r,e);var t=Xi(r);function r(n){Ui(this,r);var o;o=t.call(this,n),H(Y(o),"caption",void 0),H(Y(o),"isHideCaption",void 0),H(Y(o),"isShowCaptionTip",void 0),H(Y(o),"captionTip",void 0),H(Y(o),"labelPosition",void 0),H(Y(o),"dataBind",void 0),H(Y(o),"defaultValue",void 0),H(Y(o),"placeholder",void 0),H(Y(o),"defaultState",void 0),H(Y(o),"required",void 0),H(Y(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var 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 Qe(n==null?void 0:n.dataBind);var g;return o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:"",o}return r}(X);H(M,"Rules",ae),H(M,"RuntimeRules",x);var Tn=function(e){Ki(r,e);var t=Xi(r);function r(n){Ui(this,r);var o;return o=t.call(this,n),H(Y(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),H(Y(o),"options",[{type:"array",message:p.getMessage("isNotArray")}]),H(Y(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),qi.call(Y(o),n),o}return r}(ae);function ep(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Qi(e){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qi(e)}function xL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tp(e,t)}function zL(e,t){return t&&(VL(t)==="object"||typeof t=="function")?t:ep(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}function VL(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 YL(e){var t=GL();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 zL(this,o)}}var A=function(e){xL(r,e);var t=YL(r);function r(n){CL(this,r);var o;return o=t.call(this,n),Ji(ep(o),"controlType","form"),Ji(ep(o),"props",void 0),o.props=new M(n==null?void 0:n.props),o}return r}(L);Ji(A,"controlEventKeys",["on_change","on_focus","on_blur"]),Ji(A,"controlCustomAttributes",void 0);function Zi(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 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 eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function qL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function UL(e,t){return t&&(WL(t)==="object"||typeof t=="function")?t:Zi(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}function WL(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KL(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=KL();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 UL(this,o)}}var k=function(e){qL(r,e);var t=XL(r);function r(n){HL(this,r);var o;return o=t.call(this,n),np(Zi(o),"controlType","form"),np(Zi(o),"props",void 0),np(Zi(o),"value",void 0),o.props=new M(n==null?void 0:n.props),o}return r}(J);function JL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function ZL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 e4(e,t){return t&&(t4(t)==="object"||typeof t=="function")?t:JL(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}function t4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=n4();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 e4(this,o)}}var z=function(e){ZL(r,e);var t=r4(r);function r(n){return QL(this,r),t.call(this,n)}return r}(X);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 o4(e){if(Array.isArray(e))return ip(e)}function Sn(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,u){try{var f=e[i](u),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function i4(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){xP(i,n,o,u,f,"next",l)}function f(l){xP(i,n,o,u,f,"throw",l)}u(void 0)})}}function u4(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 c4(e,t,r){return t&&zP(e.prototype,t),r&&zP(e,r),e}function Zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?lr=Reflect.get:lr=function(o,i,u){var f=v4(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},lr(e,t,r||e)}function en(e){return en=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},en(e)}function f4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 l4(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function a4(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function s4(){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 _4(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){Zt(e,o,r[o])})}return e}function y4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function p4(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):y4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function d4(e,t){return t&&(h4(t)==="object"||typeof t=="function")?t:Sn(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}function v4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=en(e),e!==null););return e}function VP(e){return o4(e)||a4(e)||b4(e)||s4()}function h4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b4(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 g4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m4(e){var t=g4();return function(){var n=en(e),o;if(t){var i=en(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d4(this,o)}}function O4(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next: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(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var w4=1e4,q=function(t){f4(n,t);var r=m4(n);function n(o){u4(this,n);var i;i=r.call(this,o),Zt(Sn(i),"controlType","layout"),Zt(Sn(i),"children",void 0),Zt(Sn(i),"excludes",void 0),Zt(Sn(i),"childrenMaxLength",void 0),Zt(Sn(i),"props",void 0);var u=l4(this,n)?this.constructor:void 0,f=u.excludes,l=u.childrenMaxLength;return i.props=new z(o==null?void 0:o.props),it(Sn(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Bt(f),i.childrenMaxLength=l,i}return c4(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var f=this,l=this,a=function(){return lr(en(n.prototype),"validate",f)};return i4(function(){return O4(this,function(s){switch(s.label){case 0:return[4,a().call(l,i,u)];case 1:return s.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=lr(en(n.prototype),"toDataBindModel",this).call(this),f=u?[u]:[];return this.children.reduce(function(l,a){var s=a.toDataBindModel(i);if(Array.isArray(s)){var _=s.filter(function(y){return!!y});return VP(l).concat(VP(_))}return s&&l.push(s),l},f)}},{key:"toSchema",value:function(){var i=lr(en(n.prototype),"toSchema",this).call(this),u=this.children.map(function(f){var l=f.toSchema();return l});return p4(_4({},i),{children:u})}}]),n}(L);Zt(q,"excludes",!1),Zt(q,"childrenMaxLength",w4);function wo(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 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 $4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fp(e,t)}function R4(e,t){return t&&(T4(t)==="object"||typeof t=="function")?t:wo(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}function T4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E4(e){var t=S4();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 R4(this,o)}}var Q=function(e){$4(r,e);var t=E4(r);function r(n){P4(this,r);var o;return o=t.call(this,n),cp(wo(o),"controlType","layout"),cp(wo(o),"children",void 0),cp(wo(o),"props",void 0),o.props=new z(n==null?void 0:n.props),it(wo(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(J);function Mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function B4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lp(e,t)}function N4(e,t){return t&&(M4(t)==="object"||typeof t=="function")?t:Mt(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}function M4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k4(e){var t=A4();return function(){var n=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N4(this,o)}}var Po=function(e){B4(r,e);var t=k4(r);function r(n,o,i){I4(this,r);var u;u=t.call(this,o),ar(Mt(u),"headers",void 0),ar(Mt(u),"footers",void 0),ar(Mt(u),"pageIndex",void 0),ar(Mt(u),"pageSize",void 0),ar(Mt(u),"pageSizeOptions",void 0),ar(Mt(u),"totalCount",void 0),it(Mt(u),"headers",o==null?void 0:o.headers,n,i),it(Mt(u),"footers",o==null?void 0:o.footers,n);var f;u.pageIndex=(f=o==null?void 0:o.pageIndex)!==null&&f!==void 0?f:1;var l;u.pageSize=(l=o==null?void 0:o.pageSize)!==null&&l!==void 0?l:20;var a;u.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var s;return u.totalCount=(s=o==null?void 0:o.totalCount)!==null&&s!==void 0?s:0,u}return r}(X);function ap(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 D4(e){if(Array.isArray(e))return ap(e)}function ou(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GP(e,t,r,n,o,i,u){try{var f=e[i](u),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function j4(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){GP(i,n,o,u,f,"next",l)}function f(l){GP(i,n,o,u,f,"throw",l)}u(void 0)})}}function F4(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 L4(e,t,r){return t&&YP(e.prototype,t),r&&YP(e,r),e}function iu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?sr=Reflect.get:sr=function(o,i,u){var f=Y4(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},sr(e,t,r||e)}function tn(e){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tn(e)}function C4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sp(e,t)}function x4(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function z4(){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 HP(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){iu(e,o,r[o])})}return e}function V4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function qP(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):V4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function G4(e,t){return t&&(H4(t)==="object"||typeof t=="function")?t:ou(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}function Y4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=tn(e),e!==null););return e}function UP(e){return D4(e)||x4(e)||q4(e)||z4()}function H4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q4(e,t){if(!!e){if(typeof e=="string")return ap(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 ap(e,t)}}function U4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W4(e){var t=U4();return function(){var n=tn(e),o;if(t){var i=tn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G4(this,o)}}function K4(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next: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(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var uu=function(e){C4(r,e);var t=W4(r);function r(n){F4(this,r);var o;return o=t.call(this,n),iu(ou(o),"controlType","list"),iu(ou(o),"props",void 0),o.props=new Po(ou(o),n==null?void 0:n.props,"Designer"),o}return L4(r,[{key:"validate",value:function(o,i){var u=this,f=this,l=function(){return sr(tn(r.prototype),"validate",u)};return j4(function(){return K4(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=sr(tn(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(f,l){var a=l.toDataBindModel(u);if(Array.isArray(a)){var s=a.filter(function(_){return!!_});return UP(f).concat(UP(s))}return a&&f.push(a),f},i)}},{key:"toSchema",value:function(){var o,i,u=sr(tn(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 qP(HP({},u),{props:qP(HP({},this.props),{headers:f,footers:l})})}}]),r}(L);iu(uu,"controlFieldType",c.FieldTypes.LIST);function _r(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X4(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 J4(e,t,r){return t&&WP(e.prototype,t),r&&WP(e,r),e}function _p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cu(e){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cu(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&&yp(e,t)}function Z4(e,t){return t&&(eC(t)==="object"||typeof t=="function")?t:_r(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(e,t)}function 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=cu(e),o;if(t){var i=cu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z4(this,o)}}var pp=function(e){Q4(r,e);var t=nC(r);function r(n){X4(this,r);var o;return o=t.call(this,n),_p(_r(o),"controlType","list"),_p(_r(o),"children",void 0),_p(_r(o),"props",void 0),o.props=new Po(_r(o),n==null?void 0:n.props,"Runtime"),it(_r(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return J4(r,[{key:"length",get:function(){return this.children.length}}]),r}(J);function se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function vp(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function rC(e,t){return t&&(oC(t)==="object"||typeof t=="function")?t:se(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}function oC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bp(e){var t=iC();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 rC(this,o)}}var ut=function(e){vp(r,e);var t=bp(r);function r(n){dp(this,r);var o;return o=t.call(this,n),ge(se(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),ge(se(o),"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(ne),Z=function(e){vp(r,e);var t=bp(r);function r(n){dp(this,r);var o;o=t.call(this,n),ge(se(o),"widthType",void 0),ge(se(o),"width",void 0),ge(se(o),"caption",void 0),ge(se(o),"dataBind",void 0),ge(se(o),"autoWidth",void 0),ge(se(o),"fixed",void 0),ge(se(o),"sort",void 0),ge(se(o),"align",void 0),ge(se(o),"colSpan",void 0),ge(se(o),"autoHeight",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var f;o.fixed=(f=n==null?void 0:n.fixed)!==null&&f!==void 0?f:"none",o.autoWidth=new My(n==null?void 0:n.autoWidth),o.dataBind=new Qe(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}(X);ge(Z,"Rules",ut);var gp=function(e){vp(r,e);var t=bp(r);function r(n){dp(this,r);var o;return o=t.call(this,n),ge(se(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:p.getMessage("PleaseSelectTheCorrectOptionSettings")}),ge(se(o),"options",[{type:"array",message:p.getMessage("isNotArray")}]),ge(se(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),qi.call(se(o),n),o}return r}(ut);function mp(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 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 lu(e){return lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lu(e)}function cC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Op(e,t)}function fC(e,t){return t&&(lC(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 lC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sC(e){var t=aC();return function(){var n=lu(e),o;if(t){var i=lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fC(this,o)}}var ie=function(e){cC(r,e);var t=sC(r);function r(n){uC(this,r);var o;return o=t.call(this,n),KP(mp(o),"controlType","column"),KP(mp(o),"props",void 0),o.props=new Z(n==null?void 0:n.props),o}return r}(L);function wp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(e)}function yC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pp(e,t)}function pC(e,t){return t&&(dC(t)==="object"||typeof t=="function")?t:wp(e)}function Pp(e,t){return Pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pp(e,t)}function dC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hC(e){var t=vC();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pC(this,o)}}var ue=function(e){yC(r,e);var t=hC(r);function r(n){_C(this,r);var o;return o=t.call(this,n),XP(wp(o),"controlType","column"),XP(wp(o),"props",void 0),o.props=new Z(n==null?void 0:n.props),o}return r}(J);function JP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gC(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 mC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$p(e,t)}function OC(e,t){return t&&(wC(t)==="object"||typeof t=="function")?t:JP(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(e,t)}function wC(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 $C(e){var t=PC();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 OC(this,o)}}var _u=function(e){mC(r,e);var t=$C(r);function r(n){bC(this,r);var o;return o=t.call(this,n),gC(JP(o),"dataBind",void 0),o.dataBind=new Qe(n==null?void 0:n.dataBind),o}return r}(z);function Rp(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 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 yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function TC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}function SC(e,t){return t&&(EC(t)==="object"||typeof t=="function")?t:Rp(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}function EC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BC(e){var t=IC();return function(){var n=yu(e),o;if(t){var i=yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SC(this,o)}}var ZP=function(e){TC(r,e);var t=BC(r);function r(n){RC(this,r);var o;return o=t.call(this,n),QP(Rp(o),"controlType","search"),QP(Rp(o),"props",void 0),o.props=new _u(n==null?void 0:n.props),o}return r}(q);function Sp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(e)}function MC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ep(e,t)}function AC(e,t){return t&&(kC(t)==="object"||typeof t=="function")?t:Sp(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}function kC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jC(e){var t=DC();return function(){var n=pu(e),o;if(t){var i=pu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AC(this,o)}}var t$=function(e){MC(r,e);var t=jC(r);function r(n){NC(this,r);var o;return o=t.call(this,n),e$(Sp(o),"controlType","search"),e$(Sp(o),"props",void 0),o.props=new _u(n==null?void 0:n.props),o}return r}(Q);function FC(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 du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function CC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ip(e,t)}function xC(e,t){return t&&(zC(t)==="object"||typeof t=="function")?t:FC(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(e,t)}function zC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GC(e){var t=VC();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 xC(this,o)}}var vu=function(e){CC(r,e);var t=GC(r);function r(n){return LC(this,r),t.call(this,n)}return r}(z);function Bp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function HC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Np(e,t)}function qC(e,t){return t&&(UC(t)==="object"||typeof t=="function")?t:Bp(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}function UC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KC(e){var t=WC();return function(){var n=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qC(this,o)}}var r$=function(e){HC(r,e);var t=KC(r);function r(n){YC(this,r);var o;return o=t.call(this,n),n$(Bp(o),"controlType","wrap"),n$(Bp(o),"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return r}(q);function Mp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function JC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ap(e,t)}function QC(e,t){return t&&(ZC(t)==="object"||typeof t=="function")?t:Mp(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}function ZC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t5(e){var t=e5();return function(){var n=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QC(this,o)}}var i$=function(e){JC(r,e);var t=t5(r);function r(n){XC(this,r);var o;return o=t.call(this,n),o$(Mp(o),"controlType","wrap"),o$(Mp(o),"props",void 0),o.props=new vu(n==null?void 0:n.props),o}return r}(Q);function At(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}}}])}function En(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n5(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 gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function r5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kp(e,t)}function o5(e,t){return t&&(i5(t)==="object"||typeof t=="function")?t:En(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kp(e,t)}function i5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c5(e){var t=u5();return function(){var n=gu(e),o;if(t){var i=gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o5(this,o)}}var Dp=function(e){r5(r,e);var t=c5(r);function r(n){n5(this,r);var o;o=t.call(this,n),yr(En(o),"content",void 0),yr(En(o),"fontSize",void 0),yr(En(o),"color",void 0),yr(En(o),"icon",void 0),yr(En(o),"align",void 0),yr(En(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var 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}(X);function u$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f5(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 l5(e,t,r){return t&&c$(e.prototype,t),r&&c$(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 mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(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&&jp(e,t)}function s5(e,t){return t&&(_5(t)==="object"||typeof t=="function")?t:u$(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}function _5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function y5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p5(e){var t=y5();return function(){var n=mu(e),o;if(t){var i=mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s5(this,o)}}var l$=function(e){a5(r,e);var t=p5(r);function r(n){f5(this,r);var o;return o=t.call(this,n),f$(u$(o),"props",void 0),o.props=new Dp(n==null?void 0:n.props),o}return l5(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(L);f$(l$,"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 a$(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 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 v5(e,t,r){return t&&s$(e.prototype,t),r&&s$(e,r),e}function h5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function b5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 g5(e,t){return t&&(m5(t)==="object"||typeof t=="function")?t:a$(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function m5(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 w5(e){var t=O5();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 g5(this,o)}}var P5=function(e){b5(r,e);var t=w5(r);function r(n){d5(this,r);var o;return o=t.call(this,n),h5(a$(o),"props",void 0),o.props=new Dp(n==null?void 0:n.props),o}return v5(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(J),_$={Designer:l$,Runtime:P5,Property:Dp};function wu(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 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 Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function R5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cp(e,t)}function T5(e,t){return t&&(S5(t)==="object"||typeof t=="function")?t:wu(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}function S5(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 I5(e){var t=E5();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 T5(this,o)}}var xp=function(e){R5(r,e);var t=I5(r);function r(n){$5(this,r);var o;o=t.call(this,n),Lp(wu(o),"content",void 0),Lp(wu(o),"url",void 0),Lp(wu(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var f;return o.openMode=(f=n==null?void 0:n.openMode)!==null&&f!==void 0?f:"new",o}return r}(X);function y$(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 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 N5(e,t,r){return t&&p$(e.prototype,t),r&&p$(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 $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function M5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 A5(e,t){return t&&(k5(t)==="object"||typeof t=="function")?t:y$(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}function k5(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 j5(e){var t=D5();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 A5(this,o)}}var Gp=function(e){M5(r,e);var t=j5(r);function r(n){B5(this,r);var o;return o=t.call(this,n),zp(y$(o),"props",void 0),o.props=new xp(n==null?void 0:n.props),o}return N5(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(L);zp(Gp,"controlEventKeys",["on_click"]),zp(Gp,"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 d$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F5(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 L5(e,t,r){return t&&v$(e.prototype,t),r&&v$(e,r),e}function C5(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 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&&Yp(e,t)}function z5(e,t){return t&&(V5(t)==="object"||typeof t=="function")?t:d$(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}function V5(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 Y5(e){var t=G5();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 z5(this,o)}}var H5=function(e){x5(r,e);var t=Y5(r);function r(n){F5(this,r);var o;return o=t.call(this,n),C5(d$(o),"props",void 0),o.props=new xp(n==null?void 0:n.props),o}return L5(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(J),h$={Designer:Gp,Runtime:H5,Property:xp};function gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function U5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function W5(e,t){return t&&(K5(t)==="object"||typeof t=="function")?t:gt(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}function K5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J5(e){var t=X5();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 W5(this,o)}}var Te=function(e){U5(r,e);var t=J5(r);function r(n){q5(this,r);var o;o=t.call(this,n),kt(gt(o),"content",void 0),kt(gt(o),"buttonType",void 0),kt(gt(o),"showType",void 0),kt(gt(o),"color",void 0),kt(gt(o),"icon",void 0),kt(gt(o),"defaultState",void 0),kt(gt(o),"command",void 0),kt(gt(o),"isLoading",void 0),kt(gt(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var 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 hP((b=n==null?void 0:n.optObj)!==null&&b!==void 0?b:{}),o}return r}(X);function b$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Z5(e,t,r){return t&&g$(e.prototype,t),r&&g$(e,r),e}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 Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function e6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 t6(e,t){return t&&(n6(t)==="object"||typeof t=="function")?t:b$(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}function n6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o6(e){var t=r6();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 t6(this,o)}}var Se=function(e){e6(r,e);var t=o6(r);function r(n){Q5(this,r);var o;return o=t.call(this,n),qp(b$(o),"props",void 0),o.props=new Te(n==null?void 0:n.props),o}return Z5(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(L);qp(Se,"controlEventKeys",["on_click","on_click_finish"]),qp(Se,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function m$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i6(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 u6(e,t,r){return t&&O$(e.prototype,t),r&&O$(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 Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function f6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function l6(e,t){return t&&(a6(t)==="object"||typeof t=="function")?t:m$(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function a6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=s6();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 l6(this,o)}}var Ve=function(e){f6(r,e);var t=_6(r);function r(n){i6(this,r);var o;return o=t.call(this,n),c6(m$(o),"props",void 0),o.props=new Te(n==null?void 0:n.props),o}return u6(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(J),w$={Designer:Se,Runtime:Ve,Property:Te};function Dt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.TitleConfigEnum=void 0,function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"}(c.TitleConfigEnum||(c.TitleConfigEnum={})),c.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(c.DATE_CONFIG_TYPE||(c.DATE_CONFIG_TYPE={})),c.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(c.DATE_LIMIT_TYPE||(c.DATE_LIMIT_TYPE={}));var Iu=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Ke(8),value:["",""]};Dt(this,e),E(this,"dateConfigType",void 0),E(this,"dateLimitType",void 0),E(this,"id",void 0),E(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};c.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(c.SCORE_TYPE||(c.SCORE_TYPE={}));var Bu=function e(t){Dt(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:Ke();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 Kp=function e(t){Dt(this,e),E(this,"type",void 0),E(this,"person",void 0),E(this,"signatureType",void 0),E(this,"telephone",void 0),E(this,"company",void 0),E(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new cr((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new cr((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var f,l;this.company=(l=t==null?void 0:t.company)!==null&&l!==void 0?l:new cr((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:""},P$=function e(t){Dt(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 Kp(l)}))!==null&&o!==void 0?o:[new Kp];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var f;this.completeTimeControl=(f=t==null?void 0:t.completeTimeControl)!==null&&f!==void 0?f:""},Xp=function e(t){Dt(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:Ke(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var 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},Jp=function e(t){Dt(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:""},$$=function e(t){Dt(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 Jp(t==null?void 0:t.watermark),this.autoRename=new Jp(t==null?void 0:t.autoRename)},R$=480;function $o(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var T$=function e(t){Dt(this,e),E(this,"fileId",void 0),E(this,"fileName",void 0),E(this,"ruleName",void 0),E(this,"isDefault",void 0),E(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},S$=function e(t){Dt(this,e),E(this,"direction",void 0),E(this,"justifyContent",void 0),E(this,"alignItems",void 0);var r;this.direction=(r=t==null?void 0:t.direction)!==null&&r!==void 0?r:"row";var n;this.justifyContent=(n=t==null?void 0:t.justifyContent)!==null&&n!==void 0?n:"flex-start";var o;this.alignItems=(o=t==null?void 0:t.alignItems)!==null&&o!==void 0?o:"flex-start"};c.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(c.EncryptTypeEnum||(c.EncryptTypeEnum={})),c.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(c.OrganizeType||(c.OrganizeType={})),c.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(c.DepartmentType||(c.DepartmentType={})),c.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(c.AssignType||(c.AssignType={})),c.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(c.InternalType||(c.InternalType={}));function Qp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function p6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zp(e,t)}function d6(e,t){return t&&(v6(t)==="object"||typeof t=="function")?t:Qp(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(e,t)}function v6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b6(e){var t=h6();return function(){var n=Nu(e),o;if(t){var i=Nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d6(this,o)}}var ed=function(e){p6(r,e);var t=b6(r);function r(n){y6(this,r);var o;o=t.call(this,n),E$(Qp(o),"color",void 0),E$(Qp(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:c.LINE_STYLE.SOLID,o}return r}(X);function I$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 m6(e,t,r){return t&&B$(e.prototype,t),r&&B$(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 Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function O6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 w6(e,t){return t&&(P6(t)==="object"||typeof t=="function")?t:I$(e)}function td(e,t){return td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},td(e,t)}function P6(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 R6(e){var t=$6();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 w6(this,o)}}var M$=function(e){O6(r,e);var t=R6(r);function r(n){g6(this,r);var o;return o=t.call(this,n),N$(I$(o),"props",void 0),o.props=new ed(n==null?void 0:n.props),o}return m6(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(L);N$(M$,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}]);function A$(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 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 S6(e,t,r){return t&&k$(e.prototype,t),r&&k$(e,r),e}function E6(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function 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&&nd(e,t)}function B6(e,t){return t&&(N6(t)==="object"||typeof t=="function")?t:A$(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}function N6(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 A6(e){var t=M6();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 B6(this,o)}}var k6=function(e){I6(r,e);var t=A6(r);function r(n){T6(this,r);var o;return o=t.call(this,n),E6(A$(o),"props",void 0),o.props=new ed(n==null?void 0:n.props),o}return S6(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(J),D$={Designer:M$,Runtime:k6,Property:ed};function nn(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 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 ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(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&&rd(e,t)}function D6(e,t){return t&&(j6(t)==="object"||typeof t=="function")?t:nn(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rd(e,t)}function j6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L$(e){var t=F6();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D6(this,o)}}var L6=function(e){F$(r,e);var t=L$(r);function r(n){j$(this,r);var o;return o=t.call(this,n),rn(nn(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),rn(nn(o),"dataBind",{type:"any"}),rn(nn(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}(ne),Du=function(e){F$(r,e);var t=L$(r);function r(n){j$(this,r);var o;o=t.call(this,n),rn(nn(o),"dataBind",void 0),rn(nn(o),"caption",void 0),rn(nn(o),"config",void 0),rn(nn(o),"position",void 0),o.dataBind=new Qe(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[c.TitleConfigEnum.ShowSubmitUser,c.TitleConfigEnum.ShowSubmitDept,c.TitleConfigEnum.ShowSubmitTime,c.TitleConfigEnum.ShowCurrentApprovar,c.TitleConfigEnum.ShowTitle];var u,f;o.caption=(f=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:pr==null?void 0:pr.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}(X);rn(Du,"Rules",L6);function C$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x6(e,t,r){return t&&x$(e.prototype,t),r&&x$(e,r),e}function od(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function z6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 V6(e,t){return t&&(G6(t)==="object"||typeof t=="function")?t:C$(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}function G6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H6(e){var t=Y6();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 V6(this,o)}}var pr=function(e){z6(r,e);var t=H6(r);function r(n){C6(this,r);var o;return o=t.call(this,n),od(C$(o),"props",void 0),o.props=new Du(n==null?void 0:n.props),o}return x6(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(L);od(pr,"controlFieldType",c.FieldTypes.AUTO_NUMBER),od(pr,"setting",[{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function z$(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 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 U6(e,t,r){return t&&V$(e.prototype,t),r&&V$(e,r),e}function W6(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 K6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 X6(e,t){return t&&(J6(t)==="object"||typeof t=="function")?t:z$(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function J6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z6(e){var t=Q6();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 X6(this,o)}}var ex=function(e){K6(r,e);var t=Z6(r);function r(n){q6(this,r);var o;return o=t.call(this,n),W6(z$(o),"props",void 0),o.props=new Du(n==null?void 0:n.props),o}return U6(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(J),G$={Designer:pr,Runtime:ex,Property:Du};function Lu(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 Cu(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 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&&cd(e,t)}function tx(e,t){return t&&(nx(t)==="object"||typeof t=="function")?t:Lu(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cd(e,t)}function nx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q$(e){var t=rx();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 tx(this,o)}}var ox=function(e){H$(r,e);var t=q$(r);function r(n){Y$(this,r);var o;return o=t.call(this,n),Cu(Lu(o),"formKey",{type:"string",required:!0,message:p.getMessage("pleaseEnterForm")}),o}return r}(ne),zu=function(e){H$(r,e);var t=q$(r);function r(n){Y$(this,r);var o;o=t.call(this,n),Cu(Lu(o),"formKey",void 0),Cu(Lu(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Ro.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Ro.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);Cu(zu,"Rules",ox);function U$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ix(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 ux(e,t,r){return t&&W$(e.prototype,t),r&&W$(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 Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function cx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fx(e,t){return t&&(lx(t)==="object"||typeof t=="function")?t:U$(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ld(e,t)}function lx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ax(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sx(e){var t=ax();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 fx(this,o)}}var Ro=function(e){cx(r,e);var t=sx(r);function r(n){ix(this,r);var o;return o=t.call(this,n),fd(U$(o),"props",void 0),o.props=new zu(n==null?void 0:n.props),o}return ux(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Se);fd(Ro,"controlEventKeys",["on_click","on_click_finish"]),fd(Ro,"setting",[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function K$(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 X$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yx(e,t,r){return t&&X$(e.prototype,t),r&&X$(e,r),e}function px(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function dx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ad(e,t)}function vx(e,t){return t&&(hx(t)==="object"||typeof t=="function")?t:K$(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ad(e,t)}function hx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gx(e){var t=bx();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 vx(this,o)}}var mx=function(e){dx(r,e);var t=gx(r);function r(n){_x(this,r);var o;return o=t.call(this,n),px(K$(o),"props",void 0),o.props=new zu(n==null?void 0:n.props),o}return yx(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Ve),J$={Designer:Ro,Runtime:mx,Property:zu};function dr(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 vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(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&&sd(e,t)}function Ox(e,t){return t&&(wx(t)==="object"||typeof t=="function")?t:dr(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sd(e,t)}function wx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Px(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eR(e){var t=Px();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 Ox(this,o)}}var $x=function(e){Z$(r,e);var t=eR(r);function r(n){Q$(this,r);var o;return o=t.call(this,n),vr(dr(o),"processKey",[{type:"string",message:p.getMessage("isNotString")},{type:"string",required:!0,message:p.getMessage("pleaseEnterProcess")}]),o}return r}(ne),Hu=function(e){Z$(r,e);var t=eR(r);function r(n){Q$(this,r);var o;o=t.call(this,n),vr(dr(o),"processKey",void 0),vr(dr(o),"initiatorMode",void 0),vr(dr(o),"fieldCode",void 0),vr(dr(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:To.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:To.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);vr(Hu,"Rules",$x);function tR(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 nR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tx(e,t,r){return t&&nR(e.prototype,t),r&&nR(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 qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function Sx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yd(e,t)}function Ex(e,t){return t&&(Ix(t)==="object"||typeof t=="function")?t:tR(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yd(e,t)}function Ix(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nx(e){var t=Bx();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 Ex(this,o)}}var To=function(e){Sx(r,e);var t=Nx(r);function r(n){Rx(this,r);var o;return o=t.call(this,n),_d(tR(o),"props",void 0),o.props=new Hu(n==null?void 0:n.props),o}return Tx(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);_d(To,"controlEventKeys",["on_click","on_click_finish"]),_d(To,"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 rR(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 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 Ax(e,t,r){return t&&oR(e.prototype,t),r&&oR(e,r),e}function kx(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 Dx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pd(e,t)}function jx(e,t){return t&&(Fx(t)==="object"||typeof t=="function")?t:rR(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pd(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 Cx(e){var t=Lx();return function(){var n=Uu(e),o;if(t){var i=Uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jx(this,o)}}var xx=function(e){Dx(r,e);var t=Cx(r);function r(n){Mx(this,r);var o;return o=t.call(this,n),kx(rR(o),"props",void 0),o.props=new Hu(n==null?void 0:n.props),o}return Ax(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Ve),iR={Designer:To,Runtime:xx,Property:Hu};function zx(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 Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wu(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&&dd(e,t)}function Yx(e,t){return t&&(Hx(t)==="object"||typeof t=="function")?t:zx(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dd(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=Wu(e),o;if(t){var i=Wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yx(this,o)}}var vd=function(e){Gx(r,e);var t=Ux(r);function r(n){Vx(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:So.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:So.controlIcon,o}return r}(Te);function uR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Kx(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function hd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function Xx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bd(e,t)}function Jx(e,t){return t&&(Qx(t)==="object"||typeof t=="function")?t:uR(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bd(e,t)}function Qx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e7(e){var t=Zx();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 Jx(this,o)}}var So=function(e){Xx(r,e);var t=e7(r);function r(n){Wx(this,r);var o;return o=t.call(this,n),hd(uR(o),"props",void 0),o.props=new vd(n==null?void 0:n.props),o}return Kx(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);hd(So,"controlEventKeys",["on_click"]),hd(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:"super-setting",visible:!0}]);function fR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n7(e,t,r){return t&&lR(e.prototype,t),r&&lR(e,r),e}function r7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function o7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function i7(e,t){return t&&(u7(t)==="object"||typeof t=="function")?t:fR(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gd(e,t)}function u7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f7(e){var t=c7();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 i7(this,o)}}var l7=function(e){o7(r,e);var t=f7(r);function r(n){t7(this,r);var o;return o=t.call(this,n),r7(fR(o),"props",void 0),o.props=new vd(n==null?void 0:n.props),o}return n7(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Ve),aR={Designer:So,Runtime:l7,Property:vd};function md(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sR(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 s7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _7(e,t){return t&&(y7(t)==="object"||typeof t=="function")?t:md(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Od(e,t)}function y7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d7(e){var t=p7();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 _7(this,o)}}var wd=function(e){s7(r,e);var t=d7(r);function r(n){a7(this,r);var o,i;o=t.call(this,n),sR(md(o),"templateList",void 0),sR(md(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Eo.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:Eo.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 Xp(s)}))!==null&&a!==void 0?a:[new Xp({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],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 v7(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 h7(e,t,r){return t&&yR(e.prototype,t),r&&yR(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 Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function b7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$d(e,t)}function g7(e,t){return t&&(m7(t)==="object"||typeof t=="function")?t:_R(e)}function $d(e,t){return $d=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$d(e,t)}function m7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w7(e){var t=O7();return function(){var n=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g7(this,o)}}var Eo=function(e){b7(r,e);var t=w7(r);function r(n){v7(this,r);var o;return o=t.call(this,n),Pd(_R(o),"props",void 0),o.props=new wd(n==null?void 0:n.props),o}return h7(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);Pd(Eo,"controlEventKeys",["on_click","on_click_finish"]),Pd(Eo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function pR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $7(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function R7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(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&&Rd(e,t)}function S7(e,t){return t&&(E7(t)==="object"||typeof t=="function")?t:pR(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rd(e,t)}function E7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B7(e){var t=I7();return function(){var n=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S7(this,o)}}var N7=function(e){T7(r,e);var t=B7(r);function r(n){P7(this,r);var o;return o=t.call(this,n),R7(pR(o),"props",void 0),o.props=new wd(n==null?void 0:n.props),o}return $7(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Ve),vR={Designer:Eo,Runtime:N7,Property:wd};function M7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(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&&Td(e,t)}function D7(e,t){return t&&(j7(t)==="object"||typeof t=="function")?t:M7(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}function j7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L7(e){var t=F7();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 D7(this,o)}}var Sd=function(e){k7(r,e);var t=L7(r);function r(n){A7(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:Io.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Io.controlIcon,o}return r}(Te);function hR(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 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 x7(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),e}function Ed(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function 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&&Id(e,t)}function V7(e,t){return t&&(G7(t)==="object"||typeof t=="function")?t:hR(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function G7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function H7(e){var t=Y7();return function(){var n=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V7(this,o)}}var Io=function(e){z7(r,e);var t=H7(r);function r(n){C7(this,r);var o;return o=t.call(this,n),Ed(hR(o),"props",void 0),o.props=new Sd(n==null?void 0:n.props),o}return x7(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);Ed(Io,"controlEventKeys",["on_click"]),Ed(Io,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function gR(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 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 U7(e,t,r){return t&&mR(e.prototype,t),r&&mR(e,r),e}function W7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nc(e){return nc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nc(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&&Bd(e,t)}function X7(e,t){return t&&(J7(t)==="object"||typeof t=="function")?t:gR(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function J7(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=nc(e),o;if(t){var i=nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X7(this,o)}}var ez=function(e){K7(r,e);var t=Z7(r);function r(n){q7(this,r);var o;return o=t.call(this,n),W7(gR(o),"props",void 0),o.props=new Sd(n==null?void 0:n.props),o}return U7(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Ve),OR={Designer:Io,Runtime:ez,Property:Sd};function Nd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Md(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 tz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function nz(e,t){return t&&(rz(t)==="object"||typeof t=="function")?t:Nd(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function rz(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 iz(e){var t=oz();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 nz(this,o)}}var uz=function e(t){wR(this,e),Md(this,"dataCode",void 0),this.dataCode=t.dataCode},kd=function(e){tz(r,e);var t=iz(r);function r(n){wR(this,r);var o,i;o=t.call(this,n),Md(Nd(o),"canImportList",void 0),Md(Nd(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Bo.controlName;var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:Bo.controlIcon;var l;o.canImportList=(l=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(s){return new uz(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 PR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 fz(e,t,r){return t&&$R(e.prototype,t),r&&$R(e,r),e}function Dd(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 lz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 az(e,t){return t&&(sz(t)==="object"||typeof t=="function")?t:PR(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}function sz(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 yz(e){var t=_z();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 az(this,o)}}var Bo=function(e){lz(r,e);var t=yz(r);function r(n){cz(this,r);var o;return o=t.call(this,n),Dd(PR(o),"props",void 0),o.props=new kd(n==null?void 0:n.props),o}return fz(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);Dd(Bo,"controlEventKeys",["on_click","on_click_finish"]),Dd(Bo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function RR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pz(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 dz(e,t,r){return t&&TR(e.prototype,t),r&&TR(e,r),e}function vz(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 hz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function bz(e,t){return t&&(gz(t)==="object"||typeof t=="function")?t:RR(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}function gz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oz(e){var t=mz();return function(){var n=ic(e),o;if(t){var i=ic(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bz(this,o)}}var wz=function(e){hz(r,e);var t=Oz(r);function r(n){pz(this,r);var o;return o=t.call(this,n),vz(RR(o),"props",void 0),o.props=new kd(n==null?void 0:n.props),o}return dz(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Ve),SR={Designer:Bo,Runtime:wz,Property:kd};function uc(){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 on(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ER(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(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&&Ld(e,t)}function BR(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){jt(e,o,r[o])})}return e}function Pz(e,t){return t&&($z(t)==="object"||typeof t=="function")?t:on(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}function $z(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 NR(e){var t=Rz();return function(){var n=cc(e),o;if(t){var i=cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pz(this,o)}}var Tz=function(e){IR(r,e);var t=NR(r);function r(n){ER(this,r);var o;return o=t.call(this,n),jt(on(o),"fillPayload",{type:"object",fields:BR({},uc())}),jt(on(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")}}}),jt(on(o),"fillBack",{type:"object",fields:BR({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},uc())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:p.getMessage("pleaseSelectControl")}),o}return r}(ne),fc=function(e){IR(r,e);var t=NR(r);function r(n){ER(this,r);var o;o=t.call(this,n),jt(on(o),"fillPayload",void 0),jt(on(o),"formBind",void 0),jt(on(o),"fillBack",void 0),jt(on(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:No.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:No.controlIcon;var f;return o.command=(f=n==null?void 0:n.command)!==null&&f!==void 0?f:"create",o.fillPayload=new Ly(n==null?void 0:n.fillPayload),o.formBind=new Jw(n==null?void 0:n.formBind),o.fillBack=new Cy(n==null?void 0:n.fillBack),o}return r}(Te);jt(fc,"Rules",Tz);function MR(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 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 Ez(e,t,r){return t&&AR(e.prototype,t),r&&AR(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 lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(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&&xd(e,t)}function Bz(e,t){return t&&(Nz(t)==="object"||typeof t=="function")?t:MR(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function Nz(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 Az(e){var t=Mz();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 Bz(this,o)}}var No=function(e){Iz(r,e);var t=Az(r);function r(n){Sz(this,r);var o;return o=t.call(this,n),Cd(MR(o),"props",void 0),o.props=new fc(n==null?void 0:n.props),o}return Ez(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);Cd(No,"controlEventKeys",["on_click","on_click_finish"]),Cd(No,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function kR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kz(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 Dz(e,t,r){return t&&DR(e.prototype,t),r&&DR(e,r),e}function jz(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 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&&zd(e,t)}function Lz(e,t){return t&&(Cz(t)==="object"||typeof t=="function")?t:kR(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}function Cz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zz(e){var t=xz();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 Lz(this,o)}}var Vz=function(e){Fz(r,e);var t=zz(r);function r(n){kz(this,r);var o;return o=t.call(this,n),jz(kR(o),"props",void 0),o.props=new fc(n==null?void 0:n.props),o}return Dz(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(Ve),jR={Designer:No,Runtime:Vz,Property:fc};function Ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FR(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 sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(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&&Vd(e,t)}function CR(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){mt(e,o,r[o])})}return e}function Gz(e,t){return t&&(Yz(t)==="object"||typeof t=="function")?t:Ft(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}function Yz(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 xR(e){var t=Hz();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 Gz(this,o)}}var qz=function(e){LR(r,e);var t=xR(r);function r(n){FR(this,r);var o;return o=t.call(this,n),mt(Ft(o),"fillPayload",{type:"object",fields:CR({},uc())}),mt(Ft(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:p.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:p.getMessage("pleaseSelectAtLeastOneColumn")}}}),mt(Ft(o),"fillBack",{type:"object",fields:CR({mode:{type:"string",required:!0,message:p.getMessage("pleaseSelectFillBackMode")}},uc())}),o}return r}(ne),_c=function(e){LR(r,e);var t=xR(r);function r(n){FR(this,r);var o;o=t.call(this,n),mt(Ft(o),"fillPayload",void 0),mt(Ft(o),"listPageBind",void 0),mt(Ft(o),"fillBack",void 0),mt(Ft(o),"showSelectedDetail",void 0),mt(Ft(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Mo.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Mo.controlIcon,o.fillPayload=new Ly(n==null?void 0:n.fillPayload),o.listPageBind=new Li(n==null?void 0:n.listPageBind),o.fillBack=new Cy(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 zi(n==null?void 0:n.selectedContentConfig),o}return r}(Te);mt(_c,"Rules",qz);function zR(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 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 Wz(e,t,r){return t&&VR(e.prototype,t),r&&VR(e,r),e}function Gd(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 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&&Yd(e,t)}function Xz(e,t){return t&&(Jz(t)==="object"||typeof t=="function")?t:zR(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yd(e,t)}function Jz(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=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xz(this,o)}}var Mo=function(e){Kz(r,e);var t=Zz(r);function r(n){Uz(this,r);var o;return o=t.call(this,n),Gd(zR(o),"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return Wz(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);Gd(Mo,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),Gd(Mo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function GR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 t8(e,t,r){return t&&YR(e.prototype,t),r&&YR(e,r),e}function n8(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 r8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 o8(e,t){return t&&(i8(t)==="object"||typeof t=="function")?t:GR(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function i8(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 c8(e){var t=u8();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 o8(this,o)}}var f8=function(e){r8(r,e);var t=c8(r);function r(n){e8(this,r);var o;return o=t.call(this,n),n8(GR(o),"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return t8(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(Ve),HR={Designer:Mo,Runtime:f8,Property:_c};function l8(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 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 dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(e)}function Ud(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 a8(e,t){return t&&(s8(t)==="object"||typeof t=="function")?t:l8(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function s8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kd(e){var t=_8();return function(){var n=dc(e),o;if(t){var i=dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a8(this,o)}}var y8=function(e){Ud(r,e);var t=Kd(r);function r(n){return qd(this,r),t.call(this,n)}return r}(ne),p8=function(e){Ud(r,e);var t=Kd(r);function r(n){return qd(this,r),t.call(this,n)}return r}(Jt),Ao=function(e){Ud(r,e);var t=Kd(r);function r(n){return qd(this,r),t.call(this,n)}return r}(X);qR(Ao,"Rules",y8),qR(Ao,"RuntimeRules",p8);function UR(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 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 v8(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}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 vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function h8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function b8(e,t){return t&&(g8(t)==="object"||typeof t=="function")?t:UR(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function g8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=m8();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 b8(this,o)}}var XR=function(e){h8(r,e);var t=O8(r);function r(n){d8(this,r);var o;return o=t.call(this,n),KR(UR(o),"props",void 0),o.props=new Ao(n==null?void 0:n.props),o}return v8(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(L);KR(XR,"setting",[]);function JR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function P8(e,t,r){return t&&QR(e.prototype,t),r&&QR(e,r),e}function $8(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 R8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 T8(e,t){return t&&(S8(t)==="object"||typeof t=="function")?t:JR(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}function S8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I8(e){var t=E8();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 T8(this,o)}}var B8=function(e){R8(r,e);var t=I8(r);function r(n){w8(this,r);var o;return o=t.call(this,n),$8(JR(o),"props",void 0),o.props=new Ao(n==null?void 0:n.props),o}return P8(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(J),ZR={Designer:XR,Runtime:B8,Property:Ao};function Ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eT(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 bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(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&&Qd(e,t)}function N8(e,t){return t&&(M8(t)==="object"||typeof t=="function")?t:Ze(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}function M8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nT(e){var t=A8();return function(){var n=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N8(this,o)}}var k8=function(e){tT(r,e);var t=nT(r);function r(n){eT(this,r);var o;return o=t.call(this,n),et(Ze(o),"dashboardKey",{type:"string",required:!0,message:p.getMessage("pleaseSelectDashboard")}),et(Ze(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),et(Ze(o),"isHideCaption",{type:"boolean"}),et(Ze(o),"labelPosition",{type:"enum",enum:["top","left"]}),et(Ze(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ne),gc=function(e){tT(r,e);var t=nT(r);function r(n){eT(this,r);var o;o=t.call(this,n),et(Ze(o),"dashboardKey",void 0),et(Ze(o),"caption",void 0),et(Ze(o),"isHideCaption",void 0),et(Ze(o),"isShowCaptionTip",void 0),et(Ze(o),"captionTip",void 0),et(Ze(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var 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}(X);et(gc,"Rules",k8);function rT(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 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 j8(e,t,r){return t&&oT(e.prototype,t),r&&oT(e,r),e}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 mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(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&&Zd(e,t)}function L8(e,t){return t&&(C8(t)==="object"||typeof t=="function")?t:rT(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}function C8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z8(e){var t=x8();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 L8(this,o)}}var uT=function(e){F8(r,e);var t=z8(r);function r(n){D8(this,r);var o;return o=t.call(this,n),iT(rT(o),"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return j8(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(L);iT(uT,"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 cT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V8(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 G8(e,t,r){return t&&fT(e.prototype,t),r&&fT(e,r),e}function Y8(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 H8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function q8(e,t){return t&&(U8(t)==="object"||typeof t=="function")?t:cT(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}function U8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K8(e){var t=W8();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 q8(this,o)}}var X8=function(e){H8(r,e);var t=K8(r);function r(n){V8(this,r);var o;return o=t.call(this,n),Y8(cT(o),"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return G8(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(J),lT={Designer:uT,Runtime:X8,Property:gc};function ko(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 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 wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function sT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function J8(e,t){return t&&(Q8(t)==="object"||typeof t=="function")?t:ko(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}function Q8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _T(e){var t=Z8();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 J8(this,o)}}var eV=function(e){sT(r,e);var t=_T(r);function r(n){aT(this,r);var o;return o=t.call(this,n),Do(ko(o),"showType",{type:"enum",enum:["select","tabs"]}),Do(ko(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}(ne),Pc=function(e){sT(r,e);var t=_T(r);function r(n){aT(this,r);var o,i;o=t.call(this,n),Do(ko(o),"showType",void 0),Do(ko(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var f;return o.viewList=(f=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(l){return new dP(l)}))!==null&&f!==void 0?f:[],o}return r}(X);Do(Pc,"Rules",eV);function yT(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 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 nV(e,t,r){return t&&pT(e.prototype,t),r&&pT(e,r),e}function dT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(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&&nv(e,t)}function oV(e,t){return t&&(iV(t)==="object"||typeof t=="function")?t:yT(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}function iV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cV(e){var t=uV();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 oV(this,o)}}var vT=function(e){rV(r,e);var t=cV(r);function r(n){tV(this,r);var o;return o=t.call(this,n),dT(yT(o),"props",void 0),o.props=new Pc(n==null?void 0:n.props),o}return nV(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}(L);dT(vT,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function hT(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 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 lV(e,t,r){return t&&bT(e.prototype,t),r&&bT(e,r),e}function aV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(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&&rv(e,t)}function _V(e,t){return t&&(yV(t)==="object"||typeof t=="function")?t:hT(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function yV(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 dV(e){var t=pV();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 _V(this,o)}}var vV=function(e){sV(r,e);var t=dV(r);function r(n){fV(this,r);var o;return o=t.call(this,n),aV(hT(o),"props",void 0),o.props=new Pc(n==null?void 0:n.props),o}return lV(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(J),gT={Designer:vT,Runtime:vV,Property:Pc};function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mT(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 Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function OT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ov(e,t)}function hV(e,t){return t&&(bV(t)==="object"||typeof t=="function")?t:Ae(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(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 wT(e){var t=gV();return function(){var n=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hV(this,o)}}var mV=function(e){OT(r,e);var t=wT(r);function r(n){mT(this,r);var o;return o=t.call(this,n),ke(Ae(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),ke(Ae(o),"isHideCaption",{type:"boolean"}),ke(Ae(o),"labelPosition",{type:"enum",enum:["top","left"]}),ke(Ae(o),"ocrType",{type:"string",required:!0,message:p.getMessage("pleaseSelectOcrType")}),ke(Ae(o),"fillList",{type:"array",validator:function(u,f,l){var a=f.every(function(s){return!s.controlId});if(a){l(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),ke(Ae(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ne),Sc=function(e){OT(r,e);var t=wT(r);function r(n){mT(this,r);var o,i;o=t.call(this,n),ke(Ae(o),"caption",void 0),ke(Ae(o),"isHideCaption",void 0),ke(Ae(o),"isShowCaptionTip",void 0),ke(Ae(o),"captionTip",void 0),ke(Ae(o),"labelPosition",void 0),ke(Ae(o),"ocrType",void 0),ke(Ae(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:hr.controlName;var 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?_:hr.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:hr.controlIcon;var b;o.ocrType=(b=n==null?void 0:n.ocrType)!==null&&b!==void 0?b:"";var g;return o.fillList=(g=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(h){return new Re(h)}))!==null&&g!==void 0?g:[],o}return r}(Te);ke(Sc,"Rules",mV);function PT(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 $T(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wV(e,t,r){return t&&$T(e.prototype,t),r&&$T(e,r),e}function iv(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 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&&uv(e,t)}function $V(e,t){return t&&(RV(t)==="object"||typeof t=="function")?t:PT(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function RV(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 SV(e){var t=TV();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 $V(this,o)}}var hr=function(e){PV(r,e);var t=SV(r);function r(n){OV(this,r);var o;return o=t.call(this,n),iv(PT(o),"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return wV(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);iv(hr,"controlEventKeys",["on_click","on_click_finish"]),iv(hr,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function RT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EV(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 IV(e,t,r){return t&&TT(e.prototype,t),r&&TT(e,r),e}function BV(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 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&&cv(e,t)}function MV(e,t){return t&&(AV(t)==="object"||typeof t=="function")?t:RT(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}function AV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DV(e){var t=kV();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 MV(this,o)}}var jV=function(e){NV(r,e);var t=DV(r);function r(n){EV(this,r);var o;return o=t.call(this,n),BV(RT(o),"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return IV(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Ve),ST={Designer:hr,Runtime:jV,Property:Sc};function De(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ET(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 Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function IT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function FV(e,t){return t&&(LV(t)==="object"||typeof t=="function")?t:De(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function LV(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 BT(e){var t=CV();return function(){var n=Bc(e),o;if(t){var i=Bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FV(this,o)}}var xV=function(e){IT(r,e);var t=BT(r);function r(n){ET(this,r);var o;return o=t.call(this,n),je(De(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),je(De(o),"isHideCaption",{type:"boolean"}),je(De(o),"labelPosition",{type:"enum",enum:["top","left"]}),je(De(o),"invoiceCheck",{type:"boolean"}),je(De(o),"fillList",{type:"array",validator:function(u,f,l){var a=f.every(function(s){return!s.controlId});if(a){l(p.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),je(De(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ne),Nc=function(e){IT(r,e);var t=BT(r);function r(n){ET(this,r);var o,i;o=t.call(this,n),je(De(o),"caption",void 0),je(De(o),"isHideCaption",void 0),je(De(o),"isShowCaptionTip",void 0),je(De(o),"captionTip",void 0),je(De(o),"labelPosition",void 0),je(De(o),"invoiceCheck",void 0),je(De(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:br.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?_:br.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:br.controlIcon;var b;o.invoiceCheck=(b=n==null?void 0:n.invoiceCheck)!==null&&b!==void 0?b:!0;var g;return o.fillList=(g=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(h){return new Re(h)}))!==null&&g!==void 0?g:[],o}return r}(Te);je(Nc,"Rules",xV);function NT(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 MT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VV(e,t,r){return t&&MT(e.prototype,t),r&&MT(e,r),e}function lv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function GV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YV(e,t){return t&&(HV(t)==="object"||typeof t=="function")?t:NT(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}function HV(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 UV(e){var t=qV();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 YV(this,o)}}var br=function(e){GV(r,e);var t=UV(r);function r(n){zV(this,r);var o;return o=t.call(this,n),lv(NT(o),"props",void 0),o.props=new Nc(n==null?void 0:n.props),o}return VV(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);lv(br,"controlEventKeys",["on_click","on_click_finish"]),lv(br,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function AT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WV(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 KV(e,t,r){return t&&kT(e.prototype,t),r&&kT(e,r),e}function XV(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 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&&sv(e,t)}function QV(e,t){return t&&(ZV(t)==="object"||typeof t=="function")?t:AT(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}function ZV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=e9();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 QV(this,o)}}var n9=function(e){JV(r,e);var t=t9(r);function r(n){WV(this,r);var o;return o=t.call(this,n),XV(AT(o),"props",void 0),o.props=new Nc(n==null?void 0:n.props),o}return KV(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Ve),DT={Designer:br,Runtime:n9,Property:Nc};function kc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dc(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 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&&_v(e,t)}function r9(e,t){return t&&(o9(t)==="object"||typeof t=="function")?t:kc(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_v(e,t)}function 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 LT(e){var t=i9();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 r9(this,o)}}var u9=function(e){FT(r,e);var t=LT(r);function r(){jT(this,r);var n;return n=t.apply(this,arguments),Dc(kc(n),"printTemplates",{type:"array",min:1,required:!0,message:p.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(ne),Fc=function(e){FT(r,e);var t=LT(r);function r(n){jT(this,r);var o,i;o=t.call(this,n),Dc(kc(o),"printTemplates",void 0),Dc(kc(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:jo.controlIcon;var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:jo.controlName;var l;o.printTemplates=(l=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new T$(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);Dc(Fc,"Rules",u9);function CT(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 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 f9(e,t,r){return t&&xT(e.prototype,t),r&&xT(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 l9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function a9(e,t){return t&&(s9(t)==="object"||typeof t=="function")?t:CT(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}function s9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y9(e){var t=_9();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 a9(this,o)}}var jo=function(e){l9(r,e);var t=y9(r);function r(n){c9(this,r);var o;return o=t.call(this,n),yv(CT(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return f9(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);yv(jo,"controlEventKeys",["on_click","on_click_finish"]),yv(jo,"setting",[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function zT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d9(e,t,r){return t&&VT(e.prototype,t),r&&VT(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 Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function h9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function b9(e,t){return t&&(g9(t)==="object"||typeof t=="function")?t:zT(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}function g9(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 O9(e){var t=m9();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b9(this,o)}}var w9=function(e){h9(r,e);var t=O9(r);function r(n){p9(this,r);var o;return o=t.call(this,n),v9(zT(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return d9(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Ve),GT={Designer:jo,Runtime:w9,Property:Fc};function P9(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 xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function R9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function T9(e,t){return t&&(S9(t)==="object"||typeof t=="function")?t:P9(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function S9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I9(e){var t=E9();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 T9(this,o)}}var hv=function(e){R9(r,e);var t=I9(r);function r(n){$9(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Fo.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Fo.controlIcon,o}return r}(Te);function YT(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 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 N9(e,t,r){return t&&HT(e.prototype,t),r&&HT(e,r),e}function bv(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 M9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function A9(e,t){return t&&(k9(t)==="object"||typeof t=="function")?t:YT(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}function k9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j9(e){var t=D9();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 A9(this,o)}}var Fo=function(e){M9(r,e);var t=j9(r);function r(n){B9(this,r);var o;return o=t.call(this,n),bv(YT(o),"props",void 0),o.props=new hv(n==null?void 0:n.props),o}return N9(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);bv(Fo,"controlEventKeys",["on_click"]),bv(Fo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function qT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F9(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 L9(e,t,r){return t&&UT(e.prototype,t),r&&UT(e,r),e}function C9(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 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&&mv(e,t)}function z9(e,t){return t&&(V9(t)==="object"||typeof t=="function")?t:qT(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}function V9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y9(e){var t=G9();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 z9(this,o)}}var H9=function(e){x9(r,e);var t=Y9(r);function r(n){F9(this,r);var o;return o=t.call(this,n),C9(qT(o),"props",void 0),o.props=new hv(n==null?void 0:n.props),o}return L9(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Ve),WT={Designer:Fo,Runtime:H9,Property:hv};function Ee(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 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 Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(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&&Ov(e,t)}function q9(e,t){return t&&(U9(t)==="object"||typeof t=="function")?t:Ee(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}function U9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=W9();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 q9(this,o)}}var K9=function(e){XT(r,e);var t=JT(r);function r(n){KT(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:p.getMessage("pleaseEnterForm")}),o}return r}(ne),Yc=function(e){XT(r,e);var t=JT(r);function r(n){KT(this,r);var o;o=t.call(this,n),Ie(Ee(o),"content",void 0),Ie(Ee(o),"code",void 0),Ie(Ee(o),"command",void 0),Ie(Ee(o),"color",void 0),Ie(Ee(o),"icon",void 0),Ie(Ee(o),"formKey",void 0),Ie(Ee(o),"openType",void 0),Ie(Ee(o),"needConfirm",void 0),Ie(Ee(o),"confirmMessage",void 0),Ie(Ee(o),"options",void 0),Ie(Ee(o),"defaultState",void 0),Ie(Ee(o),"priorityProcess",void 0),Ie(Ee(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var 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}(X);Ie(Yc,"Rules",K9);function QT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X9(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 J9(e,t,r){return t&&ZT(e.prototype,t),r&&ZT(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 Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function Q9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pv(e,t)}function Z9(e,t){return t&&(eG(t)==="object"||typeof t=="function")?t:QT(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function eG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tG();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 Z9(this,o)}}var qc=function(e){Q9(r,e);var t=nG(r);function r(n){X9(this,r);var o;return o=t.call(this,n),wv(QT(o),"props",void 0),o.props=new Yc(n==null?void 0:n.props),o}return J9(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}(L);wv(qc,"controlEventKeys",["on_click"]),wv(qc,"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 eS(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 tS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oG(e,t,r){return t&&tS(e.prototype,t),r&&tS(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 Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(e)}function uG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function cG(e,t){return t&&(fG(t)==="object"||typeof t=="function")?t:eS(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}function fG(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 aG(e){var t=lG();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 cG(this,o)}}var sG=function(e){uG(r,e);var t=aG(r);function r(n){rG(this,r);var o;return o=t.call(this,n),iG(eS(o),"props",void 0),o.props=new Yc(n==null?void 0:n.props),o}return oG(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(J),Lo={Designer:qc,Runtime:sG,Property:Yc};function Lt(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 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 Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(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&&Rv(e,t)}function pG(e,t){return t&&(dG(t)==="object"||typeof t=="function")?t:Lt(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}function dG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hG(e){var t=vG();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 pG(this,o)}}var Tv=function(e){yG(r,e);var t=hG(r);function r(n){_G(this,r);var o;o=t.call(this,n),un(Lt(o),"content",void 0),un(Lt(o),"buttonType",void 0),un(Lt(o),"showType",void 0),un(Lt(o),"color",void 0),un(Lt(o),"icon",void 0),un(Lt(o),"defaultState",void 0),un(Lt(o),"command",void 0),un(Lt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Co.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Co.controlIcon;var 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}(X);function nS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gG(e,t,r){return t&&rS(e.prototype,t),r&&rS(e,r),e}function Sv(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 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&&Ev(e,t)}function OG(e,t){return t&&(wG(t)==="object"||typeof t=="function")?t:nS(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(e,t)}function wG(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 $G(e){var t=PG();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 OG(this,o)}}var Co=function(e){mG(r,e);var t=$G(r);function r(n){bG(this,r);var o;return o=t.call(this,n),Sv(nS(o),"props",void 0),o.props=new Tv(n==null?void 0:n.props),o}return gG(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}(L);Sv(Co,"controlEventKeys",["on_click"]),Sv(Co,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function oS(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 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 TG(e,t,r){return t&&iS(e.prototype,t),r&&iS(e,r),e}function SG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function EG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iv(e,t)}function IG(e,t){return t&&(BG(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 BG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MG(e){var t=NG();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 IG(this,o)}}var AG=function(e){EG(r,e);var t=MG(r);function r(n){RG(this,r);var o;return o=t.call(this,n),SG(oS(o),"props",void 0),o.props=new Tv(n==null?void 0:n.props),o}return TG(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(J),uS={Designer:Co,Runtime:AG,Property:Tv},kG=Object.freeze({__proto__:null,Text:_$,Link:h$,Button:w$,Divider:D$,Title:G$,CreateFormListButton:J$,BatchSubmissionListButton:iR,SubmissionRecordListButton:aR,ExportListButton:vR,ExportRecordListButton:OR,ImportRecordListButton:SR,FormSelectButton:jR,ListSelectButton:HR,Pagination:ZR,Dashboard:lT,ListViewSelect:gT,TextOcrButton:ST,InvoiceCheckButton:DT,BatchPrintListButton:GT,BatchPrintRecordListButton:WT,OperationButton:Lo,BatchDeleteButton:uS});function Ot(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 ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(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&&Mv(e,t)}function DG(e,t){return t&&(jG(t)==="object"||typeof t=="function")?t:Ot(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}function jG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Av(e){var t=FG();return function(){var n=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DG(this,o)}}var LG=function(e){Nv(r,e);var t=Av(r);function r(n){Bv(this,r);var o;return o=t.call(this,n),ct(Ot(o),"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),ct(Ot(o),"minLength",{type:"number",max:200,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),ct(Ot(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=$o(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ae),CG=function(e){Nv(r,e);var t=Av(r);function r(n){Bv(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:$o(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(x),gr=function(e){Nv(r,e);var t=Av(r);function r(n){Bv(this,r);var o;o=t.call(this,n),ct(Ot(o),"maxLength",void 0),ct(Ot(o),"minLength",void 0),ct(Ot(o),"regularRules",void 0),ct(Ot(o),"defaultValue",void 0),ct(Ot(o),"encrypted",void 0),ct(Ot(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new xy(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:mr.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var s;o.encrypted=(s=n==null?void 0:n.encrypted)!==null&&s!==void 0?s:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return r}(M);ct(gr,"Rules",LG),ct(gr,"RuntimeRules",CG);function cS(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 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 zG(e,t,r){return t&&fS(e.prototype,t),r&&fS(e,r),e}function Qc(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 VG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function GG(e,t){return t&&(YG(t)==="object"||typeof t=="function")?t:cS(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}function YG(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 qG(e){var t=HG();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 GG(this,o)}}var mr=function(e){VG(r,e);var t=qG(r);function r(n){xG(this,r);var o;return o=t.call(this,n),Qc(cS(o),"props",void 0),o.props=new gr(n==null?void 0:n.props),o}return zG(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);Qc(mr,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Qc(mr,"controlFieldType",c.FieldTypes.VARCHAR),Qc(mr,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function lS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WG(e,t,r){return t&&aS(e.prototype,t),r&&aS(e,r),e}function sS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function KG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function XG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:lS(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}function JG(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 ZG(e){var t=QG();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 XG(this,o)}}var _S=function(e){KG(r,e);var t=ZG(r);function r(n){UG(this,r);var o;return o=t.call(this,n),sS(lS(o),"props",void 0),o.props=new gr(n==null?void 0:n.props),o}return WG(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(k);sS(_S,"controlFieldType",c.FieldTypes.VARCHAR);var yS={Designer:mr,Runtime:_S,Property:gr};function me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(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&&Lv(e,t)}function eY(e,t){return t&&(tY(t)==="object"||typeof t=="function")?t:me(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}function tY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cv(e){var t=nY();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 eY(this,o)}}var rY=function(e){Fv(r,e);var t=Cv(r);function r(n){jv(this,r);var o;o=t.call(this,n),_e(me(o),"limitMax",{type:"number",min:void 0,message:p.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(f){return f==="unlimited"?void 0:f};return o.limitMax.min=u(n.limitMin),o}return r}(Tn),oY=function(e){Fv(r,e);var t=Cv(r);function r(n){jv(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(x),xo=function(e){Fv(r,e);var t=Cv(r);function r(n){jv(this,r);var o;o=t.call(this,n),_e(me(o),"checkboxMode",void 0),_e(me(o),"options",void 0),_e(me(o),"optionsOrder",void 0),_e(me(o),"limitMax",void 0),_e(me(o),"limitMin",void 0),_e(me(o),"otherOption",void 0),_e(me(o),"optionConfig",void 0),_e(me(o),"optionsFormat",void 0),_e(me(o),"defaultShowOptions",void 0),_e(me(o),"datasourceBind",void 0),_e(me(o),"multistageFilling",void 0),_e(me(o),"interreaction",void 0),_e(me(o),"defaultValue",void 0),_e(me(o),"openMultistageFilling",void 0);var i;o.options=ht((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var 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:zo.controlName;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:[];var h;o.optionsFormat=(h=n==null?void 0:n.optionsFormat)!==null&&h!==void 0?h:"horizontal";var m;o.defaultShowOptions=(m=n==null?void 0:n.defaultShowOptions)!==null&&m!==void 0?m:!0;var v;return o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Re(O))})),o}return r}(M);_e(xo,"Rules",rY),_e(xo,"RuntimeRules",oY);function pS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uY(e,t,r){return t&&dS(e.prototype,t),r&&dS(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 cY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function fY(e,t){return t&&(lY(t)==="object"||typeof t=="function")?t:pS(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}function lY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=aY();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 fY(this,o)}}var zo=function(e){cY(r,e);var t=sY(r);function r(n){iY(this,r);var o;return o=t.call(this,n),nf(pS(o),"props",void 0),o.props=new xo(n==null?void 0:n.props),o}return uY(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(A);nf(zo,"controlEventKeys",["on_change","on_click"]),nf(zo,"controlFieldType",c.FieldTypes.ARRAY),nf(zo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 vS(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 hS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yY(e,t,r){return t&&hS(e.prototype,t),r&&hS(e,r),e}function bS(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&&zv(e,t)}function dY(e,t){return t&&(vY(t)==="object"||typeof t=="function")?t:vS(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}function vY(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 bY(e){var t=hY();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 dY(this,o)}}var gS=function(e){pY(r,e);var t=bY(r);function r(n){_Y(this,r);var o;return o=t.call(this,n),bS(vS(o),"props",void 0),o.props=new xo(n==null?void 0:n.props),o}return yY(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(k);bS(gS,"controlFieldType",c.FieldTypes.ARRAY);var mS={Designer:zo,Runtime:gS,Property:xo};function Ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(e)}function wS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gY(e,t){return t&&(mY(t)==="object"||typeof t=="function")?t:Ge(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(e,t)}function mY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PS(e){var t=OY();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 gY(this,o)}}var wY=function(e){wS(r,e);var t=PS(r);function r(n){return OS(this,r),t.call(this,n)}return r}(Tn),cf=function(e){wS(r,e);var t=PS(r);function r(n){OS(this,r);var o;o=t.call(this,n),Ye(Ge(o),"radioMode",void 0),Ye(Ge(o),"options",void 0),Ye(Ge(o),"optionConfig",void 0),Ye(Ge(o),"optionsFormat",void 0),Ye(Ge(o),"defaultShowOptions",void 0),Ye(Ge(o),"otherOption",void 0),Ye(Ge(o),"optionsOrder",void 0),Ye(Ge(o),"datasourceBind",void 0),Ye(Ge(o),"multistageFilling",void 0),Ye(Ge(o),"interreaction",void 0),Ye(Ge(o),"defaultValue",void 0),Ye(Ge(o),"openMultistageFilling",void 0);var i;o.options=ht((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var 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:Vo.controlName;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:"";var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Re(m))})),o}return r}(M);Ye(cf,"Rules",wY);function $S(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 RS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $Y(e,t,r){return t&&RS(e.prototype,t),r&&RS(e,r),e}function ff(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(e)}function RY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function TY(e,t){return t&&(SY(t)==="object"||typeof t=="function")?t:$S(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function SY(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=lf(e),o;if(t){var i=lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TY(this,o)}}var Vo=function(e){RY(r,e);var t=IY(r);function r(n){PY(this,r);var o;return o=t.call(this,n),ff($S(o),"props",void 0),o.props=new cf(n==null?void 0:n.props),o}return $Y(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(A);ff(Vo,"controlEventKeys",["on_change","on_click"]),ff(Vo,"controlFieldType",c.FieldTypes.VARCHAR),ff(Vo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function TS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NY(e,t,r){return t&&SS(e.prototype,t),r&&SS(e,r),e}function ES(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 MY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}function AY(e,t){return t&&(kY(t)==="object"||typeof t=="function")?t:TS(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}function kY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=DY();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 AY(this,o)}}var IS=function(e){MY(r,e);var t=jY(r);function r(n){BY(this,r);var o;return o=t.call(this,n),ES(TS(o),"props",void 0),o.props=new cf(n==null?void 0:n.props),o}return NY(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(k);ES(IS,"controlFieldType",c.FieldTypes.VARCHAR);var BS={Designer:Vo,Runtime:IS,Property:cf};function Be(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 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 sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function qv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function FY(e,t){return t&&(LY(t)==="object"||typeof t=="function")?t:Be(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uv(e,t)}function LY(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 Wv(e){var t=CY();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 FY(this,o)}}var xY=function(e){qv(r,e);var t=Wv(r);function r(n){Hv(this,r);var o;o=t.call(this,n),Oe(Be(o),"defaultValue",[{type:"number",min:0,max:200,message:p.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),Oe(Be(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=p.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:p.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=$o(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ae),zY=function(e){qv(r,e);var t=Wv(r);function r(n){Hv(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:p.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:$o(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(x),Go=function(e){qv(r,e);var t=Wv(r);function r(n){Hv(this,r);var o;o=t.call(this,n),Oe(Be(o),"rangeMin",void 0),Oe(Be(o),"rangeMax",void 0),Oe(Be(o),"numberType",void 0),Oe(Be(o),"percentageFormat",void 0),Oe(Be(o),"micrometer",void 0),Oe(Be(o),"precision",void 0),Oe(Be(o),"showUpperCase",void 0),Oe(Be(o),"isShowUnit",void 0),Oe(Be(o),"unitPosition",void 0),Oe(Be(o),"unit",void 0),Oe(Be(o),"defaultValue",void 0),Oe(Be(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var 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 h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Yo.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u8F93\u5165";var v;return o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"",o.regularRules=new xy(n==null?void 0:n.regularRules),o}return r}(M);Oe(Go,"Rules",xY),Oe(Go,"RuntimeRules",zY);function NS(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 MS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GY(e,t,r){return t&&MS(e.prototype,t),r&&MS(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 yf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?yf=Reflect.get:yf=function(o,i,u){var f=qY(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},yf(e,t,r||e)}function Or(e){return Or=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Or(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&&Kv(e,t)}function HY(e,t){return t&&(UY(t)==="object"||typeof t=="function")?t:NS(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}function qY(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Or(e),e!==null););return e}function UY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KY(e){var t=WY();return function(){var n=Or(e),o;if(t){var i=Or(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HY(this,o)}}var Yo=function(e){YY(r,e);var t=KY(r);function r(n){VY(this,r);var o;return o=t.call(this,n),_f(NS(o),"props",void 0),o.props=new Go(n==null?void 0:n.props),o}return GY(r,[{key:"toDataBindModel",value:function(o){var i=yf(Or(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.precision,l=u.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);_f(Yo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),_f(Yo,"controlFieldType",c.FieldTypes.DECIMAL),_f(Yo,"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 AS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JY(e,t,r){return t&&kS(e.prototype,t),r&&kS(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 pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(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&&Xv(e,t)}function ZY(e,t){return t&&(eH(t)==="object"||typeof t=="function")?t:AS(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}function eH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tH();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 ZY(this,o)}}var jS=function(e){QY(r,e);var t=nH(r);function r(n){XY(this,r);var o;return o=t.call(this,n),DS(AS(o),"props",void 0),o.props=new Go(n==null?void 0:n.props),o}return JY(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(k);DS(jS,"controlFieldType",c.FieldTypes.DECIMAL);var FS={Designer:Yo,Runtime:jS,Property:Go};function Ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function oH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jv(e,t)}function iH(e,t){return t&&(uH(t)==="object"||typeof t=="function")?t:Ct(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function uH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fH(e){var t=cH();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 iH(this,o)}}var Qv=function(e){oH(r,e);var t=fH(r);function r(n){rH(this,r);var o,i;o=t.call(this,n),cn(Ct(o),"dateType",void 0),cn(Ct(o),"dateFormat",void 0),cn(Ct(o),"commonTimeSetting",void 0),cn(Ct(o),"setValueType",void 0),cn(Ct(o),"defaultValue",void 0),cn(Ct(o),"limitDateList",void 0),cn(Ct(o),"allowDateRange",void 0),cn(Ct(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.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:hf.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 Iu(m)}))!==null&&b!==void 0?b:[];var g;o.allowDateRange=(g=n==null?void 0:n.allowDateRange)!==null&&g!==void 0?g:["",""];var h;return o.filterWeekend=(h=n==null?void 0:n.filterWeekend)!==null&&h!==void 0?h:!1,o}return r}(M);function LS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lH(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 aH(e,t,r){return t&&CS(e.prototype,t),r&&CS(e,r),e}function Zv(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,u){var f=yH(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},vf(e,t,r||e)}function wr(e){return wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wr(e)}function sH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _H(e,t){return t&&(pH(t)==="object"||typeof t=="function")?t:LS(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}function yH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=wr(e),e!==null););return e}function pH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vH(e){var t=dH();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 _H(this,o)}}var hf=function(e){sH(r,e);var t=vH(r);function r(n){lH(this,r);var o;return o=t.call(this,n),Zv(LS(o),"props",void 0),o.props=new Qv(n==null?void 0:n.props),o}return aH(r,[{key:"toDataBindModel",value:function(o){var i=vf(wr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(A);Zv(hf,"controlFieldType",c.FieldTypes.TIMESTAMP),Zv(hf,"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 xS(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 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 bH(e,t,r){return t&&zS(e.prototype,t),r&&zS(e,r),e}function VS(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 gH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function mH(e,t){return t&&(OH(t)==="object"||typeof t=="function")?t:xS(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}function OH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=wH();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 mH(this,o)}}var GS=function(e){gH(r,e);var t=PH(r);function r(n){hH(this,r);var o;return o=t.call(this,n),VS(xS(o),"props",void 0),o.props=new Qv(n==null?void 0:n.props),o}return bH(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(k);VS(GS,"controlFieldType",c.FieldTypes.TIMESTAMP);var YS={Designer:hf,Runtime:GS,Property:Qv};function tt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HS(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 gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function qS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function $H(e,t){return t&&(RH(t)==="object"||typeof t=="function")?t:tt(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}function RH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function US(e){var t=TH();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 $H(this,o)}}var SH=function(e){qS(r,e);var t=US(r);function r(n){HS(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}(x),mf=function(e){qS(r,e);var t=US(r);function r(n){HS(this,r);var o,i;o=t.call(this,n),nt(tt(o),"dataBind",void 0),nt(tt(o),"rangeMin",void 0),nt(tt(o),"rangeMax",void 0),nt(tt(o),"placeholderStart",void 0),nt(tt(o),"placeholderEnd",void 0),nt(tt(o),"dateFormat",void 0),nt(tt(o),"commonTimeSetting",void 0),nt(tt(o),"dateType",void 0),nt(tt(o),"setValueType",void 0),nt(tt(o),"defaultValue",void 0),nt(tt(o),"limitDateList",void 0),o.dataBind=new aP(n==null?void 0:n.dataBind),o.defaultValue=new sP(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var 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:wf.controlName;var h;return o.limitDateList=(h=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(m){return new Iu(m)}))!==null&&h!==void 0?h:[],o}return r}(M);nt(mf,"RuntimeRules",SH);function WS(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 KS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IH(e,t,r){return t&&KS(e.prototype,t),r&&KS(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 Of(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Of=Reflect.get:Of=function(o,i,u){var f=MH(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},Of(e,t,r||e)}function Pr(e){return Pr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pr(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 NH(e,t){return t&&(AH(t)==="object"||typeof t=="function")?t:WS(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}function MH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Pr(e),e!==null););return e}function AH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=kH();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 NH(this,o)}}var wf=function(e){BH(r,e);var t=DH(r);function r(n){EH(this,r);var o;return o=t.call(this,n),rh(WS(o),"props",void 0),o.props=new mf(n==null?void 0:n.props),o}return IH(r,[{key:"toDataBindModel",value:function(o){var i=Of(Pr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(A);rh(wf,"controlFieldType",c.FieldTypes.TIMESCOPE),rh(wf,"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 XS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FH(e,t,r){return t&&JS(e.prototype,t),r&&JS(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 Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function LH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function CH(e,t){return t&&(xH(t)==="object"||typeof t=="function")?t:XS(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function xH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VH(e){var t=zH();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 CH(this,o)}}var ZS=function(e){LH(r,e);var t=VH(r);function r(n){jH(this,r);var o;return o=t.call(this,n),QS(XS(o),"props",void 0),o.props=new mf(n==null?void 0:n.props),o}return FH(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(k);QS(ZS,"controlFieldType",c.FieldTypes.TIMESCOPE);var eE={Designer:wf,Runtime:ZS,Property:mf};function fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uh(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 $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function ch(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function GH(e,t){return t&&(YH(t)==="object"||typeof t=="function")?t:fn(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function YH(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 lh(e){var t=HH();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 GH(this,o)}}var qH=function(e){ch(r,e);var t=lh(r);function r(n){uh(this,r);var o;return o=t.call(this,n),xt(fn(o),"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),xt(fn(o),"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),xt(fn(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}(ae),UH=function(e){ch(r,e);var t=lh(r);function r(n){uh(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}(x),Ho=function(e){ch(r,e);var t=lh(r);function r(n){uh(this,r);var o;o=t.call(this,n),xt(fn(o),"maxLength",void 0),xt(fn(o),"minLength",void 0),xt(fn(o),"defaultValue",void 0),xt(fn(o),"lineEllipsis",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var 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:qo.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);xt(Ho,"Rules",qH),xt(Ho,"RuntimeRules",UH);function tE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KH(e,t,r){return t&&nE(e.prototype,t),r&&nE(e,r),e}function Rf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(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&&ah(e,t)}function JH(e,t){return t&&(QH(t)==="object"||typeof t=="function")?t:tE(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}function QH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ZH();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 JH(this,o)}}var qo=function(e){XH(r,e);var t=eq(r);function r(n){WH(this,r);var o;return o=t.call(this,n),Rf(tE(o),"props",void 0),o.props=new Ho(n==null?void 0:n.props),o}return KH(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);Rf(qo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Rf(qo,"controlFieldType",c.FieldTypes.TEXT),Rf(qo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 rE(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 oE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nq(e,t,r){return t&&oE(e.prototype,t),r&&oE(e,r),e}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 Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function rq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function oq(e,t){return t&&(iq(t)==="object"||typeof t=="function")?t:rE(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}function iq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=uq();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 oq(this,o)}}var uE=function(e){rq(r,e);var t=cq(r);function r(n){tq(this,r);var o;return o=t.call(this,n),iE(rE(o),"props",void 0),o.props=new Ho(n==null?void 0:n.props),o}return nq(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(k);iE(uE,"controlFieldType",c.FieldTypes.TEXT);var cE={Designer:qo,Runtime:uE,Property:Ho};function In(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(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&&ph(e,t)}function fq(e,t){return t&&(lq(t)==="object"||typeof t=="function")?t:In(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ph(e,t)}function lq(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 dh(e){var t=aq();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 fq(this,o)}}var sq=function(e){yh(r,e);var t=dh(r);function r(n){_h(this,r);var o;return o=t.call(this,n),ln(In(o),"maxLength",{type:"number",min:0,message:p.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),ln(In(o),"minLength",{type:"number",max:1e6,message:p.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),ln(In(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}(ae),_q=function(e){yh(r,e);var t=dh(r);function r(n){_h(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}(x),Uo=function(e){yh(r,e);var t=dh(r);function r(n){_h(this,r);var o;o=t.call(this,n),ln(In(o),"maxLength",void 0),ln(In(o),"minLength",void 0),ln(In(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var 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:Wo.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);ln(Uo,"Rules",sq),ln(Uo,"RuntimeRules",_q);function fE(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 lE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pq(e,t,r){return t&&lE(e.prototype,t),r&&lE(e,r),e}function If(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 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&&vh(e,t)}function vq(e,t){return t&&(hq(t)==="object"||typeof t=="function")?t:fE(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}function hq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gq(e){var t=bq();return function(){var n=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vq(this,o)}}var Wo=function(e){dq(r,e);var t=gq(r);function r(n){yq(this,r);var o;return o=t.call(this,n),If(fE(o),"props",void 0),o.props=new Uo(n==null?void 0:n.props),o}return pq(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(A);If(Wo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),If(Wo,"controlFieldType",c.FieldTypes.TEXT),If(Wo,"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 aE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Oq(e,t,r){return t&&sE(e.prototype,t),r&&sE(e,r),e}function _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 Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(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&&hh(e,t)}function Pq(e,t){return t&&($q(t)==="object"||typeof t=="function")?t:aE(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}function $q(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tq(e){var t=Rq();return function(){var n=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pq(this,o)}}var yE=function(e){wq(r,e);var t=Tq(r);function r(n){mq(this,r);var o;return o=t.call(this,n),_E(aE(o),"props",void 0),o.props=new Uo(n==null?void 0:n.props),o}return Oq(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(k);_E(yE,"controlFieldType",c.FieldTypes.TEXT);var pE={Designer:Wo,Runtime:yE,Property:Uo};function He(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function vE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bh(e,t)}function Sq(e,t){return t&&(Eq(t)==="object"||typeof t=="function")?t:He(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function Eq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hE(e){var t=Iq();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 Sq(this,o)}}var Bq=function(e){vE(r,e);var t=hE(r);function r(n){dE(this,r);var o;return o=t.call(this,n),qe(He(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Tn),Af=function(e){vE(r,e);var t=hE(r);function r(n){dE(this,r);var o;o=t.call(this,n),qe(He(o),"options",void 0),qe(He(o),"defaultShowOptions",void 0),qe(He(o),"optionConfig",void 0),qe(He(o),"defaultValue",void 0),qe(He(o),"datasourceBind",void 0),qe(He(o),"multistageFilling",void 0),qe(He(o),"allowCopyOptions",void 0),qe(He(o),"openMultistageFilling",void 0),qe(He(o),"viewFormModelType",void 0),qe(He(o),"canViewForm",void 0),qe(He(o),"formBind",void 0);var i;o.options=ht((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var 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:Df.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(h){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new Re(h))}));var b;o.canViewForm=(b=n==null?void 0:n.canViewForm)!==null&&b!==void 0?b:!1;var g;return o.viewFormModelType=(g=n==null?void 0:n.viewFormModelType)!==null&&g!==void 0?g:"window",o.formBind=new Rn(n==null?void 0:n.formBind),o}return r}(M);qe(Af,"Rules",Bq);function bE(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 gE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mq(e,t,r){return t&&gE(e.prototype,t),r&&gE(e,r),e}function gh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function 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&&mh(e,t)}function kq(e,t){return t&&(Dq(t)==="object"||typeof t=="function")?t:bE(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}function Dq(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 Fq(e){var t=jq();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kq(this,o)}}var Df=function(e){Aq(r,e);var t=Fq(r);function r(n){Nq(this,r);var o;return o=t.call(this,n),gh(bE(o),"props",void 0),o.props=new Af(n==null?void 0:n.props),o}return Mq(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);gh(Df,"controlFieldType",c.FieldTypes.VARCHAR),gh(Df,"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 mE(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 OE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cq(e,t,r){return t&&OE(e.prototype,t),r&&OE(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 jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(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&&Oh(e,t)}function zq(e,t){return t&&(Vq(t)==="object"||typeof t=="function")?t:mE(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function Vq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yq(e){var t=Gq();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 zq(this,o)}}var PE=function(e){xq(r,e);var t=Yq(r);function r(n){Lq(this,r);var o;return o=t.call(this,n),wE(mE(o),"props",void 0),o.props=new Af(n==null?void 0:n.props),o}return Cq(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(k);wE(PE,"controlFieldType",c.FieldTypes.VARCHAR);var $E={Designer:Df,Runtime:PE,Property:Af};function rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ff(e)}function Ph(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$h(e,t)}function Hq(e,t){return t&&(qq(t)==="object"||typeof t=="function")?t:rt(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}function qq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rh(e){var t=Uq();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 Hq(this,o)}}var Wq=function(e){Ph(r,e);var t=Rh(r);function r(n){wh(this,r);var o;return o=t.call(this,n),Ue(rt(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Tn),Kq=function(e){Ph(r,e);var t=Rh(r);function r(n){wh(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),Ko=function(e){Ph(r,e);var t=Rh(r);function r(n){wh(this,r);var o;o=t.call(this,n),Ue(rt(o),"options",void 0),Ue(rt(o),"defaultShowOptions",void 0),Ue(rt(o),"optionConfig",void 0),Ue(rt(o),"defaultValue",void 0),Ue(rt(o),"datasourceBind",void 0),Ue(rt(o),"multistageFilling",void 0),Ue(rt(o),"openMultistageFilling",void 0),Ue(rt(o),"viewFormModelType",void 0),Ue(rt(o),"canViewForm",void 0),Ue(rt(o),"formBind",void 0);var i;o.options=ht((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var 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:Cf.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new Re(g))}));var 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 Rn(n==null?void 0:n.formBind),o}return r}(M);Ue(Ko,"Rules",Wq),Ue(Ko,"RuntimeRules",Kq);function RE(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 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 Jq(e,t,r){return t&&TE(e.prototype,t),r&&TE(e,r),e}function Th(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 Qq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function Zq(e,t){return t&&(eU(t)==="object"||typeof t=="function")?t:RE(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}function eU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nU(e){var t=tU();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 Zq(this,o)}}var Cf=function(e){Qq(r,e);var t=nU(r);function r(n){Xq(this,r);var o;return o=t.call(this,n),Th(RE(o),"props",void 0),o.props=new Ko(n==null?void 0:n.props),o}return Jq(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);Th(Cf,"controlFieldType",c.FieldTypes.ARRAY),Th(Cf,"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 SE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oU(e,t,r){return t&&EE(e.prototype,t),r&&EE(e,r),e}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 xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(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&&Eh(e,t)}function uU(e,t){return t&&(cU(t)==="object"||typeof t=="function")?t:SE(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}function cU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lU(e){var t=fU();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 uU(this,o)}}var BE=function(e){iU(r,e);var t=lU(r);function r(n){rU(this,r);var o;return o=t.call(this,n),IE(SE(o),"props",void 0),o.props=new Ko(n==null?void 0:n.props),o}return oU(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(k);IE(BE,"controlFieldType",c.FieldTypes.ARRAY);var NE={Designer:Cf,Runtime:BE,Property:Ko};function zt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ME(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function AE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ih(e,t)}function aU(e,t){return t&&(sU(t)==="object"||typeof t=="function")?t:zt(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ih(e,t)}function sU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _U(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kE(e){var t=_U();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aU(this,o)}}var yU=function(e){AE(r,e);var t=kE(r);function r(n){ME(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),Vf=function(e){AE(r,e);var t=kE(r);function r(n){ME(this,r);var o;o=t.call(this,n),Vt(zt(o),"showType",void 0),Vt(zt(o),"range",void 0),Vt(zt(o),"rangeOptions",void 0),Vt(zt(o),"multiple",void 0),Vt(zt(o),"defaultValueType",void 0),Vt(zt(o),"defaultValue",void 0),Vt(zt(o),"multistageFilling",void 0),Vt(zt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var 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?_:Yf.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 h;(h=o.multistageFilling)===null||h===void 0||h.push(new Re(g))})),o}return r}(M);Vt(Vf,"RuntimeRules",yU);function DE(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 jE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dU(e,t,r){return t&&jE(e.prototype,t),r&&jE(e,r),e}function Bh(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 vU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nh(e,t)}function hU(e,t){return t&&(bU(t)==="object"||typeof t=="function")?t:DE(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}function bU(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 mU(e){var t=gU();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 hU(this,o)}}var Yf=function(e){vU(r,e);var t=mU(r);function r(n){pU(this,r);var o;return o=t.call(this,n),Bh(DE(o),"props",void 0),o.props=new Vf(n==null?void 0:n.props),o}return dU(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(A);Bh(Yf,"controlFieldType",c.FieldTypes.EMPLOYEES),Bh(Yf,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.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 FE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wU(e,t,r){return t&&LE(e.prototype,t),r&&LE(e,r),e}function CE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(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&&Mh(e,t)}function $U(e,t){return t&&(RU(t)==="object"||typeof t=="function")?t:FE(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}function RU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=TU();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 $U(this,o)}}var xE=function(e){PU(r,e);var t=SU(r);function r(n){OU(this,r);var o;return o=t.call(this,n),CE(FE(o),"props",void 0),o.props=new Vf(n==null?void 0:n.props),o}return wU(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(k);CE(xE,"controlFieldType",c.FieldTypes.EMPLOYEES);var zE={Designer:Yf,Runtime:xE,Property:Vf};function Gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ah(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function kh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dh(e,t)}function EU(e,t){return t&&(IU(t)==="object"||typeof t=="function")?t:Gt(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}function IU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jh(e){var t=BU();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 EU(this,o)}}var NU=10485760,MU=104857600,AU=1048576e3,kU=function(e){kh(r,e);var t=jh(r);function r(n){Ah(this,r);var o;return o=t.call(this,n),wt(Gt(o),"maxSize",{type:"number",min:0,max:AU,message:p.getMessage("attachmentMaxSize")}),o}return r}(ae),DU=function(e){kh(r,e);var t=jh(r);function r(n){Ah(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}(x),$r=function(e){kh(r,e);var t=jh(r);function r(n){Ah(this,r);var o;o=t.call(this,n),wt(Gt(o),"defaultValue",void 0),wt(Gt(o),"showType",void 0),wt(Gt(o),"resultShowType",void 0),wt(Gt(o),"attachmentAccept",void 0),wt(Gt(o),"maxLimit",void 0),wt(Gt(o),"minLimit",void 0),wt(Gt(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var 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?_:MU;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Rr.controlName;var b;return o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(M);wt($r,"Rules",kU),wt($r,"RuntimeRules",DU);function VE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FU(e,t,r){return t&&GE(e.prototype,t),r&&GE(e,r),e}function Uf(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 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&&Fh(e,t)}function CU(e,t){return t&&(xU(t)==="object"||typeof t=="function")?t:VE(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}function xU(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 VU(e){var t=zU();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 CU(this,o)}}var Rr=function(e){LU(r,e);var t=VU(r);function r(n){jU(this,r);var o;return o=t.call(this,n),Uf(VE(o),"props",void 0),o.props=new $r(n==null?void 0:n.props),o}return FU(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(A);Uf(Rr,"controlEventKeys",["on_change"]),Uf(Rr,"controlFieldType",c.FieldTypes.FILE),Uf(Rr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function YE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GU(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 YU(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 Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function HU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lh(e,t)}function qU(e,t){return t&&(UU(t)==="object"||typeof t=="function")?t:YE(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}function UU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KU(e){var t=WU();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qU(this,o)}}var Ch=function(e){HU(r,e);var t=KU(r);function r(n){GU(this,r);var o;return o=t.call(this,n),qE(YE(o),"props",void 0),o.props=new $r(n==null?void 0:n.props),o}return YU(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(k);qE(Ch,"controlFieldType",c.FieldTypes.FILE);var UE={Designer:Rr,Runtime:Ch,Property:$r};function XU(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QU(e,t,r){return t&&WE(e.prototype,t),r&&WE(e,r),e}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 Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function ZU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eW(e,t){return t&&(tW(t)==="object"||typeof t=="function")?t:XU(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}function tW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rW(e){var t=nW();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 eW(this,o)}}var zh=function(e){ZU(r,e);var t=rW(r);function r(n){JU(this,r);var o,i,u;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||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&l!==void 0?l:"\u4E0A\u4F20\u56FE\u7247",o}return QU(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(Rr);KE(zh,"controlFieldType",c.FieldTypes.IMAGE),KE(zh,"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 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 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 uW(e,t,r){return t&&XE(e.prototype,t),r&&XE(e,r),e}function Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jf(e)}function cW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function fW(e,t){return t&&(lW(t)==="object"||typeof t=="function")?t:oW(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}function lW(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 sW(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 fW(this,o)}}var _W=function(e){cW(r,e);var t=sW(r);function r(n){iW(this,r);var o,i,u,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||(u=n.props)===null||u===void 0?void 0:u.caption)!==null&&a!==void 0?a:"\u56FE\u7247";var s;return o.props.placeholder=(s=n==null||(f=n.props)===null||f===void 0?void 0:f.placeholder)!==null&&s!==void 0?s:"\u4E0A\u4F20\u56FE\u7247",o}return uW(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(Ch);function yW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(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&&Gh(e,t)}function vW(e,t){return t&&(hW(t)==="object"||typeof t=="function")?t:yW(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}function hW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gW(e){var t=bW();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 vW(this,o)}}var mW=function(e){dW(r,e);var t=gW(r);function r(n){return pW(this,r),t.call(this,n)}return r}($r),JE={Designer:zh,Runtime:_W,Property:mW};function Fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Zf(e){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zf(e)}function Hh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function OW(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 wW(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)):wW(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function $W(e,t){return t&&(RW(t)==="object"||typeof t=="function")?t:Fe(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}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 Uh(e){var t=TW();return function(){var n=Zf(e),o;if(t){var i=Zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $W(this,o)}}var SW=function(e){Hh(r,e);var t=Uh(r);function r(n){Yh(this,r);var o;o=t.call(this,n),we(Fe(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:p.getMessage("pleaseEnterNumberRange")}]}}),we(Fe(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=p.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:p.getMessage("numberRangeSetError")}),o}return r}(Tn),EW=function(e){Hh(r,e);var t=Uh(r);function r(n){Yh(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="object");var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[PW(OW({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:p.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(x),Xo=function(e){Hh(r,e);var t=Uh(r);function r(n){Yh(this,r);var o;o=t.call(this,n),we(Fe(o),"rangeMin",void 0),we(Fe(o),"rangeMax",void 0),we(Fe(o),"showUpperCase",void 0),we(Fe(o),"submitSelectCurrency",void 0),we(Fe(o),"micrometer",void 0),we(Fe(o),"precision",void 0),we(Fe(o),"optionConfig",void 0),we(Fe(o),"dataBind",void 0),we(Fe(o),"datasourceBind",void 0),we(Fe(o),"defaultValue",void 0),we(Fe(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var 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 fP(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 xi({value:"name"})]});var _;o.defaultValue=new lP((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:c.AMOUNT_TYPE.CNY}),o.options=ht(n==null?void 0:n.options);var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Jo.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u8BF7\u8F93\u5165";var g;o.submitSelectCurrency=(g=n==null?void 0:n.submitSelectCurrency)!==null&&g!==void 0?g:!1;var h;return o.showUpperCase=(h=n==null?void 0:n.showUpperCase)!==null&&h!==void 0?h:!1,o}return r}(M);we(Xo,"Rules",SW),we(Xo,"RuntimeRules",EW);function QE(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 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 BW(e,t,r){return t&&ZE(e.prototype,t),r&&ZE(e,r),e}function el(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?tl=Reflect.get:tl=function(o,i,u){var f=AW(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},tl(e,t,r||e)}function Tr(e){return Tr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tr(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 MW(e,t){return t&&(kW(t)==="object"||typeof t=="function")?t:QE(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}function AW(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tr(e),e!==null););return e}function kW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jW(e){var t=DW();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 MW(this,o)}}var Jo=function(e){NW(r,e);var t=jW(r);function r(n){IW(this,r);var o;return o=t.call(this,n),el(QE(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return BW(r,[{key:"toDataBindModel",value:function(o){var i=tl(Tr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.precision,l=u.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);el(Jo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),el(Jo,"controlFieldType",c.FieldTypes.MONEY),el(Jo,"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 eI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LW(e,t,r){return t&&tI(e.prototype,t),r&&tI(e,r),e}function nI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(e)}function CW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function xW(e,t){return t&&(zW(t)==="object"||typeof t=="function")?t:eI(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}function zW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GW(e){var t=VW();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 xW(this,o)}}var rI=function(e){CW(r,e);var t=GW(r);function r(n){FW(this,r);var o;return o=t.call(this,n),nI(eI(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return LW(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(k);nI(rI,"controlFieldType",c.FieldTypes.MONEY);var oI={Designer:Jo,Runtime:rI,Property:Xo};function an(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xh(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 rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rl(e)}function Jh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qh(e,t)}function YW(e,t){return t&&(HW(t)==="object"||typeof t=="function")?t:an(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}function HW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zh(e){var t=qW();return function(){var n=rl(e),o;if(t){var i=rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YW(this,o)}}var UW=function(e){Jh(r,e);var t=Zh(r);function r(n){Xh(this,r);var o;return o=t.call(this,n),Yt(an(o),"totalScore",[{type:"number",required:!0,message:p.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:p.getMessage("theTotalScoreMustNotBeLessThan1")}]),Yt(an(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}(ae),WW=function(e){Jh(r,e);var t=Zh(r);function r(n){Xh(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:p.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(x),Qo=function(e){Jh(r,e);var t=Zh(r);function r(n){Xh(this,r);var o,i;o=t.call(this,n),Yt(an(o),"totalScore",void 0),Yt(an(o),"scoreType",void 0),Yt(an(o),"isShowExplain",void 0),Yt(an(o),"explain",void 0),Yt(an(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var f;o.scoreType=(f=n==null?void 0:n.scoreType)!==null&&f!==void 0?f:c.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 Bu(y)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new Bu});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?_:Zo.controlName,o}return r}(M);Yt(Qo,"Rules",UW),Yt(Qo,"RuntimeRules",WW);function eb(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 KW(e){if(Array.isArray(e))return eb(e)}function iI(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 uI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JW(e,t,r){return t&&uI(e.prototype,t),r&&uI(e,r),e}function ol(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?il=Reflect.get:il=function(o,i,u){var f=nK(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},il(e,t,r||e)}function Sr(e){return Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sr(e)}function QW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function ZW(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function eK(){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 tK(e,t){return t&&(oK(t)==="object"||typeof t=="function")?t:iI(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}function nK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Sr(e),e!==null););return e}function rK(e){return KW(e)||ZW(e)||iK(e)||eK()}function oK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iK(e,t){if(!!e){if(typeof e=="string")return eb(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 eb(e,t)}}function uK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cK(e){var t=uK();return function(){var n=Sr(e),o;if(t){var i=Sr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tK(this,o)}}var Zo=function(e){QW(r,e);var t=cK(r);function r(n){XW(this,r);var o;return o=t.call(this,n),ol(iI(o),"props",void 0),o.props=new Qo(n==null?void 0:n.props),o}return JW(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,f=i-this.props.explain.length,l=Array(f).fill(void 0).map(function(){return new Bu});(u=this.props.explain).push.apply(u,rK(l))}}il(Sr(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return"\u8BC4\u5206"}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(A);ol(Zo,"controlEventKeys",["on_change","on_click"]),ol(Zo,"controlFieldType",c.FieldTypes.DECIMAL),ol(Zo,"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 cI(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 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 lK(e,t,r){return t&&fI(e.prototype,t),r&&fI(e,r),e}function lI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(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&&nb(e,t)}function sK(e,t){return t&&(_K(t)==="object"||typeof t=="function")?t:cI(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}function _K(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 pK(e){var t=yK();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 sK(this,o)}}var aI=function(e){aK(r,e);var t=pK(r);function r(n){fK(this,r);var o;return o=t.call(this,n),lI(cI(o),"props",void 0),o.props=new Qo(n==null?void 0:n.props),o}return lK(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(k);lI(aI,"controlFieldType",c.FieldTypes.DECIMAL);var sI={Designer:Zo,Runtime:aI,Property:Qo};function cl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _I(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(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&&rb(e,t)}function dK(e,t){return t&&(vK(t)==="object"||typeof t=="function")?t:cl(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function vK(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 pI(e){var t=hK();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 dK(this,o)}}var bK=function(e){yI(r,e);var t=pI(r);function r(n){_I(this,r);var o;if(o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:p.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:p.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:p.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(x),al=function(e){yI(r,e);var t=pI(r);function r(n){_I(this,r);var o;o=t.call(this,n),fl(cl(o),"defaultValueType",void 0),fl(cl(o),"defaultValue",void 0),fl(cl(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_l.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"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 _P((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);fl(al,"RuntimeRules",bK);function dI(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 vI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mK(e,t,r){return t&&vI(e.prototype,t),r&&vI(e,r),e}function ob(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 OK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ib(e,t)}function wK(e,t){return t&&(PK(t)==="object"||typeof t=="function")?t:dI(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}function PK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof 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 RK(e){var t=$K();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 wK(this,o)}}var _l=function(e){OK(r,e);var t=RK(r);function r(n){gK(this,r);var o;return o=t.call(this,n),ob(dI(o),"props",void 0),o.props=new al(n==null?void 0:n.props),o}return mK(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(A);ob(_l,"controlFieldType",c.FieldTypes.ADDRESS),ob(_l,"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 hI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bI(e,t){for(var r=0;r<t.length;r++){var 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&&bI(e.prototype,t),r&&bI(e,r),e}function gI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(e)}function EK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IK(e,t){return t&&(BK(t)==="object"||typeof t=="function")?t:hI(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function BK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=NK();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 IK(this,o)}}var mI=function(e){EK(r,e);var t=MK(r);function r(n){TK(this,r);var o;return o=t.call(this,n),gI(hI(o),"props",void 0),o.props=new al(n==null?void 0:n.props),o}return SK(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);gI(mI,"controlFieldType",c.FieldTypes.ADDRESS);var OI={Designer:_l,Runtime:mI,Property:al};function ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pl(e)}function PI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AK(e,t){return t&&(kK(t)==="object"||typeof t=="function")?t:ft(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function kK(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 $I(e){var t=DK();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 AK(this,o)}}var jK=function(e){PI(r,e);var t=$I(r);function r(n){wI(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),dl=function(e){PI(r,e);var t=$I(r);function r(n){wI(this,r);var o;o=t.call(this,n),lt(ft(o),"showType",void 0),lt(ft(o),"range",void 0),lt(ft(o),"defaultValueType",void 0),lt(ft(o),"multiple",void 0),lt(ft(o),"rangeOptions",void 0),lt(ft(o),"defaultValue",void 0),lt(ft(o),"displayLevel",void 0),lt(ft(o),"showSubDept",void 0),lt(ft(o),"multistageFilling",void 0),lt(ft(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var 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:ei.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u90E8\u95E8";var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Re(m))})),o}return r}(M);lt(dl,"RuntimeRules",jK);function RI(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 TI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LK(e,t,r){return t&&TI(e.prototype,t),r&&TI(e,r),e}function vl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?hl=Reflect.get:hl=function(o,i,u){var f=zK(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},hl(e,t,r||e)}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Er(e)}function CK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function xK(e,t){return t&&(VK(t)==="object"||typeof t=="function")?t:RI(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function zK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Er(e),e!==null););return e}function VK(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 YK(e){var t=GK();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 xK(this,o)}}var ei=function(e){CK(r,e);var t=YK(r);function r(n){FK(this,r);var o;return o=t.call(this,n),vl(RI(o),"props",void 0),o.props=new dl(n==null?void 0:n.props),o}return LK(r,[{key:"toDataBindModel",value:function(o){var i=hl(Er(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.displayLevel,l=u.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);vl(ei,"controlName","\u90E8\u95E8"),vl(ei,"controlFieldType",c.FieldTypes.DEPARTMENTS),vl(ei,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 SI(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 EI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qK(e,t,r){return t&&EI(e.prototype,t),r&&EI(e,r),e}function II(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 UK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lb(e,t)}function WK(e,t){return t&&(KK(t)==="object"||typeof t=="function")?t:SI(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function KK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JK(e){var t=XK();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 WK(this,o)}}var BI=function(e){UK(r,e);var t=JK(r);function r(n){HK(this,r);var o;return o=t.call(this,n),II(SI(o),"props",void 0),o.props=new dl(n==null?void 0:n.props),o}return qK(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(k);II(BI,"controlFieldType",c.FieldTypes.DEPARTMENTS);var NI={Designer:ei,Runtime:BI,Property:dl};function MI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZK(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 eX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ab(e,t)}function tX(e,t){return t&&(nX(t)==="object"||typeof t=="function")?t:MI(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}function nX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oX(e){var t=rX();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 tX(this,o)}}var sb=function(e){eX(r,e);var t=oX(r);function r(n){QK(this,r);var o;o=t.call(this,n),ZK(MI(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ti.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 AI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uX(e,t,r){return t&&kI(e.prototype,t),r&&kI(e,r),e}function ml(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function cX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:AI(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}function lX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sX(e){var t=aX();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 fX(this,o)}}var ti=function(e){cX(r,e);var t=sX(r);function r(n){iX(this,r);var o;return o=t.call(this,n),ml(AI(o),"props",void 0),o.props=new sb(n==null?void 0:n.props),o}return uX(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);ml(ti,"controlEventKeys",["on_change"]),ml(ti,"controlFieldType",c.FieldTypes.AUTO_NUMBER),ml(ti,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 DI(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 jI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yX(e,t,r){return t&&jI(e.prototype,t),r&&jI(e,r),e}function FI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function pX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yb(e,t)}function dX(e,t){return t&&(vX(t)==="object"||typeof t=="function")?t:DI(e)}function yb(e,t){return yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yb(e,t)}function vX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=hX();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 dX(this,o)}}var LI=function(e){pX(r,e);var t=bX(r);function r(n){_X(this,r);var o;return o=t.call(this,n),FI(DI(o),"props",void 0),o.props=new sb(n==null?void 0:n.props),o}return yX(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(k);FI(LI,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var CI={Designer:ti,Runtime:LI,Property:sb};function sn(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 Ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function db(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gX(e,t){return t&&(mX(t)==="object"||typeof t=="function")?t:sn(e)}function vb(e,t){return vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vb(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 hb(e){var t=OX();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 gX(this,o)}}var wX=function(e){db(r,e);var t=hb(r);function r(n){pb(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(ae),PX=function(e){db(r,e);var t=hb(r);function r(n){pb(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:p.getMessage("isNotObject"),fields:{result:[{type:"number",message:p.getMessage("isNotNumber")}],unit:{type:"string",message:p.getMessage("isNotString")}}}),o}return r}(x),ni=function(e){db(r,e);var t=hb(r);function r(n){pb(this,r);var o;o=t.call(this,n),Ht(sn(o),"precision",void 0),Ht(sn(o),"micrometer",void 0),Ht(sn(o),"showUpperCase",void 0),Ht(sn(o),"scriptSrc",void 0),Ht(sn(o),"scriptEcho",void 0),Ht(sn(o),"dataBind",void 0),Ht(sn(o),"defaultValue",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var f;o.showUpperCase=(f=n==null?void 0:n.showUpperCase)!==null&&f!==void 0?f:!1,o.dataBind=new yP(n==null?void 0:n.dataBind),o.defaultValue=new pP(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:ri.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);Ht(ni,"Rules",wX),Ht(ni,"RuntimeRules",PX);function xI(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 zI(e,t){for(var r=0;r<t.length;r++){var 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&&zI(e.prototype,t),r&&zI(e,r),e}function $l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Rl=Reflect.get:Rl=function(o,i,u){var f=EX(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},Rl(e,t,r||e)}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ir(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&&bb(e,t)}function SX(e,t){return t&&(IX(t)==="object"||typeof t=="function")?t:xI(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function EX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ir(e),e!==null););return e}function IX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NX(e){var t=BX();return function(){var n=Ir(e),o;if(t){var i=Ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SX(this,o)}}var ri=function(e){TX(r,e);var t=NX(r);function r(n){$X(this,r);var o;return o=t.call(this,n),$l(xI(o),"props",void 0),o.props=new ni(n==null?void 0:n.props),o}return RX(r,[{key:"toDataBindModel",value:function(o){var i=Rl(Ir(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.precision,l=u.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);$l(ri,"controlEventKeys",["on_change"]),$l(ri,"controlFieldType",c.FieldTypes.CALC),$l(ri,"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 VI(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 GI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AX(e,t,r){return t&&GI(e.prototype,t),r&&GI(e,r),e}function YI(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 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&&gb(e,t)}function DX(e,t){return t&&(jX(t)==="object"||typeof t=="function")?t:VI(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(e,t)}function jX(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=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DX(this,o)}}var HI=function(e){kX(r,e);var t=LX(r);function r(n){MX(this,r);var o;return o=t.call(this,n),YI(VI(o),"props",void 0),o.props=new ni(n==null?void 0:n.props),o}return AX(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(k);YI(HI,"controlFieldType",c.FieldTypes.CALC);var qI={Designer:ri,Runtime:HI,Property:ni};function Br(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function WI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mb(e,t)}function CX(e,t){return t&&(xX(t)==="object"||typeof t=="function")?t:Br(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}function xX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KI(e){var t=zX();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 CX(this,o)}}var VX=function(e){WI(r,e);var t=KI(r);function r(n){UI(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(u,f){if(n.required){var l=f.every(function(a){return!a});return l?Promise.reject(p.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(x),El=function(e){WI(r,e);var t=KI(r);function r(n){UI(this,r);var o;o=t.call(this,n),Nr(Br(o),"rangeMin",void 0),Nr(Br(o),"rangeMax",void 0),Nr(Br(o),"placeholderStart",void 0),Nr(Br(o),"placeholderEnd",void 0),Nr(Br(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var 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:Bl.controlName,o}return r}(M);Nr(El,"RuntimeRules",VX);function XI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YX(e,t,r){return t&&JI(e.prototype,t),r&&JI(e,r),e}function Ob(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 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&&wb(e,t)}function qX(e,t){return t&&(UX(t)==="object"||typeof t=="function")?t:XI(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function UX(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=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qX(this,o)}}var Bl=function(e){HX(r,e);var t=KX(r);function r(n){GX(this,r);var o;return o=t.call(this,n),Ob(XI(o),"props",void 0),o.props=new El(n==null?void 0:n.props),o}return YX(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);Ob(Bl,"controlFieldType",c.FieldTypes.DECIMAL_RANGE),Ob(Bl,"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 QI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JX(e,t,r){return t&&ZI(e.prototype,t),r&&ZI(e,r),e}function eB(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 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&&Pb(e,t)}function ZX(e,t){return t&&(eJ(t)==="object"||typeof t=="function")?t:QI(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function eJ(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=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZX(this,o)}}var tB=function(e){QX(r,e);var t=nJ(r);function r(n){XX(this,r);var o;return o=t.call(this,n),eB(QI(o),"props",void 0),o.props=new El(n==null?void 0:n.props),o}return JX(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(k);eB(tB,"controlFieldType",c.FieldTypes.DECIMAL_RANGE);var nB={Designer:Bl,Runtime:tB,Property:El};function at(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function st(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(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&&$b(e,t)}function rJ(e,t){return t&&(oJ(t)==="object"||typeof t=="function")?t:at(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}function oJ(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 iB(e){var t=iJ();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 rJ(this,o)}}var uJ=function(e){oB(r,e);var t=iB(r);function r(n){rB(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}(x),Al=function(e){oB(r,e);var t=iB(r);function r(n){rB(this,r);var o,i;o=t.call(this,n),st(at(o),"rangeMin",void 0),st(at(o),"rangeMax",void 0),st(at(o),"placeholderStart",void 0),st(at(o),"placeholderEnd",void 0),st(at(o),"dateType",void 0),st(at(o),"dateFormat",void 0),st(at(o),"commonTimeSetting",void 0),st(at(o),"setValueType",void 0),st(at(o),"defaultValue",void 0),st(at(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var f;o.dateType=(f=n==null?void 0:n.dateType)!==null&&f!==void 0?f:c.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 h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:Dl.controlName;var m;return o.limitDateList=(m=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(v){return new Iu(v)}))!==null&&m!==void 0?m:[],o}return r}(M);st(Al,"RuntimeRules",uJ);function uB(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 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 fJ(e,t,r){return t&&cB(e.prototype,t),r&&cB(e,r),e}function Rb(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 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&&Tb(e,t)}function aJ(e,t){return t&&(sJ(t)==="object"||typeof t=="function")?t:uB(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(e,t)}function sJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _J(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yJ(e){var t=_J();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 aJ(this,o)}}var Dl=function(e){lJ(r,e);var t=yJ(r);function r(n){cJ(this,r);var o;return o=t.call(this,n),Rb(uB(o),"props",void 0),o.props=new Al(n==null?void 0:n.props),o}return fJ(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);Rb(Dl,"controlFieldType",c.FieldTypes.ARRAY),Rb(Dl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 fB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dJ(e,t,r){return t&&lB(e.prototype,t),r&&lB(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 jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function vJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sb(e,t)}function hJ(e,t){return t&&(bJ(t)==="object"||typeof t=="function")?t:fB(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function bJ(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=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hJ(this,o)}}var sB=function(e){vJ(r,e);var t=mJ(r);function r(n){pJ(this,r);var o;return o=t.call(this,n),aB(fB(o),"props",void 0),o.props=new Al(n==null?void 0:n.props),o}return dJ(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(k);aB(sB,"controlFieldType",c.FieldTypes.ARRAY);var _B={Designer:Dl,Runtime:sB,Property:Al};function oi(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 Mr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fl(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&&Bb(e,t)}function OJ(e,t){return t&&(wJ(t)==="object"||typeof t=="function")?t:oi(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(e,t)}function wJ(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 Nb(e){var t=PJ();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 OJ(this,o)}}var $J=function(e){Ib(r,e);var t=Nb(r);function r(n){Eb(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ae),RJ=function(e){Ib(r,e);var t=Nb(r);function r(n){Eb(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(x),ii=function(e){Ib(r,e);var t=Nb(r);function r(n){Eb(this,r);var o;o=t.call(this,n),Mr(oi(o),"controlExportName",void 0),Mr(oi(o),"permissions",void 0),Mr(oi(o),"defaultValue",void 0),Mr(oi(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ui.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u: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);Mr(ii,"Rules",$J),Mr(ii,"RuntimeRules",RJ);function yB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TJ(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 SJ(e,t,r){return t&&pB(e.prototype,t),r&&pB(e,r),e}function Ll(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cl(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&&Mb(e,t)}function IJ(e,t){return t&&(BJ(t)==="object"||typeof t=="function")?t:yB(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}function BJ(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 MJ(e){var t=NJ();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 IJ(this,o)}}var ui=function(e){EJ(r,e);var t=MJ(r);function r(n){TJ(this,r);var o;return o=t.call(this,n),Ll(yB(o),"props",void 0),o.props=new ii(n==null?void 0:n.props),o}return SJ(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);Ll(ui,"controlFieldType",c.FieldTypes.ANY),Ll(ui,"controlEventKeys",[]),Ll(ui,"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 dB(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 vB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kJ(e,t,r){return t&&vB(e.prototype,t),r&&vB(e,r),e}function hB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(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&&Ab(e,t)}function jJ(e,t){return t&&(FJ(t)==="object"||typeof t=="function")?t:dB(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function FJ(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 CJ(e){var t=LJ();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 jJ(this,o)}}var bB=function(e){DJ(r,e);var t=CJ(r);function r(n){AJ(this,r);var o;return o=t.call(this,n),hB(dB(o),"props",void 0),o.props=new ii(n==null?void 0:n.props),o}return kJ(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(k);hB(bB,"controlFieldType",c.FieldTypes.ANY);var gB={Designer:ui,Runtime:bB,Property:ii};function Ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mB(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 zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(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&&kb(e,t)}function xJ(e,t){return t&&(zJ(t)==="object"||typeof t=="function")?t:Ne(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}function zJ(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 wB(e){var t=VJ();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 xJ(this,o)}}var GJ=function(e){OB(r,e);var t=wB(r);function r(n){mB(this,r);var o;return o=t.call(this,n),Me(Ne(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")}]}}]),Me(Ne(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:p.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Tn),Vl=function(e){OB(r,e);var t=wB(r);function r(n){mB(this,r);var o;o=t.call(this,n),Me(Ne(o),"options",void 0),Me(Ne(o),"optionConfig",void 0),Me(Ne(o),"defaultValue",void 0),Me(Ne(o),"listPageBind",void 0),Me(Ne(o),"datasourceBind",void 0),Me(Ne(o),"multistageFilling",void 0),Me(Ne(o),"viewFormModelType",void 0),Me(Ne(o),"canViewForm",void 0),Me(Ne(o),"formBind",void 0),Me(Ne(o),"openMultistageFilling",void 0),Me(Ne(o),"showSelectedDetail",void 0),Me(Ne(o),"selectedContentConfig",void 0);var i;o.options=ht((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new Li(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:ci.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 zi(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new Re(g))}));var 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 Rn(n==null?void 0:n.formBind),o}return r}(M);Me(Vl,"Rules",GJ);function PB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $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 HJ(e,t,r){return t&&$B(e.prototype,t),r&&$B(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 Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function qJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Db(e,t)}function UJ(e,t){return t&&(WJ(t)==="object"||typeof t=="function")?t:PB(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function WJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XJ(e){var t=KJ();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 UJ(this,o)}}var ci=function(e){qJ(r,e);var t=XJ(r);function r(n){YJ(this,r);var o;return o=t.call(this,n),Gl(PB(o),"props",void 0),o.props=new Vl(n==null?void 0:n.props),o}return HJ(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);Gl(ci,"controlFieldType",c.FieldTypes.VARCHAR),Gl(ci,"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}]),Gl(ci,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function RB(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 TB(e,t){for(var r=0;r<t.length;r++){var 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&&TB(e.prototype,t),r&&TB(e,r),e}function SB(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 ZJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jb(e,t)}function eQ(e,t){return t&&(tQ(t)==="object"||typeof t=="function")?t:RB(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function tQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rQ(e){var t=nQ();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 eQ(this,o)}}var EB=function(e){ZJ(r,e);var t=rQ(r);function r(n){JJ(this,r);var o;return o=t.call(this,n),SB(RB(o),"props",void 0),o.props=new Vl(n==null?void 0:n.props),o}return QJ(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(k);SB(EB,"controlFieldType",c.FieldTypes.VARCHAR);var IB={Designer:ci,Runtime:EB,Property:Vl};function oQ(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 ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(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&&Fb(e,t)}function cQ(e,t){return t&&(fQ(t)==="object"||typeof t=="function")?t:oQ(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(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=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cQ(this,o)}}var Lb=function(e){uQ(r,e);var t=aQ(r);function r(n){return iQ(this,r),t.call(this,n)}return r}(gr);function BB(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 NB(e,t){for(var r=0;r<t.length;r++){var 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&&NB(e.prototype,t),r&&NB(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 Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(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&&Cb(e,t)}function pQ(e,t){return t&&(dQ(t)==="object"||typeof t=="function")?t:BB(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(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=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pQ(this,o)}}var AB=function(e){yQ(r,e);var t=hQ(r);function r(n){sQ(this,r);var o;return o=t.call(this,n),MB(BB(o),"props",void 0),o.props=new Lb(n==null?void 0:n.props),o}return _Q(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(mr);MB(AB,"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 kB(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 DB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gQ(e,t,r){return t&&DB(e.prototype,t),r&&DB(e,r),e}function jB(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 mQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xb(e,t)}function OQ(e,t){return t&&(wQ(t)==="object"||typeof t=="function")?t:kB(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}function wQ(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 $Q(e){var t=PQ();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 OQ(this,o)}}var FB=function(e){mQ(r,e);var t=$Q(r);function r(n){bQ(this,r);var o;return o=t.call(this,n),jB(kB(o),"props",void 0),o.props=new Lb(n==null?void 0:n.props),o}return gQ(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(k);jB(FB,"controlFieldType",c.FieldTypes.VARCHAR);var LB={Designer:AB,Runtime:FB,Property:Lb};function ee(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 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 Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(e)}function Vb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gb(e,t)}function RQ(e,t){return t&&(TQ(t)==="object"||typeof t=="function")?t:ee(e)}function Gb(e,t){return Gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gb(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 Yb(e){var t=SQ();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 RQ(this,o)}}var EQ=function(e){Vb(r,e);var t=Yb(r);function r(n){zb(this,r);var o;return o=t.call(this,n),te(ee(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),Oo.call(ee(o),n,_n.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}(ae),IQ=function(e){Vb(r,e);var t=Yb(r);function r(n){zb(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),fi=function(e){Vb(r,e);var t=Yb(r);function r(n){zb(this,r);var o,i;o=t.call(this,n),te(ee(o),"placeholder",void 0),te(ee(o),"multiple",void 0),te(ee(o),"canSearch",void 0),te(ee(o),"levelType",void 0),te(ee(o),"optionalLevel",void 0),te(ee(o),"containsSubNode",void 0),te(ee(o),"defaultDisplay",void 0),te(ee(o),"isShowIncludeSub",void 0),te(ee(o),"isDefaultCheckSub",void 0),te(ee(o),"isShowFilterItem",void 0),te(ee(o),"defaultCollapse",void 0),te(ee(o),"defaultCollapseLevel",void 0),te(ee(o),"optionConfig","datasource"),te(ee(o),"datasourceBind",void 0),te(ee(o),"filterItemDatasourceBind",void 0),te(ee(o),"multistageFilling",void 0),te(ee(o),"defaultValue",void 0),te(ee(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:_n.controlName;var 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 h;o.isDefaultCheckSub=(h=n==null?void 0:n.isDefaultCheckSub)!==null&&h!==void 0?h:!1;var m;o.defaultCollapse=(m=n==null?void 0:n.defaultCollapse)!==null&&m!==void 0?m:"all";var v;o.defaultCollapseLevel=(v=n==null?void 0:n.defaultCollapseLevel)!==null&&v!==void 0?v:1;var O;o.datasourceBind=new Fy((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:_n.controlCustomAttributes});var w;o.filterItemDatasourceBind=new Fy((w=n==null?void 0:n.filterItemDatasourceBind)!==null&&w!==void 0?w:{attributes:_n.controlCustomAttributes});var P;o.openMultistageFilling=(P=n==null?void 0:n.openMultistageFilling)!==null&&P!==void 0?P:!1;var T;o.defaultDisplay=(T=n==null?void 0:n.defaultDisplay)!==null&&T!==void 0?T:!1;var $;o.multistageFilling=($=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(D){return new Re(D)}))!==null&&$!==void 0?$:[];var S;return o.defaultValue=(S=n==null?void 0:n.defaultValue)!==null&&S!==void 0?S:[],o}return r}(M);te(fi,"Rules",EQ),te(fi,"RuntimeRules",IQ);function CB(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 xB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NQ(e,t,r){return t&&xB(e.prototype,t),r&&xB(e,r),e}function Xl(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 MQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hb(e,t)}function AQ(e,t){return t&&(kQ(t)==="object"||typeof t=="function")?t:CB(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}function kQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jQ(e){var t=DQ();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 AQ(this,o)}}var _n=function(e){MQ(r,e);var t=jQ(r);function r(n){BQ(this,r);var o;return o=t.call(this,n),Xl(CB(o),"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return NQ(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);Xl(_n,"controlEventKeys",["on_change","on_click"]),Xl(_n,"controlFieldType",c.FieldTypes.ARRAY),Xl(_n,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.CAN_SEARCH,c.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,c.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function zB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LQ(e,t,r){return t&&VB(e.prototype,t),r&&VB(e,r),e}function GB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ql(e)}function CQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qb(e,t)}function xQ(e,t){return t&&(zQ(t)==="object"||typeof t=="function")?t:zB(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}function zQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GQ(e){var t=VQ();return function(){var n=Ql(e),o;if(t){var i=Ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xQ(this,o)}}var YB=function(e){CQ(r,e);var t=GQ(r);function r(n){FQ(this,r);var o;return o=t.call(this,n),GB(zB(o),"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return LQ(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(k);GB(YB,"controlFieldType",c.FieldTypes.ARRAY);var HB={Designer:_n,Runtime:YB,Property:fi};function ye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ub(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 Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(e)}function Wb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kb(e,t)}function YQ(e,t){return t&&(HQ(t)==="object"||typeof t=="function")?t:ye(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(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 Xb(e){var t=qQ();return function(){var n=Zl(e),o;if(t){var i=Zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YQ(this,o)}}var UQ=function(e){Wb(r,e);var t=Xb(r);function r(n){Ub(this,r);var o;return o=t.call(this,n),pe(ye(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),pe(ye(o),"externalScope",{type:"any"}),Oo.call(ye(o),n,Ar.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:p.getMessage("pleaseAssignExternal")}),o}return r}(ae),WQ=function(e){Wb(r,e);var t=Xb(r);function r(n){Ub(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),li=function(e){Wb(r,e);var t=Xb(r);function r(n){Ub(this,r);var o;o=t.call(this,n),pe(ye(o),"showType",void 0),pe(ye(o),"range",void 0),pe(ye(o),"rangeOptions",void 0),pe(ye(o),"multiple",void 0),pe(ye(o),"defaultValueType",void 0),pe(ye(o),"defaultValue",void 0),pe(ye(o),"multistageFilling",void 0),pe(ye(o),"datasourceBind",void 0),pe(ye(o),"datasourceType",void 0),pe(ye(o),"insideType",void 0),pe(ye(o),"externalType",void 0),pe(ye(o),"externalScope",void 0),pe(ye(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var 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?_:Ar.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 vo((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Ar.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:c.OrganizeType.INTERNAL;var h;o.insideType=(h=n==null?void 0:n.insideType)!==null&&h!==void 0?h:c.InternalType.ADMIN;var m;o.externalType=(m=n==null?void 0:n.externalType)!==null&&m!==void 0?m:c.AssignType.ALL;var v;o.externalScope=(v=n==null?void 0:n.externalScope)!==null&&v!==void 0?v:[];var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(w){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Re(w))})),o}return r}(M);pe(li,"Rules",UQ),pe(li,"RuntimeRules",WQ);function qB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KQ(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 XQ(e,t,r){return t&&UB(e.prototype,t),r&&UB(e,r),e}function Jb(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 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&&Qb(e,t)}function QQ(e,t){return t&&(ZQ(t)==="object"||typeof t=="function")?t:qB(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(e,t)}function ZQ(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=ea(e),o;if(t){var i=ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QQ(this,o)}}var Ar=function(e){JQ(r,e);var t=tZ(r);function r(n){KQ(this,r);var o;return o=t.call(this,n),Jb(qB(o),"props",void 0),o.props=new li(n==null?void 0:n.props),o}return XQ(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);Jb(Ar,"controlFieldType",c.FieldTypes.EMPLOYEES),Jb(Ar,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function WB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nZ(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 rZ(e,t,r){return t&&KB(e.prototype,t),r&&KB(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 ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(e)}function oZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zb(e,t)}function iZ(e,t){return t&&(uZ(t)==="object"||typeof t=="function")?t:WB(e)}function Zb(e,t){return Zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zb(e,t)}function uZ(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 fZ(e){var t=cZ();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 iZ(this,o)}}var JB=function(e){oZ(r,e);var t=fZ(r);function r(n){nZ(this,r);var o;return o=t.call(this,n),XB(WB(o),"props",void 0),o.props=new li(n==null?void 0:n.props),o}return rZ(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(k);XB(JB,"controlFieldType",c.FieldTypes.EMPLOYEES);var QB={Designer:Ar,Runtime:JB,Property:li};function Pt(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 $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 na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(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&&eg(e,t)}function lZ(e,t){return t&&(aZ(t)==="object"||typeof t=="function")?t:Pt(e)}function eg(e,t){return eg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eg(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 t3(e){var t=sZ();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 lZ(this,o)}}var _Z=function(e){e3(r,e);var t=t3(r);function r(n){ZB(this,r);var o;return o=t.call(this,n),$t(Pt(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,u,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(u.type==="public"&&wn(s.value)&&s.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(a,s,_){if(u.type==="public"&&u.signatureType.includes("company")&&wn(s.value)&&s.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},i},{})}}},o}return r}(ae),ra=function(e){e3(r,e);var t=t3(r);function r(n){ZB(this,r);var o;o=t.call(this,n),$t(Pt(o),"buttonType",void 0),$t(Pt(o),"content",void 0),$t(Pt(o),"showType",void 0),$t(Pt(o),"color",void 0),$t(Pt(o),"icon",void 0),$t(Pt(o),"command",""),$t(Pt(o),"isLoading",!1),$t(Pt(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ai.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\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 P$(n==null?void 0:n.signatureConfig),o}return r}(M);$t(ra,"Rules",_Z);function n3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pZ(e,t,r){return t&&r3(e.prototype,t),r&&r3(e,r),e}function oa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function dZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tg(e,t)}function vZ(e,t){return t&&(hZ(t)==="object"||typeof t=="function")?t:n3(e)}function tg(e,t){return tg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tg(e,t)}function hZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gZ(e){var t=bZ();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 vZ(this,o)}}var ai=function(e){dZ(r,e);var t=gZ(r);function r(n){yZ(this,r);var o;return o=t.call(this,n),oa(n3(o),"props",void 0),o.props=new ra(n==null?void 0:n.props),o}return pZ(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(A);oa(ai,"controlEventKeys",["on_click","on_click_finish"]),oa(ai,"controlFieldType",c.FieldTypes.VARCHAR),oa(ai,"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 o3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i3(e,t){for(var r=0;r<t.length;r++){var 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&&i3(e.prototype,t),r&&i3(e,r),e}function u3(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 wZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ng(e,t)}function PZ(e,t){return t&&($Z(t)==="object"||typeof t=="function")?t:o3(e)}function ng(e,t){return ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ng(e,t)}function $Z(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 TZ(e){var t=RZ();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 PZ(this,o)}}var c3=function(e){wZ(r,e);var t=TZ(r);function r(n){mZ(this,r);var o;return o=t.call(this,n),u3(o3(o),"props",void 0),o.props=new ra(n==null?void 0:n.props),o}return OZ(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(k);u3(c3,"controlFieldType",c.FieldTypes.VARCHAR);var f3={Designer:ai,Runtime:c3,Property:ra};function Pe(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 de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(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&&ig(e,t)}function SZ(e,t){return t&&(EZ(t)==="object"||typeof t=="function")?t:Pe(e)}function ig(e,t){return ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ig(e,t)}function EZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ug(e){var t=IZ();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 SZ(this,o)}}var BZ=function(e){og(r,e);var t=ug(r);function r(n){rg(this,r);var o;return o=t.call(this,n),de(Pe(o),"content",{type:"string",required:!0,message:p.getMessage("pleaseEnterButtonContent")}),de(Pe(o),"canAdd",void 0),de(Pe(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,f,l){if(f.active&&!f.text){l(p.getMessage("pleaseEnterWatermark"));return}l()}},autoRename:{type:"object",validator:function(u,f,l){if(f.active&&!f.text){l(p.getMessage("pleaseEnterFileName"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(u,f,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l(p.getMessage("pleaseChooseAtLeastOne"));return}l()}},o}return r}(ae),NZ=function(e){og(r,e);var t=ug(r);function r(n){rg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),si=function(e){og(r,e);var t=ug(r);function r(n){rg(this,r);var o;o=t.call(this,n),de(Pe(o),"content",void 0),de(Pe(o),"canAdd",void 0),de(Pe(o),"addLocal",void 0),de(Pe(o),"addOnline",void 0),de(Pe(o),"canDownload",void 0),de(Pe(o),"canEdit",void 0),de(Pe(o),"canExport",void 0),de(Pe(o),"canDelete",void 0),de(Pe(o),"wpsSetting",void 0),de(Pe(o),"maxSize",void 0),de(Pe(o),"defaultValue",void 0),de(Pe(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:_i.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\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:NU;var h;o.defaultValue=(h=n==null?void 0:n.defaultValue)!==null&&h!==void 0?h:[],o.wpsSetting=new $$(n==null?void 0:n.wpsSetting);var m;return o.revisionsMode=(m=n==null?void 0:n.revisionsMode)!==null&&m!==void 0?m:!1,o}return r}(M);de(si,"Rules",BZ),de(si,"RuntimeRules",NZ);function l3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 AZ(e,t,r){return t&&a3(e.prototype,t),r&&a3(e,r),e}function fa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(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&&cg(e,t)}function DZ(e,t){return t&&(jZ(t)==="object"||typeof t=="function")?t:l3(e)}function cg(e,t){return cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cg(e,t)}function jZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LZ(e){var t=FZ();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 DZ(this,o)}}var _i=function(e){kZ(r,e);var t=LZ(r);function r(n){MZ(this,r);var o;return o=t.call(this,n),fa(l3(o),"props",void 0),o.props=new si(n==null?void 0:n.props),o}return AZ(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(A);fa(_i,"controlEventKeys",["on_change","on_wps_open"]),fa(_i,"controlFieldType",c.FieldTypes.FILE),fa(_i,"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 s3(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 _3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xZ(e,t,r){return t&&_3(e.prototype,t),r&&_3(e,r),e}function y3(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 zZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fg(e,t)}function VZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:s3(e)}function fg(e,t){return fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fg(e,t)}function GZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function 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 HZ(e){var t=YZ();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 VZ(this,o)}}var p3=function(e){zZ(r,e);var t=HZ(r);function r(n){CZ(this,r);var o;return o=t.call(this,n),y3(s3(o),"props",void 0),o.props=new si(n==null?void 0:n.props),o}return xZ(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(k);y3(p3,"controlFieldType",c.FieldTypes.FILE);var d3={Designer:_i,Runtime:p3,Property:si};function ce(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 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 sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(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&&sg(e,t)}function qZ(e,t){return t&&(UZ(t)==="object"||typeof t=="function")?t:ce(e)}function sg(e,t){return sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sg(e,t)}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 _g(e){var t=WZ();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 qZ(this,o)}}var KZ=function(e){ag(r,e);var t=_g(r);function r(n){lg(this,r);var o;return o=t.call(this,n),fe(ce(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),fe(ce(o),"businessScope",{type:"any"}),Oo.call(ce(o),n,Bn.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return r}(ae),XZ=function(e){ag(r,e);var t=_g(r);function r(n){lg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),yi=function(e){ag(r,e);var t=_g(r);function r(n){lg(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 u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!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:Bn.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u90E8\u95E8";var h;o.datasourceBind=new vo((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Bn.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:c.DepartmentType.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var O;o.businessType=(O=n==null?void 0:n.businessType)!==null&&O!==void 0?O:c.AssignType.ALL;var 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(P){var T;(T=o.multistageFilling)===null||T===void 0||T.push(new Re(P))})),o}return r}(M);fe(yi,"Rules",KZ),fe(yi,"RuntimeRules",XZ);function v3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JZ(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 QZ(e,t,r){return t&&h3(e.prototype,t),r&&h3(e,r),e}function _a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ya=Reflect.get:ya=function(o,i,u){var f=tee(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},ya(e,t,r||e)}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function ZZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yg(e,t)}function eee(e,t){return t&&(nee(t)==="object"||typeof t=="function")?t:v3(e)}function yg(e,t){return yg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yg(e,t)}function tee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kr(e),e!==null););return e}function nee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ree(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oee(e){var t=ree();return function(){var n=kr(e),o;if(t){var i=kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eee(this,o)}}var Bn=function(e){ZZ(r,e);var t=oee(r);function r(n){JZ(this,r);var o;return o=t.call(this,n),_a(v3(o),"props",void 0),o.props=new yi(n==null?void 0:n.props),o}return QZ(r,[{key:"toDataBindModel",value:function(o){var i=ya(kr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.displayLevel,l=u.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);_a(Bn,"controlName","\u90E8\u95E8"),_a(Bn,"controlFieldType",c.FieldTypes.DEPARTMENTS),_a(Bn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function b3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iee(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 uee(e,t,r){return t&&g3(e.prototype,t),r&&g3(e,r),e}function m3(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 cee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fee(e,t){return t&&(lee(t)==="object"||typeof t=="function")?t:b3(e)}function pg(e,t){return pg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pg(e,t)}function lee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function see(e){var t=aee();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 fee(this,o)}}var O3=function(e){cee(r,e);var t=see(r);function r(n){iee(this,r);var o;return o=t.call(this,n),m3(b3(o),"props",void 0),o.props=new yi(n==null?void 0:n.props),o}return uee(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(k);m3(O3,"controlFieldType",c.FieldTypes.DEPARTMENTS);var w3={Designer:Bn,Runtime:O3,Property:yi};function U(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function vg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hg(e,t)}function _ee(e,t){return t&&(yee(t)==="object"||typeof t=="function")?t:U(e)}function hg(e,t){return hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hg(e,t)}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 bg(e){var t=pee();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 _ee(this,o)}}var dee=function(e){vg(r,e);var t=bg(r);function r(n){dg(this,r);var o;return o=t.call(this,n),W(U(o),"datasourceBind",[{type:"object",message:p.getMessage("isNotObject")}]),W(U(o),"businessScope",{type:"any"}),Oo.call(U(o),n,Nn.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:p.getMessage("pleaseAssignBusiness")}),o}return r}(ae),vee=function(e){vg(r,e);var t=bg(r);function r(n){dg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),pi=function(e){vg(r,e);var t=bg(r);function r(n){dg(this,r);var o;o=t.call(this,n),W(U(o),"showType",void 0),W(U(o),"range",void 0),W(U(o),"defaultValueType",void 0),W(U(o),"multiple",void 0),W(U(o),"rangeOptions",void 0),W(U(o),"defaultValue",void 0),W(U(o),"displayLevel",void 0),W(U(o),"showSubDept",void 0),W(U(o),"multistageFilling",void 0),W(U(o),"datasourceBind",void 0),W(U(o),"listPageBind",void 0),W(U(o),"datasourceType",void 0),W(U(o),"businessType",void 0),W(U(o),"businessScope",void 0),W(U(o),"organizingFunction",void 0),W(U(o),"organizationView",void 0),W(U(o),"openMultistageFilling",void 0),W(U(o),"showSelectedDetail",void 0),W(U(o),"selectedContentConfig",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var f;o.range=(f=n==null?void 0:n.range)!==null&&f!==void 0?f:"all",o.listPageBind=new Li(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:Nn.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var h;o.datasourceBind=new iP((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Nn.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:c.DepartmentType.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var O;o.businessType=(O=n==null?void 0:n.businessType)!==null&&O!==void 0?O:c.AssignType.ALL;var w;o.organizingFunction=(w=n==null?void 0:n.organizingFunction)!==null&&w!==void 0?w:void 0;var P;o.organizationView=(P=n==null?void 0:n.organizationView)!==null&&P!==void 0?P:void 0;var T;o.showSelectedDetail=(T=n==null?void 0:n.showSelectedDetail)!==null&&T!==void 0?T:!1,o.selectedContentConfig=new zi(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);W(pi,"Rules",dee),W(pi,"RuntimeRules",vee);function P3(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 $3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bee(e,t,r){return t&&$3(e.prototype,t),r&&$3(e,r),e}function va(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ha=Reflect.get:ha=function(o,i,u){var f=Oee(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},ha(e,t,r||e)}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(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 mee(e,t){return t&&(wee(t)==="object"||typeof t=="function")?t:P3(e)}function gg(e,t){return gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gg(e,t)}function Oee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Dr(e),e!==null););return e}function wee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ee(e){var t=Pee();return function(){var n=Dr(e),o;if(t){var i=Dr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mee(this,o)}}var Nn=function(e){gee(r,e);var t=$ee(r);function r(n){hee(this,r);var o;return o=t.call(this,n),va(P3(o),"props",void 0),o.props=new pi(n==null?void 0:n.props),o}return bee(r,[{key:"toDataBindModel",value:function(o){var i=ha(Dr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.displayLevel,l=u.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);va(Nn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),va(Nn,"controlFieldType",c.FieldTypes.DEPARTMENTS),va(Nn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function R3(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 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 Tee(e,t,r){return t&&T3(e.prototype,t),r&&T3(e,r),e}function S3(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 See(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Eee(e,t){return t&&(Iee(t)==="object"||typeof t=="function")?t:R3(e)}function mg(e,t){return mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mg(e,t)}function Iee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Bee();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 Eee(this,o)}}var E3=function(e){See(r,e);var t=Nee(r);function r(n){Ree(this,r);var o;return o=t.call(this,n),S3(R3(o),"props",void 0),o.props=new pi(n==null?void 0:n.props),o}return Tee(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(k);S3(E3,"controlFieldType",c.FieldTypes.DEPARTMENTS);var I3={Designer:Nn,Runtime:E3,Property:pi},Mee=Object.freeze({__proto__:null,Input:yS,Checkbox:mS,Radio:BS,Number:FS,DatePicker:YS,DateRange:eE,Textarea:cE,RichText:pE,Select:$E,SelectMultiple:NE,Employee:zE,Image:JE,Attachment:UE,Amount:oI,Score:sI,Address:OI,Department:NI,AutoNumber:CI,Calc:qI,SearchNumberRange:nB,SearchDateRange:_B,VueFormItem:gB,SelectRelation:IB,SearchInput:LB,Tree:HB,Employee2:QB,ElectronicSignature:f3,WPS:d3,Department2:w3,OrganizationSelection:I3});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 B3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dee(e,t,r){return t&&B3(e.prototype,t),r&&B3(e,r),e}function jee(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 Fee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Lee(e,t){return t&&(Cee(t)==="object"||typeof t=="function")?t:Aee(e)}function Og(e,t){return Og=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Og(e,t)}function Cee(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 zee(e){var t=xee();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 Lee(this,o)}}var N3=function(e){Fee(r,e);var t=zee(r);function r(n){return kee(this,r),t.call(this,n)}return Dee(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(q);jee(N3,"excludes",[c.CONTROL_TYPE.GRID]);function Vee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yee(e,t,r){return t&&M3(e.prototype,t),r&&M3(e,r),e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function Hee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qee(e,t){return t&&(Uee(t)==="object"||typeof t=="function")?t:Vee(e)}function wg(e,t){return wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wg(e,t)}function Uee(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 Kee(e){var t=Wee();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 qee(this,o)}}var Xee=function(e){Hee(r,e);var t=Kee(r);function r(n){return Gee(this,r),t.call(this,n)}return Yee(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(Q),A3={Designer:N3,Runtime:Xee,Property:z};function Pg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(e)}function Qee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$g(e,t)}function Zee(e,t){return t&&(ete(t)==="object"||typeof t=="function")?t:Pg(e)}function $g(e,t){return $g=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$g(e,t)}function ete(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nte(e){var t=tte();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 Zee(this,o)}}var rte=24,Mn=function(e){Qee(r,e);var t=nte(r);function r(n){Jee(this,r);var o;o=t.call(this,n),k3(Pg(o),"span",void 0),k3(Pg(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:rte;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(z);function D3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ote(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 ite(e,t,r){return t&&j3(e.prototype,t),r&&j3(e,r),e}function Rg(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 ute(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tg(e,t)}function cte(e,t){return t&&(fte(t)==="object"||typeof t=="function")?t:D3(e)}function Tg(e,t){return Tg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tg(e,t)}function fte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ate(e){var t=lte();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 cte(this,o)}}var di=function(e){ute(r,e);var t=ate(r);function r(n){ote(this,r);var o;return o=t.call(this,n),Rg(D3(o),"props",void 0),o.props=new Mn(n==null?void 0:n.props),o}return ite(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(q);Rg(di,"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]),Rg(di,"childrenMaxLength",1);function F3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ste(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _te(e,t,r){return t&&L3(e.prototype,t),r&&L3(e,r),e}function yte(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 pte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sg(e,t)}function dte(e,t){return t&&(vte(t)==="object"||typeof t=="function")?t:F3(e)}function Sg(e,t){return Sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sg(e,t)}function vte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=hte();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 dte(this,o)}}var Eg=function(e){pte(r,e);var t=bte(r);function r(n){ste(this,r);var o;return o=t.call(this,n),yte(F3(o),"props",void 0),o.props=new Mn(n==null?void 0:n.props),o}return _te(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Q),$a={Designer:di,Runtime:Eg,Property:Mn};function Ig(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C3(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 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&&Bg(e,t)}function Ote(e,t){return t&&(wte(t)==="object"||typeof t=="function")?t:Ig(e)}function Bg(e,t){return Bg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bg(e,t)}function wte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $te(e){var t=Pte();return function(){var n=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ote(this,o)}}var Ta=function(e){mte(r,e);var t=$te(r);function r(n){gte(this,r);var o;o=t.call(this,n),C3(Ig(o),"layoutMode",void 0),C3(Ig(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(z);function x3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tte(e,t,r){return t&&z3(e.prototype,t),r&&z3(e,r),e}function Ng(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function 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&&Mg(e,t)}function Ete(e,t){return t&&(Ite(t)==="object"||typeof t=="function")?t:x3(e)}function Mg(e,t){return Mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mg(e,t)}function Ite(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nte(e){var t=Bte();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 Ete(this,o)}}var Ea=function(e){Ste(r,e);var t=Nte(r);function r(n){Rte(this,r);var o;return o=t.call(this,n),Ng(x3(o),"props",void 0),o.props=new Ta(n==null?void 0:n.props),o}return Tte(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(q);Ng(Ea,"excludes",[c.CONTROL_TYPE.ROW]),Ng(Ea,"setting",[{key:"col-setting",visible:!0}]);function V3(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 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 Ate(e,t,r){return t&&G3(e.prototype,t),r&&G3(e,r),e}function kte(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 Dte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ag(e,t)}function jte(e,t){return t&&(Fte(t)==="object"||typeof t=="function")?t:V3(e)}function Ag(e,t){return Ag=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ag(e,t)}function Fte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cte(e){var t=Lte();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 jte(this,o)}}var Y3=function(e){Dte(r,e);var t=Cte(r);function r(n){Mte(this,r);var o;return o=t.call(this,n),kte(V3(o),"props",void 0),o.props=new Ta(n==null?void 0:n.props),o}return Ate(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Q),H3={Designer:Ea,Runtime:Y3,Property:Ta};function xte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vte(e,t,r){return t&&q3(e.prototype,t),r&&q3(e,r),e}function kg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(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&&Dg(e,t)}function Yte(e,t){return t&&(Hte(t)==="object"||typeof t=="function")?t:xte(e)}function Dg(e,t){return Dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dg(e,t)}function Hte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function 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=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yte(this,o)}}var Wte=4,Na=function(e){Gte(r,e);var t=Ute(r);function r(n){return zte(this,r),t.call(this,n)}return Vte(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}(Ea);kg(Na,"excludes",[c.CONTROL_TYPE.GRID_ROW]),kg(Na,"setting",[]),kg(Na,"childrenMaxLength",Wte);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 U3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jte(e,t,r){return t&&U3(e.prototype,t),r&&U3(e,r),e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(e)}function Qte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jg(e,t)}function Zte(e,t){return t&&(ene(t)==="object"||typeof t=="function")?t:Kte(e)}function jg(e,t){return jg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jg(e,t)}function ene(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nne(e){var t=tne();return function(){var n=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zte(this,o)}}var rne=function(e){Qte(r,e);var t=nne(r);function r(n){return Xte(this,r),t.call(this,n)}return Jte(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(Y3);function one(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ine(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(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&&Fg(e,t)}function cne(e,t){return t&&(fne(t)==="object"||typeof t=="function")?t:one(e)}function Fg(e,t){return Fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fg(e,t)}function fne(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 ane(e){var t=lne();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 cne(this,o)}}var sne=function(e){une(r,e);var t=ane(r);function r(n){return ine(this,r),t.call(this,n)}return r}(Ta),Lg={Designer:Na,Runtime:rne,Property:sne};function ka(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 Da(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 K3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _ne(e,t){return t&&(yne(t)==="object"||typeof t=="function")?t:ka(e)}function Cg(e,t){return Cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cg(e,t)}function yne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X3(e){var t=pne();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 _ne(this,o)}}var dne=function(e){K3(r,e);var t=X3(r);function r(){W3(this,r);var n;return n=t.apply(this,arguments),Da(ka(n),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),n}return r}(z.Rules),Fa=function(e){K3(r,e);var t=X3(r);function r(n){W3(this,r);var o;o=t.call(this,n),Da(ka(o),"caption",void 0),Da(ka(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;return o.collapse=(u=n==null?void 0:n.collapse)!==null&&u!==void 0?u:"none",o}return r}(z);Da(Fa,"Rules",dne);function J3(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 Q3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hne(e,t,r){return t&&Q3(e.prototype,t),r&&Q3(e,r),e}function xg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function bne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zg(e,t)}function gne(e,t){return t&&(mne(t)==="object"||typeof t=="function")?t:J3(e)}function zg(e,t){return zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zg(e,t)}function mne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function One(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wne(e){var t=One();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 gne(this,o)}}var Vg=function(e){bne(r,e);var t=wne(r);function r(n){vne(this,r);var o;return o=t.call(this,n),xg(J3(o),"props",void 0),o.props=new Fa(n==null?void 0:n.props),o}return hne(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(q);xg(Vg,"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}]),xg(Vg,"excludes",[c.CONTROL_TYPE.CARD_GROUP]);function Z3(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 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 $ne(e,t,r){return t&&eN(e.prototype,t),r&&eN(e,r),e}function Rne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function Tne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Sne(e,t){return t&&(Ene(t)==="object"||typeof t=="function")?t:Z3(e)}function Gg(e,t){return Gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gg(e,t)}function Ene(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 Bne(e){var t=Ine();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 Sne(this,o)}}var Nne=function(e){Tne(r,e);var t=Bne(r);function r(n){Pne(this,r);var o;return o=t.call(this,n),Rne(Z3(o),"props",void 0),o.props=new Fa(n==null?void 0:n.props),o}return $ne(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(Q),tN={Designer:Vg,Runtime:Nne,Property:Fa};function Rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function rN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yg(e,t)}function Mne(e,t){return t&&(Ane(t)==="object"||typeof t=="function")?t:Rt(e)}function Yg(e,t){return Yg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yg(e,t)}function Ane(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oN(e){var t=kne();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 Mne(this,o)}}var Dne=function(e){rN(r,e);var t=oN(r);function r(n){nN(this,r);var o;return o=t.call(this,n),Tt(Rt(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),Tt(Rt(o),"width",{type:"number",required:!1,message:p.getMessage("pleaseEnterColumnWidth")}),Tt(Rt(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(ne),za=function(e){rN(r,e);var t=oN(r);function r(n){nN(this,r);var o;o=t.call(this,n),Tt(Rt(o),"metaAutoWidth",void 0),Tt(Rt(o),"caption",void 0),Tt(Rt(o),"fixed",void 0),Tt(Rt(o),"isShowCaptionTip",void 0),Tt(Rt(o),"captionTip",void 0),Tt(Rt(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var 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 Ay(n==null?void 0:n.metaAutoWidth),o}return r}(z);Tt(za,"Rules",Dne);function iN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function Fne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hg(e,t)}function Lne(e,t){return t&&(Cne(t)==="object"||typeof t=="function")?t:iN(e)}function Hg(e,t){return Hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hg(e,t)}function Cne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zne(e){var t=xne();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 Lne(this,o)}}var _t=function(e){Fne(r,e);var t=zne(r);function r(n){jne(this,r);var o;return o=t.call(this,n),An(iN(o),"props",void 0),o.props=new za(n==null?void 0:n.props),o}return r}(q);An(_t,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),An(_t,"controlType","subtable-column"),An(_t,"controlIcon","subtable-column"),An(_t,"childrenMaxLength",1),An(_t,"excludes",[c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT]),An(_t,"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 uN(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 cN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(e)}function Gne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qg(e,t)}function Yne(e,t){return t&&(Hne(t)==="object"||typeof t=="function")?t:uN(e)}function qg(e,t){return qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qg(e,t)}function Hne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Une(e){var t=qne();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yne(this,o)}}var fN=function(e){Gne(r,e);var t=Une(r);function r(n){Vne(this,r);var o;return o=t.call(this,n),cN(uN(o),"props",void 0),o.props=new za(n==null?void 0:n.props),o}return r}(Q);cN(fN,"controlType","subtable-column");var Ug={Designer:_t,Runtime:fN,Property:za};function Wne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kne(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 Xne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jne(e,t){return t&&(Qne(t)==="object"||typeof t=="function")?t:Wne(e)}function Wg(e,t){return Wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wg(e,t)}function Qne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ere(e){var t=Zne();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 Jne(this,o)}}var Kg=function(e){Xne(r,e);var t=ere(r);function r(n){return Kne(this,r),t.call(this,n)}return r}(z);function lN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(e)}function nre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xg(e,t)}function rre(e,t){return t&&(ore(t)==="object"||typeof t=="function")?t:lN(e)}function Xg(e,t){return Xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xg(e,t)}function ore(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ire(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ure(e){var t=ire();return function(){var n=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rre(this,o)}}var Dn=function(e){nre(r,e);var t=ure(r);function r(n){tre(this,r);var o;return o=t.call(this,n),kn(lN(o),"props",void 0),o.props=new Kg(n==null?void 0:n.props),o}return r}(q);kn(Dn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),kn(Dn,"controlType","subtable-row"),kn(Dn,"controlIcon","subtable-row"),kn(Dn,"childrenMaxLength",1),kn(Dn,"excludes",[c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.SUBTABLE_ROW,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT]),kn(Dn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0}]);function aN(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 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 fre(e,t,r){return t&&sN(e.prototype,t),r&&sN(e,r),e}function lre(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&&Jg(e,t)}function sre(e,t){return t&&(_re(t)==="object"||typeof t=="function")?t:aN(e)}function Jg(e,t){return Jg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jg(e,t)}function _re(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 pre(e){var t=yre();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 sre(this,o)}}var dre=function(e){are(r,e);var t=pre(r);function r(n){cre(this,r);var o;return o=t.call(this,n),lre(aN(o),"props",void 0),o.props=new Kg(n==null?void 0:n.props),o}return fre(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(Q),_N={Designer:Dn,Runtime:dre,Property:Kg};function We(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function hre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bre(e,t){return t&&(gre(t)==="object"||typeof t=="function")?t:We(e)}function Qg(e,t){return Qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qg(e,t)}function gre(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 Ore(e){var t=mre();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 bre(this,o)}}var Zg=function(e){hre(r,e);var t=Ore(r);function r(n){vre(this,r);var o;o=t.call(this,n),ot(We(o),"widthType",void 0),ot(We(o),"width",void 0),ot(We(o),"caption",void 0),ot(We(o),"fieldCode",void 0),ot(We(o),"fieldType",void 0),ot(We(o),"fieldName",void 0),ot(We(o),"datasourceBind",void 0),ot(We(o),"fixed",void 0),ot(We(o),"textCleanFormart",void 0),ot(We(o),"decimalKeepPrecision",void 0),ot(We(o),"timestampDateType",void 0),ot(We(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var 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:c.FieldTypes.VARCHAR;var s;o.fieldName=(s=n==null?void 0:n.fieldName)!==null&&s!==void 0?s:"",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var 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:c.DateType.DATE;var g;return o.departmentDisplayLevel=(g=n==null?void 0:n.departmentDisplayLevel)!==null&&g!==void 0?g:1,o}return r}(z);function yN(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 jn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function Pre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&em(e,t)}function $re(e,t){return t&&(Rre(t)==="object"||typeof t=="function")?t:yN(e)}function em(e,t){return em=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},em(e,t)}function Rre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sre(e){var t=Tre();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $re(this,o)}}var Fn=function(e){Pre(r,e);var t=Sre(r);function r(n){wre(this,r);var o;return o=t.call(this,n),jn(yN(o),"props",void 0),o.props=new Zg(n==null?void 0:n.props),o}return r}(q);jn(Fn,"controlName","\u5217\u8868\u5355\u5143\u683C"),jn(Fn,"controlType","gridtable-column"),jn(Fn,"controlIcon","gridtable-column"),jn(Fn,"childrenMaxLength",1),jn(Fn,"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]),jn(Fn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function pN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ere(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 Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function Ire(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tm(e,t)}function Bre(e,t){return t&&(Nre(t)==="object"||typeof t=="function")?t:pN(e)}function tm(e,t){return tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tm(e,t)}function Nre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Are(e){var t=Mre();return function(){var n=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bre(this,o)}}var vN=function(e){Ire(r,e);var t=Are(r);function r(n){Ere(this,r);var o;return o=t.call(this,n),dN(pN(o),"props",void 0),o.props=new Zg(n==null?void 0:n.props),o}return r}(Q);dN(vN,"controlType","gridtable-column");var hN={Designer:Fn,Runtime:vN,Property:Zg};function nm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(e)}function Dre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rm(e,t)}function jre(e,t){return t&&(Fre(t)==="object"||typeof t=="function")?t:nm(e)}function rm(e,t){return rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rm(e,t)}function Fre(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 Cre(e){var t=Lre();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 jre(this,o)}}var om=function(e){Dre(r,e);var t=Cre(r);function r(n){kre(this,r);var o;o=t.call(this,n),bN(nm(o),"childMinWidth",void 0),bN(nm(o),"colGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var u;return o.colGap=(u=n==null?void 0:n.colGap)!==null&&u!==void 0?u:24,o}return r}(z);function gN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zre(e,t,r){return t&&mN(e.prototype,t),r&&mN(e,r),e}function im(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 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&&um(e,t)}function Gre(e,t){return t&&(Yre(t)==="object"||typeof t=="function")?t:gN(e)}function um(e,t){return um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},um(e,t)}function Yre(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=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gre(this,o)}}var cm=function(e){Vre(r,e);var t=qre(r);function r(n){xre(this,r);var o;return o=t.call(this,n),im(gN(o),"props",void 0),o.props=new om(n==null?void 0:n.props),o}return zre(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}(q);im(cm,"excludes",[c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.TAB]),im(cm,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function ON(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 wN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wre(e,t,r){return t&&wN(e.prototype,t),r&&wN(e,r),e}function Kre(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 Xre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jre(e,t){return t&&(Qre(t)==="object"||typeof t=="function")?t:ON(e)}function fm(e,t){return fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fm(e,t)}function Qre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eoe(e){var t=Zre();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 Jre(this,o)}}var toe=function(e){Xre(r,e);var t=eoe(r);function r(n){Ure(this,r);var o;return o=t.call(this,n),Kre(ON(o),"props",void 0),o.props=new om(n==null?void 0:n.props),o}return Wre(r,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),r}(Q),PN={Designer:cm,Runtime:toe,Property:om};function $N(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function noe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function roe(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 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&&lm(e,t)}function ioe(e,t){return t&&(uoe(t)==="object"||typeof t=="function")?t:$N(e)}function lm(e,t){return lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lm(e,t)}function uoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function coe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function foe(e){var t=coe();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 ioe(this,o)}}var am=function(e){ooe(r,e);var t=foe(r);function r(n){noe(this,r);var o;o=t.call(this,n),roe($N(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}(z);function sm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _m(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 TN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ym(e,t)}function loe(e,t){return t&&(aoe(t)==="object"||typeof t=="function")?t:sm(e)}function ym(e,t){return ym=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ym(e,t)}function aoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function soe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SN(e){var t=soe();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 loe(this,o)}}var _oe=function(e){TN(r,e);var t=SN(r);function r(n){RN(this,r);var o;return o=t.call(this,n),_m(sm(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),o}return r}(ne),ts=function(e){TN(r,e);var t=SN(r);function r(n){RN(this,r);var o;o=t.call(this,n),_m(sm(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:hi.controlName,o}return r}(z);_m(ts,"Rules",_oe);function EN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yoe(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 poe(e,t,r){return t&&IN(e.prototype,t),r&&IN(e,r),e}function pm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function doe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 voe(e,t){return t&&(hoe(t)==="object"||typeof t=="function")?t:EN(e)}function dm(e,t){return dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dm(e,t)}function hoe(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 goe(e){var t=boe();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 voe(this,o)}}var vi=function(e){doe(r,e);var t=goe(r);function r(n){yoe(this,r);var o;return o=t.call(this,n),pm(EN(o),"props",void 0),o.props=new ts(n==null?void 0:n.props),o}return poe(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(q);pm(vi,"excludes",[c.CONTROL_TYPE.TAB]),pm(vi,"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 BN(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 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 Ooe(e,t,r){return t&&NN(e.prototype,t),r&&NN(e,r),e}function woe(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 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&&vm(e,t)}function $oe(e,t){return t&&(Roe(t)==="object"||typeof t=="function")?t:BN(e)}function vm(e,t){return vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vm(e,t)}function Roe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Toe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Soe(e){var t=Toe();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 $oe(this,o)}}var Eoe=function(e){Poe(r,e);var t=Soe(r);function r(n){moe(this,r);var o;return o=t.call(this,n),woe(BN(o),"props",void 0),o.props=new ts(n==null?void 0:n.props),o}return Ooe(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(Q),MN={Designer:vi,Runtime:Eoe,Property:ts};function AN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ioe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Boe(e,t,r){return t&&kN(e.prototype,t),r&&kN(e,r),e}function os(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function is(e){return is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},is(e)}function Noe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hm(e,t)}function Moe(e,t){return t&&(Aoe(t)==="object"||typeof t=="function")?t:AN(e)}function hm(e,t){return hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hm(e,t)}function Aoe(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 Doe(e){var t=koe();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 Moe(this,o)}}var hi=function(e){Noe(r,e);var t=Doe(r);function r(n){Ioe(this,r);var o;o=t.call(this,n),os(AN(o),"props",void 0),o.props=new am(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new vi,new vi],o}return Boe(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(q);os(hi,"excludes",[c.CONTROL_TYPE.TAB]),os(hi,"controlEventKeys",["on_change_tab"]),os(hi,"setting",[{key:"tab-mobile-show-type",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 joe(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 Foe(e,t,r){return t&&jN(e.prototype,t),r&&jN(e,r),e}function Loe(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 Coe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xoe(e,t){return t&&(zoe(t)==="object"||typeof t=="function")?t:DN(e)}function bm(e,t){return bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bm(e,t)}function zoe(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 Goe(e){var t=Voe();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 xoe(this,o)}}var Yoe=function(e){Coe(r,e);var t=Goe(r);function r(n){joe(this,r);var o;return o=t.call(this,n),Loe(DN(o),"props",void 0),o.props=new am(n==null?void 0:n.props),o}return Foe(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(Q),FN={Designer:hi,Runtime:Yoe,Property:am};function Hoe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cs(e){return cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cs(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&&gm(e,t)}function Woe(e,t){return t&&(Koe(t)==="object"||typeof t=="function")?t:Hoe(e)}function gm(e,t){return gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gm(e,t)}function Koe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Joe(e){var t=Xoe();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 Woe(this,o)}}var LN=function(e){Uoe(r,e);var t=Joe(r);function r(n){return qoe(this,r),t.call(this,n)}return r}(z);function CN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Zoe(e,t,r){return t&&xN(e.prototype,t),r&&xN(e,r),e}function zN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fs(e)}function eie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tie(e,t){return t&&(nie(t)==="object"||typeof t=="function")?t:CN(e)}function mm(e,t){return mm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mm(e,t)}function nie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oie(e){var t=rie();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 tie(this,o)}}var VN=function(e){eie(r,e);var t=oie(r);function r(n){Qoe(this,r);var o;return o=t.call(this,n),zN(CN(o),"props",void 0),o.props=new LN({}),o.children=(n==null?void 0:n.children)||[new di({props:new Mn({span:12})}),new di({props:new Mn({span:12})})],o}return Zoe(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(q);zN(VN,"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 iie(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 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 cie(e,t,r){return t&&GN(e.prototype,t),r&&GN(e,r),e}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ls(e)}function fie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Om(e,t)}function lie(e,t){return t&&(aie(t)==="object"||typeof t=="function")?t:iie(e)}function Om(e,t){return Om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Om(e,t)}function aie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=sie();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 lie(this,o)}}var yie=function(e){fie(r,e);var t=_ie(r);function r(n){uie(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new Eg({props:new Mn({span:12})}),new Eg({props:new Mn({span:12})})],o}return cie(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(Q),YN={Designer:VN,Runtime:yie,Property:LN};function V(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 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 as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},as(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&&$m(e,t)}function pie(e,t){return t&&(die(t)==="object"||typeof t=="function")?t:V(e)}function $m(e,t){return $m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$m(e,t)}function die(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rm(e){var t=vie();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 pie(this,o)}}var HN;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(HN||(HN={}));var hie=function(e){Pm(r,e);var t=Rm(r);function r(n){wm(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Jt),bie=function(e){Pm(r,e);var t=Rm(r);function r(n){wm(this,r);var o;if(o=t.call(this,n),G(V(o),"triggerFieldCode",{type:"any"}),G(V(o),"datasourceBind",{type:"any"}),G(V(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&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")}}}}]}}]),qi.call(V(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(ne),bi=function(e){Pm(r,e);var t=Rm(r);function r(n){wm(this,r);var o;o=t.call(this,n),G(V(o),"datasourceBind",void 0),G(V(o),"isLoading",void 0),G(V(o),"isShowSubList",void 0),G(V(o),"triggerType",void 0),G(V(o),"triggerFieldCode",void 0),G(V(o),"sublistPage",void 0),G(V(o),"isShowJoinRelation",void 0),G(V(o),"joinRelation",void 0),G(V(o),"showType",void 0),G(V(o),"showFullScreen",void 0),G(V(o),"isFixedHeader",void 0),G(V(o),"selectionType",void 0),G(V(o),"isShowSelection",void 0),G(V(o),"isAllLoaded",void 0),G(V(o),"countType",void 0),G(V(o),"countLimit",void 0),G(V(o),"rowStyleType",void 0),G(V(o),"rowStyleBgColor",void 0),G(V(o),"rowStyleRules",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 u;o.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var f;o.triggerType=(f=n==null?void 0:n.triggerType)!==null&&f!==void 0?f:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new tP(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 rP(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 h;o.isAllLoaded=(h=n==null?void 0:n.isAllLoaded)!==null&&h!==void 0?h:!0,o.countType=n==null?void 0:n.countType;var m;o.countLimit=(m=n==null?void 0:n.countLimit)!==null&&m!==void 0?m:1e5;var v;o.rowStyleType=(v=n==null?void 0:n.rowStyleType)!==null&&v!==void 0?v:"none";var O;o.rowStyleBgColor=(O=n==null?void 0:n.rowStyleBgColor)!==null&&O!==void 0?O:"theme";var w;return o.rowStyleRules=(w=n==null?void 0:n.rowStyleRules)!==null&&w!==void 0?w:new bP(n==null?void 0:n.rowStyleRules),o}return r}(z);G(bi,"Rules",bie),G(bi,"RuntimeRules",hie);function qN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mie(e,t,r){return t&&UN(e.prototype,t),r&&UN(e,r),e}function ss(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_s(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&&Tm(e,t)}function wie(e,t){return t&&(Pie(t)==="object"||typeof t=="function")?t:qN(e)}function Tm(e,t){return Tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tm(e,t)}function Pie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $ie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rie(e){var t=$ie();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 wie(this,o)}}var ys=function(e){Oie(r,e);var t=Rie(r);function r(n){gie(this,r);var o;return o=t.call(this,n),ss(qN(o),"props",void 0),o.props=new bi(n==null?void 0:n.props),o}return mie(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}(q);ss(ys,"excludes",[c.CONTROL_TYPE.ROW]),ss(ys,"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"]),ss(ys,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}]);function WN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Sie(e,t,r){return t&&KN(e.prototype,t),r&&KN(e,r),e}function Eie(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 Iie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bie(e,t){return t&&(Nie(t)==="object"||typeof t=="function")?t:WN(e)}function Sm(e,t){return Sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sm(e,t)}function Nie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aie(e){var t=Mie();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 Bie(this,o)}}var kie=function(e){Iie(r,e);var t=Aie(r);function r(n){Tie(this,r);var o;return o=t.call(this,n),Eie(WN(o),"props",void 0),o.props=new bi(n==null?void 0:n.props),o}return Sie(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Q),Em={Designer:ys,Runtime:kie,Property:bi};function yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function JN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Die(e,t){return t&&(jie(t)==="object"||typeof t=="function")?t:yn(e)}function Im(e,t){return Im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Im(e,t)}function jie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QN(e){var t=Fie();return function(){var n=ds(e),o;if(t){var i=ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Die(this,o)}}var Lie=function(e){JN(r,e);var t=QN(r);function r(n){XN(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Jt),vs=function(e){JN(r,e);var t=QN(r);function r(n){XN(this,r);var o;o=t.call(this,n),pn(yn(o),"save",void 0),pn(yn(o),"cancel",void 0),pn(yn(o),"saveAs",void 0),pn(yn(o),"print",void 0),pn(yn(o),"custom",void 0),pn(yn(o),"isLoading",void 0),pn(yn(o),"datasourceBind",void 0);var i;o.save=new Nt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Nt((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{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}(z);pn(vs,"RuntimeRules",Lie);function ZN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 xie(e,t,r){return t&&e1(e.prototype,t),r&&e1(e,r),e}function t1(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 zie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Vie(e,t){return t&&(Gie(t)==="object"||typeof t=="function")?t:ZN(e)}function Bm(e,t){return Bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bm(e,t)}function Gie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hie(e){var t=Yie();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 Vie(this,o)}}var n1=function(e){zie(r,e);var t=Hie(r);function r(n){Cie(this,r);var o;return o=t.call(this,n),t1(ZN(o),"props",void 0),o.props=new vs(n==null?void 0:n.props),o}return xie(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(q);t1(n1,"excludes",[]);function r1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Uie(e,t,r){return t&&o1(e.prototype,t),r&&o1(e,r),e}function Wie(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 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&&Nm(e,t)}function Xie(e,t){return t&&(Jie(t)==="object"||typeof t=="function")?t:r1(e)}function Nm(e,t){return Nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nm(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=bs(e),o;if(t){var i=bs(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){qie(this,r);var o;return o=t.call(this,n),Wie(r1(o),"props",void 0),o.props=new vs(n==null?void 0:n.props),o}return Uie(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Q),Mm={Designer:n1,Runtime:eue,Property:vs};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 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 rue(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 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&&Am(e,t)}function iue(e,t){return t&&(uue(t)==="object"||typeof t=="function")?t:tue(e)}function Am(e,t){return Am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Am(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=gs(e),o;if(t){var i=gs(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:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(q);function aue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 _ue(e,t,r){return t&&u1(e.prototype,t),r&&u1(e,r),e}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ms(e)}function yue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&km(e,t)}function pue(e,t){return t&&(due(t)==="object"||typeof t=="function")?t:aue(e)}function km(e,t){return km=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},km(e,t)}function due(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hue(e){var t=vue();return function(){var n=ms(e),o;if(t){var i=ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pue(this,o)}}var bue=function(e){yue(r,e);var t=hue(r);function r(n){return sue(this,r),t.call(this,n)}return _ue(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(Q);function jr(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 gi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Os(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&&Dm(e,t)}function Oue(e,t){return t&&(wue(t)==="object"||typeof t=="function")?t:jr(e)}function Dm(e,t){return Dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dm(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=Os(e),o;if(t){var i=Os(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){gue(this,r);var o;o=t.call(this,n),gi(jr(o),"hideHeader",void 0),gi(jr(o),"background","#fff"),gi(jr(o),"minWidth",""),gi(jr(o),"maxWidth",""),gi(jr(o),"heightConfig","auto");var i;return o.hideHeader=(i=n==null?void 0:n.hideHeader)!==null&&i!==void 0?i:!1,o}return r}(z),c1={Designer:lue,Runtime:bue,Property:Rue};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 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 Eue(e,t,r){return t&&f1(e.prototype,t),r&&f1(e,r),e}function ws(e){return ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ws(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&&jm(e,t)}function Bue(e,t){return t&&(Nue(t)==="object"||typeof t=="function")?t:Tue(e)}function jm(e,t){return jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jm(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=ws(e),o;if(t){var i=ws(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:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(q);function Due(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jue(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 Fue(e,t,r){return t&&l1(e.prototype,t),r&&l1(e,r),e}function Ps(e){return Ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ps(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&&Fm(e,t)}function Cue(e,t){return t&&(xue(t)==="object"||typeof t=="function")?t:Due(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fm(e,t)}function xue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vue(e){var t=zue();return function(){var n=Ps(e),o;if(t){var i=Ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cue(this,o)}}var Gue=function(e){Lue(r,e);var t=Vue(r);function r(n){return jue(this,r),t.call(this,n)}return Fue(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Q);function Lm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $s(e){return $s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$s(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&&Cm(e,t)}function que(e,t){return t&&(Uue(t)==="object"||typeof t=="function")?t:Lm(e)}function Cm(e,t){return Cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cm(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=$s(e),o;if(t){var i=$s(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){Yue(this,r);var o;return o=t.call(this,n),a1(Lm(o),"display",void 0),a1(Lm(o),"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new S$(n==null?void 0:n.flexConfig),o}return r}(z),s1={Designer:kue,Runtime:Gue,Property:Xue};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 _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 Zue(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 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&&xm(e,t)}function tce(e,t){return t&&(nce(t)==="object"||typeof t=="function")?t:Jue(e)}function xm(e,t){return xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xm(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=Rs(e),o;if(t){var i=Rs(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:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(q);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 y1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fce(e,t,r){return t&&y1(e.prototype,t),r&&y1(e,r),e}function Ts(e){return Ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ts(e)}function lce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ace(e,t){return t&&(sce(t)==="object"||typeof t=="function")?t:uce(e)}function zm(e,t){return zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zm(e,t)}function sce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yce(e){var t=_ce();return function(){var n=Ts(e),o;if(t){var i=Ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ace(this,o)}}var pce=function(e){lce(r,e);var t=yce(r);function r(n){return cce(this,r),t.call(this,n)}return fce(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),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 vce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ss(e){return Ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ss(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&&Vm(e,t)}function bce(e,t){return t&&(gce(t)==="object"||typeof t=="function")?t:dce(e)}function Vm(e,t){return Vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vm(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=Ss(e),o;if(t){var i=Ss(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 vce(this,r),t.call(this,n)}return r}(z),p1={Designer:ice,Runtime:pce,Property:wce};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 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 Rce(e,t,r){return t&&d1(e.prototype,t),r&&d1(e,r),e}function Es(e){return Es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Es(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&&Gm(e,t)}function Sce(e,t){return t&&(Ece(t)==="object"||typeof t=="function")?t:Pce(e)}function Gm(e,t){return Gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gm(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=Es(e),o;if(t){var i=Es(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:"controlName",get:function(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),r}(q);function Mce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ace(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kce(e,t,r){return t&&v1(e.prototype,t),r&&v1(e,r),e}function Is(e){return Is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Is(e)}function Dce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ym(e,t)}function jce(e,t){return t&&(Fce(t)==="object"||typeof t=="function")?t:Mce(e)}function Ym(e,t){return Ym=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ym(e,t)}function Fce(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 Cce(e){var t=Lce();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 jce(this,o)}}var xce=function(e){Dce(r,e);var t=Cce(r);function r(n){return Ace(this,r),t.call(this,n)}return kce(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(Q);function mi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bs(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 Vce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gce(e,t){return t&&(Yce(t)==="object"||typeof t=="function")?t:mi(e)}function Hm(e,t){return Hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hm(e,t)}function Yce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qce(e){var t=Hce();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 Gce(this,o)}}var Uce=function(e){Vce(r,e);var t=qce(r);function r(n){zce(this,r);var o;o=t.call(this,n),Bs(mi(o),"widthSpan",void 0),Bs(mi(o),"heightSpan",void 0),Bs(mi(o),"left",void 0),Bs(mi(o),"top",void 0);var i;o.widthSpan=(i=n==null?void 0:n.widthSpan)!==null&&i!==void 0?i:12;var u;o.heightSpan=(u=n==null?void 0:n.heightSpan)!==null&&u!==void 0?u:12;var 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}(z),h1={Designer:Nce,Runtime:xce,Property:Uce};function Ms(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 qm(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 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&&Um(e,t)}function Xce(e,t){return t&&(Jce(t)==="object"||typeof t=="function")?t:Ms(e)}function Um(e,t){return Um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Um(e,t)}function Jce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zce(e){var t=Qce();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 Xce(this,o)}}var Wm=function(e){Kce(r,e);var t=Zce(r);function r(n){Wce(this,r);var o;o=t.call(this,n),qm(Ms(o),"position",void 0),qm(Ms(o),"opacity",void 0),qm(Ms(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var f;return o.align=(f=n==null?void 0:n.align)!==null&&f!==void 0?f:"right",o}return r}(z);function b1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function efe(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 tfe(e,t,r){return t&&g1(e.prototype,t),r&&g1(e,r),e}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 ks(e){return ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ks(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&&Xm(e,t)}function rfe(e,t){return t&&(ofe(t)==="object"||typeof t=="function")?t:b1(e)}function Xm(e,t){return Xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xm(e,t)}function ofe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ife(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ufe(e){var t=ife();return function(){var n=ks(e),o;if(t){var i=ks(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rfe(this,o)}}var Jm=function(e){nfe(r,e);var t=ufe(r);function r(n){efe(this,r);var o;o=t.call(this,n),Km(b1(o),"props",void 0);var i;return o.props=new Wm((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return tfe(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}(q);Km(Jm,"excludes",[]),Km(Jm,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function m1(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 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 ffe(e,t,r){return t&&O1(e.prototype,t),r&&O1(e,r),e}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 Ds(e){return Ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ds(e)}function afe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qm(e,t)}function sfe(e,t){return t&&(_fe(t)==="object"||typeof t=="function")?t:m1(e)}function Qm(e,t){return Qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qm(e,t)}function _fe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=yfe();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 sfe(this,o)}}var dfe=function(e){afe(r,e);var t=pfe(r);function r(n){cfe(this,r);var o;o=t.call(this,n),lfe(m1(o),"props",void 0);var i;return o.props=new Wm((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return ffe(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(Q),w1={Designer:Jm,Runtime:dfe,Property:Wm},vfe=Object.freeze({__proto__:null,Grid:A3,Col:$a,Row:H3,GridRow:Lg,CardGroup:tN,SubTableColumn:Ug,SubTableRow:_N,GridTableColumn:hN,GridLayoutContainer:PN,Tab:FN,TabPane:MN,Toolbox:YN,ListView:Em,DataView:Mm,Page:c1,AdvancedContainer:s1,PositioningContainer:p1,Position:h1,ActionBar:w1});function B(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 I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function js(e){return js=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},js(e)}function e0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t0(e,t)}function hfe(e,t){return t&&(bfe(t)==="object"||typeof t=="function")?t:B(e)}function t0(e,t){return t0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t0(e,t)}function bfe(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 n0(e){var t=gfe();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 hfe(this,o)}}var mfe=function(e){e0(r,e);var t=n0(r);function r(n){Zm(this,r);var o;return o=t.call(this,n),I(B(o),"caption",{type:"string",required:!0,message:p.getMessage("pleaseEnterCaption")}),I(B(o),"limitRows",[{type:"number",required:!0,message:p.getMessage("isNotNumber")},{type:"number",min:0,message:p.getMessage("limitRowsCannotBeLessThan0")}]),I(B(o),"formKey",{type:"string",required:!1,message:p.getMessage("pleaseEnterForm")}),I(B(o),"maxHeight",{type:"number",required:!0,message:p.getMessage("pleaseEnterMaxHeight")}),I(B(o),"captionTip",{type:"string",required:!1,message:p.getMessage("pleaseEnterCaptionTip")}),I(B(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}(ne),Ofe=function(e){e0(r,e);var t=n0(r);function r(n){Zm(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(u,f,l){f.length<n.limitRows&&l(p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),l()},message:p.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(Jt),Oi=function(e){e0(r,e);var t=n0(r);function r(n,o){Zm(this,r);var i;i=t.call(this,n,o,r.mode),I(B(i),"caption",void 0),I(B(i),"labelPosition",void 0),I(B(i),"isHideCaption",void 0),I(B(i),"isShowCaptionTip",void 0),I(B(i),"captionTip",void 0),I(B(i),"defaultState",void 0),I(B(i),"limitRows",void 0),I(B(i),"maxRows",void 0),I(B(i),"defaultRows",void 0),I(B(i),"datasourceBind",void 0),I(B(i),"printMode",void 0),I(B(i),"openType",void 0),I(B(i),"formKey",void 0),I(B(i),"useCustomHeight",void 0),I(B(i),"maxHeight",void 0),I(B(i),"canAdd",void 0),I(B(i),"canDelete",void 0),I(B(i),"canCheck",void 0),I(B(i),"canEdit",void 0),I(B(i),"canImport",void 0),I(B(i),"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 u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:Ls.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:R$;var g;i.printMode=(g=o==null?void 0:o.printMode)!==null&&g!==void 0?g:"row";var h;i.limitRows=(h=o==null?void 0:o.limitRows)!==null&&h!==void 0?h:1;var m;i.maxRows=(m=o==null?void 0:o.maxRows)!==null&&m!==void 0?m:null;var v;i.defaultRows=(v=o==null?void 0:o.defaultRows)!==null&&v!==void 0?v:1,i.datasourceBind=new re(o==null?void 0:o.datasourceBind);var O;i.canAdd=(O=o==null?void 0:o.canAdd)!==null&&O!==void 0?O:!0;var w;i.canDelete=(w=o==null?void 0:o.canDelete)!==null&&w!==void 0?w:!0;var P;i.canCheck=(P=o==null?void 0:o.canCheck)!==null&&P!==void 0?P:!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 Le;i.serverPagination=(Le=o==null?void 0:o.serverPagination)!==null&&Le!==void 0?Le:!1;var ve;i.isShowCaptionTip=(ve=o==null?void 0:o.isShowCaptionTip)!==null&&ve!==void 0?ve:!1;var he;i.captionTip=(he=o==null?void 0:o.captionTip)!==null&&he!==void 0?he:"";var co;i.mobileShowType=(co=o==null?void 0:o.mobileShowType)!==null&&co!==void 0?co:"list";var ir;i.mobileDefaultNum=(ir=o==null?void 0:o.mobileDefaultNum)!==null&&ir!==void 0?ir:10;var Et;i.dataStorageDoc=(Et=o==null?void 0:o.dataStorageDoc)!==null&&Et!==void 0?Et:new Xw;var vw;i.fixedColumn=(vw=o==null?void 0:o.fixedColumn)!==null&&vw!==void 0?vw:[];var hw;i.mobileRowCaption=(hw=o==null?void 0:o.mobileRowCaption)!==null&&hw!==void 0?hw:"\u660E\u7EC6";var bw;i.mobileIsTile=(bw=o==null?void 0:o.mobileIsTile)!==null&&bw!==void 0?bw:!1;var gw;i.isPaste=(gw=o==null?void 0:o.isPaste)!==null&&gw!==void 0?gw:!1;var mw;i.pageSize=(mw=o==null?void 0:o.pageSize)!==null&&mw!==void 0?mw:10;var Ow;return i.pageSizeOptions=(Ow=o==null?void 0:o.pageSizeOptions)!==null&&Ow!==void 0?Ow:[10,20,50,100],i}return r}(Po);I(Oi,"Rules",mfe),I(Oi,"RuntimeRules",Ofe);function r0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pfe(e,t,r){return t&&P1(e.prototype,t),r&&P1(e,r),e}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 Fs(e){return Fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fs(e)}function $fe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i0(e,t)}function Rfe(e,t){return t&&(Tfe(t)==="object"||typeof t=="function")?t:r0(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function Tfe(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=Fs(e),o;if(t){var i=Fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rfe(this,o)}}var Ls=function(e){$fe(r,e);var t=Efe(r);function r(n){wfe(this,r);var o,i,u;return o=t.call(this,n),o0(r0(o),"props",void 0),o.props=new Oi(r0(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 _t,new _t,new _t]),(n==null||(u=n.props)===null||u===void 0?void 0:u.footers)===void 0&&(o.props.footers=[]),o}return Pfe(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new _t,f=typeof o=="number"?o:i;return f===void 0?this.props.headers.push(u):this.props.headers.splice(f,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(uu);o0(Ls,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),o0(Ls,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.IS_PASTE,c.COMMON_SETTING_TYPE.SERVER_PAGINATION]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"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 u0(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 $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 Bfe(e,t,r){return t&&$1(e.prototype,t),r&&$1(e,r),e}function Nfe(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 Mfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Afe(e,t){return t&&(kfe(t)==="object"||typeof t=="function")?t:u0(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c0(e,t)}function kfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jfe(e){var t=Dfe();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 Afe(this,o)}}var Ffe=function(e){Mfe(r,e);var t=jfe(r);function r(n){Ife(this,r);var o;return o=t.call(this,n),Nfe(u0(o),"props",void 0),o.props=new Oi(u0(o),n==null?void 0:n.props),o}return Bfe(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Wt("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(pp),R1={Designer:Ls,Runtime:Ffe,Property:Oi};function Fr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wi(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 Cfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xfe(e,t){return t&&(zfe(t)==="object"||typeof t=="function")?t:Fr(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}function zfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Vfe();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 xfe(this,o)}}var l0=function(e){Cfe(r,e);var t=Gfe(r);function r(n,o){Lfe(this,r);var i;i=t.call(this,n,o),wi(Fr(i),"isFixedHeader",void 0),wi(Fr(i),"selectionType",void 0),wi(Fr(i),"isShowToolbar",void 0),wi(Fr(i),"isShowSelection",void 0),wi(Fr(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var 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;i.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var s;return i.pageSizeOptions=(s=o==null?void 0:o.pageSizeOptions)!==null&&s!==void 0?s:[10,20,50,100,500],i}return r}(Po);function Yfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 zs(e){return zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zs(e)}function S1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a0(e,t)}function qfe(e,t){return t&&(Ufe(t)==="object"||typeof t=="function")?t:Yfe(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a0(e,t)}function Ufe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E1(e){var t=Wfe();return function(){var n=zs(e),o;if(t){var i=zs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qfe(this,o)}}var Kfe=function(e){S1(r,e);var t=E1(r);function r(n){T1(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(ut),Vs=function(e){S1(r,e);var t=E1(r);function r(n){T1(this,r);var o,i,u;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:Ln.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var s;o.autoWidth.minWidth=(s=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&s!==void 0?s:60;var _;o.autoWidth.flex=(_=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&_!==void 0?_:.4;var y;return o.widthType=(y=n==null?void 0:n.widthType)!==null&&y!==void 0?y:"px",o}return r}(Z);Hfe(Vs,"Rules",Kfe);function I1(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 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 Gs(e){return Gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gs(e)}function Jfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s0(e,t)}function Qfe(e,t){return t&&(Zfe(t)==="object"||typeof t=="function")?t:I1(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s0(e,t)}function Zfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ele(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tle(e){var t=ele();return function(){var n=Gs(e),o;if(t){var i=Gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qfe(this,o)}}var Ln=function(e){Jfe(r,e);var t=tle(r);function r(n){Xfe(this,r);var o;return o=t.call(this,n),Pi(I1(o),"props",void 0),o.props=new Vs(n==null?void 0:n.props),o}return r}(ie);Pi(Ln,"controlType","order-column"),Pi(Ln,"controlName","\u5E8F\u53F7"),Pi(Ln,"controlIcon","order-column"),Pi(Ln,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function B1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _0(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 rle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ole(e,t){return t&&(ile(t)==="object"||typeof t=="function")?t:B1(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}function ile(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ule(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cle(e){var t=ule();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 ole(this,o)}}var p0=function(e){rle(r,e);var t=cle(r);function r(n){nle(this,r);var o;return o=t.call(this,n),_0(B1(o),"props",void 0),o.props=new Vs(n==null?void 0:n.props),o}return r}(ue);_0(p0,"controlType","order-column"),_0(p0,"controlFieldType",c.FieldTypes.DECIMAL);var N1={Designer:Ln,Runtime:p0,Property:Vs};function d0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M1(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 lle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v0(e,t)}function ale(e,t){return t&&(sle(t)==="object"||typeof t=="function")?t:d0(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v0(e,t)}function sle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _le(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=_le();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 ale(this,o)}}var h0=function(e){lle(r,e);var t=yle(r);function r(n){fle(this,r);var o,i;o=t.call(this,n),M1(d0(o),"showType",void 0),M1(d0(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var 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:xn.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var s;return o.limit=(s=n==null?void 0:n.limit)!==null&&s!==void 0?s:3,o}return r}(Z);function qs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A1(e,t,r,n,o,i,u){try{var f=e[i](u),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function ple(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){A1(i,n,o,u,f,"next",l)}function f(l){A1(i,n,o,u,f,"throw",l)}u(void 0)})}}function dle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vle(e,t,r){return t&&k1(e.prototype,t),r&&k1(e,r),e}function Cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Lr=Reflect.get:Lr=function(o,i,u){var f=wle(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},Lr(e,t,r||e)}function dn(e){return dn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dn(e)}function hle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b0(e,t)}function ble(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Cn(e,o,r[o])})}return e}function gle(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 mle(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):gle(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Ole(e,t){return t&&(Ple(t)==="object"||typeof t=="function")?t:qs(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b0(e,t)}function wle(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=dn(e),e!==null););return e}function Ple(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $le(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=$le();return function(){var n=dn(e),o;if(t){var i=dn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ole(this,o)}}function Tle(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next: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(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var xn=function(e){hle(r,e);var t=Rle(r);function r(n){dle(this,r);var o;return o=t.call(this,n),Cn(qs(o),"props",void 0),Cn(qs(o),"children",void 0),o.props=new h0(n==null?void 0:n.props),it(qs(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return vle(r,[{key:"toDataBindModel",value:function(){var o=Lr(dn(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===qc.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=Lr(dn(r.prototype),"toSchema",this).call(this);return mle(ble({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,f=this,l=function(){return Lr(dn(r.prototype),"validate",u)};return ple(function(){return Tle(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);Cn(xn,"controlType","operation-column"),Cn(xn,"controlName","\u64CD\u4F5C"),Cn(xn,"controlIcon","operation-column"),Cn(xn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function Us(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ws(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ks(e){return Ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ks(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&&g0(e,t)}function Ile(e,t){return t&&(Ble(t)==="object"||typeof t=="function")?t:Us(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g0(e,t)}function Ble(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mle(e){var t=Nle();return function(){var n=Ks(e),o;if(t){var i=Ks(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ile(this,o)}}var m0=function(e){Ele(r,e);var t=Mle(r);function r(n){Sle(this,r);var o;return o=t.call(this,n),Ws(Us(o),"props",void 0),Ws(Us(o),"children",void 0),o.props=new h0(n==null?void 0:n.props),it(Us(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(ue);Ws(m0,"controlType","operation-column"),Ws(m0,"controlFieldType",c.FieldTypes.FILE);var D1={Designer:xn,Runtime:m0,Property:h0};function $i(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j1(e,t,r,n,o,i,u){try{var f=e[i](u),l=f.value}catch(a){r(a);return}f.done?t(l):Promise.resolve(l).then(n,o)}function Ale(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){j1(i,n,o,u,f,"next",l)}function f(l){j1(i,n,o,u,f,"throw",l)}u(void 0)})}}function kle(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 Dle(e,t,r){return t&&F1(e.prototype,t),r&&F1(e,r),e}function Xs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ri(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ri=Reflect.get:Ri=function(o,i,u){var f=zle(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},Ri(e,t,r||e)}function zn(e){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zn(e)}function jle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O0(e,t)}function Fle(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){Xs(e,o,r[o])})}return e}function Lle(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 Cle(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Lle(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function xle(e,t){return t&&(Vle(t)==="object"||typeof t=="function")?t:$i(e)}function O0(e,t){return O0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O0(e,t)}function zle(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zn(e),e!==null););return e}function Vle(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=zn(e),o;if(t){var i=zn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xle(this,o)}}function Hle(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next: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(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var L1=function(e){jle(r,e);var t=Yle(r);function r(n){kle(this,r);var o,i;return o=t.call(this,n),Xs($i(o),"props",void 0),Xs($i(o),"children",void 0),o.props=new l0($i(o),n==null?void 0:n.props),it($i(o),"children",n==null?void 0:n.children,void 0,"Designer"),(n==null?void 0:n.props.headers)===void 0&&(o.props.headers=[new Ln,new xn]),(n==null||(i=n.props)===null||i===void 0?void 0:i.footers)===void 0&&(o.props.footers=[]),o}return Dle(r,[{key:"toSchema",value:function(){var o=Ri(zn(r.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return Cle(Fle({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,f=this,l=function(){return Ri(zn(r.prototype),"validate",u)};return Ale(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]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),r}(uu);Xs(L1,"setting",[{key:"list-fixed-header",visible:!0}]);function w0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ule(e,t,r){return t&&C1(e.prototype,t),r&&C1(e,r),e}function Wle(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 Kle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xle(e,t){return t&&(Jle(t)==="object"||typeof t=="function")?t:w0(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}function Jle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Qle();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 Xle(this,o)}}var eae=function(e){Kle(r,e);var t=Zle(r);function r(n){qle(this,r);var o;return o=t.call(this,n),Wle(w0(o),"props",void 0),o.props=new l0(w0(o),n==null?void 0:n.props),o}return Ule(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Wt("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}(pp),x1={Designer:L1,Runtime:eae,Property:l0},tae=Object.freeze({__proto__:null,SubTable:R1,GridTable:x1});function vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Qs(e){return Qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qs(e)}function V1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$0(e,t)}function nae(e,t){return t&&(rae(t)==="object"||typeof t=="function")?t:vn(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}function rae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G1(e){var t=oae();return function(){var n=Qs(e),o;if(t){var i=Qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nae(this,o)}}var iae=function(e){V1(r,e);var t=G1(r);function r(n){z1(this,r);var o;return o=t.call(this,n),At.call(vn(o),n),o}return r}(gp),Zs=function(e){V1(r,e);var t=G1(r);function r(n){z1(this,r);var o;o=t.call(this,n),Vn(vn(o),"optionConfig",void 0),Vn(vn(o),"datasourceBind",void 0),Vn(vn(o),"showLinkOperation",void 0),Vn(vn(o),"linkOperationOption",void 0),Vn(vn(o),"options",void 0),Vn(vn(o),"lineEllipsis",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Gn.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var f;o.options=ht((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 vt(n==null?void 0:n.linkOperationOption);var a;return o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1,o}return r}(Z);Vn(Zs,"Rules",iae);function Y1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function e_(e){return e_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},e_(e)}function cae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fae(e,t){return t&&(lae(t)==="object"||typeof t=="function")?t:Y1(e)}function R0(e,t){return R0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R0(e,t)}function lae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sae(e){var t=aae();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 fae(this,o)}}var Gn=function(e){cae(r,e);var t=sae(r);function r(n){uae(this,r);var o;return o=t.call(this,n),Cr(Y1(o),"props",void 0),o.props=new Zs(n==null?void 0:n.props),o}return r}(ie);Cr(Gn,"controlType","varchar-column"),Cr(Gn,"controlName","\u77ED\u6587\u672C"),Cr(Gn,"controlIcon","varchar-column"),Cr(Gn,"controlFieldType",c.FieldTypes.VARCHAR),Cr(Gn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function H1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S0(e,t)}function pae(e,t){return t&&(dae(t)==="object"||typeof t=="function")?t:H1(e)}function S0(e,t){return S0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S0(e,t)}function dae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hae(e){var t=vae();return function(){var n=t_(e),o;if(t){var i=t_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pae(this,o)}}var E0=function(e){yae(r,e);var t=hae(r);function r(n){_ae(this,r);var o;return o=t.call(this,n),T0(H1(o),"props",void 0),o.props=new Zs(n==null?void 0:n.props),o}return r}(ue);T0(E0,"controlType","varchar-column"),T0(E0,"controlFieldType",c.FieldTypes.VARCHAR);var q1={Designer:Gn,Runtime:E0,Property:Zs};function xr(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 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 n_(e){return n_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},n_(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&&I0(e,t)}function bae(e,t){return t&&(gae(t)==="object"||typeof t=="function")?t:xr(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I0(e,t)}function gae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K1(e){var t=mae();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 bae(this,o)}}var Oae=function(e){W1(r,e);var t=K1(r);function r(n){U1(this,r);var o;return o=t.call(this,n),At.call(xr(o),n),o}return r}(ut),r_=function(e){W1(r,e);var t=K1(r);function r(n){U1(this,r);var o;o=t.call(this,n),Ti(xr(o),"escapeHTML",void 0),Ti(xr(o),"showLinkOperation",void 0),Ti(xr(o),"linkOperationOption",void 0),Ti(xr(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Yn.controlName;var 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 vt(n==null?void 0:n.linkOperationOption),o}return r}(Z);Ti(r_,"Rules",Oae);function X1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J1(e,t){for(var r=0;r<t.length;r++){var 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&&J1(e.prototype,t),r&&J1(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 o_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?o_=Reflect.get:o_=function(o,i,u){var f=Tae(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||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 $ae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B0(e,t)}function Rae(e,t){return t&&(Sae(t)==="object"||typeof t=="function")?t:X1(e)}function B0(e,t){return B0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B0(e,t)}function Tae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vr(e),e!==null););return e}function Sae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iae(e){var t=Eae();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 Rae(this,o)}}var Yn=function(e){$ae(r,e);var t=Iae(r);function r(n){wae(this,r);var o;return o=t.call(this,n),zr(X1(o),"props",void 0),o.props=new r_(n==null?void 0:n.props),o}return Pae(r,[{key:"toDataBindModel",value:function(o){var i=o_(Vr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(ie);zr(Yn,"controlType","text-column"),zr(Yn,"controlName","\u957F\u6587\u672C"),zr(Yn,"controlIcon","text-column"),zr(Yn,"controlFieldType",c.FieldTypes.TEXT),zr(Yn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function Q1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 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&&M0(e,t)}function Mae(e,t){return t&&(Aae(t)==="object"||typeof t=="function")?t:Q1(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M0(e,t)}function Aae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dae(e){var t=kae();return function(){var n=i_(e),o;if(t){var i=i_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mae(this,o)}}var A0=function(e){Nae(r,e);var t=Dae(r);function r(n){Bae(this,r);var o;return o=t.call(this,n),N0(Q1(o),"props",void 0),o.props=new r_(n==null?void 0:n.props),o}return r}(ue);N0(A0,"controlType","text-column"),N0(A0,"controlFieldType",c.FieldTypes.TEXT);var Z1={Designer:Yn,Runtime:A0,Property:r_};function St(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 qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u_(e){return u_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},u_(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&&k0(e,t)}function jae(e,t){return t&&(Fae(t)==="object"||typeof t=="function")?t:St(e)}function k0(e,t){return k0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k0(e,t)}function Fae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nM(e){var t=Lae();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 jae(this,o)}}var Cae=function(e){tM(r,e);var t=nM(r);function r(n){eM(this,r);var o;return o=t.call(this,n),At.call(St(o),n),o}return r}(ut),c_=function(e){tM(r,e);var t=nM(r);function r(n){eM(this,r);var o;o=t.call(this,n),qt(St(o),"optionConfig",void 0),qt(St(o),"datasourceBind",void 0),qt(St(o),"showLinkOperation",void 0),qt(St(o),"linkOperationOption",void 0),qt(St(o),"options",void 0),qt(St(o),"precision",void 0),qt(St(o),"micrometer",void 0),qt(St(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Hn.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var 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=ht((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 vt(n==null?void 0:n.linkOperationOption),o}return r}(Z);qt(c_,"Rules",Cae);function rM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xae(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 zae(e,t,r){return t&&oM(e.prototype,t),r&&oM(e,r),e}function Gr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?f_=Reflect.get:f_=function(o,i,u){var f=Yae(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},f_(e,t,r||e)}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(e)}function Vae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D0(e,t)}function Gae(e,t){return t&&(Hae(t)==="object"||typeof t=="function")?t:rM(e)}function D0(e,t){return D0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D0(e,t)}function Yae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yr(e),e!==null););return e}function Hae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uae(e){var t=qae();return function(){var n=Yr(e),o;if(t){var i=Yr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gae(this,o)}}var Hn=function(e){Vae(r,e);var t=Uae(r);function r(n){xae(this,r);var o;return o=t.call(this,n),Gr(rM(o),"props",void 0),o.props=new c_(n==null?void 0:n.props),o}return zae(r,[{key:"toDataBindModel",value:function(o){var i=f_(Yr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,f=u.precision,l=u.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=l}return i}}]),r}(ie);Gr(Hn,"controlType","decimal-column"),Gr(Hn,"controlName","\u6570\u503C"),Gr(Hn,"controlIcon","decimal-column"),Gr(Hn,"controlFieldType",c.FieldTypes.DECIMAL),Gr(Hn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION,c.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function iM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l_(e){return l_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},l_(e)}function Kae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xae(e,t){return t&&(Jae(t)==="object"||typeof t=="function")?t:iM(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function Jae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zae(e){var t=Qae();return function(){var n=l_(e),o;if(t){var i=l_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xae(this,o)}}var L0=function(e){Kae(r,e);var t=Zae(r);function r(n){Wae(this,r);var o;return o=t.call(this,n),j0(iM(o),"props",void 0),o.props=new c_(n==null?void 0:n.props),o}return r}(ue);j0(L0,"controlType","decimal-column"),j0(L0,"controlFieldType",c.FieldTypes.DECIMAL);var uM={Designer:Hn,Runtime:L0,Property:c_};function Si(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s_(e){return s_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},s_(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&&C0(e,t)}function ese(e,t){return t&&(tse(t)==="object"||typeof t=="function")?t:Si(e)}function C0(e,t){return C0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C0(e,t)}function tse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lM(e){var t=nse();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 ese(this,o)}}var rse=function(e){fM(r,e);var t=lM(r);function r(n){cM(this,r);var o;return o=t.call(this,n),At.call(Si(o),n),o}return r}(ut),__=function(e){fM(r,e);var t=lM(r);function r(n){cM(this,r);var o;o=t.call(this,n),a_(Si(o),"dateType",void 0),a_(Si(o),"showLinkOperation",void 0),a_(Si(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new vt(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}(Z);a_(__,"Rules",rse);function aM(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 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 ise(e,t,r){return t&&sM(e.prototype,t),r&&sM(e,r),e}function Hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?y_=Reflect.get:y_=function(o,i,u){var f=fse(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},y_(e,t,r||e)}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qr(e)}function use(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x0(e,t)}function cse(e,t){return t&&(lse(t)==="object"||typeof t=="function")?t:aM(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x0(e,t)}function fse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qr(e),e!==null););return e}function lse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ase(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sse(e){var t=ase();return function(){var n=qr(e),o;if(t){var i=qr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cse(this,o)}}var qn=function(e){use(r,e);var t=sse(r);function r(n){ose(this,r);var o;return o=t.call(this,n),Hr(aM(o),"props",void 0),o.props=new __(n==null?void 0:n.props),o}return ise(r,[{key:"toDataBindModel",value:function(o){var i=y_(qr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ie);Hr(qn,"controlType","timescope-column"),Hr(qn,"controlName","\u65E5\u671F\u533A\u95F4"),Hr(qn,"controlIcon","timescope-column"),Hr(qn,"controlFieldType",c.FieldTypes.TIMESCOPE),Hr(qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function _M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p_(e){return p_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},p_(e)}function yse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pse(e,t){return t&&(dse(t)==="object"||typeof t=="function")?t:_M(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function dse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hse(e){var t=vse();return function(){var n=p_(e),o;if(t){var i=p_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pse(this,o)}}var G0=function(e){yse(r,e);var t=hse(r);function r(n){_se(this,r);var o;return o=t.call(this,n),z0(_M(o),"props",void 0),o.props=new __(n==null?void 0:n.props),o}return r}(ue);z0(G0,"controlType","timescope-column"),z0(G0,"controlFieldType",c.FieldTypes.TIMESCOPE);var yM={Designer:qn,Runtime:G0,Property:__};function Ei(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 v_(e){return v_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},v_(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&&Y0(e,t)}function bse(e,t){return t&&(gse(t)==="object"||typeof t=="function")?t:Ei(e)}function Y0(e,t){return Y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y0(e,t)}function gse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vM(e){var t=mse();return function(){var n=v_(e),o;if(t){var i=v_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bse(this,o)}}var Ose=function(e){dM(r,e);var t=vM(r);function r(n){pM(this,r);var o;return o=t.call(this,n),At.call(Ei(o),n),o}return r}(ut),h_=function(e){dM(r,e);var t=vM(r);function r(n){pM(this,r);var o;o=t.call(this,n),d_(Ei(o),"dateType",void 0),d_(Ei(o),"showLinkOperation",void 0),d_(Ei(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new vt(n==null?void 0:n.linkOperationOption);var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Un.controlName,o}return r}(Z);d_(h_,"Rules",Ose);function hM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wse(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 Pse(e,t,r){return t&&bM(e.prototype,t),r&&bM(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 b_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?b_=Reflect.get:b_=function(o,i,u){var f=Tse(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},b_(e,t,r||e)}function Wr(e){return Wr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wr(e)}function $se(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H0(e,t)}function Rse(e,t){return t&&(Sse(t)==="object"||typeof t=="function")?t:hM(e)}function H0(e,t){return H0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H0(e,t)}function Tse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Wr(e),e!==null););return e}function Sse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ese(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ise(e){var t=Ese();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 Rse(this,o)}}var Un=function(e){$se(r,e);var t=Ise(r);function r(n){wse(this,r);var o;return o=t.call(this,n),Ur(hM(o),"props",void 0),o.props=new h_(n==null?void 0:n.props),o}return Pse(r,[{key:"toDataBindModel",value:function(o){var i=b_(Wr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ie);Ur(Un,"controlType","timestamp-column"),Ur(Un,"controlName","\u65E5\u671F"),Ur(Un,"controlIcon","timestamp-column"),Ur(Un,"controlFieldType",c.FieldTypes.TIMESTAMP),Ur(Un,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function gM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 g_(e){return g_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},g_(e)}function Nse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mse(e,t){return t&&(Ase(t)==="object"||typeof t=="function")?t:gM(e)}function U0(e,t){return U0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U0(e,t)}function Ase(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dse(e){var t=kse();return function(){var n=g_(e),o;if(t){var i=g_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mse(this,o)}}var W0=function(e){Nse(r,e);var t=Dse(r);function r(n){Bse(this,r);var o;return o=t.call(this,n),q0(gM(o),"props",void 0),o.props=new h_(n==null?void 0:n.props),o}return r}(ue);q0(W0,"controlType","timestamp-column"),q0(W0,"controlFieldType",c.FieldTypes.TIMESTAMP);var mM={Designer:Un,Runtime:W0,Property:h_};function Wn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OM(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 m_(e){return m_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},m_(e)}function wM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K0(e,t)}function jse(e,t){return t&&(Fse(t)==="object"||typeof t=="function")?t:Wn(e)}function K0(e,t){return K0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K0(e,t)}function Fse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PM(e){var t=Lse();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 jse(this,o)}}var Cse=function(e){wM(r,e);var t=PM(r);function r(n){OM(this,r);var o;return o=t.call(this,n),At.call(Wn(o),n),o}return r}(gp),O_=function(e){wM(r,e);var t=PM(r);function r(n){OM(this,r);var o;o=t.call(this,n),Kr(Wn(o),"optionConfig",void 0),Kr(Wn(o),"datasourceBind",void 0),Kr(Wn(o),"showLinkOperation",void 0),Kr(Wn(o),"linkOperationOption",void 0),Kr(Wn(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Kn.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new re(n==null?void 0:n.datasourceBind);var f;o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new vt(n==null?void 0:n.linkOperationOption);var l;return o.options=ht((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]),o}return r}(Z);Kr(O_,"Rules",Cse);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 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 w_(e){return w_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},w_(e)}function zse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X0(e,t)}function Vse(e,t){return t&&(Gse(t)==="object"||typeof t=="function")?t:$M(e)}function X0(e,t){return X0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X0(e,t)}function Gse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hse(e){var t=Yse();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 Vse(this,o)}}var Kn=function(e){zse(r,e);var t=Hse(r);function r(n){xse(this,r);var o;return o=t.call(this,n),Xr($M(o),"props",void 0),o.props=new O_(n==null?void 0:n.props),o}return r}(ie);Xr(Kn,"controlType","array-column"),Xr(Kn,"controlName","\u6570\u7EC4"),Xr(Kn,"controlIcon","array-column"),Xr(Kn,"controlFieldType",c.FieldTypes.ARRAY),Xr(Kn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function RM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P_(e){return P_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},P_(e)}function Use(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q0(e,t)}function Wse(e,t){return t&&(Kse(t)==="object"||typeof t=="function")?t:RM(e)}function Q0(e,t){return Q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q0(e,t)}function Kse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jse(e){var t=Xse();return function(){var n=P_(e),o;if(t){var i=P_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wse(this,o)}}var Z0=function(e){Use(r,e);var t=Jse(r);function r(n){qse(this,r);var o;return o=t.call(this,n),J0(RM(o),"props",void 0),o.props=new O_(n==null?void 0:n.props),o}return r}(ue);J0(Z0,"controlType","array-column"),J0(Z0,"controlFieldType",c.FieldTypes.ARRAY);var TM={Designer:Kn,Runtime:Z0,Property:O_};function SM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zse(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 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&&eO(e,t)}function t_e(e,t){return t&&(n_e(t)==="object"||typeof t=="function")?t:SM(e)}function eO(e,t){return eO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eO(e,t)}function n_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r_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 o_e(e){var t=r_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 t_e(this,o)}}var tO=function(e){e_e(r,e);var t=o_e(r);function r(n){Qse(this,r);var o;o=t.call(this,n),Zse(SM(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Xn.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(Z);function EM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 u_e(e,t,r){return t&&IM(e.prototype,t),r&&IM(e,r),e}function Jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?R_=Reflect.get:R_=function(o,i,u){var f=l_e(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},R_(e,t,r||e)}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function c_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&&nO(e,t)}function f_e(e,t){return t&&(a_e(t)==="object"||typeof t=="function")?t:EM(e)}function nO(e,t){return nO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nO(e,t)}function l_e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qr(e),e!==null););return e}function a_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function __e(e){var t=s_e();return function(){var n=Qr(e),o;if(t){var i=Qr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f_e(this,o)}}var Xn=function(e){c_e(r,e);var t=__e(r);function r(n){i_e(this,r);var o;return o=t.call(this,n),Jr(EM(o),"props",void 0),o.props=new tO(n==null?void 0:n.props),o}return u_e(r,[{key:"toDataBindModel",value:function(o){var i=R_(Qr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(ie);Jr(Xn,"controlType","department-column"),Jr(Xn,"controlName","\u90E8\u95E8"),Jr(Xn,"controlIcon","department-column"),Jr(Xn,"controlFieldType",c.FieldTypes.DEPARTMENTS),Jr(Xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function BM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T_(e){return T_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},T_(e)}function p_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oO(e,t)}function d_e(e,t){return t&&(v_e(t)==="object"||typeof t=="function")?t:BM(e)}function oO(e,t){return oO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oO(e,t)}function v_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b_e(e){var t=h_e();return function(){var n=T_(e),o;if(t){var i=T_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d_e(this,o)}}var iO=function(e){p_e(r,e);var t=b_e(r);function r(n){y_e(this,r);var o;return o=t.call(this,n),rO(BM(o),"props",void 0),o.props=new tO(n==null?void 0:n.props),o}return r}(ue);rO(iO,"controlType","department-column"),rO(iO,"controlFieldType",c.FieldTypes.DEPARTMENTS);var NM={Designer:Xn,Runtime:iO,Property:tO};function S_(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 uO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E_(e){return E_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},E_(e)}function AM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 g_e(e,t){return t&&(m_e(t)==="object"||typeof t=="function")?t:S_(e)}function cO(e,t){return cO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cO(e,t)}function m_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O_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 kM(e){var t=O_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 g_e(this,o)}}var w_e=function(e){AM(r,e);var t=kM(r);function r(n){MM(this,r);var o;return o=t.call(this,n),At.call(S_(o),n),o}return r}(ut),I_=function(e){AM(r,e);var t=kM(r);function r(n){MM(this,r);var o;o=t.call(this,n),uO(S_(o),"showLinkOperation",void 0),uO(S_(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Jn.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new vt(n==null?void 0:n.linkOperationOption),o}return r}(Z);uO(I_,"Rules",w_e);function DM(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 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 B_(e){return B_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},B_(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&&fO(e,t)}function R_e(e,t){return t&&(T_e(t)==="object"||typeof t=="function")?t:DM(e)}function fO(e,t){return fO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fO(e,t)}function T_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E_e(e){var t=S_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 R_e(this,o)}}var Jn=function(e){$_e(r,e);var t=E_e(r);function r(n){P_e(this,r);var o;return o=t.call(this,n),Zr(DM(o),"props",void 0),o.props=new I_(n==null?void 0:n.props),o}return r}(ie);Zr(Jn,"controlType","auto-number-column"),Zr(Jn,"controlName","\u81EA\u52A8\u7F16\u53F7"),Zr(Jn,"controlIcon","auto-number-column"),Zr(Jn,"controlFieldType",c.FieldTypes.AUTO_NUMBER),Zr(Jn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function jM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N_(e){return N_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},N_(e)}function B_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aO(e,t)}function N_e(e,t){return t&&(M_e(t)==="object"||typeof t=="function")?t:jM(e)}function aO(e,t){return aO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aO(e,t)}function M_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k_e(e){var t=A_e();return function(){var n=N_(e),o;if(t){var i=N_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return N_e(this,o)}}var sO=function(e){B_e(r,e);var t=k_e(r);function r(n){I_e(this,r);var o;return o=t.call(this,n),lO(jM(o),"props",void 0),o.props=new I_(n==null?void 0:n.props),o}return r}(ue);lO(sO,"controlType","auto-number-column"),lO(sO,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var FM={Designer:Jn,Runtime:sO,Property:I_};function D_e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M_(e){return M_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},M_(e)}function F_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&&_O(e,t)}function L_e(e,t){return t&&(C_e(t)==="object"||typeof t=="function")?t:D_e(e)}function _O(e,t){return _O=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_O(e,t)}function C_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 z_e(e){var t=x_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 L_e(this,o)}}var yO=function(e){F_e(r,e);var t=z_e(r);function r(n){j_e(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Qn.controlName,o}return r}(Z);function LM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 A_(e){return A_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},A_(e)}function G_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pO(e,t)}function Y_e(e,t){return t&&(H_e(t)==="object"||typeof t=="function")?t:LM(e)}function pO(e,t){return pO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pO(e,t)}function H_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U_e(e){var t=q_e();return function(){var n=A_(e),o;if(t){var i=A_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y_e(this,o)}}var Qn=function(e){G_e(r,e);var t=U_e(r);function r(n){V_e(this,r);var o;return o=t.call(this,n),eo(LM(o),"props",void 0),o.props=new yO(n==null?void 0:n.props),o}return r}(ie);eo(Qn,"controlType","file-column"),eo(Qn,"controlName","\u9644\u4EF6"),eo(Qn,"controlIcon","file-column"),eo(Qn,"controlFieldType",c.FieldTypes.FILE),eo(Qn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function CM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 k_(e){return k_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},k_(e)}function K_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vO(e,t)}function X_e(e,t){return t&&(J_e(t)==="object"||typeof t=="function")?t:CM(e)}function vO(e,t){return vO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vO(e,t)}function J_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z_e(e){var t=Q_e();return function(){var n=k_(e),o;if(t){var i=k_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X_e(this,o)}}var hO=function(e){K_e(r,e);var t=Z_e(r);function r(n){W_e(this,r);var o;return o=t.call(this,n),dO(CM(o),"props",void 0),o.props=new yO(n==null?void 0:n.props),o}return r}(ue);dO(hO,"controlType","file-column"),dO(hO,"controlFieldType",c.FieldTypes.FILE);var xM={Designer:Qn,Runtime:hO,Property:yO};function eye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D_(e){return D_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},D_(e)}function nye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bO(e,t)}function rye(e,t){return t&&(oye(t)==="object"||typeof t=="function")?t:eye(e)}function bO(e,t){return bO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bO(e,t)}function oye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uye(e){var t=iye();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 rye(this,o)}}var gO=function(e){nye(r,e);var t=uye(r);function r(n){tye(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Zn.controlName,o}return r}(Z);function zM(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 to(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j_(e){return j_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},j_(e)}function fye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mO(e,t)}function lye(e,t){return t&&(aye(t)==="object"||typeof t=="function")?t:zM(e)}function mO(e,t){return mO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mO(e,t)}function aye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ye(e){var t=sye();return function(){var n=j_(e),o;if(t){var i=j_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lye(this,o)}}var Zn=function(e){fye(r,e);var t=_ye(r);function r(n){cye(this,r);var o;return o=t.call(this,n),to(zM(o),"props",void 0),o.props=new gO(n==null?void 0:n.props),o}return r}(ie);to(Zn,"controlType","image-column"),to(Zn,"controlName","\u56FE\u7247"),to(Zn,"controlIcon","image-column"),to(Zn,"controlFieldType",c.FieldTypes.IMAGE),to(Zn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function VM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 F_(e){return F_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},F_(e)}function pye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wO(e,t)}function dye(e,t){return t&&(vye(t)==="object"||typeof t=="function")?t:VM(e)}function wO(e,t){return wO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wO(e,t)}function vye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bye(e){var t=hye();return function(){var n=F_(e),o;if(t){var i=F_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dye(this,o)}}var PO=function(e){pye(r,e);var t=bye(r);function r(n){yye(this,r);var o;return o=t.call(this,n),OO(VM(o),"props",void 0),o.props=new gO(n==null?void 0:n.props),o}return r}(ue);OO(PO,"controlType","image-column"),OO(PO,"controlFieldType",c.FieldTypes.IMAGE);var GM={Designer:Zn,Runtime:PO,Property:gO};function gye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L_(e){return L_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},L_(e)}function Oye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$O(e,t)}function wye(e,t){return t&&(Pye(t)==="object"||typeof t=="function")?t:gye(e)}function $O(e,t){return $O=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$O(e,t)}function Pye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $ye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=$ye();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 wye(this,o)}}var RO=function(e){Oye(r,e);var t=Rye(r);function r(n){mye(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:er.controlName,o}return r}(Z);function YM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function no(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function C_(e){return C_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},C_(e)}function Sye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&TO(e,t)}function Eye(e,t){return t&&(Iye(t)==="object"||typeof t=="function")?t:YM(e)}function TO(e,t){return TO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TO(e,t)}function Iye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nye(e){var t=Bye();return function(){var n=C_(e),o;if(t){var i=C_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eye(this,o)}}var er=function(e){Sye(r,e);var t=Nye(r);function r(n){Tye(this,r);var o;return o=t.call(this,n),no(YM(o),"props",void 0),o.props=new RO(n==null?void 0:n.props),o}return r}(ie);no(er,"controlType","people-column"),no(er,"controlName","\u4EBA\u5458"),no(er,"controlIcon","people-column"),no(er,"controlFieldType",c.FieldTypes.EMPLOYEES),no(er,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function HM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x_(e){return x_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},x_(e)}function Aye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&EO(e,t)}function kye(e,t){return t&&(Dye(t)==="object"||typeof t=="function")?t:HM(e)}function EO(e,t){return EO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EO(e,t)}function Dye(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=x_(e),o;if(t){var i=x_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kye(this,o)}}var IO=function(e){Aye(r,e);var t=Fye(r);function r(n){Mye(this,r);var o;return o=t.call(this,n),SO(HM(o),"props",void 0),o.props=new RO(n==null?void 0:n.props),o}return r}(ue);SO(IO,"controlType","people-column"),SO(IO,"controlFieldType",c.FieldTypes.EMPLOYEES);var qM={Designer:er,Runtime:IO,Property:RO};function z_(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 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 V_(e){return V_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},V_(e)}function WM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NO(e,t)}function Lye(e,t){return t&&(Cye(t)==="object"||typeof t=="function")?t:z_(e)}function NO(e,t){return NO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NO(e,t)}function Cye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KM(e){var t=xye();return function(){var n=V_(e),o;if(t){var i=V_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lye(this,o)}}var zye=function(e){WM(r,e);var t=KM(r);function r(n){UM(this,r);var o;return o=t.call(this,n),At.call(z_(o),n),o}return r}(ut),G_=function(e){WM(r,e);var t=KM(r);function r(n){UM(this,r);var o;o=t.call(this,n),BO(z_(o),"showLinkOperation",void 0),BO(z_(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:tr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new vt(n==null?void 0:n.linkOperationOption),o}return r}(Z);BO(G_,"Rules",zye);function XM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vye(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 Y_(e){return Y_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Y_(e)}function Gye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&MO(e,t)}function Yye(e,t){return t&&(Hye(t)==="object"||typeof t=="function")?t:XM(e)}function MO(e,t){return MO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},MO(e,t)}function Hye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uye(e){var t=qye();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 Yye(this,o)}}var tr=function(e){Gye(r,e);var t=Uye(r);function r(n){Vye(this,r);var o;return o=t.call(this,n),ro(XM(o),"props",void 0),o.props=new G_(n==null?void 0:n.props),o}return r}(ie);ro(tr,"controlType","location-column"),ro(tr,"controlName","\u5730\u5740"),ro(tr,"controlIcon","location-column"),ro(tr,"controlFieldType",c.FieldTypes.ADDRESS),ro(tr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function JM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 H_(e){return H_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},H_(e)}function Kye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kO(e,t)}function Xye(e,t){return t&&(Jye(t)==="object"||typeof t=="function")?t:JM(e)}function kO(e,t){return kO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kO(e,t)}function Jye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zye(e){var t=Qye();return function(){var n=H_(e),o;if(t){var i=H_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xye(this,o)}}var DO=function(e){Kye(r,e);var t=Zye(r);function r(n){Wye(this,r);var o;return o=t.call(this,n),AO(JM(o),"props",void 0),o.props=new G_(n==null?void 0:n.props),o}return r}(ue);AO(DO,"controlType","location-column"),AO(DO,"controlFieldType",c.FieldTypes.ADDRESS);var QM={Designer:tr,Runtime:DO,Property:G_};function q_(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 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 W_(e){return W_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},W_(e)}function eA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jO(e,t)}function epe(e,t){return t&&(tpe(t)==="object"||typeof t=="function")?t:q_(e)}function jO(e,t){return jO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jO(e,t)}function tpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function npe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tA(e){var t=npe();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 epe(this,o)}}var rpe=function(e){eA(r,e);var t=tA(r);function r(n){ZM(this,r);var o;return o=t.call(this,n),U_(q_(o),"sortFieldCode",{type:"string",message:p.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(ut),K_=function(e){eA(r,e);var t=tA(r);function r(n){ZM(this,r);var o;o=t.call(this,n),U_(q_(o),"fieldCodeList",void 0),U_(q_(o),"sortFieldCode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:hn.controlName;var u;o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[];var f;return o.sortFieldCode=(f=n==null?void 0:n.sortFieldCode)!==null&&f!==void 0?f:"",o}return r}(Z);U_(K_,"Rules",rpe);function oo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ope(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ipe(e,t,r){return t&&nA(e.prototype,t),r&&nA(e,r),e}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 Ii(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ii=Reflect.get:Ii=function(o,i,u){var f=_pe(o,i);if(!!f){var l=Object.getOwnPropertyDescriptor(f,i);return l.get?l.get.call(u||o):l.value}},Ii(e,t,r||e)}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(e)}function upe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&FO(e,t)}function cpe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function fpe(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){yt(e,o,r[o])})}return e}function lpe(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 ape(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lpe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function spe(e,t){return t&&(ype(t)==="object"||typeof t=="function")?t:oo(e)}function FO(e,t){return FO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},FO(e,t)}function _pe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nr(e),e!==null););return e}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=nr(e),o;if(t){var i=nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return spe(this,o)}}var vpe=1,hn=function(t){upe(n,t);var r=dpe(n);function n(o){ope(this,n);var i;i=r.call(this,o),yt(oo(i),"excludes",void 0),yt(oo(i),"childrenMaxLength",void 0),yt(oo(i),"props",void 0),yt(oo(i),"children",void 0);var u=cpe(this,n)?this.constructor:void 0,f=u.excludes,l=u.childrenMaxLength;return i.props=new K_(o==null?void 0:o.props),it(oo(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Bt(f),i.childrenMaxLength=l,i}return ipe(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=Ii(nr(n.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.fieldCodeList;u.props.fieldCodeList=f}return u}},{key:"toSchema",value:function(){var i=Ii(nr(n.prototype),"toSchema",this).call(this);return ape(fpe({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(ie);yt(hn,"controlType","custom-column"),yt(hn,"controlName","\u81EA\u5B9A\u4E49"),yt(hn,"controlIcon","custom-column"),yt(hn,"excludes",[]),yt(hn,"childrenMaxLength",vpe),yt(hn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}]);function X_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function J_(e){return J_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},J_(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&&CO(e,t)}function gpe(e,t){return t&&(mpe(t)==="object"||typeof t=="function")?t:X_(e)}function CO(e,t){return CO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},CO(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=J_(e),o;if(t){var i=J_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gpe(this,o)}}var rA=function(e){bpe(r,e);var t=wpe(r);function r(n){hpe(this,r);var o;return o=t.call(this,n),LO(X_(o),"props",void 0),LO(X_(o),"children",void 0),o.props=new K_(n==null?void 0:n.props),it(X_(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(ue);LO(rA,"controlType","custom-column");var oA={Designer:hn,Runtime:rA,Property:K_};function iA(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 $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 Q_(e){return Q_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Q_(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&&xO(e,t)}function Tpe(e,t){return t&&(Spe(t)==="object"||typeof t=="function")?t:iA(e)}function xO(e,t){return xO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xO(e,t)}function 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=Q_(e),o;if(t){var i=Q_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tpe(this,o)}}var zO=function(e){Rpe(r,e);var t=Ipe(r);function r(n){Ppe(this,r);var o;o=t.call(this,n),$pe(iA(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:bn.controlName;var u;return o.datasourceBind=new vo((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:bn.controlCustomAttributes}),o}return r}(Z);function uA(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 cA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Npe(e,t,r){return t&&cA(e.prototype,t),r&&cA(e,r),e}function io(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z_(e){return Z_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Z_(e)}function Mpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ape(e,t){return t&&(kpe(t)==="object"||typeof t=="function")?t:uA(e)}function VO(e,t){return VO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},VO(e,t)}function kpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jpe(e){var t=Dpe();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 Ape(this,o)}}var bn=function(e){Mpe(r,e);var t=jpe(r);function r(n){Bpe(this,r);var o;return o=t.call(this,n),io(uA(o),"props",void 0),o.props=new zO(n==null?void 0:n.props),o}return Npe(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ie);io(bn,"controlType","employee-column"),io(bn,"controlName","\u4EBA\u5458"),io(bn,"controlIcon","employee-column"),io(bn,"controlFieldType",c.FieldTypes.EMPLOYEES),io(bn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function fA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fpe(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 ey(e){return ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ey(e)}function Lpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&YO(e,t)}function Cpe(e,t){return t&&(xpe(t)==="object"||typeof t=="function")?t:fA(e)}function YO(e,t){return YO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YO(e,t)}function xpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vpe(e){var t=zpe();return function(){var n=ey(e),o;if(t){var i=ey(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cpe(this,o)}}var HO=function(e){Lpe(r,e);var t=Vpe(r);function r(n){Fpe(this,r);var o;return o=t.call(this,n),GO(fA(o),"props",void 0),o.props=new zO(n==null?void 0:n.props),o}return r}(ue);GO(HO,"controlType","employee-column"),GO(HO,"controlFieldType",c.FieldTypes.EMPLOYEES);var lA={Designer:bn,Runtime:HO,Property:zO};function ty(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ype(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&UO(e,t)}function Hpe(e,t){return t&&(qpe(t)==="object"||typeof t=="function")?t:ty(e)}function UO(e,t){return UO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UO(e,t)}function qpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Upe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wpe(e){var t=Upe();return function(){var n=ny(e),o;if(t){var i=ny(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hpe(this,o)}}var WO=function(e){Ype(r,e);var t=Wpe(r);function r(n){Gpe(this,r);var o;o=t.call(this,n),qO(ty(o),"lineEllipsis",void 0),qO(ty(o),"showLinkOperation",void 0),qO(ty(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:or.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new vt(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}(Z);function KO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ry(e){return ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ry(e)}function Xpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&XO(e,t)}function Jpe(e,t){return t&&(Qpe(t)==="object"||typeof t=="function")?t:KO(e)}function XO(e,t){return XO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},XO(e,t)}function Qpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ede(e){var t=Zpe();return function(){var n=ry(e),o;if(t){var i=ry(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jpe(this,o)}}var or=function(e){Xpe(r,e);var t=ede(r);function r(n){Kpe(this,r);var o;return o=t.call(this,n),rr(KO(o),"props",void 0),rr(KO(o),"children",void 0),o.props=new WO(n==null?void 0:n.props),o}return r}(ie);rr(or,"controlType","approval-status-column"),rr(or,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),rr(or,"controlIcon","approval-status-column"),rr(or,"excludes",[]),rr(or,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function JO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 oy(e){return oy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oy(e)}function nde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ZO(e,t)}function rde(e,t){return t&&(ode(t)==="object"||typeof t=="function")?t:JO(e)}function ZO(e,t){return ZO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZO(e,t)}function ode(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ide(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ude(e){var t=ide();return function(){var n=oy(e),o;if(t){var i=oy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rde(this,o)}}var aA=function(e){nde(r,e);var t=ude(r);function r(n){tde(this,r);var o;return o=t.call(this,n),QO(JO(o),"props",void 0),QO(JO(o),"children",void 0),o.props=new WO(n==null?void 0:n.props),o}return r}(ue);QO(aA,"controlType","approval-status-column");var sA={Designer:or,Runtime:aA,Property:WO},cde=Object.freeze({__proto__:null,VarcharColumn:q1,TextColumn:Z1,DecimalColumn:uM,TimescopeColumn:yM,TimestampColumn:mM,ArrayColumn:TM,DepartmentColumn:NM,AutoNumberColumn:FM,FileColumn:xM,ImageColumn:GM,PeopleColumn:qM,LocationColumn:QM,CustomColumn:oA,OrderColumn:N1,OperationColumn:D1,EmployeeColumn:lA,ApprovalStatusColumn:sA});function pt(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 dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iy(e){return iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iy(e)}function yA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ew(e,t)}function fde(e,t){return t&&(lde(t)==="object"||typeof t=="function")?t:pt(e)}function ew(e,t){return ew=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ew(e,t)}function lde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ade(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pA(e){var t=ade();return function(){var n=iy(e),o;if(t){var i=iy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fde(this,o)}}var sde=function(e){yA(r,e);var t=pA(r);function r(n){_A(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Jt),uy=function(e){yA(r,e);var t=pA(r);function r(n){_A(this,r);var o;o=t.call(this,n),dt(pt(o),"search",void 0),dt(pt(o),"cancel",void 0),dt(pt(o),"searchType",void 0),dt(pt(o),"labelPosition",void 0),dt(pt(o),"viewType",void 0),dt(pt(o),"isLoading",void 0),dt(pt(o),"custom",void 0),dt(pt(o),"queryTypeMap",void 0),dt(pt(o),"childMinWidth",void 0),dt(pt(o),"colGap",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var u;o.labelPosition=(u=n==null?void 0:n.labelPosition)!==null&&u!==void 0?u:"top";var 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(h){return new Nt(h)});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}(_u);dt(uy,"RuntimeRules",sde);function dA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cy(e){return cy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cy(e)}function yde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nw(e,t)}function pde(e,t){return t&&(dde(t)==="object"||typeof t=="function")?t:dA(e)}function nw(e,t){return nw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nw(e,t)}function dde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hde(e){var t=vde();return function(){var n=cy(e),o;if(t){var i=cy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pde(this,o)}}var rw=function(e){yde(r,e);var t=hde(r);function r(n){_de(this,r);var o;return o=t.call(this,n),tw(dA(o),"props",void 0),o.props=new uy(n==null?void 0:n.props),o}return r}(ZP);tw(rw,"controlType","simple-search"),tw(rw,"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 ow(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 iw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fy(e){return fy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fy(e)}function gde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uw(e,t)}function mde(e,t){return t&&(Ode(t)==="object"||typeof t=="function")?t:ow(e)}function uw(e,t){return uw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uw(e,t)}function Ode(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pde(e){var t=wde();return function(){var n=fy(e),o;if(t){var i=fy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mde(this,o)}}var vA=function(e){gde(r,e);var t=Pde(r);function r(n){bde(this,r);var o;o=t.call(this,n),iw(ow(o),"props",void 0),iw(ow(o),"children",void 0),o.props=new uy(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}(t$);iw(vA,"controlType","simple-search");var hA={Designer:rw,Runtime:vA,Property:uy},$de=Object.freeze({__proto__:null,SimpleSearch:hA});function bA(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 Tde(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ly(e){return ly=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ly(e)}function Sde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ede(e,t){return t&&(Ide(t)==="object"||typeof t=="function")?t:bA(e)}function cw(e,t){return cw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cw(e,t)}function Ide(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nde(e){var t=Bde();return function(){var n=ly(e),o;if(t){var i=ly(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ede(this,o)}}var fw=function(e){Sde(r,e);var t=Nde(r);function r(n){Rde(this,r);var o;o=t.call(this,n),Tde(bA(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}(vu);function gA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ade(e,t,r){return t&&mA(e.prototype,t),r&&mA(e,r),e}function kde(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ay(e){return ay=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ay(e)}function Dde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lw(e,t)}function jde(e,t){return t&&(Fde(t)==="object"||typeof t=="function")?t:gA(e)}function lw(e,t){return lw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lw(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 Cde(e){var t=Lde();return function(){var n=ay(e),o;if(t){var i=ay(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jde(this,o)}}var xde=function(e){Dde(r,e);var t=Cde(r);function r(n){Mde(this,r);var o;return o=t.call(this,n),kde(gA(o),"props",void 0),o.props=new fw(n==null?void 0:n.props),o}return Ade(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}(r$);function OA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vde(e,t,r){return t&&wA(e.prototype,t),r&&wA(e,r),e}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 sy(e){return sy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sy(e)}function Yde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aw(e,t)}function Hde(e,t){return t&&(qde(t)==="object"||typeof t=="function")?t:OA(e)}function aw(e,t){return aw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aw(e,t)}function qde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ude(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wde(e){var t=Ude();return function(){var n=sy(e),o;if(t){var i=sy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hde(this,o)}}var Kde=function(e){Yde(r,e);var t=Wde(r);function r(n){zde(this,r);var o;return o=t.call(this,n),Gde(OA(o),"props",void 0),o.props=new fw(n==null?void 0:n.props),o}return Vde(r,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(i$);function fhe(e){return e}var Xde={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},PA={Designer:xde,Runtime:Kde,Property:fw,Setting:Xde},Jde=Object.freeze({__proto__:null,GridLayoutWrap:PA});function sw(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 Qde(e){if(Array.isArray(e))return e}function Zde(e){if(Array.isArray(e))return sw(e)}function eve(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tve(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,u,f;try{for(r=r.call(e);!(o=(u=r.next()).done)&&(n.push(u.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 nve(){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 rve(){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 ove(e,t){return Qde(e)||tve(e,t)||RA(e,t)||nve()}function $A(e){return Zde(e)||eve(e)||RA(e)||rve()}function RA(e,t){if(!!e){if(typeof e=="string")return sw(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 sw(e,t)}}var ive=function(e,t){var r=Array.isArray(e),n=r?e:[e];hve(t==null?void 0:t.events),sve(n),_ve(n);var o=ave(n),i=yve(o,t),u=$n(le(i,function(f){return lve(f,t)}));return r?u:u[0]},uve=[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"],cve=["subtable","grid-table"],fve=["simple-search"];function lve(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":uve.includes(i.type)?i.controlType="base":i.controlType="form",cve.includes(i.type)&&(i.controlType="list"),fve.includes(i.type)&&(i.controlType="search-view")),delete i.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),be(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),be(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),be(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(i.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(i.type="department",e.props.value.length&&(i.props.default_value=e.props.value),i.props.showType=e.props.show_tree?"tree":"default",i.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=e.props.value),e.type==="file"){var u;i.type="attachment",i.props.attachmentAccept=(u=e.attachment_format)===null||u===void 0?void 0:u.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var 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"&&(be(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(be(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var 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 Ug.Designer;D.props.caption=be($.field_name)?$.field_name.zh:$.field_name;var Le=D.toSchema();Le.id=$.header_id;var ve=i.children[0].children[S].children[0];return ve&&(Le.children=[ve]),Le}),i.children=[])}i.type==="subtable-cell"&&(i.type="subtable-column");var s=["radio","checkbox","select","select-multiple"];if(s.includes(e.type)&&(e.props.options.map(function($){$.label=be($.text)?$.text.zh:$.text,$.id=$.id||$.opt_id||$.optId||$.data_id}),i=e),e.type==="grid-row"){var _=24/i.children.length;i.children=i.children.map(function($){var S=new $a.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&&(TA(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 h=i==null?void 0:i.children[0],m=i==null?void 0:i.children[1],v={},O={};h&&(TA(i,t),i.id=h.id,v.amount=h.props.data_bind,i.props.range_min=Pn(h.props.range_min),i.props.range_max=Pn(h.props.range_max),O.amount=Pn(h.props.value),i.props.required=h.props.required,i.props.is_hide=h.props.is_hide,i.props.default_state=h.props.default_state,i.props.caption=be(h.props.caption)?h.props.caption.zh:h.props.caption,i.props.is_hide_caption=h.props.is_hide_caption,i.props.showUpperCase=h.props.is_show_chn),m&&(v.currency=m.props.data_bind,O.currency=m.props.value,i.props.datasourceBind=m.props.datasource_bind,i.props.options=m.props.options.map(function($){return{label:$.text,value:$.value}})),i.props.dataBind=v,i.props.defaultValue=O,delete i.children}if(e.type==="date-range"){i.controlType="form";var w=i==null?void 0:i.children[0],P=i==null?void 0:i.children[1];i.props.placeholderStart=be(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=be(e.props.caption)?e.props.caption.zh:e.props.caption;var T={};w&&(T.min=w.props.data_bind),P&&(T.max=P.props.data_bind),i.props.dataBind=T,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=be(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=Pn(e.props.range_min),i.props.range_max=Pn(e.props.range_max),i.props.defaultValue=Pn(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(i.props.buttonType="default"),bve(i,t==null?void 0:t.control_events),i}function TA(e,t){if(!!t){var r=t.displayBoList,n=r===void 0?[]:r,o=t.behaviors,i=o===void 0?[]:o,u=e.id,f=e.children[0].id;n.forEach(function(l){l.id===u&&(l.id=f);var a=l.show_controls.findIndex(function(_){return _===u}),s=l.hide_controls.findIndex(function(_){return _===u});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===u&&(l.id=f)})}}function ave(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new Mm.Designer,n=r.toSchema();return n.children=e,[n]}function sve(e){e.forEach(function(t){t.children&&vve(t.children)})}function _ve(e){e.forEach(function(t){if(!!(t&&t.children))for(var r=t.children,n=0;n<r.length;n++){var o,i,u=r[n],f=(i=r[n])===null||i===void 0||(o=i.children)===null||o===void 0?void 0:o[0];u.type==="grid-row"&&f&&["group-panel","subtable","tab"].includes(f.type)&&r.splice(n,1,f)}})}function yve(e,t){var r,n,o,i,u;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=ove(a,3),_=s[0],y=s[1],b=s[2];pve(_),b.props.is_fixed_header=l==null||(r=l.source_config)===null||r===void 0?void 0:r.is_fixed_header,dve(b,y);var g,h=(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,v=((m=l==null||(o=l.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&m!==void 0?m:h)?"".concat(h,"_selectMore"):void 0,O,w=(O=l==null||(i=l.source_config)===null||i===void 0?void 0:i.orders)!==null&&O!==void 0?O:[],P=new Em.Designer;P.props.datasourceBind=new re({dataCode:h,svcCode:v,orders:jw(w)}),P.props.isShowSubList=l.is_show_sublist,P.props.triggerType=l.timing_type,P.props.triggerFieldCode=l.ctrl_field_code,l==null||(u=l.sublist_page)===null||u===void 0||u.sublists.forEach(function($){$.title=be($.title)?$.title.zh:$.title}),P.props.sublistPage=l.sublist_page;var T=P.toSchema();return T.children.push(_,b),[T]}function pve(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=be(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"){var n,o;t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=t.dateType)===null||o===void 0||(n=o.replace)===null||n===void 0?void 0:n.call(o,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function dve(e,t){e.children=t.children.filter(function(r){return r.type!=="list-page-btn-custom-head"}),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(function(r){var n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:be(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=be(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order")n.type="order-column",n.props.fixed=!0;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var i;n.props.delete=(i=r.delete)!==null&&i!==void 0?i:{},n.props.delete.openType="window";var u;n.props.edit=(u=r.edit)!==null&&u!==void 0?u:{},n.props.edit.openType="window",n.props.fixed=!0}else n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column");return r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new re({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function vve(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 hve(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 bve(e,t){var r;if(!(!t||!e.props.events)){var n=Object.keys(e.props.events);if(!!n.length&&(n.forEach(function(i){var u;!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),(u=t[e.id][i]).push.apply(u,$A(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,$A(t[e.id].on_blur))}}}var gve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$n(le(n,function(i){return mve(i)}));return r?o:o[0]};function mve(e,t){if(e.type===c.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===c.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Qe({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var Ove=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$n(le(n,function(i){return wve(i)}));return r?o:o[0]};function wve(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 Pve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$n(le(n,function(i){return $ve(i)}));return r?o:o[0]};function $ve(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 Rve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$n(le(n,function(i){return Sve(i)}));return r?o:o[0]},Tve=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function Sve(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(Tve.includes(r.type))return r;var n=new Lg.Designer,o=new $a.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var Eve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$n(le(n,function(i){return Ive(i)}));return r?o:o[0]};function Ive(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 Bve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=le(n,function(i){return Nve(i)});return r?o:o[0]};function Nve(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function K(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Mve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=le(n,function(i){return Ave(i)});return r?o:o[0]};function gn(e,t){e.field_code&&(e.field_type=t)}function Ave(e,t){var r,n=(r={},K(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),K(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),K(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),K(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),K(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),K(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),K(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),K(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),K(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),K(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),K(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),K(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),K(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),K(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),K(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),K(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),K(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),K(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),K(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),K(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),K(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),K(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),K(r,c.CONTROL_TYPE.SEARCH_NUMBER_RANGE,c.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&gn(e.props.data_bind,n[e.type]),e.type===c.CONTROL_TYPE.AMOUNT&&(gn(e.props.data_bind.amount,c.FieldTypes.DECIMAL),gn(e.props.data_bind.currency,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.CALC&&(gn(e.props.data_bind.result,c.FieldTypes.DECIMAL),gn(e.props.data_bind.unit,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.DATE_RANGE&&(gn(e.props.data_bind.min,c.FieldTypes.TIMESTAMP),gn(e.props.data_bind.max,c.FieldTypes.TIMESTAMP)),e.type===c.CONTROL_TYPE.VUE_FORM_ITEM){var o;gn(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY)}return e}var kve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=le(n,function(i){return Dve(i)});return r?o:o[0]};function Dve(e,t){return e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type.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 jve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=le(n,function(i){return Fve(i)});return r?o:o[0]};function Fve(e,t){return e.type===c.CONTROL_TYPE.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(function(r){var n,o;[c.FieldTypes.VARCHAR,c.FieldTypes.TEXT,c.FieldTypes.AUTO_NUMBER].includes((o=r.props)===null||o===void 0||(n=o.data_bind)===null||n===void 0?void 0:n.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}var Lve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=le(n,function(i){return Cve(i)});return r?o:o[0]};function Cve(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 xve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=le(n,function(i){return zve(i)});return r?o:o[0]};function zve(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 Vve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=le(n,function(i){return Gve(i)});return r?o:o[0]};function Gve(e,t){return e.type===c.CONTROL_TYPE.TITLE&&e.props.config.push(c.TitleConfigEnum.ShowTitle),e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(r){if(r.type===c.CONTROL_TYPE.OPERATION_COLUMN){var n,o,i;r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto";var u;if(r.children=(u=r==null?void 0:r.children)!==null&&u!==void 0?u:[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var f,l,a,s,_,y,b=new Lo.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,h,m,v,O,w,P=new Lo.Designer;Object.defineProperty(P,"id",{value:"listPageEditBtnId"}),P.props.code="edit",P.props.icon="iconbianji1",P.props.command="edit",P.props.content=(g=r.props)===null||g===void 0?void 0:g.edit.content,P.props.priorityProcess=(h=r.props)===null||h===void 0?void 0:h.edit.priority_process,P.props.openType=(m=r.props)===null||m===void 0?void 0:m.edit.open_type,P.props.formKey=(v=r.props)===null||v===void 0?void 0:v.edit.form_key,!((O=r.props)===null||O===void 0)&&O.edit.is_show&&r.children.push(P.toSchema()),(w=r.props)===null||w===void 0||delete w.edit}if(((i=r.props)===null||i===void 0?void 0:i.delete)!==void 0){var T,$,S,D,Le,ve,he=new Lo.Designer;Object.defineProperty(he,"id",{value:"listPageDeleteBtnId"}),he.props.code="delete",he.props.icon="iconlajitong",he.props.command="delete",he.props.content=(T=r.props)===null||T===void 0?void 0:T.delete.content,he.props.priorityProcess=($=r.props)===null||$===void 0?void 0:$.delete.priority_process,he.props.openType=(S=r.props)===null||S===void 0?void 0:S.delete.open_type,he.props.formKey=(D=r.props)===null||D===void 0?void 0:D.delete.form_key,he.props.needConfirm=!0,he.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((Le=r.props)===null||Le===void 0)&&Le.delete.is_show&&r.children.push(he.toSchema()),(ve=r.props)===null||ve===void 0||delete ve.delete}}}),[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var Yve=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=le(n,function(i){return Hve(i)});return r?o:o[0]};function Hve(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.headers.map(function(r){r.props.meta_auto_width=new Ay,r.props.width_type==="px"&&(r.props.meta_auto_width.pc.width=r.props.width,r.props.meta_auto_width.pc.width_type="px"),delete r.props.width,delete r.props.width_type}),e.props.page_index===void 0&&(e.props.page_index=1),e.props.page_size===void 0&&(e.props.page_size=10),e.props.page_size_options===void 0&&(e.props.page_size_options=[10,20,50,100]),e.props.total_count===void 0&&(e.props.total_count=0)),e.type===c.CONTROL_TYPE.GRID_TABLE&&(e.props.page_index===void 0&&(e.props.page_index=1),e.props.page_size===void 0&&(e.props.page_size=20),e.props.page_size_options===void 0&&(e.props.page_size_options=[10,20,50,100,500]),e.props.total_count===void 0&&(e.props.total_count=0)),e.type===c.CONTROL_TYPE.LIST_VIEW&&(e.props.row_style_type="none"),e}var SA={"v1.0":ive,"v2.0":gve,"v2.1":Ove,"v2.2":Pve,"v2.3":Rve,"v2.4":Eve,"v2.5":Bve,"v2.6":Mve,"v2.7":kve,"v2.8":jve,"v2.9":Lve,"v2.10":xve,"v3.0":Vve,"v3.1":Yve,"v3.2":function(){}};const EA=(e,t)=>{const r=IA(e),n=IA(t),o=r.pop(),i=n.pop(),u=MA(r,n);return u!==0?u:o&&i?MA(o.split("."),i.split(".")):o||i?o?-1:1:0},_y=(e,t,r)=>{Kve(r);const n=EA(e,t);return AA[r].includes(n)},qve=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,IA=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(qve);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},BA=e=>e==="*"||e==="x"||e==="X",NA=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Uve=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Wve=(e,t)=>{if(BA(e)||BA(t))return 0;const[r,n]=Uve(NA(e),NA(t));return r>n?1:r<n?-1:0},MA=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Wve(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},AA={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},kA=Object.keys(AA),Kve=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(kA.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${kA.join("|")}`)};function Xve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jve(e,t,r){return t&&DA(e.prototype,t),r&&DA(e,r),e}function jA(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 e.replace(/^v/,"")}var uo=Object.keys(SA).map(function(e){return _w(e)}).sort(EA),Bi=uo[uo.length-1],Qve=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Bi;Xve(this,e),jA(this,"toVersion",void 0),jA(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=r,_y(r,Bi,">")?Wt("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(Bi)):(!uo.includes(_w(r))||!uo.includes(_w(t)))&&Wt("Version Builder: Please give me a valid version number, The valid version is: ".concat(uo.join(","),", But give me a ").concat(t))}return Jve(e,[{key:"dataCleaner",value:function(r,n){var o=this;if(_y(this.toVersion,this.schemaVersion,"="))return r;var i=this.callDataCleanerKeys.reduce(function(u,f,l,a){var s,_=(s=a[l+1])!==null&&s!==void 0?s:o.toVersion;_o("Version Builder: current version: ".concat(f,", nextVersion: ").concat(_));var y=SA[f],b=u;if(typeof y=="function"){var g=y(u,n);g&&(b=g)}return b},r);return _o("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var r=this;return uo.filter(function(n){return _y(n,r.schemaVersion,">=")&&_y(n,r.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(r){return"v"+r})}},{key:"version",get:function(){return Bi}}],[{key:"version",get:function(){return Bi}}]),e}();const yy=[],yw={exports:{}};let pw=!1;const Zve=window.module,ehe=window.exports,the=window.require;function nhe(e){return pw||(window.module=yw,window.exports=yw.exports,window.require=function(t){return e[t]},pw=!0),function(){window.module=Zve,window.exports=ehe,window.require=the,pw=!1}}function rhe(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=nhe(t);i.src=e,i.type="text/javascript";const f=()=>{document.head.removeChild(i);const l=yy.findIndex(a=>a===r);yy.splice(l,1),yy.length===0&&u()};i.onerror=function(l){f(),o(l)},i.onload=function(){n(yw.exports),f()},document.head.appendChild(i)});return yy.push(r),r}function dw(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 FA(e,t,r={fetch:dw}){return new Promise((n,o)=>{r.fetch(e).then(i=>{const u={exports:{}};new Function("module","exports","require",i)(u,u.exports,function(f){return t[f]}),n(u.exports)}).catch(i=>{o(i)})})}function py(e,t){return FA(e,t)}function ohe(e,t){return Ni(this,null,function*(){return yield Promise.all(e.map(r=>py(r,t)))})}function dy(e,t,r){let n;t==="runtime"?n=class extends J{constructor(l){super(l),this.props={}}static get controlType(){return e}}:n=class extends L{constructor(l){super(l),this.props={}}static get controlType(){return e}};class o extends X{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="low-code iconshibaimian" style="margin-right:4px"></i>${r}</div>`;return{Runtime:n,Designer:n,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{error:{template:i}}},upgrade:f=>f}}function ihe(e,t,r,n){return Ni(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>Ni(this,null,function*(){let u=!0,f;try{u=!0;let l="";n.type==="runtime"?l=i.runtime:l=i.designer,l+="?v="+i.version,f=yield py(l,r)}catch(l){u=!1,On("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,l),f=dy(i.id,n.type,n.tipMessage)}if(u){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)}}LA(n.type,f,o,u,i)}))),e==null||e.map(i=>{const[u,f]=i.split(":");if(o.has(u)===!1){const a=dy(u,n.type,n.tipMessage);LA(n.type,a,o,!1,{fieldType:"",id:u,name:"",runtime:"",designer:"",type:"",version:f})}})),o})}function LA(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&On(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&On(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function uhe(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";r==null||r.map(u=>{const[f,l]=u.split(":");o.props.id===f&&(i=l!=null?l:"")}),e=o.control.upgrade(e,o.version,i,n)}return e}function che(e,t){return Ni(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield dw(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const u=yield py(`${e}/${t.type}.js?v=${r}`,t.globalModules);i.map(f=>{let l=u.find(a=>t.type==="runtime"?a.Runtime.controlType===f.id:a.Designer.controlType===f.id);l===void 0&&(l=dy(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})}c.ActionBar=w1,c.Address=OI,c.AddressValue=_P,c.AdvancedContainer=s1,c.Amount=oI,c.AmountDataBind=fP,c.AmountValue=lP,c.ApprovalStatusColumn=sA,c.ArrayColumn=TM,c.Attachment=UE,c.AutoNumber=CI,c.AutoNumberColumn=FM,c.AutoWidth=My,c.BaseControlProperty=M,c.BaseControlPropertyRules=ae,c.BaseControlPropertyRuntimeRules=x,c.BaseStyle=vP,c.BatchDeleteButton=uS,c.BatchPrintListButton=GT,c.BatchPrintRecordListButton=WT,c.BatchSubmissionListButton=iR,c.Button=w$,c.Calc=qI,c.CalcDataBind=yP,c.CalcScriptEchoItem=zj,c.CalcValue=pP,c.CardGroup=tN,c.Checkbox=mS,c.Col=$a,c.ColumnControlProperty=Z,c.ColumnControlPropertyRules=ut,c.ColumnOptionAndDataSourcePropertyRules=gp,c.CreateFormListButton=J$,c.CustomAttributeItem=jy,c.CustomColumn=oA,c.CustomPermissionItem=YF,c.DEFAULT_LOCALE=ww,c.Dashboard=lT,c.DataBind=Qe,c.DataSourceBind=re,c.DataSourceDataSetValue=oP,c.DataSourceOrderItem=ky,c.DataSourceParamItem=zF,c.DataStorageDoc=Xw,c.DataView=Mm,c.DatePicker=YS,c.DateRange=eE,c.DecimalColumn=uM,c.Department=NI,c.Department2=w3,c.DepartmentColumn=NM,c.DepartmentEntity=vy,c.DesignerColumnControl=ie,c.DesignerControl=L,c.DesignerFormControl=A,c.DesignerLayoutControl=q,c.DesignerListControl=uu,c.DesignerSearchControl=ZP,c.DesignerWrapControl=r$,c.DisplayBoListItem=xi,c.Divider=D$,c.ElectronicSignature=f3,c.ElectronicSignatureConfig=P$,c.Employee=zE,c.Employee2=QB,c.EmployeeColumn=lA,c.EventLogic=Vw,c.Explain=Bu,c.ExportListButton=vR,c.ExportRecordListButton=OR,c.ExportTemplate=Xp,c.FieldBindItem=Zw,c.FieldFilterCondition=po,c.FieldFilterConditions=Ci,c.FieldTypeToColumnType=Gj,c.FileColumn=xM,c.FillBackBind=Cy,c.FillPayloadBind=Ly,c.FlexStyleConfig=S$,c.FormBind=Rn,c.FormSelectBind=Jw,c.FormSelectButton=jR,c.Grid=A3,c.GridLayoutContainer=PN,c.GridLayoutWrap=PA,c.GridRow=Lg,c.GridTable=x1,c.GridTableColumn=hN,c.Image=JE,c.ImageColumn=GM,c.ImageOptionSetting=cP,c.ImportRecordListButton=SR,c.Input=yS,c.InvoiceCheckButton=DT,c.JSONCopy=Bt,c.JoinRelation=rP,c.Language=VF,c.LayoutControlProperty=z,c.LeftVariable=nP,c.LimitDate=Iu,c.Link=h$,c.LinkOperationOption=vt,c.ListBind=Li,c.ListControlProperty=Po,c.ListSelectButton=HR,c.ListView=Em,c.ListViewSelect=gT,c.LocationColumn=QM,c.MetaAutoWidth=Ay,c.MetaWidth=Fi,c.MultistageFillingItem=Re,c.Number=FS,c.ObjectDataBind=Vi,c.OperationButton=Lo,c.OperationColumn=D1,c.OperationItem=Nt,c.OptObject=hP,c.OptionAndDataSourcePropertyRules=Tn,c.OptionSetting=zy,c.OrderColumn=N1,c.OrganizationDataSourceBind=iP,c.OrganizationSelection=I3,c.Page=c1,c.Pagination=ZR,c.PeopleColumn=qM,c.Position=h1,c.PositioningContainer=p1,c.PrintTemplate=T$,c.Property=X,c.PropertyRules=ne,c.PropertyRuntimeRules=Jt,c.Radio=BS,c.RangeDataBind=aP,c.RangeDateValue=sP,c.RegisterControls=yo,c.RegularRules=xy,c.RichText=pE,c.RightVariable=cr,c.Row=H3,c.RowStyleRules=bP,c.RulesMessage=p,c.RuntimeColumnControl=ue,c.RuntimeControl=J,c.RuntimeFormControl=k,c.RuntimeLayoutControl=Q,c.RuntimeListControl=pp,c.RuntimeSearchControl=t$,c.RuntimeWrapControl=i$,c.SUBTABLE_DEFAULT_MAX_HEIGHT=R$,c.Score=sI,c.SearchControlProperty=_u,c.SearchDateRange=_B,c.SearchInput=LB,c.SearchNumberRange=nB,c.Select=$E,c.SelectMultiple=NE,c.SelectRelation=IB,c.SelectedContentConfig=zi,c.SimpleSearch=hA,c.SubListItem=eP,c.SubListPageConfig=tP,c.SubTable=R1,c.SubTableColumn=Ug,c.SubTableRow=_N,c.SubmissionRecordListButton=aR,c.SuperDataSourceBind=vo,c.Tab=FN,c.TabPane=MN,c.Text=_$,c.TextColumn=Z1,c.TextOcrButton=ST,c.Textarea=cE,c.TimescopeColumn=yM,c.TimestampColumn=mM,c.Title=G$,c.Toolbox=YN,c.Tree=HB,c.TreeDataSourceBind=Fy,c.UndersignedPerson=Kp,c.UserEntity=hy,c.VarcharColumn=q1,c.VersionBuilder=Qve,c.ViewOperationItem=dP,c.VueFormItem=gB,c.WPS=d3,c.WPSSetting=$$,c.Watcher=xw,c.WpsOperationItem=Jp,c.WrapControlProperty=vu,c.baseControls=kG,c.camelizeKeys=jw,c.columnControls=cde,c.controlHooksEmitter=SP,c.createValidator=TP,c.debounce=hF,c.decamelizeKeys=$n,c.defineArrayParent=Yw,c.defineControlArrayToProperty=it,c.defineParent=By,c.error=Wt,c.formControls=Mee,c.genNonDuplicateId=Ke,c.getHackerControl=dy,c.getNotRepeatItems=Dw,c.initExpression=$o,c.initImageOptions=GF,c.initLinkOperationRules=At,c.initOptionAndDataSourceRules=qi,c.initOptions=ht,c.initSuperDataSourceRules=Oo,c.isArray=wn,c.isBuiltInControls=gF,c.isDataBind=CP,c.isFunction=sF,c.isJSONArray=dF,c.isJSONObject=vF,c.isLanguageObject=be,c.isNumber=Ty,c.isNumberAndEmptyStringArray=pF,c.isNumberArray=yF,c.isObject=aF,c.isPlainObject=Ry,c.isString=kw,c.isStringArray=_F,c.layoutControls=vfe,c.listControls=tae,c.loadRemoteControl=py,c.loadRemoteControls=ohe,c.loadScriptFromFetch=FA,c.loadScriptFromTag=rhe,c.log=_o,c.logerror=Iw,c.loop=le,c.loopFormSchema=ki,c.nativeFetch=dw,c.noop=Vj,c.referenceError=wy,c.registerByteluckControls=che,c.registerCustomControls=ihe,c.searchControls=$de,c.setPropertyDontEnum=Di,c.toNumberOrEmpty=Pn,c.updateValueFromKeys=Mw,c.upgradeCustomControlSchema=uhe,c.wait=bF,c.warn=On,c.wrapControls=Jde,Object.defineProperty(c,"__esModule",{value:!0})});
|