@byteluck-fe/model-driven-core-all 2.23.0-beta.0 → 2.23.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var qi=(c,mn,Xt)=>new Promise((Yy,Ui)=>{var j=Mt=>{try{mo(Xt.next(Mt))}catch(Oo){Ui(Oo)}},Hy=Mt=>{try{mo(Xt.throw(Mt))}catch(Oo){Ui(Oo)}},mo=Mt=>Mt.done?Yy(Mt.value):Promise.resolve(Mt.value).then(j,Hy);mo((Xt=Xt.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 Xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Yy=function e(){mn(this,e),Xt(this,"department_en_name",void 0),Xt(this,"department_id",void 0),Xt(this,"department_name",void 0)};function Ui(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(){Ui(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)},mo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Mt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Oo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",wk="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Pk="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",$k="{caption}\u5FC5\u586B",Rk="\u8BF7\u8F93\u5165\u6807\u9898",Tk="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Sk="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Ek="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Ik="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Bk="\u8BF7\u7ED1\u5B9A\u8868\u5355",Nk="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ak="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Mk="\u8BF7\u8F93\u5165\u663E\u793A\u503C",kk="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Dk="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Lk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Fk="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",jk="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Ck="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",xk="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Vk="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",zk="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Gk="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Yk="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Hk="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",qk="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Uk="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Wk="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Kk="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Xk="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Jk="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Qk="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Zk="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",e2="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",t2="\u8BF7\u7ED1\u5B9A\u670D\u52A1",n2="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",r2="\u8BF7\u9009\u62E9\u7701",o2="\u8BF7\u9009\u62E9\u5E02",i2="\u8BF7\u9009\u62E9\u533A",u2="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",c2="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",l2="\u8BF7\u8F93\u5165\u5217\u5BBD",f2="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",a2="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",s2="\u8BF7\u9009\u62E9\u63A7\u4EF6",_2="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",y2="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",d2="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",p2="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",v2="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",h2="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",b2="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",g2="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",m2="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",O2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",w2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",P2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",$2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",R2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",T2="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",S2="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",E2="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",I2="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",B2="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",N2="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",A2="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",M2="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",k2="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",D2="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",L2="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",F2="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",j2="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",C2={isNotNumber:mo,isNotString:Mt,isNotObject:Oo,isNotArray:wk,isNotBoolean:Pk,runtimeRequired:$k,pleaseEnterCaption:Rk,pleaseEnterCaptionTip:Tk,pleaseEnterRowCaption:Sk,pleaseEnterPlaceholder:Ek,pleaseEnterFieldCode:Ik,pleaseEnterForm:Bk,pleaseEnterList:Nk,pleaseEnterProcess:Ak,pleaseEnterLabel:Mk,pleaseEnterValue:kk,bizKeyNotBindFiled:Dk,pleaseSelectOneField:Lk,pleaseEnterNumberRange:Fk,pleaseEnterAValueGreaterThanMin:jk,pleaseEnterAValueLessThanMax:Ck,numberRangeSetError:xk,stringRangeError:Vk,attachmentMaxSize:zk,pleaseEnterTotalScoreSetting:Gk,theTotalScoreMustNotBeLessThan1:Yk,scoreDefaultValueRange:Hk,attachmentLimitError:qk,PleaseReselectTheOptionalQuantity:Uk,TheMaximumLengthIsGreaterThanTheMinimumLength:Wk,TheMinimumLengthIsGreaterThanTheMaximumLength:Kk,PleaseSelectTheCorrectOptionSettings:Xk,optionIdIsRepeat:Jk,optionIsRequired:Qk,pleaseEnterDataCode:Zk,pleaseEnterValueFieldCode:e2,pleaseEnterSvcCode:t2,pleaseBindAtLeastOneDisplayValue:n2,pleaseSelectProvince:r2,pleaseSelectCity:o2,pleaseSelectDistrict:i2,limitRowsCannotBeLessThan0:u2,TheNumberOfRowsCannotBeLessThanMinRows:c2,pleaseEnterColumnWidth:l2,pleaseSetTheLogicalRelationshipOfAllRuleConditions:f2,pleaseCompleteAllRulesAndConditions:a2,pleaseSelectControl:s2,pleaseSelectAtLeastOneColumn:_2,pleaseSelectFillBackMode:y2,pleaseSelectDashboard:d2,rootNodeIsRequired:p2,theViewNameCannotBeEmpty:v2,pleaseSelectOcrType:h2,pleaseSelectAtLeastOneFieldToFillIn:b2,pleaseChooseAtLeastOne:g2,pleaseEnterButtonContent:m2,pleaseEnterDataCodeInDataSetting:O2,pleaseEnterValueFieldCodeInDataSetting:w2,pleaseEnterSvcCodeInDataSetting:P2,pleaseBindAtLeastOneDisplayValueInDataSetting:$2,rootNodeIsRequiredInDataSetting:R2,pleaseEnterMaxHeight:T2,pleaseEnter:S2,pleaseEnterWatermark:E2,pleaseEnterFileName:I2,pleaseUploadAtLeastOnePrintTemplate:B2,pleaseAssignBusiness:N2,pleaseAssignExternal:A2,pleaseEnterAliasCode:M2,pleaseSelectDataCode:k2,pleaseSelectSvcCode:D2,pleaseSelectJoinFieldCode:L2,pleaseSelectMainFieldCode:F2,pleaseSelectSortFieldCode:j2},x2="Please enter a number",V2="Please enter a string",z2="Please enter an object",G2="Please enter an array",Y2="Please enter a boolean",H2="{caption} Required",q2="Please enter the title",U2="Please enter the bubble prompt",W2="Please enter the row title",K2="Please enter the prompt text",X2="Please bind data items",J2="Please bind the form",Q2="Please bind the list",Z2="Please bind the process",eD="Please enter the displayed value",tD="Please enter the stored value",nD="The document number is not bound to the data item",rD="Please select at least one display field",oD="Please enter a value greater than or equal to {min} and less than or equal to {max}",iD="Please enter a value greater than or equal to {min}",uD="Please enter a value less than or equal to {max}",cD="The value range is set incorrectly",lD="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",fD="The attachment size must be between 0MB and 1000MB",aD="Please fill in the total score setting",sD="The total score cannot be less than 1",_D="The default value must be between {min} and {max}",yD="The number of attachment uploads exceeds the limit",dD="Please re-select the optional quantity",pD="The maximum length of the control must be greater than the minimum length",vD="The minimum length of the control must be less than the maximum length",hD="Please select the correct option setting",bD="Option ID cannot be repeated",gD="Please enter at least one option",mD="Please bind the data source",OD="Please bind the stored value",wD="Please bind the service",PD="At least one display value must be bound",$D="Please select a province",RD="Please select a city",TD="Please select a district",SD="The minimum number of lines to fill in cannot be less than 0",ED="The number of rows cannot be less than {min} rows",ID="Please enter the column width",BD="Please set the logical relationship of all rule conditions",ND="Please complete all rules and conditions",AD="please select control",MD="Please select the dashboard",kD="View name cannot be empty",DD="Please select recognition type",LD="Please select at least one field to fill in",FD="Please select at least one",jD="Please enter the button title",CD="Please bind the business model in the data settings",xD="Please bind storage values in data settings",VD="Please bind the service in the data settings",zD="Please bind at least one display value in the data settings",GD="Please select the root node in the data settings",YD="Please enter the maximum height",HD="The input content cannot be empty",qD="Watermark cannot be empty",UD="File name cannot be empty",WD="Please upload at least one printing template!\uFF01",KD="Please select a specific business department",XD="Please select a specified external organization",JD="Please enter a sub table alias",QD="Please select the associated table to set the business model",ZD="Please select the association table to set the binding service",eL="Select associated sub table fields",tL="Please select the associated main table field",nL="Please select the sort field",rL={isNotNumber:x2,isNotString:V2,isNotObject:z2,isNotArray:G2,isNotBoolean:Y2,runtimeRequired:H2,pleaseEnterCaption:q2,pleaseEnterCaptionTip:U2,pleaseEnterRowCaption:W2,pleaseEnterPlaceholder:K2,pleaseEnterFieldCode:X2,pleaseEnterForm:J2,pleaseEnterList:Q2,pleaseEnterProcess:Z2,pleaseEnterLabel:eD,pleaseEnterValue:tD,bizKeyNotBindFiled:nD,pleaseSelectOneField:rD,pleaseEnterNumberRange:oD,pleaseEnterAValueGreaterThanMin:iD,pleaseEnterAValueLessThanMax:uD,numberRangeSetError:cD,stringRangeError:lD,attachmentMaxSize:fD,pleaseEnterTotalScoreSetting:aD,theTotalScoreMustNotBeLessThan1:sD,scoreDefaultValueRange:_D,attachmentLimitError:yD,PleaseReselectTheOptionalQuantity:dD,TheMaximumLengthIsGreaterThanTheMinimumLength:pD,TheMinimumLengthIsGreaterThanTheMaximumLength:vD,PleaseSelectTheCorrectOptionSettings:hD,optionIdIsRepeat:bD,optionIsRequired:gD,pleaseEnterDataCode:mD,pleaseEnterValueFieldCode:OD,pleaseEnterSvcCode:wD,pleaseBindAtLeastOneDisplayValue:PD,pleaseSelectProvince:$D,pleaseSelectCity:RD,pleaseSelectDistrict:TD,limitRowsCannotBeLessThan0:SD,TheNumberOfRowsCannotBeLessThanMinRows:ED,pleaseEnterColumnWidth:ID,pleaseSetTheLogicalRelationshipOfAllRuleConditions:BD,pleaseCompleteAllRulesAndConditions:ND,pleaseSelectControl:AD,pleaseSelectDashboard:MD,theViewNameCannotBeEmpty:kD,pleaseSelectOcrType:DD,pleaseSelectAtLeastOneFieldToFillIn:LD,pleaseChooseAtLeastOne:FD,pleaseEnterButtonContent:jD,pleaseEnterDataCodeInDataSetting:CD,pleaseEnterValueFieldCodeInDataSetting:xD,pleaseEnterSvcCodeInDataSetting:VD,pleaseBindAtLeastOneDisplayValueInDataSetting:zD,rootNodeIsRequiredInDataSetting:GD,pleaseEnterMaxHeight:YD,pleaseEnter:HD,pleaseEnterWatermark:qD,pleaseEnterFileName:UD,pleaseUploadAtLeastOnePrintTemplate:WD,pleaseAssignBusiness:KD,pleaseAssignExternal:XD,pleaseEnterAliasCode:JD,pleaseSelectDataCode:QD,pleaseSelectSvcCode:ZD,pleaseSelectJoinFieldCode:eL,pleaseSelectMainFieldCode:tL,pleaseSelectSortFieldCode:nL},oL="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",iL="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uL="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cL="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lL="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fL="{caption}\u5FC5\u9808",aL="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sL="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_L="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yL="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",dL="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pL="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vL="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hL="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bL="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gL="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mL="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",OL="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wL="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",PL="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$L="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",RL="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",TL="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",SL="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",EL="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",IL="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",BL="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",NL="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",AL="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ML="\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",kL="\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",DL="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",LL="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",FL="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",jL="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",CL="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xL="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",VL="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",zL="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",GL="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",YL="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",HL="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qL="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",UL="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",WL="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",KL="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",XL="please select control",JL="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",QL="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ZL="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",eF="\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",tF="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",nF="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",rF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",oF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",iF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",uF="\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",cF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",lF="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",fF="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",aF="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",sF="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",_F="\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",yF="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",dF="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",pF="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vF="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",hF="\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",bF="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",gF="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mF="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",OF={isNotNumber:oL,isNotString:iL,isNotObject:uL,isNotArray:cL,isNotBoolean:lL,runtimeRequired:fL,pleaseEnterCaption:aL,pleaseEnterCaptionTip:sL,pleaseEnterRowCaption:_L,pleaseEnterPlaceholder:yL,pleaseEnterFieldCode:dL,pleaseEnterForm:pL,pleaseEnterList:vL,pleaseEnterProcess:hL,pleaseEnterLabel:bL,pleaseEnterValue:gL,bizKeyNotBindFiled:mL,pleaseSelectOneField:OL,pleaseEnterNumberRange:wL,pleaseEnterAValueGreaterThanMin:PL,pleaseEnterAValueLessThanMax:$L,numberRangeSetError:RL,stringRangeError:TL,attachmentMaxSize:SL,pleaseEnterTotalScoreSetting:EL,theTotalScoreMustNotBeLessThan1:IL,scoreDefaultValueRange:BL,attachmentLimitError:NL,PleaseReselectTheOptionalQuantity:AL,TheMaximumLengthIsGreaterThanTheMinimumLength:ML,TheMinimumLengthIsGreaterThanTheMaximumLength:kL,PleaseSelectTheCorrectOptionSettings:DL,optionIdIsRepeat:LL,optionIsRequired:FL,pleaseEnterDataCode:jL,pleaseEnterValueFieldCode:CL,pleaseEnterSvcCode:xL,pleaseBindAtLeastOneDisplayValue:VL,pleaseSelectProvince:zL,pleaseSelectCity:GL,pleaseSelectDistrict:YL,limitRowsCannotBeLessThan0:HL,TheNumberOfRowsCannotBeLessThanMinRows:qL,pleaseEnterColumnWidth:UL,pleaseSetTheLogicalRelationshipOfAllRuleConditions:WL,pleaseCompleteAllRulesAndConditions:KL,pleaseSelectControl:XL,pleaseSelectDashboard:JL,theViewNameCannotBeEmpty:QL,pleaseSelectOcrType:ZL,pleaseSelectAtLeastOneFieldToFillIn:eF,pleaseChooseAtLeastOne:tF,pleaseEnterButtonContent:nF,pleaseEnterDataCodeInDataSetting:rF,pleaseEnterValueFieldCodeInDataSetting:oF,pleaseEnterSvcCodeInDataSetting:iF,pleaseBindAtLeastOneDisplayValueInDataSetting:uF,rootNodeIsRequiredInDataSetting:cF,pleaseEnterMaxHeight:lF,pleaseEnter:fF,pleaseEnterWatermark:aF,pleaseEnterFileName:sF,pleaseUploadAtLeastOnePrintTemplate:_F,pleaseAssignBusiness:yF,pleaseAssignExternal:dF,pleaseEnterAliasCode:pF,pleaseSelectDataCode:vF,pleaseSelectSvcCode:hF,pleaseSelectJoinFieldCode:bF,pleaseSelectMainFieldCode:gF,pleaseSelectSortFieldCode:mF},wF={zhCN:C2,enUS:rL,jaJP:OF};function PF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function or(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}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 $F=function e(t){PF(this,e),or(this,"name",void 0),or(this,"id",void 0),or(this,"type",void 0),or(this,"subTableId",void 0),or(this,"subTableName",void 0),or(this,"aggregateType",void 0);var r;this.name=(r=t==null?void 0:t.name)!==null&&r!==void 0?r:"";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:"";var o;this.type=(o=t==null?void 0:t.type)!==null&&o!==void 0?o:"Number";var i;this.subTableId=(i=t==null?void 0:t.subTableId)!==null&&i!==void 0?i:void 0;var u;this.subTableName=(u=t==null?void 0:t.subTableId)!==null&&u!==void 0?u:void 0;var l;this.aggregateType=(l=t==null?void 0:t.aggregateType)!==null&&l!==void 0?l:void 0},Yw="zh-CN",RF=function(){};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.FORM_TYPE=void 0,function(e){e[e.FORM=0]="FORM",e[e.LIST=1]="LIST",e[e.REPORT=2]="REPORT",e[e.DASHBOARD=3]="DASHBOARD",e[e.VUE=4]="VUE",e[e.FREE_PAGE=5]="FREE_PAGE"}(c.FORM_TYPE||(c.FORM_TYPE={})),c.CONTROL_TYPE=void 0,function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.OPERATION_BUTTON="operation-button",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap",e.VUE_PAGE="vue-page"}(c.CONTROL_TYPE||(c.CONTROL_TYPE={})),c.OPT_TYPES=void 0,function(e){e.SAVE="save",e.DRAFT="draft",e.UNSUBMIT="unsubmit",e.AUDIT="audit",e.UNAUDIT="unaudit",e.CANCEL="cancel",e.FORM_SUBMIT="form_submit"}(c.OPT_TYPES||(c.OPT_TYPES={})),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.LIST="list",e.JSON="json",e.ANY="ANY"}(c.FieldTypes||(c.FieldTypes={})),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 qy={DEFAULT:"default"},Hw="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",TF=Hw+"0123456789";function Xe(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Hw:TF,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Uy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function SF(e){if(Array.isArray(e))return Uy(e)}function EF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wi(e,t,r){return Kw()?Wi=Reflect.construct:Wi=function(o,i,u){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(o,l),a=new f;return u&&Po(a,u.prototype),a},Wi.apply(null,arguments)}function wo(e){return wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wo(e)}function Uw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Po(e,t)}function IF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function BF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function NF(){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 AF(e,t){return t&&(MF(t)==="object"||typeof t=="function")?t:EF(e)}function Po(e,t){return Po=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Po(e,t)}function Ww(e){return SF(e)||BF(e)||kF(e)||NF()}function MF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kF(e,t){if(!!e){if(typeof e=="string")return Uy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Uy(e,t)}}function Wy(e){var t=typeof Map=="function"?new Map:void 0;return Wy=function(n){if(n===null||!IF(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Wi(n,arguments,wo(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Po(o,n)},Wy(e)}function Kw(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xw(e){var t=Kw();return function(){var n=wo(e),o;if(t){var i=wo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AF(this,o)}}var Ky=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=Ky).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Ww(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=Ky).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Ww(o)))}function DF(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Xy=function(e){Uw(r,e);var t=Xw(r);function r(n){qw(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?DF(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Wy(Error)),LF=function(e){Uw(r,e);var t=Xw(r);function r(n){qw(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(Xy);function Jt(e){throw new Xy(e)}function Jy(e){throw new LF(e)}function Jw(e){Ky.error(new Xy(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 FF=Object.prototype.toString;function Qw(e,t){return FF.call(e)==="[object "+t+"]"}function jF(e){return Qw(e,"String")}function CF(e){return Qw(e,"Promise")}var xF=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();CF(n)?n.then(function(o){r._messageCache.clear(),r.messages[r.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,r,n){var o=this.getMessage(t);return o?this.formatMessage(o,n):this.formatMessage(r,n)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var r=this.getPathArray(t),n=r.reduce(function(o,i,u,l){if(o!==void 0){var f=o[i];if(!(u===l.length-1&&!jF(f)))return f}},this.message);return this._messageCache.set(t,n),n},e.prototype.formatMessage=function(t,r){return r?t.replace(this.variableRegExp,function(n,o){var i=r[o];return i!==void 0?String(i):n}):t},e.prototype.getPreImport=function(t){var r;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(r={},r[n]=window.okI18nPreImport,r)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function VF(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 zF(e,t,r){return t&&Zw(e.prototype,t),r&&Zw(e,r),e}function GF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(){function e(){VF(this,e)}return zF(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]:Yw;return new xF({locale:r,messages:wF})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();GF(h,"$i18n",h.resetI18n());function eP(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,l,f){var a=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){On("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return l===f.length-1&&!Object.is(a[u],r)&&(a[u]=r,o=!0),a[u]}},e),o}var YF=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Qy={exports:{}};(function(e){(function(t){var r=function(d,O,P){if(!a(O)||_(O)||p(O)||b(O)||f(O))return O;var w,R=0,T=0;if(s(O))for(w=[],T=O.length;R<T;R++)w.push(r(d,O[R],P));else{w={};for(var E in O)Object.prototype.hasOwnProperty.call(O,E)&&(w[d(E,P)]=r(d,O[E],P))}return w},n=function(d,O){O=O||{};var P=O.separator||"_",w=O.split||/(?=[A-Z])/;return d.split(w).join(P)},o=function(d){return g(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(O,P){return P?P.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},i=function(d){var O=o(d);return O.substr(0,1).toUpperCase()+O.substr(1)},u=function(d,O){return n(d,O).toLowerCase()},l=Object.prototype.toString,f=function(d){return typeof d=="function"},a=function(d){return d===Object(d)},s=function(d){return l.call(d)=="[object Array]"},_=function(d){return l.call(d)=="[object Date]"},p=function(d){return l.call(d)=="[object RegExp]"},b=function(d){return l.call(d)=="[object Boolean]"},g=function(d){return d=d-0,d===d},v=function(d,O){var P=O&&"process"in O?O.process:O;return typeof P!="function"?d:function(w,R){return P(w,d,R)}},m={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(d,O){return r(v(o,O),d)},decamelizeKeys:function(d,O){return r(v(u,O),d,O)},pascalizeKeys:function(d,O){return r(v(i,O),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=m:t.humps=m})(YF)})(Qy);var tP={};Object.defineProperty(tP,"__esModule",{value:!0});function Zy(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Zy(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Zy(n)}return t}}var HF=tP.default=Zy;function nP(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Je(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":nP(e))==="object"?HF(e):e}function we(e){return ed(e)&&"zh"in e}function ed(e){return Object.prototype.toString.call(e)==="[object Object]"}function qF(e){return e!=null&&(typeof e=="undefined"?"undefined":nP(e))==="object"&&Array.isArray(e)===!1}function wn(e){return Array.isArray(e)}function rP(e){return typeof e=="string"}function td(e){return typeof e=="number"}function UF(e){return typeof e=="function"}function WF(e){return wn(e)&&e.every(function(t){return rP(t)})}function KF(e){return wn(e)&&e.every(function(t){return td(t)})}function XF(e){return wn(e)&&e.every(function(t){return td(t)||t===""})}function JF(e){return/^\[.*?]$/.test(e)}function QF(e){return/^{.*?}$/.test(e)}function Pn(e){return isNaN(parseFloat(e))?"":Number(e)}function oP(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function ZF(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,r;return function(){for(var n=this,o=arguments.length,i=new Array(o),u=0;u<o;u++)i[u]=arguments[u];r||(r=setTimeout(function(){e.apply(n,i),clearTimeout(r),r=null},t))}}function ej(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function V(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=V(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=V(n.footers,t)),t(o)})),r}function iP(e){return Qy.exports.camelizeKeys(e)}function Qt(e){return Qy.exports.decamelizeKeys(e)}function tj(e){return Object.values(c.CONTROL_TYPE).includes(e)}function nd(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 nj(e){if(Array.isArray(e))return nd(e)}function uP(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function rj(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){uP(i,n,o,u,l,"next",f)}function l(f){uP(i,n,o,u,l,"throw",f)}u(void 0)})}}function oj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ij(e,t,r){return t&&cP(e.prototype,t),r&&cP(e,r),e}function lP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cj(){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 rd(e){return nj(e)||uj(e)||lj(e)||cj()}function lj(e,t){if(!!e){if(typeof e=="string")return nd(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 nd(e,t)}}function fj(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var fP=function(){function e(){oj(this,e),lP(this,"_events",new Map),lP(this,"debug",!1)}return ij(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var u=this;return rj(function(){var l,f,a,s,_,p,b,g,v,m,d,O;return fj(this,function(P){switch(P.label){case 0:if(l=u._events.get(r),f=[],!l)return[3,10];a=l.slice(),s=!0,_=!1,p=void 0,P.label=1;case 1:P.trys.push([1,8,9,10]),b=a[Symbol.iterator](),P.label=2;case 2:if(s=(g=b.next()).done)return[3,7];if(v=g.value,!l.includes(v))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(v.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+v.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(rd(o))),[4,v.apply(null,rd(o))];case 4:return m=P.sent(),u.debug&&$o.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(v.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+v.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(rd(o),[m])),f.push(m),m===!1?[3,7]:[3,6];case 5:return d=P.sent(),Jw(String(d)+":"+String(d.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return O=P.sent(),_=!0,p=O,[3,10];case 9:try{!s&&b.return!=null&&b.return()}finally{if(_)throw p}return[7];case 10:return[2,f]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function aj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sj(e,t,r){return t&&aP(e.prototype,t),r&&aP(e,r),e}function _j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var yj=[{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"}],sP=function(){function e(){aj(this,e)}return sj(e,null,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}},{key:"getEventsFromControl",value:function(r){var n=[],o=r.eventKeys;n=n.concat(e.events.filter(function(u){return o.includes(u.key)}));var i=r.customEvents.map(function(u){var l=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(l=u.namespace+":"+u.key),{key:l,code:u.key,name:u.name}});return n=n.concat(i),n}}]),e}();_j(sP,"events",yj);function od(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 dj(e){if(Array.isArray(e))return od(e)}function pj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vj(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _P(e){return dj(e)||pj(e)||hj(e)||vj()}function hj(e,t){if(!!e){if(typeof e=="string")return od(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 od(e,t)}}function Xi(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function id(e,t,r){r!=="Runtime"&&(e.parent=t,Xi(e,"parent"))}function yP(e,t,r){e.forEach(function(n){id(n,t,r)})}var dP=Symbol("targetKey");function pP(e){var t;return(t=e[dP])!==null&&t!==void 0?t:e}function vP(e,t,r){return yP(e,t,r),new Proxy(e,{get:function(o,i){for(var u=arguments.length,l=new Array(u>2?u-2:0),f=2;f<u;f++)l[f-2]=arguments[f];var a;return i===dP?o:(a=Reflect).get.apply(a,[o,i].concat(_P(l)))},set:function(o,i,u){for(var l=arguments.length,f=new Array(l>3?l-3:0),a=3;a<l;a++)f[a-3]=arguments[a];var s;if(wn(e)&&i==="length"&&u===e.length)return!0;var _=(s=Reflect).set.apply(s,[o,i,u].concat(_P(f)));return ed(u)&&id(u,t,r),_}})}function at(e,t,r,n,o){var i=n!=null?n:e,u=vP(pP(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(f){u=vP(pP(f),i,o)},enumerable:!0})}function bj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gj(e,t,r){return t&&hP(e.prototype,t),r&&hP(e,r),e}function Zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var bP=[],Ro=function(){function e(t){bj(this,e),Zt(this,"registeredControlTypes",new Set),Zt(this,"controlConfigMap",new Map),Zt(this,"_controls",[]),Zt(this,"_type",void 0),this._type=t,this._initControls(t)}return gj(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||Jt("".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)}))}var u=this.getControlFormType(r.type);if(u){var l=r;if(typeof n=="function"){var f=n(l);f&&(l=f)}var a;return u.mode==="Runtime"?(a=l,a.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new u(l),a}else Jt("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}}),Xi(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var i=r.id,u=n._controlParentIdMap,l=n.instanceMap;if(!(!u||!l)){var f=u[i],a=l[i];if(!(!f&&!a)){var s=a.findIndex(function(b){return b==r}),_=l[f]||[],p;return _.length!==a.length?p=_[0]:p=_[s],p}}}}),Xi(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__)&&Jt("".concat(r," is can't register as a Control"));var l=this.staticControls.findIndex(function(f){return f.Designer.controlType===o.controlType});return l>-1&&(On("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(r),u.mode=n,this}}]),e}();Zt(Ro,"staticControlsRuntimeRules",new Map),Zt(Ro,"staticControls",bP),Zt(Ro,"staticRegisteredTypes",new Set(bP.map(function(e){return e.Designer.controlType}))),Zt(Ro,"staticRegisteredConfigs",new Map);function C(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ji(e){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ji(e)}function Qe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ud(e,t)}function mj(e,t){return t&&(Oj(t)==="object"||typeof t=="function")?t:C(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ud(e,t)}function Oj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ze(e){var t=wj();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 mj(this,o)}}var et=function e(t){$(this,e),y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"aliasCode",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},Qi=function e(t){$(this,e),y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},cd=function e(t){$(this,e),y(this,"rowHeightType",void 0),y(this,"minRows",void 0),y(this,"maxRows",void 0),y(this,"fiexdRow",void 0);var r;this.rowHeightType=(r=t==null?void 0:t.rowHeightType)!==null&&r!==void 0?r:"fixed";var n;this.minRows=(n=t==null?void 0:t.minRows)!==null&&n!==void 0?n:4;var o;this.maxRows=(o=t==null?void 0:t.maxRows)!==null&&o!==void 0?o:20;var i;this.fiexdRow=(i=t==null?void 0:t.fiexdRow)!==null&&i!==void 0?i:4},ld=function e(t){$(this,e),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new cd(t==null?void 0:t.pc),this.mobile=new cd(t==null?void 0:t.mobile)},Zi=function(e){Qe(r,e);var t=Ze(r);function r(n){$(this,r);var o;o=t.call(this,n),y(C(o),"width",void 0),y(C(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}(Qi),fd=function e(t){$(this,e),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new Zi(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Zi(t==null?void 0:t.mobile):new Zi({width:130,minWidth:180})},gP=function e(t){$(this,e),y(this,"type",void 0),y(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},$n=function e(t){$(this,e),y(this,"dataCode",void 0),y(this,"formKey",void 0),y(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},mP=function(e){Qe(r,e);var t=Ze(r);function r(n){$(this,r);var o;o=t.call(this,n),y(C(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}($n),OP=function e(t){$(this,e),y(this,"fieldCode",void 0),y(this,"dataCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:""},eu=function e(t){$(this,e);var r;y(this,"appId",void 0),y(this,"formKey",void 0),y(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new OP(u)}))!==null&&i!==void 0?i:[]},wP=function e(t){$(this,e),y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:c.FieldTypes.VARCHAR},PP=function(e){Qe(r,e);var t=Ze(r);function r(n){$(this,r);var o;o=t.call(this,n),y(C(o),"title",void 0),y(C(o),"svcCode",void 0),y(C(o),"isOpenFilter",void 0),y(C(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var l;o.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var f;return o.filters=(f=n==null?void 0:n.filters)!==null&&f!==void 0?f:[],o}return r}($n),$P=function e(t){$(this,e);var r,n;y(this,"type","sublist-page"),y(this,"formBind",void 0),y(this,"displayFields",void 0),y(this,"sublists",void 0),this.formBind=new $n(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 wP(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 PP(u)}))!==null&&i!==void 0?i:[]},RP=function e(t){$(this,e),y(this,"type",void 0),y(this,"value",void 0),y(this,"dataCode",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode},ir=function e(t){$(this,e),y(this,"type",void 0),y(this,"value",void 0),y(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},tu=function e(t){var r=this;$(this,e),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","conditions"),y(this,"level",void 0),y(this,"value",void 0),y(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Xe();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(l){if(l.children!==void 0){var f,a=new e(l);(f=r.children)===null||f===void 0||f.push(a)}else{var s,_=new To(l);(s=r.children)===null||s===void 0||s.push(_)}}))},To=function e(t){$(this,e),y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","condition"),y(this,"symbol",void 0),y(this,"checked",void 0),y(this,"describe",void 0),y(this,"leftVariableBo",void 0),y(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Xe();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new RP(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new ir(t==null?void 0:t.rightVariableBo)},TP=function e(t){$(this,e),y(this,"aliasCode",void 0),y(this,"datasourceBind",void 0),y(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new oe(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},Se=function e(t){$(this,e),y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},nu=function e(t){$(this,e),y(this,"type",void 0),y(this,"value",void 0),y(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},Pj=function e(t){$(this,e),y(this,"title",void 0),y(this,"displayBoList",void 0);var r;this.title=(r=t==null?void 0:t.title)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},ad=function e(t){$(this,e),y(this,"columnName",void 0),y(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1},SP=function e(t){$(this,e),y(this,"code",void 0),y(this,"value",void 0),y(this,"field_type",void 0);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY},$j=function e(t){$(this,e);var r,n;y(this,"id",void 0),y(this,"limit",void 0),y(this,"orders",void 0),y(this,"formKey",void 0),y(this,"dataSet",void 0);var o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var u;this.formKey=(u=t.formKey)!==null&&u!==void 0?u:"";var l;this.orders=(l=(r=t.orders)===null||r===void 0?void 0:r.map(function(a){return new ad(a)}))!==null&&l!==void 0?l:[];var f;this.dataSet=(f=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(a){return new SP(a)}))!==null&&f!==void 0?f:[]};function sd(e){var t,r,n,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(l){return l.children!==void 0?new tu(l):new To(l)}))!==null&&o!==void 0?o:[];var i;this.viewFilters=(i=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(l){return l.children!==void 0?new tu(l):new To(l)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(l){return new ad(l)}))!==null&&u!==void 0?u:[]}var oe=function e(t){var r=this;$(this,e),y(this,"dataCode",void 0),y(this,"valueFieldCode",void 0),y(this,"displayBoList",void 0),y(this,"keywordMapping",void 0),y(this,"svcCode",void 0),y(this,"appId",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"isOpenViewFilters",void 0),y(this,"orders",void 0),y(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(s){var _;(_=r.displayBoList)===null||_===void 0||_.push(new nu(s))}));var l;this.keywordMapping=(l=t==null?void 0:t.keywordMapping)!==null&&l!==void 0?l:"";var f;this.showOrder=(f=t==null?void 0:t.showOrder)!==null&&f!==void 0?f:!0;var a;this.svcCode=(a=t==null?void 0:t.svcCode)!==null&&a!==void 0?a:"",sd.call(this,t)},ru=function e(t){$(this,e),y(this,"dataCode",void 0),y(this,"displayBoList",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},Ot=function e(t){$(this,e),y(this,"code",void 0),y(this,"color",void 0),y(this,"command",void 0),y(this,"confirmMessage",void 0),y(this,"defaultState",void 0),y(this,"formKey",void 0),y(this,"formType",void 0),y(this,"icon",void 0),y(this,"needConfirm",void 0),y(this,"openType",void 0),y(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var l;this.formKey=(l=t==null?void 0:t.formKey)!==null&&l!==void 0?l:void 0,this.formType=t==null?void 0:t.formType;var f;this.icon=(f=t==null?void 0:t.icon)!==null&&f!==void 0?f:"iconliulan1";var a;this.needConfirm=(a=t==null?void 0:t.needConfirm)!==null&&a!==void 0?a:!1;var s;this.openType=(s=t==null?void 0:t.openType)!==null&&s!==void 0?s:"modal";var _;this.priorityProcess=(_=t==null?void 0:t.priorityProcess)!==null&&_!==void 0?_:!0},_d=function e(t){$(this,e);var r;y(this,"name",void 0),y(this,"key",void 0),y(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new nu(u)}))!==null&&i!==void 0?i:[]},So=function(e){Qe(r,e);var t=Ze(r);function r(n){$(this,r);var o,i;o=t.call(this,n),y(C(o),"attributes",void 0);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(l){return new _d(l)}))!==null&&u!==void 0?u:[],o}return r}(oe),EP=function(e){Qe(r,e);var t=Ze(r);function r(n){$(this,r);var o,i;o=t.call(this,n),y(C(o),"attributes",void 0),y(C(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(f){return new _d(f)}))!==null&&u!==void 0?u:[];var l;return o.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",o}return r}(oe),yd=function(e){Qe(r,e);var t=Ze(r);function r(n){$(this,r);var o;o=t.call(this,n),y(C(o),"rootNode",void 0),y(C(o),"filterCode",void 0),o.rootNode=new ir(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(So),IP=function e(t){$(this,e);var r;y(this,"dataCode",void 0),y(this,"appId",void 0),y(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Se(u)}))!==null&&i!==void 0?i:[]},dd=function(e){Qe(r,e);var t=Ze(r);function r(n){$(this,r);var o;return o=t.call(this,n),y(C(o),"filters",void 0),y(C(o),"viewFilters",void 0),y(C(o),"orders",void 0),sd.call(C(o),n),o}return r}(IP),pd=function(e){Qe(r,e);var t=Ze(r);function r(n){$(this,r);var o;o=t.call(this,n),y(C(o),"mode",void 0),y(C(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}(IP),Rj=function e(t){$(this,e),y(this,"zh",void 0),y(this,"en",void 0),y(this,"ja",void 0);var r;this.zh=(r=t==null?void 0:t.zh)!==null&&r!==void 0?r:"";var n;this.en=(n=t==null?void 0:t.en)!==null&&n!==void 0?n:"";var o;this.ja=(o=t==null?void 0:t.ja)!==null&&o!==void 0?o:""},ou=function e(t){$(this,e),y(this,"stencilName",void 0),y(this,"expression",void 0),y(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},vd=function e(t){$(this,e),y(this,"id",void 0),y(this,"label",void 0),y(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Xe(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label},BP=function(e){Qe(r,e);var t=Ze(r);function r(n){$(this,r);var o;o=t.call(this,n),y(C(o),"image",void 0),y(C(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}(vd);function wt(e){var t;return(t=e==null?void 0:e.map(function(r){return new vd(r)}))!==null&&t!==void 0?t:[]}function Tj(e){var t;return(t=e==null?void 0:e.map(function(r){return new BP(r)}))!==null&&t!==void 0?t:[]}var iu=function e(){$(this,e)},NP=function(e){Qe(r,e);var t=Ze(r);function r(n){$(this,r);var o;return o=t.call(this),y(C(o),"amount",void 0),y(C(o),"currency",void 0),o.amount=new et(n==null?void 0:n.amount),o.currency=new et(n==null?void 0:n.currency),o}return r}(iu),AP=function e(t){$(this,e),y(this,"amount",void 0),y(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:"CNY"},MP=function(e){Qe(r,e);var t=Ze(r);function r(n){$(this,r);var o;return o=t.call(this),y(C(o),"min",void 0),y(C(o),"max",void 0),o.min=new et(n==null?void 0:n.min),o.max=new et(n==null?void 0:n.max),o}return r}(iu),kP=function e(t){$(this,e),y(this,"min",void 0),y(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},DP=function e(t){$(this,e),y(this,"city",void 0),y(this,"cityDisplay",void 0),y(this,"district",void 0),y(this,"districtDisplay",void 0),y(this,"province",void 0),y(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var l;this.provinceDisplay=(l=t==null?void 0:t.provinceDisplay)!==null&&l!==void 0?l:""},LP=function(e){Qe(r,e);var t=Ze(r);function r(n){$(this,r);var o;return o=t.call(this),y(C(o),"result",void 0),y(C(o),"unit",void 0),o.result=new et(n==null?void 0:n.result),o.unit=new et(n==null?void 0:n.unit),o}return r}(iu),FP=function e(t){$(this,e),y(this,"result",void 0),y(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""};c.AMOUNT_TYPE=void 0,function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"}(c.AMOUNT_TYPE||(c.AMOUNT_TYPE={})),c.COMMON_SETTING_TYPE=void 0,function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable"}(c.COMMON_SETTING_TYPE||(c.COMMON_SETTING_TYPE={})),c.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(c.PAGE_STATUS||(c.PAGE_STATUS={}));var kt=function e(t){$(this,e),y(this,"isShow",void 0),y(this,"priorityProcess",void 0),y(this,"formKey",void 0),y(this,"content",void 0),y(this,"openType",void 0),y(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var l;this.priorityProcess=(l=t==null?void 0:t.priorityProcess)!==null&&l!==void 0?l:!1},jP=function e(t){$(this,e);var r;y(this,"id",void 0),y(this,"title",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Xe(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new OP(u)}))!==null&&i!==void 0?i:[],sd.call(this,t)},Sj=function e(t){$(this,e),y(this,"key",void 0),y(this,"caption",void 0);var r;this.key=(r=t.key)!==null&&r!==void 0?r:Xe(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},CP=function e(t){$(this,e),y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},xP=function e(t){$(this,e),y(this,"optCode",void 0),y(this,"optType",void 0);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""},VP=function e(t){$(this,e);var r,n;y(this,"id",void 0),y(this,"name",void 0),y(this,"settings",void 0),y(this,"filters",void 0),y(this,"script",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Xe();var i;this.name=(i=t==null?void 0:t.name)!==null&&i!==void 0?i:"";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 tu(f):new To(f)}))!==null&&u!==void 0?u:[];var l;this.settings=(t==null?void 0:t.settings)&&Array.isArray(t==null?void 0:t.settings)?(l=t==null||(n=t.settings)===null||n===void 0?void 0:n.map(function(f){return new zP(f)}))!==null&&l!==void 0?l:[]:[],this.script=t==null?void 0:t.script},zP=function e(t){$(this,e),y(this,"color",void 0),y(this,"fieldCodes",void 0),y(this,"type",void 0),y(this,"scope",void 0);var r;this.type=(r=t.type)!==null&&r!==void 0?r:"background";var n;this.fieldCodes=(n=t.fieldCodes)!==null&&n!==void 0?n:[];var o;this.color=(o=t.color)!==null&&o!==void 0?o:"theme";var i;this.scope=(i=t.scope)!==null&&i!==void 0?i:"row"},GP=function e(t){$(this,e);var r;y(this,"type",void 0),y(this,"interval",void 0),y(this,"rules",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"none";var o;this.interval=(o=t==null?void 0:t.interval)!==null&&o!==void 0?o:{color:""};var i;this.rules=(t==null?void 0:t.rules)&&Array.isArray(t==null?void 0:t.rules)?(i=t==null||(r=t.rules)===null||r===void 0?void 0:r.map(function(u){return new VP(u)}))!==null&&i!==void 0?i:[]:[]};function Ej(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uu(e,t,r){return YP()?uu=Reflect.construct:uu=function(o,i,u){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(o,l),a=new f;return u&&Io(a,u.prototype),a},uu.apply(null,arguments)}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 Eo(e){return Eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eo(e)}function Ij(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Io(e,t)}function Bj(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Nj(e,t){return t&&(Aj(t)==="object"||typeof t=="function")?t:Ej(e)}function Io(e,t){return Io=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Io(e,t)}function Aj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bd(e){var t=typeof Map=="function"?new Map:void 0;return bd=function(n){if(n===null||!Bj(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 uu(n,arguments,Eo(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Io(o,n)},bd(e)}function YP(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=YP();return function(){var n=Eo(e),o;if(t){var i=Eo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nj(this,o)}}var re=function e(t){hd(this,e),Dt(this,"isHide",{type:"boolean"})},en=function(e){Ij(r,e);var t=Mj(r);function r(n){return hd(this,r),t.call(this)}return r}(bd(Array)),J=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";hd(this,e),Dt(this,"isHide",void 0),Dt(this,"className",void 0),Dt(this,"style",void 0),Dt(this,"caption",void 0),Dt(this,"defaultState",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new CP(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};Dt(J,"mode",void 0),Dt(J,"Rules",re),Dt(J,"RuntimeRules",en);function Pt(){return Pt=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},Pt.apply(this,arguments)}function kj(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function gd(e){return gd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gd(e)}function cu(e,t){return cu=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cu(e,t)}function Dj(){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 lu(e,t,r){return Dj()?lu=Reflect.construct:lu=function(o,i,u){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(o,l),a=new f;return u&&cu(a,u.prototype),a},lu.apply(null,arguments)}function Lj(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function md(e){var t=typeof Map=="function"?new Map:void 0;return md=function(n){if(n===null||!Lj(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 lu(n,arguments,gd(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),cu(o,n)},md(e)}var Fj=/%[sdj%]/g,HP=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(HP=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Od(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 je(){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(Fj,function(l){if(l==="%%")return"%";if(n>=i)return l;switch(l){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(f){return"[Circular]"}break;default:return l}});return u}return o}function jj(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function ie(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||jj(t)&&typeof e=="string"&&!e)}function Cj(e,t,r){var n=[],o=0,i=e.length;function u(l){n.push.apply(n,l),o++,o===i&&r(n)}e.forEach(function(l){t(l,u)})}function qP(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var l=n;n=n+1,l<o?t(e[l],i):r([])}i([])}function xj(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var UP=function(e){kj(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}(md(Error));function Vj(e,t,r,n){if(t.first){var o=new Promise(function(_,p){var b=function(m){return n(m),m.length?p(new UP(m,Od(m))):_()},g=xj(e);qP(g,r,b)});return o.catch(function(_){return _}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),l=u.length,f=0,a=[],s=new Promise(function(_,p){var b=function(v){if(a.push.apply(a,v),f++,f===l)return n(a),a.length?p(new UP(a,Od(a))):_()};u.length||(n(a),_()),u.forEach(function(g){var v=e[g];i.indexOf(g)!==-1?qP(v,r,b):Cj(v,r,b)})});return s.catch(function(_){return _}),s}function WP(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 KP(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]=Pt(Pt({},e[r]),n):e[r]=n}}return e}function XP(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||ie(t,i||e.type))&&n.push(je(o.messages.required,e.fullField))}function zj(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(je(o.messages.whitespace,e.fullField))}var wd={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},Bo={integer:function(t){return Bo.number(t)&&parseInt(t,10)===t},float:function(t){return Bo.number(t)&&!Bo.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"&&!Bo.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(wd.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(wd.url)},hex:function(t){return typeof t=="string"&&!!t.match(wd.hex)}};function Gj(e,t,r,n,o){if(e.required&&t===void 0){XP(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?Bo[u](t)||n.push(je(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(je(o.messages.types[u],e.fullField,e.type))}function Yj(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",l=typeof e.max=="number",f=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,a=t,s=null,_=typeof t=="number",p=typeof t=="string",b=Array.isArray(t);if(_?s="number":p?s="string":b&&(s="array"),!s)return!1;b&&(a=t.length),p&&(a=t.replace(f,"_").length),i?a!==e.len&&n.push(je(o.messages[s].len,e.fullField,e.len)):u&&!l&&a<e.min?n.push(je(o.messages[s].min,e.fullField,e.min)):l&&!u&&a>e.max?n.push(je(o.messages[s].max,e.fullField,e.max)):u&&l&&(a<e.min||a>e.max)&&n.push(je(o.messages[s].range,e.fullField,e.min,e.max))}var ur="enum";function Hj(e,t,r,n,o){e[ur]=Array.isArray(e[ur])?e[ur]:[],e[ur].indexOf(t)===-1&&n.push(je(o.messages[ur],e.fullField,e[ur].join(", ")))}function qj(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(je(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(je(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var N={required:XP,whitespace:zj,type:Gj,range:Yj,enum:Hj,pattern:qj};function Uj(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ie(t,"string")&&!e.required)return r();N.required(e,t,n,i,o,"string"),ie(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 Wj(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ie(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 Kj(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),ie(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 Xj(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ie(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 Jj(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ie(t)&&!e.required)return r();N.required(e,t,n,i,o),ie(t)||N.type(e,t,n,i,o)}r(i)}function Qj(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ie(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 Zj(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ie(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 eC(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 tC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ie(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 nC="enum";function rC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ie(t)&&!e.required)return r();N.required(e,t,n,i,o),t!==void 0&&N[nC](e,t,n,i,o)}r(i)}function oC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ie(t,"string")&&!e.required)return r();N.required(e,t,n,i,o),ie(t,"string")||N.pattern(e,t,n,i,o)}r(i)}function iC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ie(t,"date")&&!e.required)return r();if(N.required(e,t,n,i,o),!ie(t,"date")){var l;t instanceof Date?l=t:l=new Date(t),N.type(e,l,n,i,o),l&&N.range(e,l.getTime(),n,i,o)}}r(i)}function uC(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 Pd(e,t,r,n,o){var i=e.type,u=[],l=e.required||!e.required&&n.hasOwnProperty(e.field);if(l){if(ie(t,i)&&!e.required)return r();N.required(e,t,n,u,o,i),ie(t,i)||N.type(e,t,n,u,o)}r(u)}function cC(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(ie(t)&&!e.required)return r();N.required(e,t,n,i,o)}r(i)}var No={string:Uj,method:Wj,number:Kj,boolean:Xj,regexp:Jj,integer:Qj,float:Zj,array:eC,object:tC,enum:rC,pattern:oC,date:iC,url:Pd,hex:Pd,email:Pd,required:uC,any:cC};function $d(){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 Rd=$d();function tn(e){this.rules=null,this._messages=Rd,this.define(e)}tn.prototype={messages:function(t){return t&&(this._messages=KP($d(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,l=n;if(typeof u=="function"&&(l=u,u={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function f(v){var m,d=[],O={};function P(w){if(Array.isArray(w)){var R;d=(R=d).concat.apply(R,w)}else d.push(w)}for(m=0;m<v.length;m++)P(v[m]);d.length?O=Od(d):(d=null,O=null),l(d,O)}if(u.messages){var a=this.messages();a===Rd&&(a=$d()),KP(a,u.messages),u.messages=a}else u.messages=this.messages();var s,_,p={},b=u.keys||Object.keys(this.rules);b.forEach(function(v){s=o.rules[v],_=i[v],s.forEach(function(m){var d=m;typeof d.transform=="function"&&(i===t&&(i=Pt({},i)),_=i[v]=d.transform(_)),typeof d=="function"?d={validator:d}:d=Pt({},d),d.validator=o.getValidationMethod(d),d.field=v,d.fullField=d.fullField||v,d.type=o.getType(d),d.validator&&(p[v]=p[v]||[],p[v].push({rule:d,value:_,source:i,field:v}))})});var g={};return Vj(p,u,function(v,m){var d=v.rule,O=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");O=O&&(d.required||!d.required&&v.value),d.field=v.field;function P(T,E){return Pt(Pt({},E),{},{fullField:d.fullField+"."+T})}function w(T){T===void 0&&(T=[]);var E=T;if(Array.isArray(E)||(E=[E]),!u.suppressWarning&&E.length&&tn.warning("async-validator:",E),E.length&&d.message!==void 0&&(E=[].concat(d.message)),E=E.map(WP(d)),u.first&&E.length)return g[d.field]=1,m(E);if(!O)m(E);else{if(d.required&&!v.value)return d.message!==void 0?E=[].concat(d.message).map(WP(d)):u.error&&(E=[u.error(d,je(u.messages.required,d.field))]),m(E);var D={};if(d.defaultField)for(var Fe in v.value)v.value.hasOwnProperty(Fe)&&(D[Fe]=d.defaultField);D=Pt(Pt({},D),v.rule.fields);for(var me in D)if(D.hasOwnProperty(me)){var Oe=Array.isArray(D[me])?D[me]:[D[me]];D[me]=Oe.map(P.bind(null,me))}var go=new tn(D);go.messages(u.messages),v.rule.options&&(v.rule.options.messages=u.messages,v.rule.options.error=u.error),go.validate(v.value,v.rule.options||u,function(rr){var At=[];E&&E.length&&At.push.apply(At,E),rr&&rr.length&&At.push.apply(At,rr),m(At.length?At:null)})}}var R;d.asyncValidator?R=d.asyncValidator(d,v.value,w,v.source,u):d.validator&&(R=d.validator(d,v.value,w,v.source,u),R===!0?w():R===!1?w(d.message||d.field+" fails"):R instanceof Array?w(R):R instanceof Error&&w(R.message)),R&&R.then&&R.then(function(){return w()},function(T){return w(T)})},function(v){f(v)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!No.hasOwnProperty(t.type))throw new Error(je("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"?No.required:No[this.getType(t)]||!1}},tn.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");No[t]=r},tn.warning=HP,tn.messages=Rd,tn.validators=No;var lC={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 JP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new tn(e);return r.messages(Object.assign(lC,t)),r}var QP=new fP;function Td(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 fC(e){if(Array.isArray(e))return e}function aC(e){if(Array.isArray(e))return Td(e)}function ZP(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function e$(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){ZP(i,n,o,u,l,"next",f)}function l(f){ZP(i,n,o,u,l,"throw",f)}u(void 0)})}}function sC(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 _C(e,t,r){return t&&t$(e.prototype,t),r&&t$(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 n$(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function r$(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yC(){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 dC(){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 o$(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){L(e,o,r[o])})}return e}function pC(e){return fC(e)||r$(e)||i$(e)||yC()}function Sd(e){return aC(e)||r$(e)||i$(e)||dC()}function vC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i$(e,t){if(!!e){if(typeof e=="string")return Td(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 Td(e,t)}}function u$(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var F=function(){function t(r){var n=this;sC(this,t),L(this,"id",void 0),L(this,"name",void 0),L(this,"icon",void 0),L(this,"type",void 0),L(this,"controlType",void 0),L(this,"props",void 0),L(this,"setting",[]),L(this,"fieldType",void 0),L(this,"eventKeys",[]),L(this,"customEvents",[]),L(this,"parent",null),L(this,"slots",void 0),L(this,"slotPosition",void 0),L(this,"updateSetting",l$),L(this,"removeSetting",c$),this._callControlHooks("preInstance",r);var o=n$(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,l=o.controlType,f=o.controlFieldType,a=o.controlEventKeys,s=o.controlCustomEvents,_=o.name,p=o.setting,b=o.slots,g=o.slotPosition;i&&u&&l||Jy("The ".concat(_," controlName,controlIcon,controlType is not define"));var v;this.id=(v=r==null?void 0:r.id)!==null&&v!==void 0?v:Xe(10),this.name=i,this.icon=u;var m;this.type=(m=r==null?void 0:r.type)!==null&&m!==void 0?m:l,this.props=new J(r==null?void 0:r.props,(n$(this,t)?this.constructor:void 0).controlName);var d;this.controlType=(d=r==null?void 0:r.controlType)!==null&&d!==void 0?d:"base",this.setting=Je(p);var O;this.fieldType=(O=r==null?void 0:r.fieldType)!==null&&O!==void 0?O:f,this.eventKeys=Je(a),this.customEvents=Je(s),this.slots=Je(b),this.slotPosition=Je(g),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return _C(t,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u,l=pC(o),f=l[0],a=l.slice(1);return(u=QP).emit.apply(u,[f,this].concat(Sd(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),eP(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return e$(function(){var o,i,u;return u$(this,function(l){switch(l.label){case 0:return o=o$({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=l.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return e$(function(){var u,l,f,a;return u$(this,function(s){switch(s.label){case 0:return[4,i.preValidate()];case 1:u=s.sent(),l=u!==void 0?u:o$({},i.rules),Array.isArray(o)&&o.forEach(function(_){l.hasOwnProperty(_)&&delete l[_]}),f=JP(l,n),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,f.validate(i.props)];case 3:return s.sent(),[2,!0];case 4:throw a=s.sent(),a.control||(a.control=i),a;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,l=this.props,f=l.dataBind,a=l.datasourceBind,s=l.optionConfig,_=l.caption,p=l.required,b=l.maxLength,g=l.options,v=l.encrypted,m=l.encryptedMode;if(!(!o&&!f&&!a)){var d={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(f&&(d.dataBind=f),s){case"datasource":case void 0:a&&(d.datasourceBind=a);break;case"custom":d.props.options=g;break}return p!==void 0&&(d.required=p),b!==void 0&&(d.maxLength=b),v!==void 0&&(d.encrypted=v),m!==void 0&&(d.encryptedMode=m),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Je(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,Sd(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();L(F,"mode","Designer"),L(F,"slots",void 0),L(F,"slotPosition",void 0),L(F,"controlName","\u63A7\u4EF6"),L(F,"controlIcon","icon"),L(F,"controlType","control"),L(F,"controlFieldType",void 0),L(F,"controlEventKeys",[]),L(F,"controlCustomEvents",[]),L(F,"setting",[]),L(F,"__is_control__",!0),L(F,"removeSettingItem",c$),L(F,"updateSettingItem",l$);function c$(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(a){return a.key===(i?n.key:n)});if(u!==-1){var l,f;i?t.setting[u].showItems=(l=t.setting[u].showItems)===null||l===void 0?void 0:l.filter(function(a){return!n.hideItems.includes(a)}):t.setting.splice(u,1),i&&!(!((f=t.setting[u].showItems)===null||f===void 0)&&f.length)&&t.setting.splice(u,1)}})}function l$(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=="undefined"?"undefined":vC(t))==="object"){var u,l=(u=t.type)!==null&&u!==void 0?u:"replace";if(l==="replace")i.showItems=t.showItems;else{var f;(f=i.showItems).push.apply(f,Sd(t.showItems))}}}})}function hC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bC(e,t,r){return t&&f$(e.prototype,t),r&&f$(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 gC(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Q=function(){function t(r){hC(this,t),Ce(this,"id",void 0),Ce(this,"type",void 0),Ce(this,"controlType",void 0),Ce(this,"props",void 0),Ce(this,"fieldType",void 0),Ce(this,"customEvents",[]),Ce(this,"pageStatus",void 0),Ce(this,"parent",null);var n=gC(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,l=n.controlCustomEvents;o||Jy("The ".concat(u," controlType is not define"));var f;this.id=(f=r==null?void 0:r.id)!==null&&f!==void 0?f:Xe(10);var a;this.type=(a=r==null?void 0:r.type)!==null&&a!==void 0?a:o,this.props=new J(r==null?void 0:r.props),this.customEvents=l;var s;this.controlType=(s=r==null?void 0:r.controlType)!==null&&s!==void 0?s:"base";var _;this.fieldType=(_=r==null?void 0:r.fieldType)!==null&&_!==void 0?_:i;var p;this.pageStatus=(p=r==null?void 0:r.pageStatus)!==null&&p!==void 0?p:c.PAGE_STATUS.UNKNOWN}return bC(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}();Ce(Q,"mode","Runtime"),Ce(Q,"controlType","control"),Ce(Q,"controlFieldType",void 0),Ce(Q,"__is_control__",!0),Ce(Q,"controlCustomEvents",[]);function fu(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:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:h.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:h.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(h.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(l){return l.value}),u=oP(i);i.length!==u.length?o(h.getMessage("optionIdIsRepeat")):o()},message:h.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(h.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:h.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}])}function Ao(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:h.getMessage("isNotString")},key:{type:"string",required:!0,message:h.getMessage("isNotString")},value:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(h.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:h.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}]}function a$(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 au(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 su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},su(e)}function _u(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ed(e,t)}function mC(e,t){return t&&(OC(t)==="object"||typeof t=="function")?t:Y(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}function OC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yu(e){var t=wC();return function(){var n=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mC(this,o)}}var ue=function(e){_u(r,e);var t=yu(r);function r(n){au(this,r);var o;o=t.call(this,n),H(Y(o),"dataBind",{}),H(Y(o),"caption",{type:"string",required:!0,message:h.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:h.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}};if(a$(n.dataBind))o.dataBind={type:"object",required:!0,fields:Je(i),message:h.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:h.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(l){u.fields[l]={type:"object",required:!0,fields:Je(i),message:h.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(re),x=function(e){_u(r,e);var t=yu(r);function r(n){au(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:h.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(en),A=function(e){_u(r,e);var t=yu(r);function r(n){au(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 l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var f;o.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var p;o.required=(p=n==null?void 0:n.required)!==null&&p!==void 0?p:!1;var b;o.requiredMessage=(b=n==null?void 0:n.requiredMessage)!==null&&b!==void 0?b:"",o.dataBind=new et(n==null?void 0:n.dataBind);var g;return o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:"",o}return r}(J);H(A,"Rules",ue),H(A,"RuntimeRules",x);var Rn=function(e){_u(r,e);var t=yu(r);function r(n){au(this,r);var o;return o=t.call(this,n),H(Y(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),H(Y(o),"options",[{type:"array",message:h.getMessage("isNotArray")}]),H(Y(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),fu.call(Y(o),n),o}return r}(ue);function Id(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function du(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(e)}function $C(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bd(e,t)}function RC(e,t){return t&&(TC(t)==="object"||typeof t=="function")?t:Id(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function TC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EC(e){var t=SC();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 RC(this,o)}}var M=function(e){$C(r,e);var t=EC(r);function r(n){PC(this,r);var o;return o=t.call(this,n),du(Id(o),"controlType","form"),du(Id(o),"props",void 0),o.props=new A(n==null?void 0:n.props),o}return r}(F);du(M,"controlEventKeys",["on_change","on_focus","on_blur"]),du(M,"controlCustomAttributes",void 0);function vu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nd(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 BC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function NC(e,t){return t&&(AC(t)==="object"||typeof t=="function")?t:vu(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function AC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kC(e){var t=MC();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 NC(this,o)}}var k=function(e){BC(r,e);var t=kC(r);function r(n){IC(this,r);var o;return o=t.call(this,n),Nd(vu(o),"controlType","form"),Nd(vu(o),"props",void 0),Nd(vu(o),"value",void 0),o.props=new A(n==null?void 0:n.props),o}return r}(Q);function DC(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 bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function FC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Md(e,t)}function jC(e,t){return t&&(CC(t)==="object"||typeof t=="function")?t:DC(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}function CC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VC(e){var t=xC();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 jC(this,o)}}var z=function(e){FC(r,e);var t=VC(r);function r(n){return LC(this,r),t.call(this,n)}return r}(J);function kd(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 zC(e){if(Array.isArray(e))return kd(e)}function Tn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s$(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function GC(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){s$(i,n,o,u,l,"next",f)}function l(f){s$(i,n,o,u,l,"throw",f)}u(void 0)})}}function YC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HC(e,t,r){return t&&_$(e.prototype,t),r&&_$(e,r),e}function nn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?cr=Reflect.get:cr=function(o,i,u){var l=e4(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},cr(e,t,r||e)}function rn(e){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rn(e)}function qC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dd(e,t)}function UC(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function WC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function KC(){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 XC(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){nn(e,o,r[o])})}return e}function JC(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 QC(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):JC(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ZC(e,t){return t&&(t4(t)==="object"||typeof t=="function")?t:Tn(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(e,t)}function e4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=rn(e),e!==null););return e}function y$(e){return zC(e)||WC(e)||n4(e)||KC()}function t4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n4(e,t){if(!!e){if(typeof e=="string")return kd(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 kd(e,t)}}function r4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o4(e){var t=r4();return function(){var n=rn(e),o;if(t){var i=rn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZC(this,o)}}function i4(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var u4=1e4,q=function(t){qC(n,t);var r=o4(n);function n(o){YC(this,n);var i;i=r.call(this,o),nn(Tn(i),"controlType","layout"),nn(Tn(i),"children",void 0),nn(Tn(i),"excludes",void 0),nn(Tn(i),"childrenMaxLength",void 0),nn(Tn(i),"props",void 0);var u=UC(this,n)?this.constructor:void 0,l=u.excludes,f=u.childrenMaxLength;return i.props=new z(o==null?void 0:o.props),at(Tn(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Je(l),i.childrenMaxLength=f,i}return HC(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var l=this,f=this,a=function(){return cr(rn(n.prototype),"validate",l)};return GC(function(){return i4(this,function(s){switch(s.label){case 0:return[4,a().call(f,i,u)];case 1:return s.sent(),[4,Promise.all(f.children.map(function(_){return _.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=cr(rn(n.prototype),"toDataBindModel",this).call(this),l=u?[u]:[];return this.children.reduce(function(f,a){var s=a.toDataBindModel(i);if(Array.isArray(s)){var _=s.filter(function(p){return!!p});return y$(f).concat(y$(_))}return s&&f.push(s),f},l)}},{key:"toSchema",value:function(){var i=cr(rn(n.prototype),"toSchema",this).call(this),u=this.children.map(function(l){var f=l.toSchema();return f});return QC(XC({},i),{children:u})}}]),n}(F);nn(q,"excludes",!1),nn(q,"childrenMaxLength",u4);function Mo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ld(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function l4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function f4(e,t){return t&&(a4(t)==="object"||typeof t=="function")?t:Mo(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}function a4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _4(e){var t=s4();return function(){var n=gu(e),o;if(t){var i=gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f4(this,o)}}var Z=function(e){l4(r,e);var t=_4(r);function r(n){c4(this,r);var o;return o=t.call(this,n),Ld(Mo(o),"controlType","layout"),Ld(Mo(o),"children",void 0),Ld(Mo(o),"props",void 0),o.props=new z(n==null?void 0:n.props),at(Mo(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(Q);function Lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function d4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function p4(e,t){return t&&(v4(t)==="object"||typeof t=="function")?t:Lt(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jd(e,t)}function v4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b4(e){var t=h4();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 p4(this,o)}}var ko=function(e){d4(r,e);var t=b4(r);function r(n,o,i){y4(this,r);var u;u=t.call(this,o),lr(Lt(u),"headers",void 0),lr(Lt(u),"footers",void 0),lr(Lt(u),"pageIndex",void 0),lr(Lt(u),"pageSize",void 0),lr(Lt(u),"pageSizeOptions",void 0),lr(Lt(u),"totalCount",void 0),at(Lt(u),"headers",o==null?void 0:o.headers,n,i),at(Lt(u),"footers",o==null?void 0:o.footers,n);var l;u.pageIndex=(l=o==null?void 0:o.pageIndex)!==null&&l!==void 0?l:1;var f;u.pageSize=(f=o==null?void 0:o.pageSize)!==null&&f!==void 0?f:20;var a;u.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var s;return u.totalCount=(s=o==null?void 0:o.totalCount)!==null&&s!==void 0?s:0,u}return r}(J);function Cd(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 g4(e){if(Array.isArray(e))return Cd(e)}function Ou(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d$(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function m4(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){d$(i,n,o,u,l,"next",f)}function l(f){d$(i,n,o,u,l,"throw",f)}u(void 0)})}}function O4(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 w4(e,t,r){return t&&p$(e.prototype,t),r&&p$(e,r),e}function wu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?fr=Reflect.get:fr=function(o,i,u){var l=E4(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},fr(e,t,r||e)}function on(e){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},on(e)}function P4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function $4(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function R4(){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 v$(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){wu(e,o,r[o])})}return e}function T4(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 h$(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):T4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function S4(e,t){return t&&(I4(t)==="object"||typeof t=="function")?t:Ou(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function E4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=on(e),e!==null););return e}function b$(e){return g4(e)||$4(e)||B4(e)||R4()}function I4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B4(e,t){if(!!e){if(typeof e=="string")return Cd(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 Cd(e,t)}}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 A4(e){var t=N4();return function(){var n=on(e),o;if(t){var i=on(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S4(this,o)}}function M4(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Pu=function(e){P4(r,e);var t=A4(r);function r(n){O4(this,r);var o;return o=t.call(this,n),wu(Ou(o),"controlType","list"),wu(Ou(o),"props",void 0),o.props=new ko(Ou(o),n==null?void 0:n.props,"Designer"),o}return w4(r,[{key:"validate",value:function(o,i){var u=this,l=this,f=function(){return fr(on(r.prototype),"validate",u)};return m4(function(){return M4(this,function(a){switch(a.label){case 0:return[4,f().call(l,o)];case 1:return a.sent(),[4,Promise.all(l.props.headers.map(function(s){return s.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=fr(on(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(l,f){var a=f.toDataBindModel(u);if(Array.isArray(a)){var s=a.filter(function(_){return!!_});return b$(l).concat(b$(s))}return a&&l.push(a),l},i)}},{key:"toSchema",value:function(){var o=fr(on(r.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(u){return u.toSchema()});return h$(v$({},o),{props:h$(v$({},this.props),{headers:i})})}}]),r}(F);wu(Pu,"controlFieldType",c.FieldTypes.LIST);function ar(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 D4(e,t,r){return t&&g$(e.prototype,t),r&&g$(e,r),e}function Vd(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 L4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zd(e,t)}function F4(e,t){return t&&(j4(t)==="object"||typeof t=="function")?t:ar(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zd(e,t)}function j4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x4(e){var t=C4();return function(){var n=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F4(this,o)}}var Gd=function(e){L4(r,e);var t=x4(r);function r(n){k4(this,r);var o;return o=t.call(this,n),Vd(ar(o),"controlType","list"),Vd(ar(o),"children",void 0),Vd(ar(o),"props",void 0),o.props=new ko(ar(o),n==null?void 0:n.props,"Runtime"),at(ar(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return D4(r,[{key:"length",get:function(){return this.children.length}}]),r}(Q);function ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yd(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 Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(e)}function Hd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qd(e,t)}function V4(e,t){return t&&(z4(t)==="object"||typeof t=="function")?t:ce(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qd(e,t)}function z4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}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 Ud(e){var t=G4();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 V4(this,o)}}var st=function(e){Hd(r,e);var t=Ud(r);function r(n){Yd(this,r);var o;return o=t.call(this,n),_e(ce(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),_e(ce(o),"width",{type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(re),ee=function(e){Hd(r,e);var t=Ud(r);function r(n){Yd(this,r);var o;o=t.call(this,n),_e(ce(o),"widthType",void 0),_e(ce(o),"width",void 0),_e(ce(o),"caption",void 0),_e(ce(o),"dataBind",void 0),_e(ce(o),"autoWidth",void 0),_e(ce(o),"fixed",void 0),_e(ce(o),"sort",void 0),_e(ce(o),"align",void 0),_e(ce(o),"colSpan",void 0),_e(ce(o),"autoHeight",void 0),_e(ce(o),"children",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var l;o.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",o.autoWidth=new Qi(n==null?void 0:n.autoWidth),o.dataBind=new et(n==null?void 0:n.dataBind);var f;o.sort=(f=n==null?void 0:n.sort)!==null&&f!==void 0?f:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var a;return o.autoHeight=(a=n==null?void 0:n.autoHeight)!==null&&a!==void 0?a:!1,o}return r}(J);_e(ee,"Rules",st);var Wd=function(e){Hd(r,e);var t=Ud(r);function r(n){Yd(this,r);var o;return o=t.call(this,n),_e(ce(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),_e(ce(o),"options",[{type:"array",message:h.getMessage("isNotArray")}]),_e(ce(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),fu.call(ce(o),n),o}return r}(st);function Do(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function H4(e,t,r){return t&&m$(e.prototype,t),r&&m$(e,r),e}function Tu(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Su=Reflect.get:Su=function(o,i,u){var l=J4(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Su(e,t,r||e)}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sr(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&&Kd(e,t)}function U4(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){Tu(e,o,r[o])})}return e}function W4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function K4(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):W4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function X4(e,t){return t&&(Q4(t)==="object"||typeof t=="function")?t:Do(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kd(e,t)}function J4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=sr(e),e!==null););return e}function Q4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e5(e){var t=Z4();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 X4(this,o)}}var le=function(e){q4(r,e);var t=e5(r);function r(n){Y4(this,r);var o;return o=t.call(this,n),Tu(Do(o),"controlType","column"),Tu(Do(o),"props",void 0),Tu(Do(o),"children",void 0),o.props=new ee(n==null?void 0:n.props),at(Do(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return H4(r,[{key:"toSchema",value:function(){var o=Su(sr(r.prototype),"toSchema",this).call(this);return K4(U4({},o),{children:this.children?this.children.map(function(i){return i.toSchema()}):[]})}}]),r}(F);function Lo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eu(e)}function n5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jd(e,t)}function r5(e,t){return t&&(o5(t)==="object"||typeof t=="function")?t:Lo(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}function o5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u5(e){var t=i5();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 r5(this,o)}}var fe=function(e){n5(r,e);var t=u5(r);function r(n){t5(this,r);var o;return o=t.call(this,n),Xd(Lo(o),"controlType","column"),Xd(Lo(o),"props",void 0),Xd(Lo(o),"children",void 0),o.props=new ee(n==null?void 0:n.props),at(Lo(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(Q);function O$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(e)}function f5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qd(e,t)}function a5(e,t){return t&&(s5(t)==="object"||typeof t=="function")?t:O$(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qd(e,t)}function s5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y5(e){var t=_5();return function(){var n=Iu(e),o;if(t){var i=Iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a5(this,o)}}var Bu=function(e){f5(r,e);var t=y5(r);function r(n){c5(this,r);var o;return o=t.call(this,n),l5(O$(o),"dataBind",void 0),o.dataBind=new et(n==null?void 0:n.dataBind),o}return r}(z);function Zd(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 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 Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function p5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ep(e,t)}function v5(e,t){return t&&(h5(t)==="object"||typeof t=="function")?t:Zd(e)}function ep(e,t){return ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ep(e,t)}function h5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g5(e){var t=b5();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 v5(this,o)}}var P$=function(e){p5(r,e);var t=g5(r);function r(n){d5(this,r);var o;return o=t.call(this,n),w$(Zd(o),"controlType","search"),w$(Zd(o),"props",void 0),o.props=new Bu(n==null?void 0:n.props),o}return r}(q);function tp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $$(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 O5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&np(e,t)}function w5(e,t){return t&&(P5(t)==="object"||typeof t=="function")?t:tp(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}function P5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R5(e){var t=$5();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 w5(this,o)}}var R$=function(e){O5(r,e);var t=R5(r);function r(n){m5(this,r);var o;return o=t.call(this,n),$$(tp(o),"controlType","search"),$$(tp(o),"props",void 0),o.props=new Bu(n==null?void 0:n.props),o}return r}(Z);function T5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function E5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rp(e,t)}function I5(e,t){return t&&(B5(t)==="object"||typeof t=="function")?t:T5(e)}function rp(e,t){return rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rp(e,t)}function B5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A5(e){var t=N5();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 I5(this,o)}}var ku=function(e){E5(r,e);var t=A5(r);function r(n){return S5(this,r),t.call(this,n)}return r}(z);function op(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M5(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 Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function k5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ip(e,t)}function D5(e,t){return t&&(L5(t)==="object"||typeof t=="function")?t:op(e)}function ip(e,t){return ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ip(e,t)}function L5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j5(e){var t=F5();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 D5(this,o)}}var S$=function(e){k5(r,e);var t=j5(r);function r(n){M5(this,r);var o;return o=t.call(this,n),T$(op(o),"controlType","wrap"),T$(op(o),"props",void 0),o.props=new ku(n==null?void 0:n.props),o}return r}(q);function up(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(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&&cp(e,t)}function V5(e,t){return t&&(z5(t)==="object"||typeof t=="function")?t:up(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cp(e,t)}function z5(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=Lu(e),o;if(t){var i=Lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V5(this,o)}}var I$=function(e){x5(r,e);var t=Y5(r);function r(n){C5(this,r);var o;return o=t.call(this,n),E$(up(o),"controlType","wrap"),E$(up(o),"props",void 0),o.props=new ku(n==null?void 0:n.props),o}return r}(Z);function Ft(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}}}])}function Sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(e)}function q5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lp(e,t)}function U5(e,t){return t&&(W5(t)==="object"||typeof t=="function")?t:Sn(e)}function lp(e,t){return lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lp(e,t)}function W5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X5(e){var t=K5();return function(){var n=Fu(e),o;if(t){var i=Fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U5(this,o)}}var fp=function(e){q5(r,e);var t=X5(r);function r(n){H5(this,r);var o;o=t.call(this,n),_r(Sn(o),"content",void 0),_r(Sn(o),"fontSize",void 0),_r(Sn(o),"color",void 0),_r(Sn(o),"icon",void 0),_r(Sn(o),"align",void 0),_r(Sn(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var l;o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:"page-hint";var f;o.showState=(f=n==null?void 0:n.showState)!==null&&f!==void 0?f:"text";var a;o.content=(a=n==null?void 0:n.content)!==null&&a!==void 0?a:"\u8BF4\u660E\u6587\u5B57";var s;return o.align=(s=n==null?void 0:n.align)!==null&&s!==void 0?s:"",o}return r}(J);function B$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q5(e,t,r){return t&&N$(e.prototype,t),r&&N$(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 ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ju(e)}function Z5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ap(e,t)}function e6(e,t){return t&&(t6(t)==="object"||typeof t=="function")?t:B$(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}function t6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r6(e){var t=n6();return function(){var n=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e6(this,o)}}var M$=function(e){Z5(r,e);var t=r6(r);function r(n){J5(this,r);var o;return o=t.call(this,n),A$(B$(o),"props",void 0),o.props=new fp(n==null?void 0:n.props),o}return Q5(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(F);A$(M$,"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 k$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i6(e,t,r){return t&&D$(e.prototype,t),r&&D$(e,r),e}function u6(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 c6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 l6(e,t){return t&&(f6(t)==="object"||typeof t=="function")?t:k$(e)}function sp(e,t){return sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sp(e,t)}function f6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s6(e){var t=a6();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 l6(this,o)}}var _6=function(e){c6(r,e);var t=s6(r);function r(n){o6(this,r);var o;return o=t.call(this,n),u6(k$(o),"props",void 0),o.props=new fp(n==null?void 0:n.props),o}return i6(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(Q),L$={Designer:M$,Runtime:_6,Property:fp};function xu(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 _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 Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vu(e)}function d6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yp(e,t)}function p6(e,t){return t&&(v6(t)==="object"||typeof t=="function")?t:xu(e)}function yp(e,t){return yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yp(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=Vu(e),o;if(t){var i=Vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p6(this,o)}}var dp=function(e){d6(r,e);var t=b6(r);function r(n){y6(this,r);var o;o=t.call(this,n),_p(xu(o),"content",void 0),_p(xu(o),"url",void 0),_p(xu(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var l;return o.openMode=(l=n==null?void 0:n.openMode)!==null&&l!==void 0?l:"new",o}return r}(J);function F$(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 j$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m6(e,t,r){return t&&j$(e.prototype,t),r&&j$(e,r),e}function pp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(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&&vp(e,t)}function w6(e,t){return t&&(P6(t)==="object"||typeof t=="function")?t:F$(e)}function vp(e,t){return vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vp(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=zu(e),o;if(t){var i=zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w6(this,o)}}var hp=function(e){O6(r,e);var t=R6(r);function r(n){g6(this,r);var o;return o=t.call(this,n),pp(F$(o),"props",void 0),o.props=new dp(n==null?void 0:n.props),o}return m6(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(F);pp(hp,"controlEventKeys",["on_click"]),pp(hp,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function C$(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 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 S6(e,t,r){return t&&x$(e.prototype,t),r&&x$(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 Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(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&&bp(e,t)}function B6(e,t){return t&&(N6(t)==="object"||typeof t=="function")?t:C$(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}function N6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M6(e){var t=A6();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 B6(this,o)}}var k6=function(e){I6(r,e);var t=M6(r);function r(n){T6(this,r);var o;return o=t.call(this,n),E6(C$(o),"props",void 0),o.props=new dp(n==null?void 0:n.props),o}return S6(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(Q),V$={Designer:hp,Runtime:k6,Property:dp};function $t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(e)}function L6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gp(e,t)}function F6(e,t){return t&&(j6(t)==="object"||typeof t=="function")?t:$t(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gp(e,t)}function j6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x6(e){var t=C6();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 F6(this,o)}}var Ee=function(e){L6(r,e);var t=x6(r);function r(n){D6(this,r);var o;o=t.call(this,n),jt($t(o),"content",void 0),jt($t(o),"buttonType",void 0),jt($t(o),"showType",void 0),jt($t(o),"color",void 0),jt($t(o),"icon",void 0),jt($t(o),"defaultState",void 0),jt($t(o),"command",void 0),jt($t(o),"isLoading",void 0),jt($t(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var s;o.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var p;o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1;var b;return o.optObj=new xP((b=n==null?void 0:n.optObj)!==null&&b!==void 0?b:{}),o}return r}(J);function z$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V6(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 z6(e,t,r){return t&&G$(e.prototype,t),r&&G$(e,r),e}function Hu(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 G6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function Y6(e,t){return t&&(H6(t)==="object"||typeof t=="function")?t:z$(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}function H6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U6(e){var t=q6();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 Y6(this,o)}}var Pe=function(e){G6(r,e);var t=U6(r);function r(n){V6(this,r);var o;return o=t.call(this,n),Hu(z$(o),"props",void 0),o.props=new Ee(n==null?void 0:n.props),o}return z6(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(F);Hu(Pe,"slots",["grid-table-toolbar-slot","action-bar-slot",qy.DEFAULT]),Hu(Pe,"controlEventKeys",["on_click"]),Hu(Pe,"setting",[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function Y$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K6(e,t,r){return t&&H$(e.prototype,t),r&&H$(e,r),e}function X6(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 J6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Q6(e,t){return t&&(Z6(t)==="object"||typeof t=="function")?t:Y$(e)}function Op(e,t){return Op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Op(e,t)}function Z6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ex(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tx(e){var t=ex();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 Q6(this,o)}}var xe=function(e){J6(r,e);var t=tx(r);function r(n){W6(this,r);var o;return o=t.call(this,n),X6(Y$(o),"props",void 0),o.props=new Ee(n==null?void 0:n.props),o}return K6(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(Q),q$={Designer:Pe,Runtime:xe,Property:Ee};function tt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}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 Wu=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Xe(8),value:["",""]};tt(this,e),S(this,"dateConfigType",void 0),S(this,"dateLimitType",void 0),S(this,"id",void 0),S(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 Ku=function e(t){tt(this,e),S(this,"id",void 0),S(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Xe();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};c.LINE_STYLE=void 0,function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"}(c.LINE_STYLE||(c.LINE_STYLE={}));var wp=function e(t){tt(this,e),S(this,"type",void 0),S(this,"person",void 0),S(this,"signatureType",void 0),S(this,"telephone",void 0),S(this,"company",void 0),S(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new ir((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new ir((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var l,f;this.company=(f=t==null?void 0:t.company)!==null&&f!==void 0?f:new ir((l=t==null?void 0:t.company)!==null&&l!==void 0?l:{type:"form"});var a;this.remark=(a=t==null?void 0:t.remark)!==null&&a!==void 0?a:""},U$=function e(t){tt(this,e);var r;S(this,"fileControl",void 0),S(this,"undersignedList",void 0),S(this,"statusControl",void 0),S(this,"completeControl",void 0),S(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(f){return new wp(f)}))!==null&&o!==void 0?o:[new wp];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var l;this.completeTimeControl=(l=t==null?void 0:t.completeTimeControl)!==null&&l!==void 0?l:""},Fo=function e(t){tt(this,e),S(this,"id",void 0),S(this,"appId",void 0),S(this,"dataCode",void 0),S(this,"svcCode",void 0),S(this,"name",void 0),S(this,"fieldList",void 0),S(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Xe(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var l;this.fieldList=(l=t==null?void 0:t.fieldList)!==null&&l!==void 0?l:[];var f;this.active=(f=t==null?void 0:t.active)!==null&&f!==void 0?f:!1},Pp=function e(t){tt(this,e),S(this,"active",void 0),S(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:""},W$=function e(t){tt(this,e),S(this,"types",void 0),S(this,"history",void 0),S(this,"collaborativeRecord",void 0),S(this,"logicToDelete",void 0),S(this,"watermark",void 0),S(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 Pp(t==null?void 0:t.watermark),this.autoRename=new Pp(t==null?void 0:t.autoRename)},K$=function e(t){tt(this,e),S(this,"dataCode",void 0),this.dataCode=t.dataCode},X$=function e(t){tt(this,e);var r;S(this,"templateType",void 0),S(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new K$(i)}))!==null&&o!==void 0?o:[]},J$=function e(t){tt(this,e);var r;S(this,"templateType",void 0),S(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new Fo(i)}))!==null&&o!==void 0?o:[new Fo({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},Q$=480;function jo(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var Z$=function e(t){tt(this,e),S(this,"fileId",void 0),S(this,"fileName",void 0),S(this,"ruleName",void 0),S(this,"isDefault",void 0),S(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:[]},eR=function e(t){tt(this,e),S(this,"direction",void 0),S(this,"justifyContent",void 0),S(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 $p(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function rx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rp(e,t)}function ox(e,t){return t&&(ix(t)==="object"||typeof t=="function")?t:$p(e)}function Rp(e,t){return Rp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rp(e,t)}function ix(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ux(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cx(e){var t=ux();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 ox(this,o)}}var Tp=function(e){rx(r,e);var t=cx(r);function r(n){nx(this,r);var o;o=t.call(this,n),tR($p(o),"color",void 0),tR($p(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}(J);function nR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fx(e,t,r){return t&&rR(e.prototype,t),r&&rR(e,r),e}function oR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ju(e)}function ax(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sp(e,t)}function sx(e,t){return t&&(_x(t)==="object"||typeof t=="function")?t:nR(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}function _x(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dx(e){var t=yx();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 sx(this,o)}}var iR=function(e){ax(r,e);var t=dx(r);function r(n){lx(this,r);var o;return o=t.call(this,n),oR(nR(o),"props",void 0),o.props=new Tp(n==null?void 0:n.props),o}return fx(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(F);oR(iR,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}]);function uR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function px(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vx(e,t,r){return t&&cR(e.prototype,t),r&&cR(e,r),e}function hx(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 bx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ep(e,t)}function gx(e,t){return t&&(mx(t)==="object"||typeof t=="function")?t:uR(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}function mx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ox(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wx(e){var t=Ox();return function(){var n=Qu(e),o;if(t){var i=Qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gx(this,o)}}var Px=function(e){bx(r,e);var t=wx(r);function r(n){px(this,r);var o;return o=t.call(this,n),hx(uR(o),"props",void 0),o.props=new Tp(n==null?void 0:n.props),o}return vx(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(Q),lR={Designer:iR,Runtime:Px,Property:Tp};function un(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 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 Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zu(e)}function aR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ip(e,t)}function $x(e,t){return t&&(Rx(t)==="object"||typeof t=="function")?t:un(e)}function Ip(e,t){return Ip=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ip(e,t)}function Rx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sR(e){var t=Tx();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 $x(this,o)}}var Sx=function(e){aR(r,e);var t=sR(r);function r(n){fR(this,r);var o;return o=t.call(this,n),cn(un(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),cn(un(o),"dataBind",{type:"any"}),cn(un(o),"config",{type:"array"}),n.config.includes(c.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")}},message:h.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:h.getMessage("pleaseSelectOneField")}),o}return r}(re),ec=function(e){aR(r,e);var t=sR(r);function r(n){fR(this,r);var o;o=t.call(this,n),cn(un(o),"dataBind",void 0),cn(un(o),"caption",void 0),cn(un(o),"config",void 0),cn(un(o),"position",void 0),o.dataBind=new et(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[c.TitleConfigEnum.ShowSubmitUser,c.TitleConfigEnum.ShowSubmitDept,c.TitleConfigEnum.ShowSubmitTime,c.TitleConfigEnum.ShowCurrentApprovar,c.TitleConfigEnum.ShowTitle];var u,l;o.caption=(l=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:yr==null?void 0:yr.controlName)!==null&&l!==void 0?l:"";var f;return o.position=(f=n==null?void 0:n.position)!==null&&f!==void 0?f:"top",o}return r}(J);cn(ec,"Rules",Sx);function _R(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ex(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ix(e,t,r){return t&&yR(e.prototype,t),r&&yR(e,r),e}function Bp(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 Bx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Np(e,t)}function Nx(e,t){return t&&(Ax(t)==="object"||typeof t=="function")?t:_R(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}function Ax(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kx(e){var t=Mx();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 Nx(this,o)}}var yr=function(e){Bx(r,e);var t=kx(r);function r(n){Ex(this,r);var o;return o=t.call(this,n),Bp(_R(o),"props",void 0),o.props=new ec(n==null?void 0:n.props),o}return Ix(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(F);Bp(yr,"controlFieldType",c.FieldTypes.AUTO_NUMBER),Bp(yr,"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 dR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lx(e,t,r){return t&&pR(e.prototype,t),r&&pR(e,r),e}function Fx(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 jx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ap(e,t)}function Cx(e,t){return t&&(xx(t)==="object"||typeof t=="function")?t:dR(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}function xx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zx(e){var t=Vx();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 Cx(this,o)}}var Gx=function(e){jx(r,e);var t=zx(r);function r(n){Dx(this,r);var o;return o=t.call(this,n),Fx(dR(o),"props",void 0),o.props=new ec(n==null?void 0:n.props),o}return Lx(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(Q),vR={Designer:yr,Runtime:Gx,Property:ec};function rc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oc(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 bR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mp(e,t)}function Yx(e,t){return t&&(Hx(t)==="object"||typeof t=="function")?t:rc(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mp(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 gR(e){var t=qx();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 Yx(this,o)}}var Ux=function(e){bR(r,e);var t=gR(r);function r(n){hR(this,r);var o;return o=t.call(this,n),oc(rc(o),"formKey",{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}),o}return r}(re),uc=function(e){bR(r,e);var t=gR(r);function r(n){hR(this,r);var o;o=t.call(this,n),oc(rc(o),"formKey",void 0),oc(rc(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:dr.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:dr.controlName;var l;o.formKey=(l=n==null?void 0:n.formKey)!==null&&l!==void 0?l:"";var f;return o.openType=(f=n==null?void 0:n.openType)!==null&&f!==void 0?f:"modal",o}return r}(Ee);oc(uc,"Rules",Ux);function mR(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 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 Kx(e,t,r){return t&&OR(e.prototype,t),r&&OR(e,r),e}function cc(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 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&&kp(e,t)}function Jx(e,t){return t&&(Qx(t)==="object"||typeof t=="function")?t:mR(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kp(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 eV(e){var t=Zx();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 Jx(this,o)}}var dr=function(e){Xx(r,e);var t=eV(r);function r(n){Wx(this,r);var o;return o=t.call(this,n),cc(mR(o),"props",void 0),o.props=new uc(n==null?void 0:n.props),o}return Kx(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}(Pe);cc(dr,"slots",["grid-table-toolbar-slot"]),cc(dr,"controlEventKeys",["on_click","on_click_finish"]),cc(dr,"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 wR(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 PR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nV(e,t,r){return t&&PR(e.prototype,t),r&&PR(e,r),e}function rV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function oV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dp(e,t)}function iV(e,t){return t&&(uV(t)==="object"||typeof t=="function")?t:wR(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}function uV(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 lV(e){var t=cV();return function(){var n=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iV(this,o)}}var fV=function(e){oV(r,e);var t=lV(r);function r(n){tV(this,r);var o;return o=t.call(this,n),rV(wR(o),"props",void 0),o.props=new uc(n==null?void 0:n.props),o}return nV(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(xe),$R={Designer:dr,Runtime:fV,Property:uc};function pr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ac(e)}function TR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lp(e,t)}function aV(e,t){return t&&(sV(t)==="object"||typeof t=="function")?t:pr(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}function sV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _V(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SR(e){var t=_V();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 aV(this,o)}}var yV=function(e){TR(r,e);var t=SR(r);function r(n){RR(this,r);var o;return o=t.call(this,n),vr(pr(o),"processKey",[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterProcess")}]),o}return r}(re),sc=function(e){TR(r,e);var t=SR(r);function r(n){RR(this,r);var o;o=t.call(this,n),vr(pr(o),"processKey",void 0),vr(pr(o),"initiatorMode",void 0),vr(pr(o),"fieldCode",void 0),vr(pr(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:hr.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:hr.controlName;var l;o.initiatorMode=(l=n==null?void 0:n.initiatorMode)!==null&&l!==void 0?l:"currentInitiator";var f;o.processKey=(f=n==null?void 0:n.processKey)!==null&&f!==void 0?f:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var s;return o.employeeId=(s=n==null?void 0:n.employeeId)!==null&&s!==void 0?s:"",o}return r}(Ee);vr(sc,"Rules",yV);function ER(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pV(e,t,r){return t&&IR(e.prototype,t),r&&IR(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 yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(e)}function vV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fp(e,t)}function hV(e,t){return t&&(bV(t)==="object"||typeof t=="function")?t:ER(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function bV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mV(e){var t=gV();return function(){var n=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hV(this,o)}}var hr=function(e){vV(r,e);var t=mV(r);function r(n){dV(this,r);var o;return o=t.call(this,n),_c(ER(o),"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return pV(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}(Pe);_c(hr,"slots",["grid-table-toolbar-slot"]),_c(hr,"controlEventKeys",["on_click","on_click_finish"]),_c(hr,"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 BR(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 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 wV(e,t,r){return t&&NR(e.prototype,t),r&&NR(e,r),e}function PV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(e)}function $V(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jp(e,t)}function RV(e,t){return t&&(TV(t)==="object"||typeof t=="function")?t:BR(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}function TV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EV(e){var t=SV();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 RV(this,o)}}var IV=function(e){$V(r,e);var t=EV(r);function r(n){OV(this,r);var o;return o=t.call(this,n),PV(BR(o),"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return wV(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(xe),AR={Designer:hr,Runtime:IV,Property:sc};function BV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(e)}function AV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cp(e,t)}function MV(e,t){return t&&(kV(t)==="object"||typeof t=="function")?t:BV(e)}function Cp(e,t){return Cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cp(e,t)}function kV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LV(e){var t=DV();return function(){var n=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MV(this,o)}}var xp=function(e){AV(r,e);var t=LV(r);function r(n){NV(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:br.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:br.controlIcon,o}return r}(Ee);function MR(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 kR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jV(e,t,r){return t&&kR(e.prototype,t),r&&kR(e,r),e}function vc(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 CV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vp(e,t)}function xV(e,t){return t&&(VV(t)==="object"||typeof t=="function")?t:MR(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}function VV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GV(e){var t=zV();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 xV(this,o)}}var br=function(e){CV(r,e);var t=GV(r);function r(n){FV(this,r);var o;return o=t.call(this,n),vc(MR(o),"props",void 0),o.props=new xp(n==null?void 0:n.props),o}return jV(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}(Pe);vc(br,"slots",["grid-table-toolbar-slot"]),vc(br,"controlEventKeys",["on_click"]),vc(br,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function DR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 HV(e,t,r){return t&&LR(e.prototype,t),r&&LR(e,r),e}function qV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(e)}function UV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zp(e,t)}function WV(e,t){return t&&(KV(t)==="object"||typeof t=="function")?t:DR(e)}function zp(e,t){return zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zp(e,t)}function KV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JV(e){var t=XV();return function(){var n=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WV(this,o)}}var QV=function(e){UV(r,e);var t=JV(r);function r(n){YV(this,r);var o;return o=t.call(this,n),qV(DR(o),"props",void 0),o.props=new xp(n==null?void 0:n.props),o}return HV(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(xe),FR={Designer:br,Runtime:QV,Property:xp};function Gp(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 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 gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function ez(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yp(e,t)}function tz(e,t){return t&&(nz(t)==="object"||typeof t=="function")?t:Gp(e)}function Yp(e,t){return Yp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yp(e,t)}function nz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oz(e){var t=rz();return function(){var n=gc(e),o;if(t){var i=gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tz(this,o)}}var Hp=function(e){ez(r,e);var t=oz(r);function r(n){ZV(this,r);var o,i;o=t.call(this,n),jR(Gp(o),"templateList",void 0),jR(Gp(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:gr.controlIcon;var l;o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:gr.controlName;var f;o.templateType=(f=n==null?void 0:n.templateType)!==null&&f!==void 0?f:"system";var a;return o.templateList=(a=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(s){return new Fo(s)}))!==null&&a!==void 0?a:[new Fo({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Ee);function CR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uz(e,t,r){return t&&xR(e.prototype,t),r&&xR(e,r),e}function mc(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 cz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function lz(e,t){return t&&(fz(t)==="object"||typeof t=="function")?t:CR(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}function fz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function az(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sz(e){var t=az();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 lz(this,o)}}var gr=function(e){cz(r,e);var t=sz(r);function r(n){iz(this,r);var o;return o=t.call(this,n),mc(CR(o),"props",void 0),o.props=new Hp(n==null?void 0:n.props),o}return uz(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}(Pe);mc(gr,"slots",["grid-table-toolbar-slot"]),mc(gr,"controlEventKeys",["on_click","on_click_finish"]),mc(gr,"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 VR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yz(e,t,r){return t&&zR(e.prototype,t),r&&zR(e,r),e}function dz(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 pz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function vz(e,t){return t&&(hz(t)==="object"||typeof t=="function")?t:VR(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(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=wc(e),o;if(t){var i=wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vz(this,o)}}var mz=function(e){pz(r,e);var t=gz(r);function r(n){_z(this,r);var o;return o=t.call(this,n),dz(VR(o),"props",void 0),o.props=new Hp(n==null?void 0:n.props),o}return yz(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(xe),GR={Designer:gr,Runtime:mz,Property:Hp};function Oz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(e)}function Pz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wp(e,t)}function $z(e,t){return t&&(Rz(t)==="object"||typeof t=="function")?t:Oz(e)}function Wp(e,t){return Wp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wp(e,t)}function Rz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sz(e){var t=Tz();return function(){var n=Pc(e),o;if(t){var i=Pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $z(this,o)}}var Kp=function(e){Pz(r,e);var t=Sz(r);function r(n){wz(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:mr.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:mr.controlIcon,o}return r}(Ee);function YR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ez(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Iz(e,t,r){return t&&HR(e.prototype,t),r&&HR(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 Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function Bz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xp(e,t)}function Nz(e,t){return t&&(Az(t)==="object"||typeof t=="function")?t:YR(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}function Az(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 kz(e){var t=Mz();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 mr=function(e){Bz(r,e);var t=kz(r);function r(n){Ez(this,r);var o;return o=t.call(this,n),$c(YR(o),"props",void 0),o.props=new Kp(n==null?void 0:n.props),o}return Iz(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}(Pe);$c(mr,"slots",["grid-table-toolbar-slot"]),$c(mr,"controlEventKeys",["on_click"]),$c(mr,"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 qR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lz(e,t,r){return t&&UR(e.prototype,t),r&&UR(e,r),e}function Fz(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function jz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jp(e,t)}function Cz(e,t){return t&&(xz(t)==="object"||typeof t=="function")?t:qR(e)}function Jp(e,t){return Jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jp(e,t)}function xz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zz(e){var t=Vz();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 Cz(this,o)}}var Gz=function(e){jz(r,e);var t=zz(r);function r(n){Dz(this,r);var o;return o=t.call(this,n),Fz(qR(o),"props",void 0),o.props=new Kp(n==null?void 0:n.props),o}return Lz(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(xe),WR={Designer:mr,Runtime:Gz,Property:Kp};function Qp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sc(e)}function Yz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function Hz(e,t){return t&&(qz(t)==="object"||typeof t=="function")?t:Qp(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ev(e,t)}function qz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wz(e){var t=Uz();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 Hz(this,o)}}var Kz=function e(t){KR(this,e),Zp(this,"dataCode",void 0),this.dataCode=t.dataCode},tv=function(e){Yz(r,e);var t=Wz(r);function r(n){KR(this,r);var o,i;o=t.call(this,n),Zp(Qp(o),"canImportList",void 0),Zp(Qp(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:Or.controlName;var l;o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:Or.controlIcon;var f;o.canImportList=(f=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(s){return new Kz(s)}))!==null&&f!==void 0?f:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return r}(Ee);function XR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jz(e,t,r){return t&&JR(e.prototype,t),r&&JR(e,r),e}function Ec(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ic(e)}function Qz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function Zz(e,t){return t&&(e7(t)==="object"||typeof t=="function")?t:XR(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}function e7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n7(e){var t=t7();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 Zz(this,o)}}var Or=function(e){Qz(r,e);var t=n7(r);function r(n){Xz(this,r);var o;return o=t.call(this,n),Ec(XR(o),"props",void 0),o.props=new tv(n==null?void 0:n.props),o}return Jz(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}(Pe);Ec(Or,"slots",["grid-table-toolbar-slot"]),Ec(Or,"controlEventKeys",["on_click","on_click_finish"]),Ec(Or,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function QR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o7(e,t,r){return t&&ZR(e.prototype,t),r&&ZR(e,r),e}function i7(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 u7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 c7(e,t){return t&&(l7(t)==="object"||typeof t=="function")?t:QR(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function l7(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 a7(e){var t=f7();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 c7(this,o)}}var s7=function(e){u7(r,e);var t=a7(r);function r(n){r7(this,r);var o;return o=t.call(this,n),i7(QR(o),"props",void 0),o.props=new tv(n==null?void 0:n.props),o}return o7(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(xe),eT={Designer:Or,Runtime:s7,Property:tv};function Nc(){return{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}}}}}}function ln(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function nT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ct(e,o,r[o])})}return e}function _7(e,t){return t&&(y7(t)==="object"||typeof t=="function")?t:ln(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ov(e,t)}function y7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oT(e){var t=d7();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 _7(this,o)}}var p7=function(e){nT(r,e);var t=oT(r);function r(n){tT(this,r);var o;return o=t.call(this,n),Ct(ln(o),"fillPayload",{type:"object",fields:rT({},Nc())}),Ct(ln(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}}}),Ct(ln(o),"fillBack",{type:"object",fields:rT({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Nc())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}),o}return r}(re),Mc=function(e){nT(r,e);var t=oT(r);function r(n){tT(this,r);var o;o=t.call(this,n),Ct(ln(o),"fillPayload",void 0),Ct(ln(o),"formBind",void 0),Ct(ln(o),"fillBack",void 0),Ct(ln(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Co.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Co.controlIcon;var l;return o.command=(l=n==null?void 0:n.command)!==null&&l!==void 0?l:"create",o.fillPayload=new dd(n==null?void 0:n.fillPayload),o.formBind=new mP(n==null?void 0:n.formBind),o.fillBack=new pd(n==null?void 0:n.fillBack),o}return r}(Ee);Ct(Mc,"Rules",p7);function iT(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 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 h7(e,t,r){return t&&uT(e.prototype,t),r&&uT(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 kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(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&&uv(e,t)}function g7(e,t){return t&&(m7(t)==="object"||typeof t=="function")?t:iT(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(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=kc(e),o;if(t){var i=kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g7(this,o)}}var Co=function(e){b7(r,e);var t=w7(r);function r(n){v7(this,r);var o;return o=t.call(this,n),iv(iT(o),"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return h7(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}(Pe);iv(Co,"controlEventKeys",["on_click","on_click_finish"]),iv(Co,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function cT(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 lT(e,t){for(var r=0;r<t.length;r++){var 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&&lT(e.prototype,t),r&&lT(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 Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function T7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}function S7(e,t){return t&&(E7(t)==="object"||typeof t=="function")?t:cT(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(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=Dc(e),o;if(t){var i=Dc(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(cT(o),"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return $7(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(xe),fT={Designer:Co,Runtime:N7,Property:Mc};function _t(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 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 Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lc(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&&lv(e,t)}function _T(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){nt(e,o,r[o])})}return e}function A7(e,t){return t&&(M7(t)==="object"||typeof t=="function")?t:_t(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lv(e,t)}function M7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yT(e){var t=k7();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 A7(this,o)}}var D7=function(e){sT(r,e);var t=yT(r);function r(n){aT(this,r);var o;return o=t.call(this,n),nt(_t(o),"fillPayload",{type:"object",fields:_T({},Nc())}),nt(_t(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}),nt(_t(o),"fillBack",{type:"object",fields:_T({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Nc())}),o}return r}(re),Fc=function(e){sT(r,e);var t=yT(r);function r(n){aT(this,r);var o;o=t.call(this,n),nt(_t(o),"fillPayload",void 0),nt(_t(o),"listPageBind",void 0),nt(_t(o),"disableFilling",void 0),nt(_t(o),"fillBack",void 0),nt(_t(o),"showSelectedDetail",void 0),nt(_t(o),"isSelectedRowFill",void 0),nt(_t(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:xo.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:xo.controlIcon,o.fillPayload=new dd(n==null?void 0:n.fillPayload),o.listPageBind=new eu(n==null?void 0:n.listPageBind),o.fillBack=new pd(n==null?void 0:n.fillBack);var l;o.showSelectedDetail=(l=n==null?void 0:n.showSelectedDetail)!==null&&l!==void 0?l:!1,o.selectedContentConfig=new ru(n==null?void 0:n.selectedContentConfig);var f;o.isSelectedRowFill=(f=n==null?void 0:n.isSelectedRowFill)!==null&&f!==void 0?f:!1;var a;return o.disableFilling=(a=n==null?void 0:n.disableFilling)!==null&&a!==void 0?a:!0,o}return r}(Ee);nt(Fc,"Rules",D7);function dT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 F7(e,t,r){return t&&pT(e.prototype,t),r&&pT(e,r),e}function fv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(e)}function j7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function C7(e,t){return t&&(x7(t)==="object"||typeof t=="function")?t:dT(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}function x7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z7(e){var t=V7();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 C7(this,o)}}var xo=function(e){j7(r,e);var t=z7(r);function r(n){L7(this,r);var o;return o=t.call(this,n),fv(dT(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return F7(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}(Pe);fv(xo,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),fv(xo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function vT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Y7(e,t,r){return t&&hT(e.prototype,t),r&&hT(e,r),e}function H7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function q7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sv(e,t)}function U7(e,t){return t&&(W7(t)==="object"||typeof t=="function")?t:vT(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sv(e,t)}function W7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X7(e){var t=K7();return function(){var n=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U7(this,o)}}var J7=function(e){q7(r,e);var t=X7(r);function r(n){G7(this,r);var o;return o=t.call(this,n),H7(vT(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return Y7(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(xe),bT={Designer:xo,Runtime:J7,Property:Fc};function Q7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function yv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function Z7(e,t){return t&&(e8(t)==="object"||typeof t=="function")?t:Q7(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dv(e,t)}function e8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pv(e){var t=t8();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 Z7(this,o)}}var n8=function(e){yv(r,e);var t=pv(r);function r(n){return _v(this,r),t.call(this,n)}return r}(re),r8=function(e){yv(r,e);var t=pv(r);function r(n){return _v(this,r),t.call(this,n)}return r}(en),Vo=function(e){yv(r,e);var t=pv(r);function r(n){return _v(this,r),t.call(this,n)}return r}(J);gT(Vo,"Rules",n8),gT(Vo,"RuntimeRules",r8);function mT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i8(e,t,r){return t&&OT(e.prototype,t),r&&OT(e,r),e}function 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 Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function u8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function c8(e,t){return t&&(l8(t)==="object"||typeof t=="function")?t:mT(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function l8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a8(e){var t=f8();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 c8(this,o)}}var PT=function(e){u8(r,e);var t=a8(r);function r(n){o8(this,r);var o;return o=t.call(this,n),wT(mT(o),"props",void 0),o.props=new Vo(n==null?void 0:n.props),o}return i8(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(F);wT(PT,"setting",[]);function $T(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _8(e,t,r){return t&&RT(e.prototype,t),r&&RT(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 zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(e)}function d8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hv(e,t)}function p8(e,t){return t&&(v8(t)==="object"||typeof t=="function")?t:$T(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}function v8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b8(e){var t=h8();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 p8(this,o)}}var g8=function(e){d8(r,e);var t=b8(r);function r(n){s8(this,r);var o;return o=t.call(this,n),y8($T(o),"props",void 0),o.props=new Vo(n==null?void 0:n.props),o}return _8(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(Q),TT={Designer:PT,Runtime:g8,Property:Vo};function rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ST(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 Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function ET(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function m8(e,t){return t&&(O8(t)==="object"||typeof t=="function")?t:rt(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(e,t)}function O8(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 IT(e){var t=w8();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 m8(this,o)}}var P8=function(e){ET(r,e);var t=IT(r);function r(n){ST(this,r);var o;return o=t.call(this,n),ot(rt(o),"dashboardKey",{type:"string",required:!0,message:h.getMessage("pleaseSelectDashboard")}),ot(rt(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),ot(rt(o),"isHideCaption",{type:"boolean"}),ot(rt(o),"labelPosition",{type:"enum",enum:["top","left"]}),ot(rt(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(re),Yc=function(e){ET(r,e);var t=IT(r);function r(n){ST(this,r);var o;o=t.call(this,n),ot(rt(o),"dashboardKey",void 0),ot(rt(o),"caption",void 0),ot(rt(o),"isHideCaption",void 0),ot(rt(o),"isShowCaptionTip",void 0),ot(rt(o),"captionTip",void 0),ot(rt(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var l;o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;return o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top",o}return r}(J);ot(Yc,"Rules",P8);function BT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R8(e,t,r){return t&&NT(e.prototype,t),r&&NT(e,r),e}function AT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function T8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function S8(e,t){return t&&(E8(t)==="object"||typeof t=="function")?t:BT(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}function E8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B8(e){var t=I8();return function(){var n=Hc(e),o;if(t){var i=Hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S8(this,o)}}var MT=function(e){T8(r,e);var t=B8(r);function r(n){$8(this,r);var o;return o=t.call(this,n),AT(BT(o),"props",void 0),o.props=new Yc(n==null?void 0:n.props),o}return R8(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(F);AT(MT,"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 kT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A8(e,t,r){return t&&DT(e.prototype,t),r&&DT(e,r),e}function M8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(e)}function k8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mv(e,t)}function D8(e,t){return t&&(L8(t)==="object"||typeof t=="function")?t:kT(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}function L8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j8(e){var t=F8();return function(){var n=qc(e),o;if(t){var i=qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D8(this,o)}}var C8=function(e){k8(r,e);var t=j8(r);function r(n){N8(this,r);var o;return o=t.call(this,n),M8(kT(o),"props",void 0),o.props=new Yc(n==null?void 0:n.props),o}return A8(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(Q),LT={Designer:MT,Runtime:C8,Property:Yc};function zo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(e)}function jT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 x8(e,t){return t&&(V8(t)==="object"||typeof t=="function")?t:zo(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}function V8(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 CT(e){var t=z8();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 x8(this,o)}}var G8=function(e){jT(r,e);var t=CT(r);function r(n){FT(this,r);var o;return o=t.call(this,n),Go(zo(o),"showType",{type:"enum",enum:["select","tabs"]}),Go(zo(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:h.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(re),Wc=function(e){jT(r,e);var t=CT(r);function r(n){FT(this,r);var o,i;o=t.call(this,n),Go(zo(o),"showType",void 0),Go(zo(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var l;return o.viewList=(l=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(f){return new jP(f)}))!==null&&l!==void 0?l:[],o}return r}(J);Go(Wc,"Rules",G8);function xT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 H8(e,t,r){return t&&VT(e.prototype,t),r&&VT(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 Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function q8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function U8(e,t){return t&&(W8(t)==="object"||typeof t=="function")?t:xT(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}function W8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X8(e){var t=K8();return function(){var n=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U8(this,o)}}var GT=function(e){q8(r,e);var t=X8(r);function r(n){Y8(this,r);var o;return o=t.call(this,n),zT(xT(o),"props",void 0),o.props=new Wc(n==null?void 0:n.props),o}return H8(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(F);zT(GT,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function YT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q8(e,t,r){return t&&HT(e.prototype,t),r&&HT(e,r),e}function Z8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function e9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pv(e,t)}function t9(e,t){return t&&(n9(t)==="object"||typeof t=="function")?t:YT(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function n9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o9(e){var t=r9();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 i9=function(e){e9(r,e);var t=o9(r);function r(n){J8(this,r);var o;return o=t.call(this,n),Z8(YT(o),"props",void 0),o.props=new Wc(n==null?void 0:n.props),o}return Q8(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(Q),qT={Designer:GT,Runtime:i9,Property:Wc};function Me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(e)}function WT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 u9(e,t){return t&&(c9(t)==="object"||typeof t=="function")?t:Me(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$v(e,t)}function c9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KT(e){var t=l9();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 u9(this,o)}}var f9=function(e){WT(r,e);var t=KT(r);function r(n){UT(this,r);var o;return o=t.call(this,n),ke(Me(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),ke(Me(o),"isHideCaption",{type:"boolean"}),ke(Me(o),"labelPosition",{type:"enum",enum:["top","left"]}),ke(Me(o),"ocrType",{type:"string",required:!0,message:h.getMessage("pleaseSelectOcrType")}),ke(Me(o),"fillList",{type:"array",validator:function(u,l,f){var a=l.every(function(s){return!s.controlId});if(a){f(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}f()}}),ke(Me(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(re),Qc=function(e){WT(r,e);var t=KT(r);function r(n){UT(this,r);var o,i;o=t.call(this,n),ke(Me(o),"caption",void 0),ke(Me(o),"isHideCaption",void 0),ke(Me(o),"isShowCaptionTip",void 0),ke(Me(o),"captionTip",void 0),ke(Me(o),"labelPosition",void 0),ke(Me(o),"ocrType",void 0),ke(Me(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:wr.controlName;var l;o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:wr.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:wr.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(v){return new Se(v)}))!==null&&g!==void 0?g:[],o}return r}(Ee);ke(Qc,"Rules",f9);function XT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s9(e,t,r){return t&&JT(e.prototype,t),r&&JT(e,r),e}function Rv(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 _9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 y9(e,t){return t&&(d9(t)==="object"||typeof t=="function")?t:XT(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}function d9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v9(e){var t=p9();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 y9(this,o)}}var wr=function(e){_9(r,e);var t=v9(r);function r(n){a9(this,r);var o;return o=t.call(this,n),Rv(XT(o),"props",void 0),o.props=new Qc(n==null?void 0:n.props),o}return s9(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}(Pe);Rv(wr,"controlEventKeys",["on_click","on_click_finish"]),Rv(wr,"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 QT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h9(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 b9(e,t,r){return t&&ZT(e.prototype,t),r&&ZT(e,r),e}function g9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},el(e)}function 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&&Sv(e,t)}function O9(e,t){return t&&(w9(t)==="object"||typeof t=="function")?t:QT(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}function w9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $9(e){var t=P9();return function(){var n=el(e),o;if(t){var i=el(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O9(this,o)}}var R9=function(e){m9(r,e);var t=$9(r);function r(n){h9(this,r);var o;return o=t.call(this,n),g9(QT(o),"props",void 0),o.props=new Qc(n==null?void 0:n.props),o}return b9(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(xe),eS={Designer:wr,Runtime:R9,Property:Qc};function De(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tl(e)}function nS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ev(e,t)}function T9(e,t){return t&&(S9(t)==="object"||typeof t=="function")?t:De(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ev(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 rS(e){var t=E9();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 T9(this,o)}}var I9=function(e){nS(r,e);var t=rS(r);function r(n){tS(this,r);var o;return o=t.call(this,n),Le(De(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Le(De(o),"isHideCaption",{type:"boolean"}),Le(De(o),"labelPosition",{type:"enum",enum:["top","left"]}),Le(De(o),"invoiceCheck",{type:"boolean"}),Le(De(o),"fillList",{type:"array",validator:function(u,l,f){var a=l.every(function(s){return!s.controlId});if(a){f(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}f()}}),Le(De(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(re),nl=function(e){nS(r,e);var t=rS(r);function r(n){tS(this,r);var o,i;o=t.call(this,n),Le(De(o),"caption",void 0),Le(De(o),"isHideCaption",void 0),Le(De(o),"isShowCaptionTip",void 0),Le(De(o),"captionTip",void 0),Le(De(o),"labelPosition",void 0),Le(De(o),"invoiceCheck",void 0),Le(De(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Pr.controlName;var l;o.isHideCaption=(l=n==null?void 0:n.isHideCaption)!==null&&l!==void 0?l:!1;var f;o.isShowCaptionTip=(f=n==null?void 0:n.isShowCaptionTip)!==null&&f!==void 0?f:!1;var a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:Pr.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:Pr.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(v){return new Se(v)}))!==null&&g!==void 0?g:[],o}return r}(Ee);Le(nl,"Rules",I9);function oS(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 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 N9(e,t,r){return t&&iS(e.prototype,t),r&&iS(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 rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rl(e)}function A9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function M9(e,t){return t&&(k9(t)==="object"||typeof t=="function")?t:oS(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(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 L9(e){var t=D9();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 M9(this,o)}}var Pr=function(e){A9(r,e);var t=L9(r);function r(n){B9(this,r);var o;return o=t.call(this,n),Iv(oS(o),"props",void 0),o.props=new nl(n==null?void 0:n.props),o}return N9(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}(Pe);Iv(Pr,"controlEventKeys",["on_click","on_click_finish"]),Iv(Pr,"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 uS(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 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 j9(e,t,r){return t&&cS(e.prototype,t),r&&cS(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 ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(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&&Nv(e,t)}function V9(e,t){return t&&(z9(t)==="object"||typeof t=="function")?t:uS(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}function z9(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=ol(e),o;if(t){var i=ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V9(this,o)}}var 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(uS(o),"props",void 0),o.props=new nl(n==null?void 0:n.props),o}return j9(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(xe),lS={Designer:Pr,Runtime:H9,Property:nl};function il(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ul(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cl(e)}function aS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function q9(e,t){return t&&(U9(t)==="object"||typeof t=="function")?t:il(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(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 sS(e){var t=W9();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 q9(this,o)}}var K9=function(e){aS(r,e);var t=sS(r);function r(){fS(this,r);var n;return n=t.apply(this,arguments),ul(il(n),"printTemplates",{type:"array",min:1,required:!0,message:h.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(re),ll=function(e){aS(r,e);var t=sS(r);function r(n){fS(this,r);var o,i;o=t.call(this,n),ul(il(o),"printTemplates",void 0),ul(il(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:$r.controlIcon;var l;o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:$r.controlName;var f;o.printTemplates=(f=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new Z$(s)}))!==null&&f!==void 0?f:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return r}(Ee);ul(ll,"Rules",K9);function _S(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 yS(e,t){for(var r=0;r<t.length;r++){var 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&&yS(e.prototype,t),r&&yS(e,r),e}function fl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(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&&Mv(e,t)}function Z9(e,t){return t&&(eG(t)==="object"||typeof t=="function")?t:_S(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(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=al(e),o;if(t){var i=al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z9(this,o)}}var $r=function(e){Q9(r,e);var t=nG(r);function r(n){X9(this,r);var o;return o=t.call(this,n),fl(_S(o),"props",void 0),o.props=new ll(n==null?void 0:n.props),o}return J9(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}(Pe);fl($r,"slots",["grid-table-toolbar-slot"]),fl($r,"controlEventKeys",["on_click","on_click_finish"]),fl($r,"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 dS(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 pS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oG(e,t,r){return t&&pS(e.prototype,t),r&&pS(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 sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sl(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&&kv(e,t)}function cG(e,t){return t&&(lG(t)==="object"||typeof t=="function")?t:dS(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}function lG(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 aG(e){var t=fG();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 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(dS(o),"props",void 0),o.props=new ll(n==null?void 0:n.props),o}return oG(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(xe),vS={Designer:$r,Runtime:sG,Property:ll};function _G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yG(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 dG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function pG(e,t){return t&&(vG(t)==="object"||typeof t=="function")?t:_G(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dv(e,t)}function vG(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 bG(e){var t=hG();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 pG(this,o)}}var Lv=function(e){dG(r,e);var t=bG(r);function r(n){yG(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:Rr.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Rr.controlIcon,o}return r}(Ee);function hS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mG(e,t,r){return t&&bS(e.prototype,t),r&&bS(e,r),e}function yl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function 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&&Fv(e,t)}function wG(e,t){return t&&(PG(t)==="object"||typeof t=="function")?t:hS(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}function PG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $G(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RG(e){var t=$G();return function(){var n=dl(e),o;if(t){var i=dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wG(this,o)}}var Rr=function(e){OG(r,e);var t=RG(r);function r(n){gG(this,r);var o;return o=t.call(this,n),yl(hS(o),"props",void 0),o.props=new Lv(n==null?void 0:n.props),o}return mG(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}(Pe);yl(Rr,"slots",["grid-table-toolbar-slot"]),yl(Rr,"controlEventKeys",["on_click"]),yl(Rr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function gS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TG(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 SG(e,t,r){return t&&mS(e.prototype,t),r&&mS(e,r),e}function EG(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 IG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jv(e,t)}function BG(e,t){return t&&(NG(t)==="object"||typeof t=="function")?t:gS(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}function NG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MG(e){var t=AG();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 BG(this,o)}}var kG=function(e){IG(r,e);var t=MG(r);function r(n){TG(this,r);var o;return o=t.call(this,n),EG(gS(o),"props",void 0),o.props=new Lv(n==null?void 0:n.props),o}return SG(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(xe),OS={Designer:Rr,Runtime:kG,Property:Lv};function Ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vl(e){return vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vl(e)}function PS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DG(e,t){return t&&(LG(t)==="object"||typeof t=="function")?t:Ie(e)}function Cv(e,t){return Cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cv(e,t)}function LG(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 $S(e){var t=FG();return function(){var n=vl(e),o;if(t){var i=vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DG(this,o)}}var jG=function(e){PS(r,e);var t=$S(r);function r(n){wS(this,r);var o;return o=t.call(this,n),Be(Ie(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}),o}return r}(re),hl=function(e){PS(r,e);var t=$S(r);function r(n){wS(this,r);var o;o=t.call(this,n),Be(Ie(o),"content",void 0),Be(Ie(o),"code",void 0),Be(Ie(o),"command",void 0),Be(Ie(o),"color",void 0),Be(Ie(o),"icon",void 0),Be(Ie(o),"formKey",void 0),Be(Ie(o),"openType",void 0),Be(Ie(o),"needConfirm",void 0),Be(Ie(o),"confirmMessage",void 0),Be(Ie(o),"options",void 0),Be(Ie(o),"defaultState",void 0),Be(Ie(o),"priorityProcess",void 0),Be(Ie(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var a;return o.isLoading=(a=n==null?void 0:n.isLoading)!==null&&a!==void 0?a:!1,o}return r}(J);Be(hl,"Rules",jG);function RS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CG(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 xG(e,t,r){return t&&TS(e.prototype,t),r&&TS(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 bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(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&&Vv(e,t)}function zG(e,t){return t&&(GG(t)==="object"||typeof t=="function")?t:RS(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(e,t)}function GG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=YG();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 zG(this,o)}}var gl=function(e){VG(r,e);var t=HG(r);function r(n){CG(this,r);var o;return o=t.call(this,n),xv(RS(o),"props",void 0),o.props=new hl(n==null?void 0:n.props),o}return xG(r,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(F);xv(gl,"controlEventKeys",["on_click"]),xv(gl,"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 SS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ES(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UG(e,t,r){return t&&ES(e.prototype,t),r&&ES(e,r),e}function WG(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 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&&zv(e,t)}function XG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:SS(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(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=ml(e),o;if(t){var i=ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XG(this,o)}}var eY=function(e){KG(r,e);var t=ZG(r);function r(n){qG(this,r);var o;return o=t.call(this,n),WG(SS(o),"props",void 0),o.props=new hl(n==null?void 0:n.props),o}return UG(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Q),Yo={Designer:gl,Runtime:eY,Property:hl};function xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function nY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gv(e,t)}function rY(e,t){return t&&(oY(t)==="object"||typeof t=="function")?t:xt(e)}function Gv(e,t){return Gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gv(e,t)}function oY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uY(e){var t=iY();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 rY(this,o)}}var Yv=function(e){nY(r,e);var t=uY(r);function r(n){tY(this,r);var o;o=t.call(this,n),fn(xt(o),"content",void 0),fn(xt(o),"buttonType",void 0),fn(xt(o),"showType",void 0),fn(xt(o),"color",void 0),fn(xt(o),"icon",void 0),fn(xt(o),"defaultState",void 0),fn(xt(o),"command",void 0),fn(xt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Tr.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Tr.controlIcon;var l;o.buttonType=(l=n==null?void 0:n.buttonType)!==null&&l!==void 0?l:"primary";var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"iconText";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"danger";var s;o.isHide=(s=n==null?void 0:n.isHide)!==null&&s!==void 0?s:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var p;o.command=(p=n==null?void 0:n.command)!==null&&p!==void 0?p:"custom";var b;return o.isLoading=(b=n==null?void 0:n.isLoading)!==null&&b!==void 0?b:!1,o}return r}(J);function IS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lY(e,t,r){return t&&BS(e.prototype,t),r&&BS(e,r),e}function wl(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 fY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function aY(e,t){return t&&(sY(t)==="object"||typeof t=="function")?t:IS(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}function sY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _Y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yY(e){var t=_Y();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 aY(this,o)}}var Tr=function(e){fY(r,e);var t=yY(r);function r(n){cY(this,r);var o;return o=t.call(this,n),wl(IS(o),"props",void 0),o.props=new Yv(n==null?void 0:n.props),o}return lY(r,null,[{key:"controlName",get:function(){return"\u6279\u91CF\u5220\u9664"}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(F);wl(Tr,"slots",["grid-table-toolbar-slot"]),wl(Tr,"controlEventKeys",["on_click"]),wl(Tr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function NS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 pY(e,t,r){return t&&AS(e.prototype,t),r&&AS(e,r),e}function vY(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 hY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qv(e,t)}function bY(e,t){return t&&(gY(t)==="object"||typeof t=="function")?t:NS(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qv(e,t)}function gY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OY(e){var t=mY();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 bY(this,o)}}var wY=function(e){hY(r,e);var t=OY(r);function r(n){dY(this,r);var o;return o=t.call(this,n),vY(NS(o),"props",void 0),o.props=new Yv(n==null?void 0:n.props),o}return pY(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(Q),MS={Designer:Tr,Runtime:wY,Property:Yv},PY=Object.freeze({__proto__:null,Text:L$,Link:V$,Button:q$,Divider:lR,Title:vR,CreateFormListButton:$R,BatchSubmissionListButton:AR,SubmissionRecordListButton:FR,ExportListButton:GR,ExportRecordListButton:WR,ImportRecordListButton:eT,FormSelectButton:fT,ListSelectButton:bT,Pagination:TT,Dashboard:LT,ListViewSelect:qT,TextOcrButton:eS,InvoiceCheckButton:lS,BatchPrintListButton:vS,BatchPrintRecordListButton:OS,OperationButton:Yo,BatchDeleteButton:MS});function Rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Wv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function $Y(e,t){return t&&(RY(t)==="object"||typeof t=="function")?t:Rt(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kv(e,t)}function RY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xv(e){var t=TY();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 $Y(this,o)}}var SY=function(e){Wv(r,e);var t=Xv(r);function r(n){Uv(this,r);var o;return o=t.call(this,n),yt(Rt(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),yt(Rt(o),"minLength",{type:"number",max:200,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),yt(Rt(o),"defaultValue",[{type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=jo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ue),EY=function(e){Wv(r,e);var t=Xv(r);function r(n){Uv(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:h.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:jo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(x),Sr=function(e){Wv(r,e);var t=Xv(r);function r(n){Uv(this,r);var o;o=t.call(this,n),yt(Rt(o),"maxLength",void 0),yt(Rt(o),"minLength",void 0),yt(Rt(o),"regularRules",void 0),yt(Rt(o),"defaultValue",void 0),yt(Rt(o),"encrypted",void 0),yt(Rt(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new ou(n==null?void 0:n.regularRules);var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Er.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165";var s;o.encrypted=(s=n==null?void 0:n.encrypted)!==null&&s!==void 0?s:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return r}(A);yt(Sr,"Rules",SY),yt(Sr,"RuntimeRules",EY);function kS(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 BY(e,t,r){return t&&DS(e.prototype,t),r&&DS(e,r),e}function Tl(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 NY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jv(e,t)}function AY(e,t){return t&&(MY(t)==="object"||typeof t=="function")?t:kS(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function MY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DY(e){var t=kY();return function(){var n=Sl(e),o;if(t){var i=Sl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AY(this,o)}}var Er=function(e){NY(r,e);var t=DY(r);function r(n){IY(this,r);var o;return o=t.call(this,n),Tl(kS(o),"props",void 0),o.props=new Sr(n==null?void 0:n.props),o}return BY(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(M);Tl(Er,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Tl(Er,"controlFieldType",c.FieldTypes.VARCHAR),Tl(Er,"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 LY(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 FY(e,t,r){return t&&FS(e.prototype,t),r&&FS(e,r),e}function jS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},El(e)}function jY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function CY(e,t){return t&&(xY(t)==="object"||typeof t=="function")?t:LS(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qv(e,t)}function xY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zY(e){var t=VY();return function(){var n=El(e),o;if(t){var i=El(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CY(this,o)}}var CS=function(e){jY(r,e);var t=zY(r);function r(n){LY(this,r);var o;return o=t.call(this,n),jS(LS(o),"props",void 0),o.props=new Sr(n==null?void 0:n.props),o}return FY(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(k);jS(CS,"controlFieldType",c.FieldTypes.VARCHAR);var xS={Designer:Er,Runtime:CS,Property:Sr};function $e(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 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 Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(e)}function eh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function GY(e,t){return t&&(YY(t)==="object"||typeof t=="function")?t:$e(e)}function th(e,t){return th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},th(e,t)}function YY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nh(e){var t=HY();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 GY(this,o)}}var qY=function(e){eh(r,e);var t=nh(r);function r(n){Zv(this,r);var o;o=t.call(this,n),ye($e(o),"limitMax",{type:"number",min:void 0,message:h.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(l){return l==="unlimited"?void 0:l};return o.limitMax.min=u(n.limitMin),o}return r}(Rn),UY=function(e){eh(r,e);var t=nh(r);function r(n){Zv(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),Ho=function(e){eh(r,e);var t=nh(r);function r(n){Zv(this,r);var o;o=t.call(this,n),ye($e(o),"checkboxMode",void 0),ye($e(o),"options",void 0),ye($e(o),"optionsOrder",void 0),ye($e(o),"limitMax",void 0),ye($e(o),"limitMin",void 0),ye($e(o),"otherOption",void 0),ye($e(o),"optionConfig",void 0),ye($e(o),"optionsFormat",void 0),ye($e(o),"defaultShowOptions",void 0),ye($e(o),"datasourceBind",void 0),ye($e(o),"multistageFilling",void 0),ye($e(o),"interreaction",void 0),ye($e(o),"defaultValue",void 0),ye($e(o),"openMultistageFilling",void 0);var i;o.options=wt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"custom";var f;o.optionsOrder=(f=n==null?void 0:n.optionsOrder)!==null&&f!==void 0?f:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var s;o.limitMin=(s=n==null?void 0:n.limitMin)!==null&&s!==void 0?s:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:qo.controlName;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:[];var v;o.optionsFormat=(v=n==null?void 0:n.optionsFormat)!==null&&v!==void 0?v:"horizontal";var m;o.defaultShowOptions=(m=n==null?void 0:n.defaultShowOptions)!==null&&m!==void 0?m:!0;var d;return o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Se(O))})),o}return r}(A);ye(Ho,"Rules",qY),ye(Ho,"RuntimeRules",UY);function VS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 KY(e,t,r){return t&&zS(e.prototype,t),r&&zS(e,r),e}function Bl(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 XY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function JY(e,t){return t&&(QY(t)==="object"||typeof t=="function")?t:VS(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}function QY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eH(e){var t=ZY();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 JY(this,o)}}var qo=function(e){XY(r,e);var t=eH(r);function r(n){WY(this,r);var o;return o=t.call(this,n),Bl(VS(o),"props",void 0),o.props=new Ho(n==null?void 0:n.props),o}return KY(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(M);Bl(qo,"controlEventKeys",["on_change","on_click"]),Bl(qo,"controlFieldType",c.FieldTypes.ARRAY),Bl(qo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function GS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nH(e,t,r){return t&&YS(e.prototype,t),r&&YS(e,r),e}function HS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Al(e)}function rH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oh(e,t)}function oH(e,t){return t&&(iH(t)==="object"||typeof t=="function")?t:GS(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}function iH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cH(e){var t=uH();return function(){var n=Al(e),o;if(t){var i=Al(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oH(this,o)}}var qS=function(e){rH(r,e);var t=cH(r);function r(n){tH(this,r);var o;return o=t.call(this,n),HS(GS(o),"props",void 0),o.props=new Ho(n==null?void 0:n.props),o}return nH(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(k);HS(qS,"controlFieldType",c.FieldTypes.ARRAY);var US={Designer:qo,Runtime:qS,Property:Ho};function Ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function KS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function lH(e,t){return t&&(fH(t)==="object"||typeof t=="function")?t:Ve(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function fH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XS(e){var t=aH();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 lH(this,o)}}var sH=function(e){KS(r,e);var t=XS(r);function r(n){return WS(this,r),t.call(this,n)}return r}(Rn),kl=function(e){KS(r,e);var t=XS(r);function r(n){WS(this,r);var o;o=t.call(this,n),ze(Ve(o),"radioMode",void 0),ze(Ve(o),"options",void 0),ze(Ve(o),"optionConfig",void 0),ze(Ve(o),"optionsFormat",void 0),ze(Ve(o),"defaultShowOptions",void 0),ze(Ve(o),"otherOption",void 0),ze(Ve(o),"optionsOrder",void 0),ze(Ve(o),"datasourceBind",void 0),ze(Ve(o),"multistageFilling",void 0),ze(Ve(o),"interreaction",void 0),ze(Ve(o),"defaultValue",void 0),ze(Ve(o),"openMultistageFilling",void 0);var i;o.options=wt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"custom";var f;o.otherOption=(f=n==null?void 0:n.otherOption)!==null&&f!==void 0?f:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var s;o.defaultShowOptions=(s=n==null?void 0:n.defaultShowOptions)!==null&&s!==void 0?s:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var p;o.interreaction=(p=n==null?void 0:n.interreaction)!==null&&p!==void 0?p:[];var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Uo.controlName;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:"";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(m){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Se(m))})),o}return r}(A);ze(kl,"Rules",sH);function JS(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 QS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yH(e,t,r){return t&&QS(e.prototype,t),r&&QS(e,r),e}function Dl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(e)}function dH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uh(e,t)}function pH(e,t){return t&&(vH(t)==="object"||typeof t=="function")?t:JS(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}function vH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bH(e){var t=hH();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 pH(this,o)}}var Uo=function(e){dH(r,e);var t=bH(r);function r(n){_H(this,r);var o;return o=t.call(this,n),Dl(JS(o),"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return yH(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(M);Dl(Uo,"controlEventKeys",["on_change","on_click"]),Dl(Uo,"controlFieldType",c.FieldTypes.VARCHAR),Dl(Uo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function ZS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 mH(e,t,r){return t&&eE(e.prototype,t),r&&eE(e,r),e}function tE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fl(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&&ch(e,t)}function wH(e,t){return t&&(PH(t)==="object"||typeof t=="function")?t:ZS(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ch(e,t)}function PH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $H(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RH(e){var t=$H();return function(){var n=Fl(e),o;if(t){var i=Fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wH(this,o)}}var nE=function(e){OH(r,e);var t=RH(r);function r(n){gH(this,r);var o;return o=t.call(this,n),tE(ZS(o),"props",void 0),o.props=new kl(n==null?void 0:n.props),o}return mH(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(k);tE(nE,"controlFieldType",c.FieldTypes.VARCHAR);var rE={Designer:Uo,Runtime:nE,Property:kl};function Ne(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 Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function fh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ah(e,t)}function TH(e,t){return t&&(SH(t)==="object"||typeof t=="function")?t:Ne(e)}function ah(e,t){return ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ah(e,t)}function SH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sh(e){var t=EH();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 TH(this,o)}}var IH=function(e){fh(r,e);var t=sh(r);function r(n){lh(this,r);var o;o=t.call(this,n),Re(Ne(o),"defaultValue",[{type:"number",min:0,max:200,message:h.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),Re(Ne(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=h.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:h.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=jo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ue),BH=function(e){fh(r,e);var t=sh(r);function r(n){lh(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:h.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:jo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(x),Wo=function(e){fh(r,e);var t=sh(r);function r(n){lh(this,r);var o;o=t.call(this,n),Re(Ne(o),"rangeMin",void 0),Re(Ne(o),"rangeMax",void 0),Re(Ne(o),"numberType",void 0),Re(Ne(o),"percentageFormat",void 0),Re(Ne(o),"micrometer",void 0),Re(Ne(o),"precision",void 0),Re(Ne(o),"showUpperCase",void 0),Re(Ne(o),"isShowUnit",void 0),Re(Ne(o),"unitPosition",void 0),Re(Ne(o),"unit",void 0),Re(Ne(o),"defaultValue",void 0),Re(Ne(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var l;o.numberType=(l=n==null?void 0:n.numberType)!==null&&l!==void 0?l:"number";var f;o.percentageFormat=(f=n==null?void 0:n.percentageFormat)!==null&&f!==void 0?f:!1;var a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var s;o.precision=(s=n==null?void 0:n.precision)!==null&&s!==void 0?s:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var p;o.isShowUnit=(p=n==null?void 0:n.isShowUnit)!==null&&p!==void 0?p:!1;var b;o.unitPosition=(b=n==null?void 0:n.unitPosition)!==null&&b!==void 0?b:"right";var g;o.unit=(g=n==null?void 0:n.unit)!==null&&g!==void 0?g:"";var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Ko.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u8F93\u5165";var d;return o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:"",o.regularRules=new ou(n==null?void 0:n.regularRules),o}return r}(A);Re(Wo,"Rules",IH),Re(Wo,"RuntimeRules",BH);function oE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iE(e,t){for(var r=0;r<t.length;r++){var 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&&iE(e.prototype,t),r&&iE(e,r),e}function Cl(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?xl=Reflect.get:xl=function(o,i,u){var l=DH(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},xl(e,t,r||e)}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ir(e)}function MH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function kH(e,t){return t&&(LH(t)==="object"||typeof t=="function")?t:oE(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}function DH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ir(e),e!==null););return e}function LH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=FH();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 kH(this,o)}}var Ko=function(e){MH(r,e);var t=jH(r);function r(n){NH(this,r);var o;return o=t.call(this,n),Cl(oE(o),"props",void 0),o.props=new Wo(n==null?void 0:n.props),o}return AH(r,[{key:"toDataBindModel",value:function(o){var i=xl(Ir(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.precision,f=u.micrometer;l!==""&&(i.props.precision=l),i.props.micrometer=f}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(M);Cl(Ko,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Cl(Ko,"controlFieldType",c.FieldTypes.DECIMAL),Cl(Ko,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_UNIT,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function uE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xH(e,t,r){return t&&cE(e.prototype,t),r&&cE(e,r),e}function lE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(e)}function VH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function zH(e,t){return t&&(GH(t)==="object"||typeof t=="function")?t:uE(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}function GH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HH(e){var t=YH();return function(){var n=Vl(e),o;if(t){var i=Vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zH(this,o)}}var fE=function(e){VH(r,e);var t=HH(r);function r(n){CH(this,r);var o;return o=t.call(this,n),lE(uE(o),"props",void 0),o.props=new Wo(n==null?void 0:n.props),o}return xH(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(k);lE(fE,"controlFieldType",c.FieldTypes.DECIMAL);var aE={Designer:Ko,Runtime:fE,Property:Wo};function Vt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qH(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 zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(e)}function UH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dh(e,t)}function WH(e,t){return t&&(KH(t)==="object"||typeof t=="function")?t:Vt(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dh(e,t)}function KH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JH(e){var t=XH();return function(){var n=zl(e),o;if(t){var i=zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WH(this,o)}}var ph=function(e){UH(r,e);var t=JH(r);function r(n){qH(this,r);var o,i;o=t.call(this,n),an(Vt(o),"dateType",void 0),an(Vt(o),"dateFormat",void 0),an(Vt(o),"commonTimeSetting",void 0),an(Vt(o),"setValueType",void 0),an(Vt(o),"defaultValue",void 0),an(Vt(o),"limitDateList",void 0),an(Vt(o),"allowDateRange",void 0),an(Vt(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var f;o.commonTimeSetting=(f=n==null?void 0:n.commonTimeSetting)!==null&&f!==void 0?f:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:Yl.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u65E5\u671F";var p;o.defaultValue=(p=n==null?void 0:n.defaultValue)!==null&&p!==void 0?p:"";var b;o.limitDateList=(b=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(m){return new Wu(m)}))!==null&&b!==void 0?b:[];var g;o.allowDateRange=(g=n==null?void 0:n.allowDateRange)!==null&&g!==void 0?g:["",""];var v;return o.filterWeekend=(v=n==null?void 0:n.filterWeekend)!==null&&v!==void 0?v:!1,o}return r}(A);function sE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZH(e,t,r){return t&&_E(e.prototype,t),r&&_E(e,r),e}function vh(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Gl=Reflect.get:Gl=function(o,i,u){var l=nq(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Gl(e,t,r||e)}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Br(e)}function eq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hh(e,t)}function tq(e,t){return t&&(rq(t)==="object"||typeof t=="function")?t:sE(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}function nq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Br(e),e!==null););return e}function rq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iq(e){var t=oq();return function(){var n=Br(e),o;if(t){var i=Br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tq(this,o)}}var Yl=function(e){eq(r,e);var t=iq(r);function r(n){QH(this,r);var o;return o=t.call(this,n),vh(sE(o),"props",void 0),o.props=new ph(n==null?void 0:n.props),o}return ZH(r,[{key:"toDataBindModel",value:function(o){var i=Gl(Br(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}(M);vh(Yl,"controlFieldType",c.FieldTypes.TIMESTAMP),vh(Yl,"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 yE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cq(e,t,r){return t&&dE(e.prototype,t),r&&dE(e,r),e}function pE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function lq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bh(e,t)}function fq(e,t){return t&&(aq(t)==="object"||typeof t=="function")?t:yE(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function aq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _q(e){var t=sq();return function(){var n=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fq(this,o)}}var vE=function(e){lq(r,e);var t=_q(r);function r(n){uq(this,r);var o;return o=t.call(this,n),pE(yE(o),"props",void 0),o.props=new ph(n==null?void 0:n.props),o}return cq(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(k);pE(vE,"controlFieldType",c.FieldTypes.TIMESTAMP);var hE={Designer:Yl,Runtime:vE,Property:ph};function it(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function gE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yq(e,t){return t&&(dq(t)==="object"||typeof t=="function")?t:it(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gh(e,t)}function dq(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 mE(e){var t=pq();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 yq(this,o)}}var vq=function(e){gE(r,e);var t=mE(r);function r(n){bE(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),Ul=function(e){gE(r,e);var t=mE(r);function r(n){bE(this,r);var o,i;o=t.call(this,n),ut(it(o),"dataBind",void 0),ut(it(o),"rangeMin",void 0),ut(it(o),"rangeMax",void 0),ut(it(o),"placeholderStart",void 0),ut(it(o),"placeholderEnd",void 0),ut(it(o),"dateFormat",void 0),ut(it(o),"commonTimeSetting",void 0),ut(it(o),"dateType",void 0),ut(it(o),"setValueType",void 0),ut(it(o),"defaultValue",void 0),ut(it(o),"limitDateList",void 0),o.dataBind=new MP(n==null?void 0:n.dataBind),o.defaultValue=new kP(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var f;o.commonTimeSetting=(f=n==null?void 0:n.commonTimeSetting)!==null&&f!==void 0?f:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var s;o.rangeMin=(s=n==null?void 0:n.rangeMin)!==null&&s!==void 0?s:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Kl.controlName;var v;return o.limitDateList=(v=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(m){return new Wu(m)}))!==null&&v!==void 0?v:[],o}return r}(A);ut(Ul,"RuntimeRules",vq);function OE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 bq(e,t,r){return t&&wE(e.prototype,t),r&&wE(e,r),e}function mh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Wl=Reflect.get:Wl=function(o,i,u){var l=Oq(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Wl(e,t,r||e)}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(e)}function gq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function mq(e,t){return t&&(wq(t)==="object"||typeof t=="function")?t:OE(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function Oq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Nr(e),e!==null););return e}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=Nr(e),o;if(t){var i=Nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mq(this,o)}}var Kl=function(e){gq(r,e);var t=$q(r);function r(n){hq(this,r);var o;return o=t.call(this,n),mh(OE(o),"props",void 0),o.props=new Ul(n==null?void 0:n.props),o}return bq(r,[{key:"toDataBindModel",value:function(o){var i=Wl(Nr(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}(M);mh(Kl,"controlFieldType",c.FieldTypes.TIMESCOPE),mh(Kl,"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 PE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tq(e,t,r){return t&&$E(e.prototype,t),r&&$E(e,r),e}function RE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function Sq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function Eq(e,t){return t&&(Iq(t)==="object"||typeof t=="function")?t:PE(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wh(e,t)}function Iq(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 Nq(e){var t=Bq();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 Eq(this,o)}}var TE=function(e){Sq(r,e);var t=Nq(r);function r(n){Rq(this,r);var o;return o=t.call(this,n),RE(PE(o),"props",void 0),o.props=new Ul(n==null?void 0:n.props),o}return Tq(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(k);RE(TE,"controlFieldType",c.FieldTypes.TIMESCOPE);var SE={Designer:Kl,Runtime:TE,Property:Ul};function sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ph(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jl(e)}function $h(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function Aq(e,t){return t&&(Mq(t)==="object"||typeof t=="function")?t:sn(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rh(e,t)}function Mq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Th(e){var t=kq();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 Dq=function(e){$h(r,e);var t=Th(r);function r(n){Ph(this,r);var o;return o=t.call(this,n),zt(sn(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),zt(sn(o),"minLength",{type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),zt(sn(o),"defaultValue",{type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(ue),Lq=function(e){$h(r,e);var t=Th(r);function r(n){Ph(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(x),Xo=function(e){$h(r,e);var t=Th(r);function r(n){Ph(this,r);var o;o=t.call(this,n),zt(sn(o),"maxLength",void 0),zt(sn(o),"minLength",void 0),zt(sn(o),"defaultValue",void 0),zt(sn(o),"rowHeightSetting",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Jo.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o.rowHeightSetting=new ld(n==null?void 0:n.rowHeightSetting),o}return r}(A);zt(Xo,"Rules",Dq),zt(Xo,"RuntimeRules",Lq);function EE(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 IE(e,t){for(var r=0;r<t.length;r++){var 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&&IE(e.prototype,t),r&&IE(e,r),e}function Ql(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(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&&Sh(e,t)}function xq(e,t){return t&&(Vq(t)==="object"||typeof t=="function")?t:EE(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}function Vq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gq(e){var t=zq();return function(){var n=Zl(e),o;if(t){var i=Zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xq(this,o)}}var Jo=function(e){Cq(r,e);var t=Gq(r);function r(n){Fq(this,r);var o;return o=t.call(this,n),Ql(EE(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return jq(r,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(M);Ql(Jo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ql(Jo,"controlFieldType",c.FieldTypes.TEXT),Ql(Jo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}]);function BE(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 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 Hq(e,t,r){return t&&NE(e.prototype,t),r&&NE(e,r),e}function AE(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 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&&Eh(e,t)}function Uq(e,t){return t&&(Wq(t)==="object"||typeof t=="function")?t:BE(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eh(e,t)}function Wq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xq(e){var t=Kq();return function(){var n=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uq(this,o)}}var ME=function(e){qq(r,e);var t=Xq(r);function r(n){Yq(this,r);var o;return o=t.call(this,n),AE(BE(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return Hq(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(k);AE(ME,"controlFieldType",c.FieldTypes.TEXT);var kE={Designer:Jo,Runtime:ME,Property:Xo};function En(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ih(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 tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(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&&Nh(e,t)}function Jq(e,t){return t&&(Qq(t)==="object"||typeof t=="function")?t:En(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nh(e,t)}function Qq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ah(e){var t=Zq();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 Jq(this,o)}}var eU=function(e){Bh(r,e);var t=Ah(r);function r(n){Ih(this,r);var o;return o=t.call(this,n),_n(En(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),_n(En(o),"minLength",{type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),_n(En(o),"defaultValue",{type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(ue),tU=function(e){Bh(r,e);var t=Ah(r);function r(n){Ih(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:h.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(x),Qo=function(e){Bh(r,e);var t=Ah(r);function r(n){Ih(this,r);var o;o=t.call(this,n),_n(En(o),"maxLength",void 0),_n(En(o),"minLength",void 0),_n(En(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Zo.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o}return r}(A);_n(Qo,"Rules",eU),_n(Qo,"RuntimeRules",tU);function DE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 rU(e,t,r){return t&&LE(e.prototype,t),r&&LE(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 oU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function iU(e,t){return t&&(uU(t)==="object"||typeof t=="function")?t:DE(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}function uU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lU(e){var t=cU();return function(){var n=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iU(this,o)}}var Zo=function(e){oU(r,e);var t=lU(r);function r(n){nU(this,r);var o;return o=t.call(this,n),nf(DE(o),"props",void 0),o.props=new Qo(n==null?void 0:n.props),o}return rU(r,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(M);nf(Zo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),nf(Zo,"controlFieldType",c.FieldTypes.TEXT),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:"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 FE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 aU(e,t,r){return t&&jE(e.prototype,t),r&&jE(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 of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function sU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function _U(e,t){return t&&(yU(t)==="object"||typeof t=="function")?t:FE(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}function yU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pU(e){var t=dU();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 _U(this,o)}}var xE=function(e){sU(r,e);var t=pU(r);function r(n){fU(this,r);var o;return o=t.call(this,n),CE(FE(o),"props",void 0),o.props=new Qo(n==null?void 0:n.props),o}return aU(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(k);CE(xE,"controlFieldType",c.FieldTypes.TEXT);var VE={Designer:Zo,Runtime:xE,Property:Qo};function Ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 GE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vU(e,t){return t&&(hU(t)==="object"||typeof t=="function")?t:Ge(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dh(e,t)}function hU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YE(e){var t=bU();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 vU(this,o)}}var gU=function(e){GE(r,e);var t=YE(r);function r(n){zE(this,r);var o;return o=t.call(this,n),Ye(Ge(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Rn),cf=function(e){GE(r,e);var t=YE(r);function r(n){zE(this,r);var o;o=t.call(this,n),Ye(Ge(o),"options",void 0),Ye(Ge(o),"defaultShowOptions",void 0),Ye(Ge(o),"optionConfig",void 0),Ye(Ge(o),"defaultValue",void 0),Ye(Ge(o),"datasourceBind",void 0),Ye(Ge(o),"multistageFilling",void 0),Ye(Ge(o),"allowCopyOptions",void 0),Ye(Ge(o),"openMultistageFilling",void 0),Ye(Ge(o),"viewFormModelType",void 0),Ye(Ge(o),"canViewForm",void 0),Ye(Ge(o),"formBind",void 0);var i;o.options=wt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"custom",o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:ff.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var p;o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(v){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new Se(v))}));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 $n(n==null?void 0:n.formBind),o}return r}(A);Ye(cf,"Rules",gU);function HE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OU(e,t,r){return t&&qE(e.prototype,t),r&&qE(e,r),e}function Lh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(e)}function wU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fh(e,t)}function PU(e,t){return t&&($U(t)==="object"||typeof t=="function")?t:HE(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}function $U(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TU(e){var t=RU();return function(){var n=lf(e),o;if(t){var i=lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PU(this,o)}}var ff=function(e){wU(r,e);var t=TU(r);function r(n){mU(this,r);var o;return o=t.call(this,n),Lh(HE(o),"props",void 0),o.props=new cf(n==null?void 0:n.props),o}return OU(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(M);Lh(ff,"controlFieldType",c.FieldTypes.VARCHAR),Lh(ff,"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:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function UE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 EU(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 af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(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&&jh(e,t)}function BU(e,t){return t&&(NU(t)==="object"||typeof t=="function")?t:UE(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(e,t)}function NU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MU(e){var t=AU();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 BU(this,o)}}var XE=function(e){IU(r,e);var t=MU(r);function r(n){SU(this,r);var o;return o=t.call(this,n),KE(UE(o),"props",void 0),o.props=new cf(n==null?void 0:n.props),o}return EU(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(k);KE(XE,"controlFieldType",c.FieldTypes.VARCHAR);var JE={Designer:ff,Runtime:XE,Property:cf};function ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ch(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function xh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vh(e,t)}function kU(e,t){return t&&(DU(t)==="object"||typeof t=="function")?t:ct(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vh(e,t)}function DU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zh(e){var t=LU();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 kU(this,o)}}var FU=function(e){xh(r,e);var t=zh(r);function r(n){Ch(this,r);var o;return o=t.call(this,n),He(ct(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Rn),jU=function(e){xh(r,e);var t=zh(r);function r(n){Ch(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),ei=function(e){xh(r,e);var t=zh(r);function r(n){Ch(this,r);var o;o=t.call(this,n),He(ct(o),"options",void 0),He(ct(o),"defaultShowOptions",void 0),He(ct(o),"optionConfig",void 0),He(ct(o),"defaultValue",void 0),He(ct(o),"datasourceBind",void 0),He(ct(o),"multistageFilling",void 0),He(ct(o),"openMultistageFilling",void 0),He(ct(o),"viewFormModelType",void 0),He(ct(o),"canViewForm",void 0),He(ct(o),"formBind",void 0);var i;o.options=wt((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"custom",o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:yf.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 v;(v=o.multistageFilling)===null||v===void 0||v.push(new Se(g))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new $n(n==null?void 0:n.formBind),o}return r}(A);He(ei,"Rules",FU),He(ei,"RuntimeRules",jU);function QE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CU(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 xU(e,t,r){return t&&ZE(e.prototype,t),r&&ZE(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 _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(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&&Yh(e,t)}function zU(e,t){return t&&(GU(t)==="object"||typeof t=="function")?t:QE(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}function GU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HU(e){var t=YU();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 zU(this,o)}}var yf=function(e){VU(r,e);var t=HU(r);function r(n){CU(this,r);var o;return o=t.call(this,n),Gh(QE(o),"props",void 0),o.props=new ei(n==null?void 0:n.props),o}return xU(r,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(M);Gh(yf,"controlFieldType",c.FieldTypes.ARRAY),Gh(yf,"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:"default-value",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 qU(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 UU(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 df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function WU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hh(e,t)}function KU(e,t){return t&&(XU(t)==="object"||typeof t=="function")?t:eI(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}function XU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QU(e){var t=JU();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 KU(this,o)}}var rI=function(e){WU(r,e);var t=QU(r);function r(n){qU(this,r);var o;return o=t.call(this,n),nI(eI(o),"props",void 0),o.props=new ei(n==null?void 0:n.props),o}return UU(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(k);nI(rI,"controlFieldType",c.FieldTypes.ARRAY);var oI={Designer:yf,Runtime:rI,Property:ei};function Gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iI(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 pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pf(e)}function uI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZU(e,t){return t&&(eW(t)==="object"||typeof t=="function")?t:Gt(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qh(e,t)}function eW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cI(e){var t=tW();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 ZU(this,o)}}var nW=function(e){uI(r,e);var t=cI(r);function r(n){iI(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){uI(r,e);var t=cI(r);function r(n){iI(this,r);var o;o=t.call(this,n),Yt(Gt(o),"showType",void 0),Yt(Gt(o),"range",void 0),Yt(Gt(o),"rangeOptions",void 0),Yt(Gt(o),"multiple",void 0),Yt(Gt(o),"defaultValueType",void 0),Yt(Gt(o),"defaultValue",void 0),Yt(Gt(o),"multistageFilling",void 0),Yt(Gt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:bf.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Se(g))})),o}return r}(A);Yt(vf,"RuntimeRules",nW);function lI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 oW(e,t,r){return t&&fI(e.prototype,t),r&&fI(e,r),e}function Uh(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 iW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wh(e,t)}function uW(e,t){return t&&(cW(t)==="object"||typeof t=="function")?t:lI(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}function cW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fW(e){var t=lW();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uW(this,o)}}var bf=function(e){iW(r,e);var t=fW(r);function r(n){rW(this,r);var o;return o=t.call(this,n),Uh(lI(o),"props",void 0),o.props=new vf(n==null?void 0:n.props),o}return oW(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(M);Uh(bf,"controlFieldType",c.FieldTypes.EMPLOYEES),Uh(bf,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.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 aI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sW(e,t,r){return t&&sI(e.prototype,t),r&&sI(e,r),e}function _I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function _W(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function yW(e,t){return t&&(dW(t)==="object"||typeof t=="function")?t:aI(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kh(e,t)}function dW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vW(e){var t=pW();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 yW(this,o)}}var yI=function(e){_W(r,e);var t=vW(r);function r(n){aW(this,r);var o;return o=t.call(this,n),_I(aI(o),"props",void 0),o.props=new vf(n==null?void 0:n.props),o}return sW(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(k);_I(yI,"controlFieldType",c.FieldTypes.EMPLOYEES);var dI={Designer:bf,Runtime:yI,Property:vf};function lt(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 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 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 hW(e,t){return t&&(bW(t)==="object"||typeof t=="function")?t:lt(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qh(e,t)}function bW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zh(e){var t=gW();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 hW(this,o)}}var mW=10485760,OW=104857600,wW=1048576e3,PW=function(e){Jh(r,e);var t=Zh(r);function r(n){Xh(this,r);var o;return o=t.call(this,n),qe(lt(o),"maxSize",{type:"number",min:0,max:wW,message:h.getMessage("attachmentMaxSize")}),o}return r}(ue),$W=function(e){Jh(r,e);var t=Zh(r);function r(n){Xh(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:h.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(x),Ar=function(e){Jh(r,e);var t=Zh(r);function r(n){Xh(this,r);var o;o=t.call(this,n),qe(lt(o),"defaultValue",void 0),qe(lt(o),"showType",void 0),qe(lt(o),"resultShowType",void 0),qe(lt(o),"attachmentAccept",void 0),qe(lt(o),"maxLimit",void 0),qe(lt(o),"minLimit",void 0),qe(lt(o),"isShowWatermark",void 0),qe(lt(o),"watermarkFx",void 0),qe(lt(o),"maxSize",void 0),qe(lt(o),"operation",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var l;o.resultShowType=(l=n==null?void 0:n.resultShowType)!==null&&l!==void 0?l:"simple";var f;o.attachmentAccept=(f=n==null?void 0:n.attachmentAccept)!==null&&f!==void 0?f:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var s;o.minLimit=(s=n==null?void 0:n.minLimit)!==null&&s!==void 0?s:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:OW;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Mr.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u4E0A\u4F20\u9644\u4EF6";var g;o.isShowWatermark=(g=n==null?void 0:n.isShowWatermark)!==null&&g!==void 0?g:!1;var v;o.watermarkFx=(v=n==null?void 0:n.watermarkFx)!==null&&v!==void 0?v:{};var m;return o.operation=(m=n==null?void 0:n.operation)!==null&&m!==void 0?m:[],o}return r}(A);qe(Ar,"Rules",PW),qe(Ar,"RuntimeRules",$W);function pI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 TW(e,t,r){return t&&vI(e.prototype,t),r&&vI(e,r),e}function Of(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function SW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eb(e,t)}function EW(e,t){return t&&(IW(t)==="object"||typeof t=="function")?t:pI(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}function IW(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 NW(e){var t=BW();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 EW(this,o)}}var Mr=function(e){SW(r,e);var t=NW(r);function r(n){RW(this,r);var o;return o=t.call(this,n),Of(pI(o),"props",void 0),o.props=new Ar(n==null?void 0:n.props),o}return TW(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(M);Of(Mr,"controlEventKeys",["on_change"]),Of(Mr,"controlFieldType",c.FieldTypes.FILE),Of(Mr,"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 hI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AW(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 MW(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 Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function kW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function DW(e,t){return t&&(LW(t)==="object"||typeof t=="function")?t:hI(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}function LW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=FW();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 DW(this,o)}}var nb=function(e){kW(r,e);var t=jW(r);function r(n){AW(this,r);var o;return o=t.call(this,n),gI(hI(o),"props",void 0),o.props=new Ar(n==null?void 0:n.props),o}return MW(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(k);gI(nb,"controlFieldType",c.FieldTypes.FILE);var mI={Designer:Mr,Runtime:nb,Property:Ar};function CW(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 OI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VW(e,t,r){return t&&OI(e.prototype,t),r&&OI(e,r),e}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 $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function zW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rb(e,t)}function GW(e,t){return t&&(YW(t)==="object"||typeof t=="function")?t:CW(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rb(e,t)}function YW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qW(e){var t=HW();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 GW(this,o)}}var ob=function(e){zW(r,e);var t=qW(r);function r(n){xW(this,r);var o,i,u;o=t.call(this,n),o.props.showType="image";var l;o.props.caption=(l=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:r.controlName;var f;return o.props.placeholder=(f=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&f!==void 0?f:"\u4E0A\u4F20\u56FE\u7247",o}return VW(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(Mr);wI(ob,"controlFieldType",c.FieldTypes.IMAGE),wI(ob,"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,c.COMMON_SETTING_TYPE.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function UW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KW(e,t,r){return t&&PI(e.prototype,t),r&&PI(e,r),e}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function XW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ib(e,t)}function JW(e,t){return t&&(QW(t)==="object"||typeof t=="function")?t:UW(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}function QW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eK(e){var t=ZW();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 JW(this,o)}}var tK=function(e){XW(r,e);var t=eK(r);function r(n){WW(this,r);var o,i,u,l;o=t.call(this,n),o.props.showType="image";var f;o.props.maxLimit=(f=n==null||(i=n.props)===null||i===void 0?void 0:i.maxLimit)!==null&&f!==void 0?f:9;var a;o.props.caption=(a=n==null||(u=n.props)===null||u===void 0?void 0:u.caption)!==null&&a!==void 0?a:"\u56FE\u7247";var s;return o.props.placeholder=(s=n==null||(l=n.props)===null||l===void 0?void 0:l.placeholder)!==null&&s!==void 0?s:"\u4E0A\u4F20\u56FE\u7247",o}return KW(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(nb);function nK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(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&&ub(e,t)}function iK(e,t){return t&&(uK(t)==="object"||typeof t=="function")?t:nK(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function uK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lK(e){var t=cK();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 iK(this,o)}}var fK=function(e){oK(r,e);var t=lK(r);function r(n){return rK(this,r),t.call(this,n)}return r}(Ar),$I={Designer:ob,Runtime:tK,Property:fK};function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cb(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 Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function lb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fb(e,t)}function aK(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){de(e,o,r[o])})}return e}function sK(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 _K(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):sK(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function yK(e,t){return t&&(dK(t)==="object"||typeof t=="function")?t:Ae(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function dK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ab(e){var t=pK();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 yK(this,o)}}var vK=function(e){lb(r,e);var t=ab(r);function r(n){cb(this,r);var o;o=t.call(this,n),de(Ae(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:h.getMessage("pleaseEnterNumberRange")}]}}),de(Ae(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=h.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:h.getMessage("numberRangeSetError")}),o}return r}(Rn),hK=function(e){lb(r,e);var t=ab(r);function r(n){cb(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:[_K(aK({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:h.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(x),ti=function(e){lb(r,e);var t=ab(r);function r(n){cb(this,r);var o;o=t.call(this,n),de(Ae(o),"rangeMin",void 0),de(Ae(o),"rangeMax",void 0),de(Ae(o),"showUpperCase",void 0),de(Ae(o),"submitSelectCurrency",void 0),de(Ae(o),"micrometer",void 0),de(Ae(o),"precision",void 0),de(Ae(o),"unitPosition",void 0),de(Ae(o),"optionConfig",void 0),de(Ae(o),"dataBind",void 0),de(Ae(o),"datasourceBind",void 0),de(Ae(o),"defaultValue",void 0),de(Ae(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"datasource";var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!1;var a;o.precision=(a=n==null?void 0:n.precision)!==null&&a!==void 0?a:2,o.dataBind=new NP(n==null?void 0:n.dataBind);var s;o.datasourceBind=new oe((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new nu({value:"name"})]});var _;o.defaultValue=new AP((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:c.AMOUNT_TYPE.CNY});var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right",o.options=wt(n==null?void 0:n.options);var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:ni.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var v;o.submitSelectCurrency=(v=n==null?void 0:n.submitSelectCurrency)!==null&&v!==void 0?v:!1;var m;return o.showUpperCase=(m=n==null?void 0:n.showUpperCase)!==null&&m!==void 0?m:!1,o}return r}(A);de(ti,"Rules",vK),de(ti,"RuntimeRules",hK);function RI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bK(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 gK(e,t,r){return t&&TI(e.prototype,t),r&&TI(e,r),e}function Ef(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function If(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?If=Reflect.get:If=function(o,i,u){var l=wK(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},If(e,t,r||e)}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function mK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sb(e,t)}function OK(e,t){return t&&(PK(t)==="object"||typeof t=="function")?t:RI(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function wK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kr(e),e!==null););return e}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=kr(e),o;if(t){var i=kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OK(this,o)}}var ni=function(e){mK(r,e);var t=RK(r);function r(n){bK(this,r);var o;return o=t.call(this,n),Ef(RI(o),"props",void 0),o.props=new ti(n==null?void 0:n.props),o}return gK(r,[{key:"toDataBindModel",value:function(o){var i=If(kr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.precision,f=u.micrometer;l!==""&&(i.props.precision=l),i.props.micrometer=f}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(M);Ef(ni,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ef(ni,"controlFieldType",c.FieldTypes.MONEY),Ef(ni,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",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 SI(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 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 SK(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 Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bf(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&&_b(e,t)}function IK(e,t){return t&&(BK(t)==="object"||typeof t=="function")?t:SI(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(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 AK(e){var t=NK();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 IK(this,o)}}var BI=function(e){EK(r,e);var t=AK(r);function r(n){TK(this,r);var o;return o=t.call(this,n),II(SI(o),"props",void 0),o.props=new ti(n==null?void 0:n.props),o}return SK(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(k);II(BI,"controlFieldType",c.FieldTypes.MONEY);var NI={Designer:ni,Runtime:BI,Property:ti};function yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yb(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 Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(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&&pb(e,t)}function MK(e,t){return t&&(kK(t)==="object"||typeof t=="function")?t:yn(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(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 vb(e){var t=DK();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 MK(this,o)}}var LK=function(e){db(r,e);var t=vb(r);function r(n){yb(this,r);var o;return o=t.call(this,n),Ht(yn(o),"totalScore",[{type:"number",required:!0,message:h.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:h.getMessage("theTotalScoreMustNotBeLessThan1")}]),Ht(yn(o),"defaultValue",{type:"number",min:0,max:5,message:h.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=h.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(ue),FK=function(e){db(r,e);var t=vb(r);function r(n){yb(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:h.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(x),ri=function(e){db(r,e);var t=vb(r);function r(n){yb(this,r);var o,i;o=t.call(this,n),Ht(yn(o),"totalScore",void 0),Ht(yn(o),"scoreType",void 0),Ht(yn(o),"isShowExplain",void 0),Ht(yn(o),"explain",void 0),Ht(yn(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var l;o.scoreType=(l=n==null?void 0:n.scoreType)!==null&&l!==void 0?l:c.SCORE_TYPE.STAR;var f;o.isShowExplain=(f=n==null?void 0:n.isShowExplain)!==null&&f!==void 0?f:!0;var a;o.explain=(a=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(p){return new Ku(p)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new Ku});var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:oi.controlName,o}return r}(A);Ht(ri,"Rules",LK),Ht(ri,"RuntimeRules",FK);function hb(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 jK(e){if(Array.isArray(e))return hb(e)}function AI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xK(e,t,r){return t&&MI(e.prototype,t),r&&MI(e,r),e}function Af(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Mf=Reflect.get:Mf=function(o,i,u){var l=HK(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Mf(e,t,r||e)}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(e)}function VK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bb(e,t)}function zK(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function GK(){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 YK(e,t){return t&&(UK(t)==="object"||typeof t=="function")?t:AI(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function HK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Dr(e),e!==null););return e}function qK(e){return jK(e)||zK(e)||WK(e)||GK()}function UK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WK(e,t){if(!!e){if(typeof e=="string")return hb(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 hb(e,t)}}function KK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XK(e){var t=KK();return function(){var n=Dr(e),o;if(t){var i=Dr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YK(this,o)}}var oi=function(e){VK(r,e);var t=XK(r);function r(n){CK(this,r);var o;return o=t.call(this,n),Af(AI(o),"props",void 0),o.props=new ri(n==null?void 0:n.props),o}return xK(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,l=i-this.props.explain.length,f=Array(l).fill(void 0).map(function(){return new Ku});(u=this.props.explain).push.apply(u,qK(f))}}Mf(Dr(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}(M);Af(oi,"controlEventKeys",["on_change","on_click"]),Af(oi,"controlFieldType",c.FieldTypes.DECIMAL),Af(oi,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function kI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QK(e,t,r){return t&&DI(e.prototype,t),r&&DI(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 kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function ZK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gb(e,t)}function eX(e,t){return t&&(tX(t)==="object"||typeof t=="function")?t:kI(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(e,t)}function tX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rX(e){var t=nX();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eX(this,o)}}var FI=function(e){ZK(r,e);var t=rX(r);function r(n){JK(this,r);var o;return o=t.call(this,n),LI(kI(o),"props",void 0),o.props=new ri(n==null?void 0:n.props),o}return QK(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(k);LI(FI,"controlFieldType",c.FieldTypes.DECIMAL);var jI={Designer:oi,Runtime:FI,Property:ri};function Df(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lf(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 xI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mb(e,t)}function oX(e,t){return t&&(iX(t)==="object"||typeof t=="function")?t:Df(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}function iX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VI(e){var t=uX();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 oX(this,o)}}var cX=function(e){xI(r,e);var t=VI(r);function r(n){CI(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:h.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:h.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:h.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(x),jf=function(e){xI(r,e);var t=VI(r);function r(n){CI(this,r);var o;o=t.call(this,n),Lf(Df(o),"defaultValueType",void 0),Lf(Df(o),"defaultValue",void 0),Lf(Df(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:xf.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var l;o.addressType=(l=n==null?void 0:n.addressType)!==null&&l!==void 0?l:["province","city","district"];var f;o.defaultValue=new DP((f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:{});var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(A);Lf(jf,"RuntimeRules",cX);function zI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lX(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 fX(e,t,r){return t&&GI(e.prototype,t),r&&GI(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 Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function aX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wb(e,t)}function sX(e,t){return t&&(_X(t)==="object"||typeof t=="function")?t:zI(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function _X(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dX(e){var t=yX();return function(){var n=Cf(e),o;if(t){var i=Cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sX(this,o)}}var xf=function(e){aX(r,e);var t=dX(r);function r(n){lX(this,r);var o;return o=t.call(this,n),Ob(zI(o),"props",void 0),o.props=new jf(n==null?void 0:n.props),o}return fX(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(M);Ob(xf,"controlFieldType",c.FieldTypes.ADDRESS),Ob(xf,"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 YI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vX(e,t,r){return t&&HI(e.prototype,t),r&&HI(e,r),e}function qI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(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&&Pb(e,t)}function bX(e,t){return t&&(gX(t)==="object"||typeof t=="function")?t:YI(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function gX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OX(e){var t=mX();return function(){var n=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bX(this,o)}}var UI=function(e){hX(r,e);var t=OX(r);function r(n){pX(this,r);var o;return o=t.call(this,n),qI(YI(o),"props",void 0),o.props=new jf(n==null?void 0:n.props),o}return vX(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);qI(UI,"controlFieldType",c.FieldTypes.ADDRESS);var WI={Designer:xf,Runtime:UI,Property:jf};function dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function XI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$b(e,t)}function wX(e,t){return t&&(PX(t)==="object"||typeof t=="function")?t:dt(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}function PX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JI(e){var t=$X();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 wX(this,o)}}var RX=function(e){XI(r,e);var t=JI(r);function r(n){KI(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),Gf=function(e){XI(r,e);var t=JI(r);function r(n){KI(this,r);var o;o=t.call(this,n),pt(dt(o),"showType",void 0),pt(dt(o),"range",void 0),pt(dt(o),"defaultValueType",void 0),pt(dt(o),"multiple",void 0),pt(dt(o),"rangeOptions",void 0),pt(dt(o),"defaultValue",void 0),pt(dt(o),"displayLevel",void 0),pt(dt(o),"showSubDept",void 0),pt(dt(o),"multistageFilling",void 0),pt(dt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var l;o.range=(l=n==null?void 0:n.range)!==null&&l!==void 0?l:"all";var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:ii.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u90E8\u95E8";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(m){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Se(m))})),o}return r}(A);pt(Gf,"RuntimeRules",RX);function QI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 SX(e,t,r){return t&&ZI(e.prototype,t),r&&ZI(e,r),e}function Yf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hf=Reflect.get:Hf=function(o,i,u){var l=BX(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Hf(e,t,r||e)}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lr(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&&Rb(e,t)}function IX(e,t){return t&&(NX(t)==="object"||typeof t=="function")?t:QI(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(e,t)}function BX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Lr(e),e!==null););return e}function NX(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 MX(e){var t=AX();return function(){var n=Lr(e),o;if(t){var i=Lr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IX(this,o)}}var ii=function(e){EX(r,e);var t=MX(r);function r(n){TX(this,r);var o;return o=t.call(this,n),Yf(QI(o),"props",void 0),o.props=new Gf(n==null?void 0:n.props),o}return SX(r,[{key:"toDataBindModel",value:function(o){var i=Hf(Lr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.displayLevel,f=u.showSubDept;i.props.displayLevel=l,i.props.showSubDept=f}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(M);Yf(ii,"controlName","\u90E8\u95E8"),Yf(ii,"controlFieldType",c.FieldTypes.DEPARTMENTS),Yf(ii,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function eB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 DX(e,t,r){return t&&tB(e.prototype,t),r&&tB(e,r),e}function nB(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 LX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tb(e,t)}function FX(e,t){return t&&(jX(t)==="object"||typeof t=="function")?t:eB(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(e,t)}function jX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xX(e){var t=CX();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FX(this,o)}}var rB=function(e){LX(r,e);var t=xX(r);function r(n){kX(this,r);var o;return o=t.call(this,n),nB(eB(o),"props",void 0),o.props=new Gf(n==null?void 0:n.props),o}return DX(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(k);nB(rB,"controlFieldType",c.FieldTypes.DEPARTMENTS);var oB={Designer:ii,Runtime:rB,Property:Gf};function iB(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 zX(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 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&&Sb(e,t)}function YX(e,t){return t&&(HX(t)==="object"||typeof t=="function")?t:iB(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(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=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YX(this,o)}}var Eb=function(e){GX(r,e);var t=UX(r);function r(n){VX(this,r);var o;o=t.call(this,n),zX(iB(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:ui.controlName;var l;return o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(A);function uB(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 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 KX(e,t,r){return t&&cB(e.prototype,t),r&&cB(e,r),e}function Wf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(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&&Ib(e,t)}function JX(e,t){return t&&(QX(t)==="object"||typeof t=="function")?t:uB(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(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 eJ(e){var t=ZX();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 JX(this,o)}}var ui=function(e){XX(r,e);var t=eJ(r);function r(n){WX(this,r);var o;return o=t.call(this,n),Wf(uB(o),"props",void 0),o.props=new Eb(n==null?void 0:n.props),o}return KX(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(M);Wf(ui,"controlEventKeys",["on_change"]),Wf(ui,"controlFieldType",c.FieldTypes.AUTO_NUMBER),Wf(ui,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function lB(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 fB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nJ(e,t,r){return t&&fB(e.prototype,t),r&&fB(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 Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function rJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bb(e,t)}function oJ(e,t){return t&&(iJ(t)==="object"||typeof t=="function")?t:lB(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(e,t)}function iJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cJ(e){var t=uJ();return function(){var n=Xf(e),o;if(t){var i=Xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oJ(this,o)}}var sB=function(e){rJ(r,e);var t=cJ(r);function r(n){tJ(this,r);var o;return o=t.call(this,n),aB(lB(o),"props",void 0),o.props=new Eb(n==null?void 0:n.props),o}return nJ(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(k);aB(sB,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var _B={Designer:ui,Runtime:sB,Property:Eb};function Tt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jf(e)}function Ab(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mb(e,t)}function lJ(e,t){return t&&(fJ(t)==="object"||typeof t=="function")?t:Tt(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}function fJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kb(e){var t=aJ();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 lJ(this,o)}}var sJ=function(e){Ab(r,e);var t=kb(r);function r(n){Nb(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}(ue),_J=function(e){Ab(r,e);var t=kb(r);function r(n){Nb(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:h.getMessage("isNotObject"),fields:{result:[{type:"number",message:h.getMessage("isNotNumber")}],unit:{type:"string",message:h.getMessage("isNotString")}}}),o}return r}(x),ci=function(e){Ab(r,e);var t=kb(r);function r(n){Nb(this,r);var o;o=t.call(this,n),vt(Tt(o),"precision",void 0),vt(Tt(o),"micrometer",void 0),vt(Tt(o),"showUpperCase",void 0),vt(Tt(o),"scriptSrc",void 0),vt(Tt(o),"scriptEcho",void 0),vt(Tt(o),"dataBind",void 0),vt(Tt(o),"defaultValue",void 0),vt(Tt(o),"unitPosition",void 0),vt(Tt(o),"calcOnMounted",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var l;o.showUpperCase=(l=n==null?void 0:n.showUpperCase)!==null&&l!==void 0?l:!1,o.dataBind=new LP(n==null?void 0:n.dataBind),o.defaultValue=new FP(n==null?void 0:n.defaultValue);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:li.controlName;var a;o.unitPosition=(a=n==null?void 0:n.unitPosition)!==null&&a!==void 0?a:"right";var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:"\u8BF7\u8F93\u5165";var _;o.scriptEcho=(_=n==null?void 0:n.scriptEcho)!==null&&_!==void 0?_:[];var p;o.scriptSrc=(p=n==null?void 0:n.scriptSrc)!==null&&p!==void 0?p:"";var b;return o.calcOnMounted=(b=n==null?void 0:n.calcOnMounted)!==null&&b!==void 0?b:!1,o}return r}(A);vt(ci,"Rules",sJ),vt(ci,"RuntimeRules",_J);function yB(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 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 dJ(e,t,r){return t&&dB(e.prototype,t),r&&dB(e,r),e}function Qf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Zf=Reflect.get:Zf=function(o,i,u){var l=hJ(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Zf(e,t,r||e)}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fr(e)}function pJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Db(e,t)}function vJ(e,t){return t&&(bJ(t)==="object"||typeof t=="function")?t:yB(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function hJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Fr(e),e!==null););return e}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=Fr(e),o;if(t){var i=Fr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vJ(this,o)}}var li=function(e){pJ(r,e);var t=mJ(r);function r(n){yJ(this,r);var o;return o=t.call(this,n),Qf(yB(o),"props",void 0),o.props=new ci(n==null?void 0:n.props),o}return dJ(r,[{key:"toDataBindModel",value:function(o){var i=Zf(Fr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.precision,f=u.micrometer;l!==""&&(i.props.precision=l),i.props.micrometer=f}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(M);Qf(li,"controlEventKeys",["on_change"]),Qf(li,"controlFieldType",c.FieldTypes.CALC),Qf(li,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",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:"unit-alone",visible:!0},{key:"unit-position",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 pB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wJ(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 ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function PJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lb(e,t)}function $J(e,t){return t&&(RJ(t)==="object"||typeof t=="function")?t:pB(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}function RJ(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 SJ(e){var t=TJ();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 $J(this,o)}}var bB=function(e){PJ(r,e);var t=SJ(r);function r(n){OJ(this,r);var o;return o=t.call(this,n),hB(pB(o),"props",void 0),o.props=new ci(n==null?void 0:n.props),o}return wJ(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(k);hB(bB,"controlFieldType",c.FieldTypes.CALC);var gB={Designer:li,Runtime:bB,Property:ci};function jr(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 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 ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ta(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&&Fb(e,t)}function EJ(e,t){return t&&(IJ(t)==="object"||typeof t=="function")?t:jr(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function IJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wB(e){var t=BJ();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 EJ(this,o)}}var NJ=function(e){OB(r,e);var t=wB(r);function r(n){mB(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(u,l){if(n.required){var f=l.every(function(a){return!a});return f?Promise.reject(h.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(x),na=function(e){OB(r,e);var t=wB(r);function r(n){mB(this,r);var o;o=t.call(this,n),Cr(jr(o),"rangeMin",void 0),Cr(jr(o),"rangeMax",void 0),Cr(jr(o),"placeholderStart",void 0),Cr(jr(o),"placeholderEnd",void 0),Cr(jr(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var l;o.rangeMax=(l=n==null?void 0:n.rangeMax)!==null&&l!==void 0?l:"";var f;o.placeholderStart=(f=n==null?void 0:n.placeholderStart)!==null&&f!==void 0?f:"\u6700\u5C0F\u503C";var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:"\u6700\u5927\u503C";var s;return o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:oa.controlName,o}return r}(A);Cr(na,"RuntimeRules",NJ);function PB(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 $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 MJ(e,t,r){return t&&$B(e.prototype,t),r&&$B(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 ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ra(e)}function kJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cb(e,t)}function DJ(e,t){return t&&(LJ(t)==="object"||typeof t=="function")?t:PB(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(e,t)}function LJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jJ(e){var t=FJ();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 DJ(this,o)}}var oa=function(e){kJ(r,e);var t=jJ(r);function r(n){AJ(this,r);var o;return o=t.call(this,n),jb(PB(o),"props",void 0),o.props=new na(n==null?void 0:n.props),o}return MJ(r,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(M);jb(oa,"controlFieldType",c.FieldTypes.DECIMAL_RANGE),jb(oa,"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 RB(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 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 xJ(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 ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(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&&xb(e,t)}function zJ(e,t){return t&&(GJ(t)==="object"||typeof t=="function")?t:RB(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}function GJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HJ(e){var t=YJ();return function(){var n=ia(e),o;if(t){var i=ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zJ(this,o)}}var EB=function(e){VJ(r,e);var t=HJ(r);function r(n){CJ(this,r);var o;return o=t.call(this,n),SB(RB(o),"props",void 0),o.props=new na(n==null?void 0:n.props),o}return xJ(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(k);SB(EB,"controlFieldType",c.FieldTypes.DECIMAL_RANGE);var IB={Designer:oa,Runtime:EB,Property:na};function ht(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(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 NB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qJ(e,t){return t&&(UJ(t)==="object"||typeof t=="function")?t:ht(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vb(e,t)}function UJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AB(e){var t=WJ();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 qJ(this,o)}}var KJ=function(e){NB(r,e);var t=AB(r);function r(n){BB(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),ca=function(e){NB(r,e);var t=AB(r);function r(n){BB(this,r);var o,i;o=t.call(this,n),bt(ht(o),"rangeMin",void 0),bt(ht(o),"rangeMax",void 0),bt(ht(o),"placeholderStart",void 0),bt(ht(o),"placeholderEnd",void 0),bt(ht(o),"dateType",void 0),bt(ht(o),"dateFormat",void 0),bt(ht(o),"commonTimeSetting",void 0),bt(ht(o),"setValueType",void 0),bt(ht(o),"defaultValue",void 0),bt(ht(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var l;o.dateType=(l=n==null?void 0:n.dateType)!==null&&l!==void 0?l:c.DateType.DATE;var f;o.dateFormat=(f=n==null?void 0:n.dateFormat)!==null&&f!==void 0?f:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var s;o.setValueType=(s=n==null?void 0:n.setValueType)!==null&&s!==void 0?s:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var p;o.rangeMax=(p=n==null?void 0:n.rangeMax)!==null&&p!==void 0?p:"";var b;o.placeholderStart=(b=n==null?void 0:n.placeholderStart)!==null&&b!==void 0?b:"\u5F00\u59CB\u65E5\u671F";var g;o.placeholderEnd=(g=n==null?void 0:n.placeholderEnd)!==null&&g!==void 0?g:"\u7ED3\u675F\u65E5\u671F";var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:fa.controlName;var m;return o.limitDateList=(m=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(d){return new Wu(d)}))!==null&&m!==void 0?m:[],o}return r}(A);bt(ca,"RuntimeRules",KJ);function MB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 JJ(e,t,r){return t&&kB(e.prototype,t),r&&kB(e,r),e}function zb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(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&&Gb(e,t)}function ZJ(e,t){return t&&(eQ(t)==="object"||typeof t=="function")?t:MB(e)}function Gb(e,t){return Gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gb(e,t)}function eQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nQ(e){var t=tQ();return function(){var n=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZJ(this,o)}}var fa=function(e){QJ(r,e);var t=nQ(r);function r(n){XJ(this,r);var o;return o=t.call(this,n),zb(MB(o),"props",void 0),o.props=new ca(n==null?void 0:n.props),o}return JJ(r,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(M);zb(fa,"controlFieldType",c.FieldTypes.ARRAY),zb(fa,"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 DB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 oQ(e,t,r){return t&&LB(e.prototype,t),r&&LB(e,r),e}function FB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(e)}function iQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yb(e,t)}function uQ(e,t){return t&&(cQ(t)==="object"||typeof t=="function")?t:DB(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yb(e,t)}function cQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fQ(e){var t=lQ();return function(){var n=aa(e),o;if(t){var i=aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uQ(this,o)}}var jB=function(e){iQ(r,e);var t=fQ(r);function r(n){rQ(this,r);var o;return o=t.call(this,n),FB(DB(o),"props",void 0),o.props=new ca(n==null?void 0:n.props),o}return oQ(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(k);FB(jB,"controlFieldType",c.FieldTypes.ARRAY);var CB={Designer:fa,Runtime:jB,Property:ca};function fi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(e)}function qb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aQ(e,t){return t&&(sQ(t)==="object"||typeof t=="function")?t:fi(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}function sQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _Q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wb(e){var t=_Q();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 aQ(this,o)}}var yQ=function(e){qb(r,e);var t=Wb(r);function r(n){Hb(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ue),dQ=function(e){qb(r,e);var t=Wb(r);function r(n){Hb(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(x),ai=function(e){qb(r,e);var t=Wb(r);function r(n){Hb(this,r);var o;o=t.call(this,n),xr(fi(o),"controlExportName",void 0),xr(fi(o),"permissions",void 0),xr(fi(o),"defaultValue",void 0),xr(fi(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Vr.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var l;o.controlExportName=(l=n==null?void 0:n.controlExportName)!==null&&l!==void 0?l:"";var f;o.permissions=(f=n==null?void 0:n.permissions)!==null&&f!==void 0?f:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return r}(A);xr(ai,"Rules",yQ),xr(ai,"RuntimeRules",dQ);function xB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vQ(e,t,r){return t&&VB(e.prototype,t),r&&VB(e,r),e}function si(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function hQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kb(e,t)}function bQ(e,t){return t&&(gQ(t)==="object"||typeof t=="function")?t:xB(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}function gQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OQ(e){var t=mQ();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 bQ(this,o)}}var Vr=function(e){hQ(r,e);var t=OQ(r);function r(n){pQ(this,r);var o;return o=t.call(this,n),si(xB(o),"props",void 0),o.props=new ai(n==null?void 0:n.props),o}return vQ(r,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(M);si(Vr,"controlFieldType",c.FieldTypes.ANY),si(Vr,"controlEventKeys",[]),si(Vr,"slots",["grid-table-toolbar-slot",qy.DEFAULT]),si(Vr,"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 zB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GB(e,t){for(var r=0;r<t.length;r++){var 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&&GB(e.prototype,t),r&&GB(e,r),e}function YB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function $Q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xb(e,t)}function RQ(e,t){return t&&(TQ(t)==="object"||typeof t=="function")?t:zB(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}function TQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EQ(e){var t=SQ();return function(){var n=ya(e),o;if(t){var i=ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RQ(this,o)}}var HB=function(e){$Q(r,e);var t=EQ(r);function r(n){wQ(this,r);var o;return o=t.call(this,n),YB(zB(o),"props",void 0),o.props=new ai(n==null?void 0:n.props),o}return PQ(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(k);YB(HB,"controlFieldType",c.FieldTypes.ANY);var qB={Designer:Vr,Runtime:HB,Property:ai};function pe(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 ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(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&&Jb(e,t)}function IQ(e,t){return t&&(BQ(t)==="object"||typeof t=="function")?t:pe(e)}function Jb(e,t){return Jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jb(e,t)}function BQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KB(e){var t=NQ();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 IQ(this,o)}}var AQ=function(e){WB(r,e);var t=KB(r);function r(n){UB(this,r);var o;return o=t.call(this,n),ve(pe(o),"listPageBind",[{type:"object",message:h.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}]}}]),ve(pe(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Rn),pa=function(e){WB(r,e);var t=KB(r);function r(n){UB(this,r);var o;o=t.call(this,n),ve(pe(o),"options",void 0),ve(pe(o),"optionConfig",void 0),ve(pe(o),"defaultValue",void 0),ve(pe(o),"listPageBind",void 0),ve(pe(o),"datasourceBind",void 0),ve(pe(o),"multistageFilling",void 0),ve(pe(o),"viewFormModelType",void 0),ve(pe(o),"canViewForm",void 0),ve(pe(o),"formBind",void 0),ve(pe(o),"openMultistageFilling",void 0),ve(pe(o),"showSelectedDetail",void 0),ve(pe(o),"selectedContentConfig",void 0),ve(pe(o),"optionDisplayConfig",void 0),ve(pe(o),"canSearch",void 0);var i;o.options=wt((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 eu(n==null?void 0:n.listPageBind),o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:_i.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u9009\u62E9";var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var s;o.openMultistageFilling=(s=n==null?void 0:n.openMultistageFilling)!==null&&s!==void 0?s:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new ru(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var d;(d=o.multistageFilling)===null||d===void 0||d.push(new Se(m))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new $n(n==null?void 0:n.formBind);var g;o.optionDisplayConfig=(g=n==null?void 0:n.optionDisplayConfig)!==null&&g!==void 0?g:[];var v;return o.canSearch=(v=n==null?void 0:n.canSearch)!==null&&v!==void 0?v:!1,o}return r}(A);ve(pa,"Rules",AQ);function XB(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 JB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kQ(e,t,r){return t&&JB(e.prototype,t),r&&JB(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 l=FQ(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},ha(e,t,r||e)}function zr(e){return zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zr(e)}function DQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qb(e,t)}function LQ(e,t){return t&&(jQ(t)==="object"||typeof t=="function")?t:XB(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(e,t)}function FQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zr(e),e!==null););return e}function jQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xQ(e){var t=CQ();return function(){var n=zr(e),o;if(t){var i=zr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LQ(this,o)}}var _i=function(e){DQ(r,e);var t=xQ(r);function r(n){MQ(this,r);var o;return o=t.call(this,n),va(XB(o),"props",void 0),o.props=new pa(n==null?void 0:n.props),o}return kQ(r,[{key:"toDataBindModel",value:function(o){var i=ha(zr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.optionDisplayConfig;i.props.optionDisplayConfig=u}return i}}],[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(M);va(_i,"controlFieldType",c.FieldTypes.VARCHAR),va(_i,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}]),va(_i,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function QB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zQ(e,t,r){return t&&ZB(e.prototype,t),r&&ZB(e,r),e}function eN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(e)}function GQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zb(e,t)}function YQ(e,t){return t&&(HQ(t)==="object"||typeof t=="function")?t:QB(e)}function Zb(e,t){return Zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zb(e,t)}function HQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UQ(e){var t=qQ();return function(){var n=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YQ(this,o)}}var tN=function(e){GQ(r,e);var t=UQ(r);function r(n){VQ(this,r);var o;return o=t.call(this,n),eN(QB(o),"props",void 0),o.props=new pa(n==null?void 0:n.props),o}return zQ(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(k);eN(tN,"controlFieldType",c.FieldTypes.VARCHAR);var nN={Designer:_i,Runtime:tN,Property:pa};function WQ(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 ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(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&&eg(e,t)}function JQ(e,t){return t&&(QQ(t)==="object"||typeof t=="function")?t:WQ(e)}function eg(e,t){return eg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eg(e,t)}function QQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eZ(e){var t=ZQ();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 JQ(this,o)}}var tg=function(e){XQ(r,e);var t=eZ(r);function r(n){return KQ(this,r),t.call(this,n)}return r}(Sr);function rN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nZ(e,t,r){return t&&oN(e.prototype,t),r&&oN(e,r),e}function iN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function rZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ng(e,t)}function oZ(e,t){return t&&(iZ(t)==="object"||typeof t=="function")?t:rN(e)}function ng(e,t){return ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ng(e,t)}function iZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cZ(e){var t=uZ();return function(){var n=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oZ(this,o)}}var uN=function(e){rZ(r,e);var t=cZ(r);function r(n){tZ(this,r);var o;return o=t.call(this,n),iN(rN(o),"props",void 0),o.props=new tg(n==null?void 0:n.props),o}return nZ(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(Er);iN(uN,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}]);function cN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fZ(e,t,r){return t&&lN(e.prototype,t),r&&lN(e,r),e}function fN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(e)}function aZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rg(e,t)}function sZ(e,t){return t&&(_Z(t)==="object"||typeof t=="function")?t:cN(e)}function rg(e,t){return rg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rg(e,t)}function _Z(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dZ(e){var t=yZ();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 sZ(this,o)}}var aN=function(e){aZ(r,e);var t=dZ(r);function r(n){lZ(this,r);var o;return o=t.call(this,n),fN(cN(o),"props",void 0),o.props=new tg(n==null?void 0:n.props),o}return fZ(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(k);fN(aN,"controlFieldType",c.FieldTypes.VARCHAR);var sN={Designer:uN,Runtime:aN,Property:tg};function te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function og(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function ig(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ug(e,t)}function pZ(e,t){return t&&(vZ(t)==="object"||typeof t=="function")?t:te(e)}function ug(e,t){return ug=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ug(e,t)}function vZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cg(e){var t=hZ();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 pZ(this,o)}}var bZ=function(e){ig(r,e);var t=cg(r);function r(n){og(this,r);var o;return o=t.call(this,n),ne(te(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),Ao.call(te(o),n,dn.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:h.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:h.getMessage("rootNodeIsRequired")}}}]),o}return r}(ue),gZ=function(e){ig(r,e);var t=cg(r);function r(n){og(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),yi=function(e){ig(r,e);var t=cg(r);function r(n){og(this,r);var o,i;o=t.call(this,n),ne(te(o),"placeholder",void 0),ne(te(o),"multiple",void 0),ne(te(o),"canSearch",void 0),ne(te(o),"levelType",void 0),ne(te(o),"optionalLevel",void 0),ne(te(o),"containsSubNode",void 0),ne(te(o),"defaultDisplay",void 0),ne(te(o),"isShowIncludeSub",void 0),ne(te(o),"isDefaultCheckSub",void 0),ne(te(o),"isShowFilterItem",void 0),ne(te(o),"defaultCollapse",void 0),ne(te(o),"defaultCollapseLevel",void 0),ne(te(o),"optionConfig","datasource"),ne(te(o),"datasourceBind",void 0),ne(te(o),"filterItemDatasourceBind",void 0),ne(te(o),"multistageFilling",void 0),ne(te(o),"defaultValue",void 0),ne(te(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:dn.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:"\u8BF7\u9009\u62E9";var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.canSearch=(a=n==null?void 0:n.canSearch)!==null&&a!==void 0?a:!0;var s;o.levelType=(s=n==null?void 0:n.levelType)!==null&&s!==void 0?s:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var p;o.containsSubNode=(p=n==null?void 0:n.containsSubNode)!==null&&p!==void 0?p:!1;var b;o.isShowFilterItem=(b=n==null?void 0:n.isShowFilterItem)!==null&&b!==void 0?b:!1;var g;o.isShowIncludeSub=(g=n==null?void 0:n.isShowIncludeSub)!==null&&g!==void 0?g:!1;var v;o.isDefaultCheckSub=(v=n==null?void 0:n.isDefaultCheckSub)!==null&&v!==void 0?v:!1;var m;o.defaultCollapse=(m=n==null?void 0:n.defaultCollapse)!==null&&m!==void 0?m:"all";var d;o.defaultCollapseLevel=(d=n==null?void 0:n.defaultCollapseLevel)!==null&&d!==void 0?d:1;var O;o.datasourceBind=new yd((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:dn.controlCustomAttributes});var P;o.filterItemDatasourceBind=new yd((P=n==null?void 0:n.filterItemDatasourceBind)!==null&&P!==void 0?P:{attributes:dn.controlCustomAttributes});var w;o.openMultistageFilling=(w=n==null?void 0:n.openMultistageFilling)!==null&&w!==void 0?w:!1;var R;o.defaultDisplay=(R=n==null?void 0:n.defaultDisplay)!==null&&R!==void 0?R:!1;var T;o.multistageFilling=(T=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(D){return new Se(D)}))!==null&&T!==void 0?T:[];var E;return o.defaultValue=(E=n==null?void 0:n.defaultValue)!==null&&E!==void 0?E:[],o}return r}(A);ne(yi,"Rules",bZ),ne(yi,"RuntimeRules",gZ);function _N(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 yN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OZ(e,t,r){return t&&yN(e.prototype,t),r&&yN(e,r),e}function Pa(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 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&&lg(e,t)}function PZ(e,t){return t&&($Z(t)==="object"||typeof t=="function")?t:_N(e)}function lg(e,t){return lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lg(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=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return PZ(this,o)}}var dn=function(e){wZ(r,e);var t=TZ(r);function r(n){mZ(this,r);var o;return o=t.call(this,n),Pa(_N(o),"props",void 0),o.props=new yi(n==null?void 0:n.props),o}return OZ(r,null,[{key:"controlName",get:function(){return"\u6811"}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(M);Pa(dn,"controlEventKeys",["on_change","on_click"]),Pa(dn,"controlFieldType",c.FieldTypes.ARRAY),Pa(dn,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.CAN_SEARCH,c.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,c.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",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 SZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EZ(e,t,r){return t&&pN(e.prototype,t),r&&pN(e,r),e}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 Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(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&&fg(e,t)}function BZ(e,t){return t&&(NZ(t)==="object"||typeof t=="function")?t:dN(e)}function fg(e,t){return fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fg(e,t)}function NZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MZ(e){var t=AZ();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 BZ(this,o)}}var hN=function(e){IZ(r,e);var t=MZ(r);function r(n){SZ(this,r);var o;return o=t.call(this,n),vN(dN(o),"props",void 0),o.props=new yi(n==null?void 0:n.props),o}return EZ(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(k);vN(hN,"controlFieldType",c.FieldTypes.ARRAY);var bN={Designer:dn,Runtime:hN,Property:yi};function he(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ag(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(e)}function sg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_g(e,t)}function kZ(e,t){return t&&(DZ(t)==="object"||typeof t=="function")?t:he(e)}function _g(e,t){return _g=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_g(e,t)}function DZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yg(e){var t=LZ();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 kZ(this,o)}}var FZ=function(e){sg(r,e);var t=yg(r);function r(n){ag(this,r);var o;return o=t.call(this,n),be(he(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),be(he(o),"externalScope",{type:"any"}),Ao.call(he(o),n,Gr.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:h.getMessage("pleaseAssignExternal")}),o}return r}(ue),jZ=function(e){sg(r,e);var t=yg(r);function r(n){ag(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),di=function(e){sg(r,e);var t=yg(r);function r(n){ag(this,r);var o;o=t.call(this,n),be(he(o),"showType",void 0),be(he(o),"range",void 0),be(he(o),"rangeOptions",void 0),be(he(o),"multiple",void 0),be(he(o),"defaultValueType",void 0),be(he(o),"defaultValue",void 0),be(he(o),"multistageFilling",void 0),be(he(o),"datasourceBind",void 0),be(he(o),"datasourceType",void 0),be(he(o),"insideType",void 0),be(he(o),"externalType",void 0),be(he(o),"externalScope",void 0),be(he(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Gr.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var b;o.datasourceBind=new So((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:Gr.controlCustomAttributes});var g;o.datasourceType=(g=n==null?void 0:n.datasourceType)!==null&&g!==void 0?g:c.OrganizeType.INTERNAL;var v;o.insideType=(v=n==null?void 0:n.insideType)!==null&&v!==void 0?v:c.InternalType.ADMIN;var m;o.externalType=(m=n==null?void 0:n.externalType)!==null&&m!==void 0?m:c.AssignType.ALL;var d;o.externalScope=(d=n==null?void 0:n.externalScope)!==null&&d!==void 0?d:[];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 Se(P))})),o}return r}(A);be(di,"Rules",FZ),be(di,"RuntimeRules",jZ);function gN(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 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 xZ(e,t,r){return t&&mN(e.prototype,t),r&&mN(e,r),e}function dg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(e)}function VZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pg(e,t)}function zZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:gN(e)}function pg(e,t){return pg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pg(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=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zZ(this,o)}}var Gr=function(e){VZ(r,e);var t=HZ(r);function r(n){CZ(this,r);var o;return o=t.call(this,n),dg(gN(o),"props",void 0),o.props=new di(n==null?void 0:n.props),o}return xZ(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(M);dg(Gr,"controlFieldType",c.FieldTypes.EMPLOYEES),dg(Gr,"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 ON(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 UZ(e,t,r){return t&&wN(e.prototype,t),r&&wN(e,r),e}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 Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(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&&vg(e,t)}function KZ(e,t){return t&&(XZ(t)==="object"||typeof t=="function")?t:ON(e)}function vg(e,t){return vg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vg(e,t)}function XZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QZ(e){var t=JZ();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 KZ(this,o)}}var $N=function(e){WZ(r,e);var t=QZ(r);function r(n){qZ(this,r);var o;return o=t.call(this,n),PN(ON(o),"props",void 0),o.props=new di(n==null?void 0:n.props),o}return UZ(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(k);PN($N,"controlFieldType",c.FieldTypes.EMPLOYEES);var RN={Designer:Gr,Runtime:$N,Property:di};function St(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TN(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 Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ia(e)}function SN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hg(e,t)}function ZZ(e,t){return t&&(eee(t)==="object"||typeof t=="function")?t:St(e)}function hg(e,t){return hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hg(e,t)}function eee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EN(e){var t=tee();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 ZZ(this,o)}}var nee=function(e){SN(r,e);var t=EN(r);function r(n){TN(this,r);var o;return o=t.call(this,n),Et(St(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:n.signatureConfig.undersignedList.reduce(function(i,u,l){return i[l]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(a,s,_){if(u.type==="public"&&wn(s.value)&&s.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(a,s,_){if(u.type==="public"&&u.signatureType.includes("company")&&wn(s.value)&&s.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},i},{})}}},o}return r}(ue),Ba=function(e){SN(r,e);var t=EN(r);function r(n){TN(this,r);var o;o=t.call(this,n),Et(St(o),"buttonType",void 0),Et(St(o),"content",void 0),Et(St(o),"showType",void 0),Et(St(o),"color",void 0),Et(St(o),"icon",void 0),Et(St(o),"command",""),Et(St(o),"isLoading",!1),Et(St(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:pi.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u53D1\u8D77\u7B7E\u7F72";var l;o.buttonType=(l=n==null?void 0:n.buttonType)!==null&&l!==void 0?l:"primary";var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var s;return o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:"iconfenlei2",o.signatureConfig=new U$(n==null?void 0:n.signatureConfig),o}return r}(A);Et(Ba,"Rules",nee);function IN(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 BN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oee(e,t,r){return t&&BN(e.prototype,t),r&&BN(e,r),e}function Na(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 iee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bg(e,t)}function uee(e,t){return t&&(cee(t)==="object"||typeof t=="function")?t:IN(e)}function bg(e,t){return bg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bg(e,t)}function cee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fee(e){var t=lee();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 uee(this,o)}}var pi=function(e){iee(r,e);var t=fee(r);function r(n){ree(this,r);var o;return o=t.call(this,n),Na(IN(o),"props",void 0),o.props=new Ba(n==null?void 0:n.props),o}return oee(r,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(M);Na(pi,"controlEventKeys",["on_click","on_click_finish"]),Na(pi,"controlFieldType",c.FieldTypes.VARCHAR),Na(pi,"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 NN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function see(e,t,r){return t&&AN(e.prototype,t),r&&AN(e,r),e}function MN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(e)}function _ee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gg(e,t)}function yee(e,t){return t&&(dee(t)==="object"||typeof t=="function")?t:NN(e)}function gg(e,t){return gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gg(e,t)}function dee(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 vee(e){var t=pee();return function(){var n=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yee(this,o)}}var kN=function(e){_ee(r,e);var t=vee(r);function r(n){aee(this,r);var o;return o=t.call(this,n),MN(NN(o),"props",void 0),o.props=new Ba(n==null?void 0:n.props),o}return see(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(k);MN(kN,"controlFieldType",c.FieldTypes.VARCHAR);var DN={Designer:pi,Runtime:kN,Property:Ba};function Te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(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&&wg(e,t)}function hee(e,t){return t&&(bee(t)==="object"||typeof t=="function")?t:Te(e)}function wg(e,t){return wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wg(e,t)}function bee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pg(e){var t=gee();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 hee(this,o)}}var mee=function(e){Og(r,e);var t=Pg(r);function r(n){mg(this,r);var o;return o=t.call(this,n),ge(Te(o),"content",{type:"string",required:!0,message:h.getMessage("pleaseEnterButtonContent")}),ge(Te(o),"canAdd",void 0),ge(Te(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,l,f){if(l.active&&!l.text){f(h.getMessage("pleaseEnterWatermark"));return}f()}},autoRename:{type:"object",validator:function(u,l,f){if(l.active&&!l.text){f(h.getMessage("pleaseEnterFileName"));return}f()}}}}),o.canAdd={type:"boolean",validator:function(u,l,f){if(n.canAdd&&!n.addLocal&&!n.addOnline){f(h.getMessage("pleaseChooseAtLeastOne"));return}f()}},o}return r}(ue),Oee=function(e){Og(r,e);var t=Pg(r);function r(n){mg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),vi=function(e){Og(r,e);var t=Pg(r);function r(n){mg(this,r);var o;o=t.call(this,n),ge(Te(o),"content",void 0),ge(Te(o),"canAdd",void 0),ge(Te(o),"addLocal",void 0),ge(Te(o),"addOnline",void 0),ge(Te(o),"canDownload",void 0),ge(Te(o),"canEdit",void 0),ge(Te(o),"canExport",void 0),ge(Te(o),"canDelete",void 0),ge(Te(o),"wpsSetting",void 0),ge(Te(o),"maxSize",void 0),ge(Te(o),"defaultValue",void 0),ge(Te(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:hi.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u65B0\u5EFA\u6587\u6863";var l;o.canAdd=(l=n==null?void 0:n.canAdd)!==null&&l!==void 0?l:!0;var f;o.addLocal=(f=n==null?void 0:n.addLocal)!==null&&f!==void 0?f:!0;var a;o.addOnline=(a=n==null?void 0:n.addOnline)!==null&&a!==void 0?a:!0;var s;o.canEdit=(s=n==null?void 0:n.canEdit)!==null&&s!==void 0?s:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var p;o.canExport=(p=n==null?void 0:n.canExport)!==null&&p!==void 0?p:!0;var b;o.canDelete=(b=n==null?void 0:n.canDelete)!==null&&b!==void 0?b:!1;var g;o.maxSize=(g=n==null?void 0:n.maxSize)!==null&&g!==void 0?g:mW;var v;o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:[],o.wpsSetting=new W$(n==null?void 0:n.wpsSetting);var m;return o.revisionsMode=(m=n==null?void 0:n.revisionsMode)!==null&&m!==void 0?m:!1,o}return r}(A);ge(vi,"Rules",mee),ge(vi,"RuntimeRules",Oee);function LN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pee(e,t,r){return t&&FN(e.prototype,t),r&&FN(e,r),e}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 La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function $ee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$g(e,t)}function Ree(e,t){return t&&(Tee(t)==="object"||typeof t=="function")?t:LN(e)}function $g(e,t){return $g=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$g(e,t)}function Tee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function See(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eee(e){var t=See();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 Ree(this,o)}}var hi=function(e){$ee(r,e);var t=Eee(r);function r(n){wee(this,r);var o;return o=t.call(this,n),Da(LN(o),"props",void 0),o.props=new vi(n==null?void 0:n.props),o}return Pee(r,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(M);Da(hi,"controlEventKeys",["on_change","on_wps_open"]),Da(hi,"controlFieldType",c.FieldTypes.FILE),Da(hi,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function jN(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 CN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bee(e,t,r){return t&&CN(e.prototype,t),r&&CN(e,r),e}function xN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(e)}function Nee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rg(e,t)}function Aee(e,t){return t&&(Mee(t)==="object"||typeof t=="function")?t:jN(e)}function Rg(e,t){return Rg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rg(e,t)}function Mee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dee(e){var t=kee();return function(){var n=Fa(e),o;if(t){var i=Fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aee(this,o)}}var VN=function(e){Nee(r,e);var t=Dee(r);function r(n){Iee(this,r);var o;return o=t.call(this,n),xN(jN(o),"props",void 0),o.props=new vi(n==null?void 0:n.props),o}return Bee(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(k);xN(VN,"controlFieldType",c.FieldTypes.FILE);var zN={Designer:hi,Runtime:VN,Property:vi};function ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function Sg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eg(e,t)}function Lee(e,t){return t&&(Fee(t)==="object"||typeof t=="function")?t:ae(e)}function Eg(e,t){return Eg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eg(e,t)}function Fee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ig(e){var t=jee();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 Lee(this,o)}}var Cee=function(e){Sg(r,e);var t=Ig(r);function r(n){Tg(this,r);var o;return o=t.call(this,n),se(ae(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),se(ae(o),"businessScope",{type:"any"}),Ao.call(ae(o),n,In.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(ue),xee=function(e){Sg(r,e);var t=Ig(r);function r(n){Tg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),bi=function(e){Sg(r,e);var t=Ig(r);function r(n){Tg(this,r);var o;o=t.call(this,n),se(ae(o),"showType",void 0),se(ae(o),"range",void 0),se(ae(o),"defaultValueType",void 0),se(ae(o),"multiple",void 0),se(ae(o),"rangeOptions",void 0),se(ae(o),"defaultValue",void 0),se(ae(o),"displayLevel",void 0),se(ae(o),"showSubDept",void 0),se(ae(o),"multistageFilling",void 0),se(ae(o),"datasourceBind",void 0),se(ae(o),"datasourceType",void 0),se(ae(o),"businessType",void 0),se(ae(o),"businessScope",void 0),se(ae(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var l;o.range=(l=n==null?void 0:n.range)!==null&&l!==void 0?l:"all";var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:In.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u90E8\u95E8";var v;o.datasourceBind=new So((v=n==null?void 0:n.datasourceBind)!==null&&v!==void 0?v:{attributes:In.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:c.DepartmentType.INTERNAL;var d;o.businessScope=(d=n==null?void 0:n.businessScope)!==null&&d!==void 0?d:[];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 R;(R=o.multistageFilling)===null||R===void 0||R.push(new Se(w))})),o}return r}(A);se(bi,"Rules",Cee),se(bi,"RuntimeRules",xee);function GN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zee(e,t,r){return t&&YN(e.prototype,t),r&&YN(e,r),e}function Ca(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?xa=Reflect.get:xa=function(o,i,u){var l=Hee(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},xa(e,t,r||e)}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(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&&Bg(e,t)}function Yee(e,t){return t&&(qee(t)==="object"||typeof t=="function")?t:GN(e)}function Bg(e,t){return Bg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bg(e,t)}function Hee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yr(e),e!==null););return e}function qee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wee(e){var t=Uee();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 Yee(this,o)}}var In=function(e){Gee(r,e);var t=Wee(r);function r(n){Vee(this,r);var o;return o=t.call(this,n),Ca(GN(o),"props",void 0),o.props=new bi(n==null?void 0:n.props),o}return zee(r,[{key:"toDataBindModel",value:function(o){var i=xa(Yr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.displayLevel,f=u.showSubDept;i.props.displayLevel=l,i.props.showSubDept=f}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(M);Ca(In,"controlName","\u90E8\u95E8"),Ca(In,"controlFieldType",c.FieldTypes.DEPARTMENTS),Ca(In,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 HN(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 qN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xee(e,t,r){return t&&qN(e.prototype,t),r&&qN(e,r),e}function UN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function Jee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ng(e,t)}function Qee(e,t){return t&&(Zee(t)==="object"||typeof t=="function")?t:HN(e)}function Ng(e,t){return Ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ng(e,t)}function Zee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ete(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tte(e){var t=ete();return function(){var n=Va(e),o;if(t){var i=Va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qee(this,o)}}var WN=function(e){Jee(r,e);var t=tte(r);function r(n){Kee(this,r);var o;return o=t.call(this,n),UN(HN(o),"props",void 0),o.props=new bi(n==null?void 0:n.props),o}return Xee(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(k);UN(WN,"controlFieldType",c.FieldTypes.DEPARTMENTS);var KN={Designer:In,Runtime:WN,Property:bi};function U(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ag(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},za(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&&kg(e,t)}function nte(e,t){return t&&(rte(t)==="object"||typeof t=="function")?t:U(e)}function kg(e,t){return kg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kg(e,t)}function rte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ote(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dg(e){var t=ote();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 nte(this,o)}}var ite=function(e){Mg(r,e);var t=Dg(r);function r(n){Ag(this,r);var o;return o=t.call(this,n),W(U(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),W(U(o),"businessScope",{type:"any"}),Ao.call(U(o),n,Bn.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(ue),ute=function(e){Mg(r,e);var t=Dg(r);function r(n){Ag(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),gi=function(e){Mg(r,e);var t=Dg(r);function r(n){Ag(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 l;o.range=(l=n==null?void 0:n.range)!==null&&l!==void 0?l:"all",o.listPageBind=new eu(n==null?void 0:n.listPageBind);var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Bn.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var v;o.datasourceBind=new EP((v=n==null?void 0:n.datasourceBind)!==null&&v!==void 0?v:{attributes:Bn.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:c.DepartmentType.INTERNAL;var d;o.businessScope=(d=n==null?void 0:n.businessScope)!==null&&d!==void 0?d:[];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 R;o.showSelectedDetail=(R=n==null?void 0:n.showSelectedDetail)!==null&&R!==void 0?R:!1,o.selectedContentConfig=new ru(n==null?void 0:n.selectedContentConfig);var T;return o.openMultistageFilling=(T=n==null?void 0:n.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(E){var D;(D=o.multistageFilling)===null||D===void 0||D.push(new Se(E))})),o}return r}(A);W(gi,"Rules",ite),W(gi,"RuntimeRules",ute);function XN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cte(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 lte(e,t,r){return t&&JN(e.prototype,t),r&&JN(e,r),e}function Ga(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 l=ste(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Ya(e,t,r||e)}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hr(e)}function fte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lg(e,t)}function ate(e,t){return t&&(_te(t)==="object"||typeof t=="function")?t:XN(e)}function Lg(e,t){return Lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lg(e,t)}function ste(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hr(e),e!==null););return e}function _te(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dte(e){var t=yte();return function(){var n=Hr(e),o;if(t){var i=Hr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ate(this,o)}}var Bn=function(e){fte(r,e);var t=dte(r);function r(n){cte(this,r);var o;return o=t.call(this,n),Ga(XN(o),"props",void 0),o.props=new gi(n==null?void 0:n.props),o}return lte(r,[{key:"toDataBindModel",value:function(o){var i=Ya(Hr(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,l=u.displayLevel,f=u.showSubDept;i.props.displayLevel=l,i.props.showSubDept=f}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(M);Ga(Bn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Ga(Bn,"controlFieldType",c.FieldTypes.DEPARTMENTS),Ga(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:"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 QN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vte(e,t,r){return t&&ZN(e.prototype,t),r&&ZN(e,r),e}function e3(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 hte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fg(e,t)}function bte(e,t){return t&&(gte(t)==="object"||typeof t=="function")?t:QN(e)}function Fg(e,t){return Fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fg(e,t)}function gte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ote(e){var t=mte();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 bte(this,o)}}var t3=function(e){hte(r,e);var t=Ote(r);function r(n){pte(this,r);var o;return o=t.call(this,n),e3(QN(o),"props",void 0),o.props=new gi(n==null?void 0:n.props),o}return vte(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(k);e3(t3,"controlFieldType",c.FieldTypes.DEPARTMENTS);var n3={Designer:Bn,Runtime:t3,Property:gi};function mi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qa(e)}function Cg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xg(e,t)}function wte(e,t){return t&&(Pte(t)==="object"||typeof t=="function")?t:mi(e)}function xg(e,t){return xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xg(e,t)}function Pte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $te(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vg(e){var t=$te();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 wte(this,o)}}var Rte=function(e){Cg(r,e);var t=Vg(r);function r(n){jg(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ue),Tte=function(e){Cg(r,e);var t=Vg(r);function r(n){jg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(x),Oi=function(e){Cg(r,e);var t=Vg(r);function r(n){jg(this,r);var o;o=t.call(this,n),qr(mi(o),"controlExportName",void 0),qr(mi(o),"permissions",void 0),qr(mi(o),"defaultValue",void 0),qr(mi(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:wi.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var l;o.controlExportName=(l=n==null?void 0:n.controlExportName)!==null&&l!==void 0?l:"";var f;o.permissions=(f=n==null?void 0:n.permissions)!==null&&f!==void 0?f:[];var a;return o.isInlineEdit=(a=n==null?void 0:n.isInlineEdit)!==null&&a!==void 0?a:!1,o}return r}(A);qr(Oi,"Rules",Rte),qr(Oi,"RuntimeRules",Tte);function r3(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 o3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ete(e,t,r){return t&&o3(e.prototype,t),r&&o3(e,r),e}function Ua(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function Ite(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zg(e,t)}function Bte(e,t){return t&&(Nte(t)==="object"||typeof t=="function")?t:r3(e)}function zg(e,t){return zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zg(e,t)}function Nte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ate(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mte(e){var t=Ate();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 Bte(this,o)}}var wi=function(e){Ite(r,e);var t=Mte(r);function r(n){Ste(this,r);var o;return o=t.call(this,n),Ua(r3(o),"props",void 0),o.props=new Oi(n==null?void 0:n.props),o}return Ete(r,null,[{key:"controlName",get:function(){return"Vue\u9875\u9762"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return c.CONTROL_TYPE.VUE_PAGE}}]),r}(M);Ua(wi,"controlFieldType",c.FieldTypes.ANY),Ua(wi,"controlEventKeys",[]),Ua(wi,"setting",[]);function i3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Dte(e,t,r){return t&&u3(e.prototype,t),r&&u3(e,r),e}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 Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ka(e)}function Lte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gg(e,t)}function Fte(e,t){return t&&(jte(t)==="object"||typeof t=="function")?t:i3(e)}function Gg(e,t){return Gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gg(e,t)}function jte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xte(e){var t=Cte();return function(){var n=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fte(this,o)}}var l3=function(e){Lte(r,e);var t=xte(r);function r(n){kte(this,r);var o;return o=t.call(this,n),c3(i3(o),"props",void 0),o.props=new Oi(n==null?void 0:n.props),o}return Dte(r,null,[{key:"controlType",get:function(){return c.CONTROL_TYPE.VUE_PAGE}}]),r}(k);c3(l3,"controlFieldType",c.FieldTypes.ANY);var f3={Designer:wi,Runtime:l3,Property:Oi},Vte=Object.freeze({__proto__:null,Input:xS,Checkbox:US,Radio:rE,Number:aE,DatePicker:hE,DateRange:SE,Textarea:kE,RichText:VE,Select:JE,SelectMultiple:oI,Employee:dI,Image:$I,Attachment:mI,Amount:NI,Score:jI,Address:WI,Department:oB,AutoNumber:_B,Calc:gB,SearchNumberRange:IB,SearchDateRange:CB,VueFormItem:qB,SelectRelation:nN,SearchInput:sN,Tree:bN,Employee2:RN,ElectronicSignature:DN,WPS:zN,Department2:KN,OrganizationSelection:n3,VuePage:f3});function zte(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 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 Yte(e,t,r){return t&&a3(e.prototype,t),r&&a3(e,r),e}function Hte(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 qte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yg(e,t)}function Ute(e,t){return t&&(Wte(t)==="object"||typeof t=="function")?t:zte(e)}function Yg(e,t){return Yg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yg(e,t)}function Wte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xte(e){var t=Kte();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 Ute(this,o)}}var s3=function(e){qte(r,e);var t=Xte(r);function r(n){return Gte(this,r),t.call(this,n)}return Yte(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(q);Hte(s3,"excludes",[c.CONTROL_TYPE.GRID]);function Jte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 Zte(e,t,r){return t&&_3(e.prototype,t),r&&_3(e,r),e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(e)}function ene(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hg(e,t)}function tne(e,t){return t&&(nne(t)==="object"||typeof t=="function")?t:Jte(e)}function Hg(e,t){return Hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hg(e,t)}function nne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function one(e){var t=rne();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 tne(this,o)}}var ine=function(e){ene(r,e);var t=one(r);function r(n){return Qte(this,r),t.call(this,n)}return Zte(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(Z),y3={Designer:s3,Runtime:ine,Property:z};function qg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function une(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(e)}function cne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ug(e,t)}function lne(e,t){return t&&(fne(t)==="object"||typeof t=="function")?t:qg(e)}function Ug(e,t){return Ug=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ug(e,t)}function fne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ane(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sne(e){var t=ane();return function(){var n=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lne(this,o)}}var _ne=24,Nn=function(e){cne(r,e);var t=sne(r);function r(n){une(this,r);var o;o=t.call(this,n),d3(qg(o),"span",void 0),d3(qg(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:_ne;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(z);function p3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dne(e,t,r){return t&&v3(e.prototype,t),r&&v3(e,r),e}function Wg(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 pne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kg(e,t)}function vne(e,t){return t&&(hne(t)==="object"||typeof t=="function")?t:p3(e)}function Kg(e,t){return Kg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kg(e,t)}function hne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gne(e){var t=bne();return function(){var n=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vne(this,o)}}var Pi=function(e){pne(r,e);var t=gne(r);function r(n){yne(this,r);var o;return o=t.call(this,n),Wg(p3(o),"props",void 0),o.props=new Nn(n==null?void 0:n.props),o}return dne(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(q);Wg(Pi,"excludes",[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.DIVIDER]),Wg(Pi,"childrenMaxLength",1);function h3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 One(e,t,r){return t&&b3(e.prototype,t),r&&b3(e,r),e}function wne(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 Pne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $ne(e,t){return t&&(Rne(t)==="object"||typeof t=="function")?t:h3(e)}function Xg(e,t){return Xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xg(e,t)}function Rne(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 Sne(e){var t=Tne();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 $ne(this,o)}}var Jg=function(e){Pne(r,e);var t=Sne(r);function r(n){mne(this,r);var o;return o=t.call(this,n),wne(h3(o),"props",void 0),o.props=new Nn(n==null?void 0:n.props),o}return One(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Z),ts={Designer:Pi,Runtime:Jg,Property:Nn};function Qg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ene(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function Ine(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bne(e,t){return t&&(Nne(t)==="object"||typeof t=="function")?t:Qg(e)}function Zg(e,t){return Zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zg(e,t)}function Nne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ane(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mne(e){var t=Ane();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 Bne(this,o)}}var rs=function(e){Ine(r,e);var t=Mne(r);function r(n){Ene(this,r);var o;o=t.call(this,n),g3(Qg(o),"layoutMode",void 0),g3(Qg(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 m3(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 O3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dne(e,t,r){return t&&O3(e.prototype,t),r&&O3(e,r),e}function e0(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 Lne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t0(e,t)}function Fne(e,t){return t&&(jne(t)==="object"||typeof t=="function")?t:m3(e)}function t0(e,t){return t0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t0(e,t)}function jne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xne(e){var t=Cne();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 Fne(this,o)}}var is=function(e){Lne(r,e);var t=xne(r);function r(n){kne(this,r);var o;return o=t.call(this,n),e0(m3(o),"props",void 0),o.props=new rs(n==null?void 0:n.props),o}return Dne(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);e0(is,"excludes",[c.CONTROL_TYPE.ROW]),e0(is,"setting",[{key:"col-setting",visible:!0}]);function w3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zne(e,t,r){return t&&P3(e.prototype,t),r&&P3(e,r),e}function Gne(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 Yne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function Hne(e,t){return t&&(qne(t)==="object"||typeof t=="function")?t:w3(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n0(e,t)}function qne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Une(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Une();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 Hne(this,o)}}var $3=function(e){Yne(r,e);var t=Wne(r);function r(n){Vne(this,r);var o;return o=t.call(this,n),Gne(w3(o),"props",void 0),o.props=new rs(n==null?void 0:n.props),o}return zne(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Z),R3={Designer:is,Runtime:$3,Property:rs};function Kne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Jne(e,t,r){return t&&T3(e.prototype,t),r&&T3(e,r),e}function r0(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 Qne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o0(e,t)}function Zne(e,t){return t&&(ere(t)==="object"||typeof t=="function")?t:Kne(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o0(e,t)}function ere(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nre(e){var t=tre();return function(){var n=cs(e),o;if(t){var i=cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zne(this,o)}}var rre=4,ls=function(e){Qne(r,e);var t=nre(r);function r(n){return Xne(this,r),t.call(this,n)}return Jne(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}(is);r0(ls,"excludes",[c.CONTROL_TYPE.GRID_ROW]),r0(ls,"setting",[]),r0(ls,"childrenMaxLength",rre);function ore(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ire(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ure(e,t,r){return t&&S3(e.prototype,t),r&&S3(e,r),e}function fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fs(e)}function cre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lre(e,t){return t&&(fre(t)==="object"||typeof t=="function")?t:ore(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function fre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function are(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=are();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 lre(this,o)}}var _re=function(e){cre(r,e);var t=sre(r);function r(n){return ire(this,r),t.call(this,n)}return ure(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}($3);function yre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},as(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&&u0(e,t)}function vre(e,t){return t&&(hre(t)==="object"||typeof t=="function")?t:yre(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u0(e,t)}function hre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gre(e){var t=bre();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 vre(this,o)}}var mre=function(e){pre(r,e);var t=gre(r);function r(n){return dre(this,r),t.call(this,n)}return r}(rs),c0={Designer:ls,Runtime:_re,Property:mre};function $i(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ri(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ss(e){return ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ss(e)}function I3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l0(e,t)}function Ore(e,t){return t&&(wre(t)==="object"||typeof t=="function")?t:$i(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l0(e,t)}function wre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B3(e){var t=Pre();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 Ore(this,o)}}var $re=function(e){I3(r,e);var t=B3(r);function r(){E3(this,r);var n;return n=t.apply(this,arguments),Ri($i(n),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),n}return r}(z.Rules),_s=function(e){I3(r,e);var t=B3(r);function r(n){E3(this,r);var o;o=t.call(this,n),Ri($i(o),"caption",void 0),Ri($i(o),"isHideCaption",void 0),Ri($i(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var l;return o.collapse=(l=n==null?void 0:n.collapse)!==null&&l!==void 0?l:"none",o}return r}(z);Ri(_s,"Rules",$re);function N3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Tre(e,t,r){return t&&A3(e.prototype,t),r&&A3(e,r),e}function f0(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 Sre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a0(e,t)}function Ere(e,t){return t&&(Ire(t)==="object"||typeof t=="function")?t:N3(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a0(e,t)}function Ire(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nre(e){var t=Bre();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 Ere(this,o)}}var s0=function(e){Sre(r,e);var t=Nre(r);function r(n){Rre(this,r);var o;return o=t.call(this,n),f0(N3(o),"props",void 0),o.props=new _s(n==null?void 0:n.props),o}return Tre(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(q);f0(s0,"setting",[{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]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),f0(s0,"excludes",[c.CONTROL_TYPE.CARD_GROUP]);function M3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Are(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mre(e,t,r){return t&&k3(e.prototype,t),r&&k3(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 ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(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&&_0(e,t)}function Lre(e,t){return t&&(Fre(t)==="object"||typeof t=="function")?t:M3(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_0(e,t)}function Fre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cre(e){var t=jre();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 Lre(this,o)}}var xre=function(e){Dre(r,e);var t=Cre(r);function r(n){Are(this,r);var o;return o=t.call(this,n),kre(M3(o),"props",void 0),o.props=new _s(n==null?void 0:n.props),o}return Mre(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(Z),D3={Designer:s0,Runtime:xre,Property:_s};function It(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bt(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 F3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y0(e,t)}function Vre(e,t){return t&&(zre(t)==="object"||typeof t=="function")?t:It(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}function zre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j3(e){var t=Gre();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 Vre(this,o)}}var Yre=function(e){F3(r,e);var t=j3(r);function r(n){L3(this,r);var o;return o=t.call(this,n),Bt(It(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Bt(It(o),"width",{type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")}),Bt(It(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(re),vs=function(e){F3(r,e);var t=j3(r);function r(n){L3(this,r);var o;o=t.call(this,n),Bt(It(o),"metaAutoWidth",void 0),Bt(It(o),"caption",void 0),Bt(It(o),"fixed",void 0),Bt(It(o),"isShowCaptionTip",void 0),Bt(It(o),"captionTip",void 0),Bt(It(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var f;o.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var a;return o.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1,o.metaAutoWidth=new fd(n==null?void 0:n.metaAutoWidth),o}return r}(z);Bt(vs,"Rules",Yre);function C3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hre(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 hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function qre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ure(e,t){return t&&(Wre(t)==="object"||typeof t=="function")?t:C3(e)}function d0(e,t){return d0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d0(e,t)}function Wre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xre(e){var t=Kre();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 Ure(this,o)}}var gt=function(e){qre(r,e);var t=Xre(r);function r(n){Hre(this,r);var o;return o=t.call(this,n),An(C3(o),"props",void 0),o.props=new vs(n==null?void 0:n.props),o}return r}(q);An(gt,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),An(gt,"controlType","subtable-column"),An(gt,"controlIcon","subtable-column"),An(gt,"childrenMaxLength",1),An(gt,"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(gt,"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 x3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V3(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 Qre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zre(e,t){return t&&(eoe(t)==="object"||typeof t=="function")?t:x3(e)}function p0(e,t){return p0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p0(e,t)}function eoe(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 noe(e){var t=toe();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 Zre(this,o)}}var z3=function(e){Qre(r,e);var t=noe(r);function r(n){Jre(this,r);var o;return o=t.call(this,n),V3(x3(o),"props",void 0),o.props=new vs(n==null?void 0:n.props),o}return r}(Z);V3(z3,"controlType","subtable-column");var v0={Designer:gt,Runtime:z3,Property:vs};function roe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ooe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gs(e)}function ioe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h0(e,t)}function uoe(e,t){return t&&(coe(t)==="object"||typeof t=="function")?t:roe(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h0(e,t)}function coe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function loe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function foe(e){var t=loe();return function(){var n=gs(e),o;if(t){var i=gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uoe(this,o)}}var b0=function(e){ioe(r,e);var t=foe(r);function r(n){return ooe(this,r),t.call(this,n)}return r}(z);function G3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ms(e)}function soe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _oe(e,t){return t&&(yoe(t)==="object"||typeof t=="function")?t:G3(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g0(e,t)}function yoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function doe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function poe(e){var t=doe();return function(){var n=ms(e),o;if(t){var i=ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _oe(this,o)}}var kn=function(e){soe(r,e);var t=poe(r);function r(n){aoe(this,r);var o;return o=t.call(this,n),Mn(G3(o),"props",void 0),o.props=new b0(n==null?void 0:n.props),o}return r}(q);Mn(kn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),Mn(kn,"controlType","subtable-row"),Mn(kn,"controlIcon","subtable-row"),Mn(kn,"childrenMaxLength",1),Mn(kn,"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]),Mn(kn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0}]);function Y3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function voe(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 hoe(e,t,r){return t&&H3(e.prototype,t),r&&H3(e,r),e}function boe(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 goe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 moe(e,t){return t&&(Ooe(t)==="object"||typeof t=="function")?t:Y3(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m0(e,t)}function Ooe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function woe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Poe(e){var t=woe();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 moe(this,o)}}var $oe=function(e){goe(r,e);var t=Poe(r);function r(n){voe(this,r);var o;return o=t.call(this,n),boe(Y3(o),"props",void 0),o.props=new b0(n==null?void 0:n.props),o}return hoe(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(Z),q3={Designer:kn,Runtime:$oe,Property:b0};function Ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Roe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ws(e){return ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ws(e)}function Toe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Soe(e,t){return t&&(Eoe(t)==="object"||typeof t=="function")?t:Ue(e)}function O0(e,t){return O0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},O0(e,t)}function Eoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ioe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Boe(e){var t=Ioe();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 Soe(this,o)}}var w0=function(e){Toe(r,e);var t=Boe(r);function r(n){Roe(this,r);var o;o=t.call(this,n),ft(Ue(o),"widthType",void 0),ft(Ue(o),"width",void 0),ft(Ue(o),"caption",void 0),ft(Ue(o),"fieldCode",void 0),ft(Ue(o),"fieldType",void 0),ft(Ue(o),"fieldName",void 0),ft(Ue(o),"datasourceBind",void 0),ft(Ue(o),"fixed",void 0),ft(Ue(o),"textCleanFormart",void 0),ft(Ue(o),"decimalKeepPrecision",void 0),ft(Ue(o),"timestampDateType",void 0),ft(Ue(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var l;o.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:!1;var f;o.fieldCode=(f=n==null?void 0:n.fieldCode)!==null&&f!==void 0?f:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:c.FieldTypes.VARCHAR;var s;o.fieldName=(s=n==null?void 0:n.fieldName)!==null&&s!==void 0?s:"",o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var p;o.decimalKeepPrecision=(p=n==null?void 0:n.decimalKeepPrecision)!==null&&p!==void 0?p:0;var b;o.timestampDateType=(b=n==null?void 0:n.timestampDateType)!==null&&b!==void 0?b:c.DateType.DATE;var g;return o.departmentDisplayLevel=(g=n==null?void 0:n.departmentDisplayLevel)!==null&&g!==void 0?g:1,o}return r}(z);function U3(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 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 Ps(e){return Ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ps(e)}function Aoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P0(e,t)}function Moe(e,t){return t&&(koe(t)==="object"||typeof t=="function")?t:U3(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}function koe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Doe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Loe(e){var t=Doe();return function(){var n=Ps(e),o;if(t){var i=Ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Moe(this,o)}}var Ln=function(e){Aoe(r,e);var t=Loe(r);function r(n){Noe(this,r);var o;return o=t.call(this,n),Dn(U3(o),"props",void 0),o.props=new w0(n==null?void 0:n.props),o}return r}(q);Dn(Ln,"controlName","\u5217\u8868\u5355\u5143\u683C"),Dn(Ln,"controlType","gridtable-column"),Dn(Ln,"controlIcon","gridtable-column"),Dn(Ln,"childrenMaxLength",1),Dn(Ln,"excludes",[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]),Dn(Ln,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function W3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Foe(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 $s(e){return $s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$s(e)}function joe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$0(e,t)}function Coe(e,t){return t&&(xoe(t)==="object"||typeof t=="function")?t:W3(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}function xoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Voe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zoe(e){var t=Voe();return function(){var n=$s(e),o;if(t){var i=$s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Coe(this,o)}}var X3=function(e){joe(r,e);var t=zoe(r);function r(n){Foe(this,r);var o;return o=t.call(this,n),K3(W3(o),"props",void 0),o.props=new w0(n==null?void 0:n.props),o}return r}(Z);K3(X3,"controlType","gridtable-column");var J3={Designer:Ln,Runtime:X3,Property:w0};function R0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Goe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q3(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 Yoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T0(e,t)}function Hoe(e,t){return t&&(qoe(t)==="object"||typeof t=="function")?t:R0(e)}function T0(e,t){return T0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T0(e,t)}function qoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Woe(e){var t=Uoe();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 Hoe(this,o)}}var S0=function(e){Yoe(r,e);var t=Woe(r);function r(n){Goe(this,r);var o;o=t.call(this,n),Q3(R0(o),"childMinWidth",void 0),Q3(R0(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 Z3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Koe(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 Xoe(e,t,r){return t&&e1(e.prototype,t),r&&e1(e,r),e}function E0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ts(e){return Ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ts(e)}function Joe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I0(e,t)}function Qoe(e,t){return t&&(Zoe(t)==="object"||typeof t=="function")?t:Z3(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I0(e,t)}function Zoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tie(e){var t=eie();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 Qoe(this,o)}}var B0=function(e){Joe(r,e);var t=tie(r);function r(n){Koe(this,r);var o;return o=t.call(this,n),E0(Z3(o),"props",void 0),o.props=new S0(n==null?void 0:n.props),o}return Xoe(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);E0(B0,"excludes",[c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.TAB]),E0(B0,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function t1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rie(e,t,r){return t&&n1(e.prototype,t),r&&n1(e,r),e}function oie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ss(e){return Ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ss(e)}function 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&&N0(e,t)}function uie(e,t){return t&&(cie(t)==="object"||typeof t=="function")?t:t1(e)}function N0(e,t){return N0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N0(e,t)}function cie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fie(e){var t=lie();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 uie(this,o)}}var aie=function(e){iie(r,e);var t=fie(r);function r(n){nie(this,r);var o;return o=t.call(this,n),oie(t1(o),"props",void 0),o.props=new S0(n==null?void 0:n.props),o}return rie(r,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),r}(Z),r1={Designer:B0,Runtime:aie,Property:S0};function o1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 Es(e){return Es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Es(e)}function yie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A0(e,t)}function die(e,t){return t&&(pie(t)==="object"||typeof t=="function")?t:o1(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function pie(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 hie(e){var t=vie();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 die(this,o)}}var M0=function(e){yie(r,e);var t=hie(r);function r(n){sie(this,r);var o;o=t.call(this,n),_ie(o1(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 k0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function D0(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 u1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L0(e,t)}function bie(e,t){return t&&(gie(t)==="object"||typeof t=="function")?t:k0(e)}function L0(e,t){return L0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L0(e,t)}function gie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c1(e){var t=mie();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 bie(this,o)}}var Oie=function(e){u1(r,e);var t=c1(r);function r(n){i1(this,r);var o;return o=t.call(this,n),D0(k0(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),o}return r}(re),Bs=function(e){u1(r,e);var t=c1(r);function r(n){i1(this,r);var o;o=t.call(this,n),D0(k0(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Si.controlName,o}return r}(z);D0(Bs,"Rules",Oie);function l1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pie(e,t,r){return t&&f1(e.prototype,t),r&&f1(e,r),e}function F0(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 $ie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j0(e,t)}function Rie(e,t){return t&&(Tie(t)==="object"||typeof t=="function")?t:l1(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(e,t)}function Tie(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 Eie(e){var t=Sie();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 Rie(this,o)}}var Ti=function(e){$ie(r,e);var t=Eie(r);function r(n){wie(this,r);var o;return o=t.call(this,n),F0(l1(o),"props",void 0),o.props=new Bs(n==null?void 0:n.props),o}return Pie(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);F0(Ti,"excludes",[c.CONTROL_TYPE.TAB]),F0(Ti,"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 a1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bie(e,t,r){return t&&s1(e.prototype,t),r&&s1(e,r),e}function Nie(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 Aie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mie(e,t){return t&&(kie(t)==="object"||typeof t=="function")?t:a1(e)}function C0(e,t){return C0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C0(e,t)}function kie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Die(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lie(e){var t=Die();return function(){var n=As(e),o;if(t){var i=As(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mie(this,o)}}var Fie=function(e){Aie(r,e);var t=Lie(r);function r(n){Iie(this,r);var o;return o=t.call(this,n),Nie(a1(o),"props",void 0),o.props=new Bs(n==null?void 0:n.props),o}return Bie(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(Z),_1={Designer:Ti,Runtime:Fie,Property:Bs};function y1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Cie(e,t,r){return t&&d1(e.prototype,t),r&&d1(e,r),e}function Ms(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ks(e){return ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ks(e)}function xie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x0(e,t)}function Vie(e,t){return t&&(zie(t)==="object"||typeof t=="function")?t:y1(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x0(e,t)}function zie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yie(e){var t=Gie();return function(){var n=ks(e),o;if(t){var i=ks(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vie(this,o)}}var Si=function(e){xie(r,e);var t=Yie(r);function r(n){jie(this,r);var o;o=t.call(this,n),Ms(y1(o),"props",void 0),o.props=new M0(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Ti,new Ti],o}return Cie(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(q);Ms(Si,"excludes",[c.CONTROL_TYPE.TAB]),Ms(Si,"controlEventKeys",["on_change_tab"]),Ms(Si,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function p1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qie(e,t,r){return t&&v1(e.prototype,t),r&&v1(e,r),e}function Uie(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 Wie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V0(e,t)}function Kie(e,t){return t&&(Xie(t)==="object"||typeof t=="function")?t:p1(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function Xie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qie(e){var t=Jie();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 Kie(this,o)}}var Zie=function(e){Wie(r,e);var t=Qie(r);function r(n){Hie(this,r);var o;return o=t.call(this,n),Uie(p1(o),"props",void 0),o.props=new M0(n==null?void 0:n.props),o}return qie(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(Z),h1={Designer:Si,Runtime:Zie,Property:M0};function eue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ls(e)}function nue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z0(e,t)}function rue(e,t){return t&&(oue(t)==="object"||typeof t=="function")?t:eue(e)}function z0(e,t){return z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z0(e,t)}function oue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uue(e){var t=iue();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 rue(this,o)}}var b1=function(e){nue(r,e);var t=uue(r);function r(n){return tue(this,r),t.call(this,n)}return r}(z);function g1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lue(e,t,r){return t&&m1(e.prototype,t),r&&m1(e,r),e}function O1(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 fue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G0(e,t)}function aue(e,t){return t&&(sue(t)==="object"||typeof t=="function")?t:g1(e)}function G0(e,t){return G0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G0(e,t)}function sue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yue(e){var t=_ue();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 aue(this,o)}}var w1=function(e){fue(r,e);var t=yue(r);function r(n){cue(this,r);var o;return o=t.call(this,n),O1(g1(o),"props",void 0),o.props=new b1({}),o.children=(n==null?void 0:n.children)||[new Pi({props:new Nn({span:12})}),new Pi({props:new Nn({span:12})})],o}return lue(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(q);O1(w1,"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 due(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pue(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 vue(e,t,r){return t&&P1(e.prototype,t),r&&P1(e,r),e}function js(e){return js=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},js(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&&Y0(e,t)}function bue(e,t){return t&&(gue(t)==="object"||typeof t=="function")?t:due(e)}function Y0(e,t){return Y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y0(e,t)}function gue(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 Oue(e){var t=mue();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 bue(this,o)}}var wue=function(e){hue(r,e);var t=Oue(r);function r(n){pue(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new Jg({props:new Nn({span:12})}),new Jg({props:new Nn({span:12})})],o}return vue(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(Z),$1={Designer:w1,Runtime:wue,Property:b1};function K(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cs(e){return Cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cs(e)}function q0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U0(e,t)}function Pue(e,t){return t&&($ue(t)==="object"||typeof t=="function")?t:K(e)}function U0(e,t){return U0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U0(e,t)}function $ue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W0(e){var t=Rue();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 Pue(this,o)}}var R1;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(R1||(R1={}));var Tue=function(e){q0(r,e);var t=W0(r);function r(n){H0(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(en),Sue=function(e){q0(r,e);var t=W0(r);function r(n){H0(this,r);var o;if(o=t.call(this,n),X(K(o),"triggerFieldCode",{type:"any"}),X(K(o),"datasourceBind",{type:"any"}),X(K(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),fu.call(K(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}(re),Ei=function(e){q0(r,e);var t=W0(r);function r(n){H0(this,r);var o;o=t.call(this,n),X(K(o),"datasourceBind",void 0),X(K(o),"isLoading",void 0),X(K(o),"isShowSubList",void 0),X(K(o),"triggerType",void 0),X(K(o),"triggerFieldCode",void 0),X(K(o),"sublistPage",void 0),X(K(o),"isShowJoinRelation",void 0),X(K(o),"joinRelation",void 0),X(K(o),"showType",void 0),X(K(o),"showFullScreen",void 0),X(K(o),"isFixedHeader",void 0),X(K(o),"selectionType",void 0),X(K(o),"isShowSelection",void 0),X(K(o),"isAllLoaded",void 0),X(K(o),"countType",void 0),X(K(o),"countLimit",void 0),X(K(o),"rowStyle",void 0),o.datasourceBind=new oe(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 l;o.triggerType=(l=n==null?void 0:n.triggerType)!==null&&l!==void 0?l:1;var f;o.triggerFieldCode=(f=n==null?void 0:n.triggerFieldCode)!==null&&f!==void 0?f:"",o.sublistPage=new $P(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 TP(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 p;o.selectionType=(p=n==null?void 0:n.selectionType)!==null&&p!==void 0?p:"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 v;o.isAllLoaded=(v=n==null?void 0:n.isAllLoaded)!==null&&v!==void 0?v:!0,o.countType=n==null?void 0:n.countType;var m;return o.countLimit=(m=n==null?void 0:n.countLimit)!==null&&m!==void 0?m:1e5,o.rowStyle=new GP(n==null?void 0:n.rowStyle),o}return r}(z);X(Ei,"Rules",Sue),X(Ei,"RuntimeRules",Tue);function T1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Iue(e,t,r){return t&&S1(e.prototype,t),r&&S1(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 xs(e){return xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xs(e)}function Bue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nue(e,t){return t&&(Aue(t)==="object"||typeof t=="function")?t:T1(e)}function K0(e,t){return K0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K0(e,t)}function Aue(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 kue(e){var t=Mue();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 Nue(this,o)}}var Bi=function(e){Bue(r,e);var t=kue(r);function r(n){Eue(this,r);var o;return o=t.call(this,n),Ii(T1(o),"props",void 0),o.props=new Ei(n==null?void 0:n.props),o}return Iue(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);Ii(Bi,"slotPosition",{left:"list-view-left-slot"}),Ii(Bi,"excludes",[c.CONTROL_TYPE.ROW]),Ii(Bi,"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"]),Ii(Bi,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}]);function E1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Due(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 Lue(e,t,r){return t&&I1(e.prototype,t),r&&I1(e,r),e}function Fue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vs(e){return Vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vs(e)}function jue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X0(e,t)}function Cue(e,t){return t&&(xue(t)==="object"||typeof t=="function")?t:E1(e)}function X0(e,t){return X0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X0(e,t)}function xue(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 zue(e){var t=Vue();return function(){var n=Vs(e),o;if(t){var i=Vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cue(this,o)}}var Gue=function(e){jue(r,e);var t=zue(r);function r(n){Due(this,r);var o;return o=t.call(this,n),Fue(E1(o),"props",void 0),o.props=new Ei(n==null?void 0:n.props),o}return Lue(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Z),J0={Designer:Bi,Runtime:Gue,Property:Ei};function pn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zs(e){return zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zs(e)}function N1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yue(e,t){return t&&(Hue(t)==="object"||typeof t=="function")?t:pn(e)}function Q0(e,t){return Q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q0(e,t)}function Hue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function que(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A1(e){var t=que();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 Yue(this,o)}}var Uue=function(e){N1(r,e);var t=A1(r);function r(n){B1(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(en),Gs=function(e){N1(r,e);var t=A1(r);function r(n){B1(this,r);var o;o=t.call(this,n),vn(pn(o),"save",void 0),vn(pn(o),"cancel",void 0),vn(pn(o),"saveAs",void 0),vn(pn(o),"print",void 0),vn(pn(o),"custom",void 0),vn(pn(o),"isLoading",void 0),vn(pn(o),"datasourceBind",void 0);var i;o.save=new kt((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new kt((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var l;o.saveAs=new kt((l=n==null?void 0:n.saveAs)!==null&&l!==void 0?l:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var f;o.print=new kt((f=n==null?void 0:n.print)!==null&&f!==void 0?f:{content:"\u6253\u5370",type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(_){return new kt(_)});var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o.datasourceBind=new oe(n==null?void 0:n.datasourceBind),o}return r}(z);vn(Gs,"RuntimeRules",Uue);function M1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wue(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 Kue(e,t,r){return t&&k1(e.prototype,t),r&&k1(e,r),e}function D1(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 Xue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z0(e,t)}function Jue(e,t){return t&&(Que(t)==="object"||typeof t=="function")?t:M1(e)}function Z0(e,t){return Z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z0(e,t)}function Que(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 ece(e){var t=Zue();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 Jue(this,o)}}var L1=function(e){Xue(r,e);var t=ece(r);function r(n){Wue(this,r);var o;return o=t.call(this,n),D1(M1(o),"props",void 0),o.props=new Gs(n==null?void 0:n.props),o}return Kue(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(q);D1(L1,"excludes",[]);function F1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tce(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 nce(e,t,r){return t&&j1(e.prototype,t),r&&j1(e,r),e}function rce(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 oce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&em(e,t)}function ice(e,t){return t&&(uce(t)==="object"||typeof t=="function")?t:F1(e)}function em(e,t){return em=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},em(e,t)}function uce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lce(e){var t=cce();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 ice(this,o)}}var fce=function(e){oce(r,e);var t=lce(r);function r(n){tce(this,r);var o;return o=t.call(this,n),rce(F1(o),"props",void 0),o.props=new Gs(n==null?void 0:n.props),o}return nce(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Z),tm={Designer:L1,Runtime:fce,Property:Gs};function ace(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sce(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 _ce(e,t,r){return t&&C1(e.prototype,t),r&&C1(e,r),e}function qs(e){return qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qs(e)}function yce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nm(e,t)}function dce(e,t){return t&&(pce(t)==="object"||typeof t=="function")?t:ace(e)}function nm(e,t){return nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nm(e,t)}function pce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hce(e){var t=vce();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 dce(this,o)}}var bce=function(e){yce(r,e);var t=hce(r);function r(n){return sce(this,r),t.call(this,n)}return _ce(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 gce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Oce(e,t,r){return t&&x1(e.prototype,t),r&&x1(e,r),e}function Us(e){return Us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Us(e)}function wce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rm(e,t)}function Pce(e,t){return t&&($ce(t)==="object"||typeof t=="function")?t:gce(e)}function rm(e,t){return rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rm(e,t)}function $ce(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 Tce(e){var t=Rce();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 Pce(this,o)}}var Sce=function(e){wce(r,e);var t=Tce(r);function r(n){return mce(this,r),t.call(this,n)}return Oce(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(Z);function Ur(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ece(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ni(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ws(e){return Ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ws(e)}function Ice(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bce(e,t){return t&&(Nce(t)==="object"||typeof t=="function")?t:Ur(e)}function om(e,t){return om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},om(e,t)}function Nce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ace(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mce(e){var t=Ace();return function(){var n=Ws(e),o;if(t){var i=Ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bce(this,o)}}var kce=function(e){Ice(r,e);var t=Mce(r);function r(n){Ece(this,r);var o;o=t.call(this,n),Ni(Ur(o),"hideHeader",void 0),Ni(Ur(o),"background","#fff"),Ni(Ur(o),"minWidth",""),Ni(Ur(o),"maxWidth",""),Ni(Ur(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),V1={Designer:bce,Runtime:Sce,Property:kce};function Dce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z1(e,t){for(var r=0;r<t.length;r++){var 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&&z1(e.prototype,t),r&&z1(e,r),e}function Ks(e){return Ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ks(e)}function jce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&im(e,t)}function Cce(e,t){return t&&(xce(t)==="object"||typeof t=="function")?t:Dce(e)}function im(e,t){return im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},im(e,t)}function xce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Vce();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 Cce(this,o)}}var Gce=function(e){jce(r,e);var t=zce(r);function r(n){return Lce(this,r),t.call(this,n)}return Fce(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 Yce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qce(e,t,r){return t&&G1(e.prototype,t),r&&G1(e,r),e}function Xs(e){return Xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xs(e)}function Uce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&um(e,t)}function Wce(e,t){return t&&(Kce(t)==="object"||typeof t=="function")?t:Yce(e)}function um(e,t){return um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},um(e,t)}function Kce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jce(e){var t=Xce();return function(){var n=Xs(e),o;if(t){var i=Xs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wce(this,o)}}var Qce=function(e){Uce(r,e);var t=Jce(r);function r(n){return Hce(this,r),t.call(this,n)}return qce(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Z);function cm(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 Y1(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 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&&lm(e,t)}function tle(e,t){return t&&(nle(t)==="object"||typeof t=="function")?t:cm(e)}function lm(e,t){return lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lm(e,t)}function nle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ole(e){var t=rle();return function(){var n=Js(e),o;if(t){var i=Js(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tle(this,o)}}var ile=function(e){ele(r,e);var t=ole(r);function r(n){Zce(this,r);var o;return o=t.call(this,n),Y1(cm(o),"display",void 0),Y1(cm(o),"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new eR(n==null?void 0:n.flexConfig),o}return r}(z),H1={Designer:Gce,Runtime:Qce,Property:ile};function ule(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lle(e,t,r){return t&&q1(e.prototype,t),r&&q1(e,r),e}function Qs(e){return Qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qs(e)}function fle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fm(e,t)}function ale(e,t){return t&&(sle(t)==="object"||typeof t=="function")?t:ule(e)}function fm(e,t){return fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fm(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=Qs(e),o;if(t){var i=Qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ale(this,o)}}var dle=function(e){fle(r,e);var t=yle(r);function r(n){return cle(this,r),t.call(this,n)}return lle(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 ple(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 hle(e,t,r){return t&&U1(e.prototype,t),r&&U1(e,r),e}function Zs(e){return Zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zs(e)}function ble(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&am(e,t)}function gle(e,t){return t&&(mle(t)==="object"||typeof t=="function")?t:ple(e)}function am(e,t){return am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},am(e,t)}function mle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ole(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wle(e){var t=Ole();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 gle(this,o)}}var Ple=function(e){ble(r,e);var t=wle(r);function r(n){return vle(this,r),t.call(this,n)}return hle(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Z);function $le(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e_(e){return e_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},e_(e)}function Tle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sm(e,t)}function Sle(e,t){return t&&(Ele(t)==="object"||typeof t=="function")?t:$le(e)}function sm(e,t){return sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sm(e,t)}function Ele(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ile(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ble(e){var t=Ile();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 Sle(this,o)}}var Nle=function(e){Tle(r,e);var t=Ble(r);function r(n){return Rle(this,r),t.call(this,n)}return r}(z),W1={Designer:dle,Runtime:Ple,Property:Nle};function Ale(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mle(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 kle(e,t,r){return t&&K1(e.prototype,t),r&&K1(e,r),e}function t_(e){return t_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},t_(e)}function Dle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Lle(e,t){return t&&(Fle(t)==="object"||typeof t=="function")?t:Ale(e)}function _m(e,t){return _m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_m(e,t)}function Fle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cle(e){var t=jle();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 Lle(this,o)}}var xle=function(e){Dle(r,e);var t=Cle(r);function r(n){return Mle(this,r),t.call(this,n)}return kle(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 Vle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gle(e,t,r){return t&&X1(e.prototype,t),r&&X1(e,r),e}function n_(e){return n_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},n_(e)}function Yle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hle(e,t){return t&&(qle(t)==="object"||typeof t=="function")?t:Vle(e)}function ym(e,t){return ym=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ym(e,t)}function qle(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 Wle(e){var t=Ule();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 Hle(this,o)}}var Kle=function(e){Yle(r,e);var t=Wle(r);function r(n){return zle(this,r),t.call(this,n)}return Gle(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(Z);function Ai(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o_(e){return o_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},o_(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&&dm(e,t)}function Qle(e,t){return t&&(Zle(t)==="object"||typeof t=="function")?t:Ai(e)}function dm(e,t){return dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dm(e,t)}function Zle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function efe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tfe(e){var t=efe();return function(){var n=o_(e),o;if(t){var i=o_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qle(this,o)}}var nfe=function(e){Jle(r,e);var t=tfe(r);function r(n){Xle(this,r);var o;o=t.call(this,n),r_(Ai(o),"widthSpan",void 0),r_(Ai(o),"heightSpan",void 0),r_(Ai(o),"left",void 0),r_(Ai(o),"top",void 0);var i;o.widthSpan=(i=n==null?void 0:n.widthSpan)!==null&&i!==void 0?i:12;var u;o.heightSpan=(u=n==null?void 0:n.heightSpan)!==null&&u!==void 0?u:12;var l;o.left=(l=n==null?void 0:n.left)!==null&&l!==void 0?l:0;var f;return o.top=(f=n==null?void 0:n.top)!==null&&f!==void 0?f:0,o}return r}(z),J1={Designer:xle,Runtime:Kle,Property:nfe};function i_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 u_(e){return u_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},u_(e)}function ofe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ife(e,t){return t&&(ufe(t)==="object"||typeof t=="function")?t:i_(e)}function vm(e,t){return vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vm(e,t)}function ufe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lfe(e){var t=cfe();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 ife(this,o)}}var hm=function(e){ofe(r,e);var t=lfe(r);function r(n){rfe(this,r);var o;o=t.call(this,n),pm(i_(o),"position",void 0),pm(i_(o),"opacity",void 0),pm(i_(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var l;return o.align=(l=n==null?void 0:n.align)!==null&&l!==void 0?l:"right",o}return r}(z);function Q1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ffe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function afe(e,t,r){return t&&Z1(e.prototype,t),r&&Z1(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 l_(e){return l_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},l_(e)}function sfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _fe(e,t){return t&&(yfe(t)==="object"||typeof t=="function")?t:Q1(e)}function bm(e,t){return bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bm(e,t)}function yfe(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 pfe(e){var t=dfe();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 _fe(this,o)}}var f_=function(e){sfe(r,e);var t=pfe(r);function r(n){ffe(this,r);var o;o=t.call(this,n),c_(Q1(o),"props",void 0);var i;return o.props=new hm((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return afe(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);c_(f_,"slotPosition",{default:"action-bar-slot"}),c_(f_,"excludes",[]),c_(f_,"setting",[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function eA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hfe(e,t,r){return t&&tA(e.prototype,t),r&&tA(e,r),e}function bfe(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 gfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mfe(e,t){return t&&(Ofe(t)==="object"||typeof t=="function")?t:eA(e)}function gm(e,t){return gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gm(e,t)}function Ofe(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 Pfe(e){var t=wfe();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 mfe(this,o)}}var $fe=function(e){gfe(r,e);var t=Pfe(r);function r(n){vfe(this,r);var o;o=t.call(this,n),bfe(eA(o),"props",void 0);var i;return o.props=new hm((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return hfe(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(Z),nA={Designer:f_,Runtime:$fe,Property:hm},Rfe=Object.freeze({__proto__:null,Grid:y3,Col:ts,Row:R3,GridRow:c0,CardGroup:D3,SubTableColumn:v0,SubTableRow:q3,GridTableColumn:J3,GridLayoutContainer:r1,Tab:h1,TabPane:_1,Toolbox:$1,ListView:J0,DataView:tm,Page:V1,AdvancedContainer:H1,PositioningContainer:W1,Position:J1,ActionBar:nA});function B(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 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 s_(e){return s_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},s_(e)}function Om(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wm(e,t)}function Tfe(e,t){return t&&(Sfe(t)==="object"||typeof t=="function")?t:B(e)}function wm(e,t){return wm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wm(e,t)}function Sfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Efe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pm(e){var t=Efe();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 Tfe(this,o)}}var Ife=function(e){Om(r,e);var t=Pm(r);function r(n){mm(this,r);var o;return o=t.call(this,n),I(B(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),I(B(o),"limitRows",[{type:"number",required:!0,message:h.getMessage("isNotNumber")},{type:"number",min:0,message:h.getMessage("limitRowsCannotBeLessThan0")}]),I(B(o),"formKey",{type:"string",required:!1,message:h.getMessage("pleaseEnterForm")}),I(B(o),"maxHeight",{type:"number",required:!0,message:h.getMessage("pleaseEnterMaxHeight")}),I(B(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),I(B(o),"mobileRowCaption",{type:"string",required:!1,message:h.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}(re),Bfe=function(e){Om(r,e);var t=Pm(r);function r(n){mm(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:h.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,l,f){l.length<n.limitRows&&f(h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),f()},message:h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(en),Mi=function(e){Om(r,e);var t=Pm(r);function r(n,o){mm(this,r);var i;i=t.call(this,n,o,r.mode),I(B(i),"caption",void 0),I(B(i),"labelPosition",void 0),I(B(i),"isHideCaption",void 0),I(B(i),"isShowCaptionTip",void 0),I(B(i),"captionTip",void 0),I(B(i),"defaultState",void 0),I(B(i),"limitRows",void 0),I(B(i),"maxRows",void 0),I(B(i),"defaultRows",void 0),I(B(i),"datasourceBind",void 0),I(B(i),"printMode",void 0),I(B(i),"openType",void 0),I(B(i),"formKey",void 0),I(B(i),"useCustomHeight",void 0),I(B(i),"maxHeight",void 0),I(B(i),"canAdd",void 0),I(B(i),"canDelete",void 0),I(B(i),"canCheck",void 0),I(B(i),"canEdit",void 0),I(B(i),"canImport",void 0),I(B(i),"importConfig",void 0),I(B(i),"canExport",void 0),I(B(i),"exportConfig",void 0),I(B(i),"canClear",void 0),I(B(i),"isPaste",void 0),I(B(i),"mobileShowType",void 0),I(B(i),"mobileDefaultNum",void 0),I(B(i),"dataStorageDoc",void 0),I(B(i),"serverPagination",void 0),I(B(i),"fixedColumn",void 0),I(B(i),"mobileRowCaption",void 0),I(B(i),"mobileIsTile",void 0),I(B(i),"sortable",void 0),I(B(i),"sortKey",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:ki.controlName;var l;i.isHideCaption=(l=o==null?void 0:o.isHideCaption)!==null&&l!==void 0?l:!1;var f;i.defaultState=(f=o==null?void 0:o.defaultState)!==null&&f!==void 0?f:"default";var a;i.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var s;i.openType=(s=o==null?void 0:o.openType)!==null&&s!==void 0?s:"default";var _;i.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var p;i.useCustomHeight=(p=o==null?void 0:o.useCustomHeight)!==null&&p!==void 0?p:!1;var b;i.maxHeight=(b=o==null?void 0:o.maxHeight)!==null&&b!==void 0?b:Q$;var g;i.printMode=(g=o==null?void 0:o.printMode)!==null&&g!==void 0?g:"row";var v;i.limitRows=(v=o==null?void 0:o.limitRows)!==null&&v!==void 0?v:1;var m;i.maxRows=(m=o==null?void 0:o.maxRows)!==null&&m!==void 0?m:null;var d;i.defaultRows=(d=o==null?void 0:o.defaultRows)!==null&&d!==void 0?d:1,i.datasourceBind=new oe(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 R;i.canEdit=(R=o==null?void 0:o.canEdit)!==null&&R!==void 0?R:!1;var T;i.canImport=(T=o==null?void 0:o.canImport)!==null&&T!==void 0?T:!1;var E;i.canExport=(E=o==null?void 0:o.canExport)!==null&&E!==void 0?E:!1;var D;i.canClear=(D=o==null?void 0:o.canClear)!==null&&D!==void 0?D:!0;var Fe;i.serverPagination=(Fe=o==null?void 0:o.serverPagination)!==null&&Fe!==void 0?Fe:!1;var me;i.isShowCaptionTip=(me=o==null?void 0:o.isShowCaptionTip)!==null&&me!==void 0?me:!1;var Oe;i.captionTip=(Oe=o==null?void 0:o.captionTip)!==null&&Oe!==void 0?Oe:"";var go;i.mobileShowType=(go=o==null?void 0:o.mobileShowType)!==null&&go!==void 0?go:"list";var rr;i.mobileDefaultNum=(rr=o==null?void 0:o.mobileDefaultNum)!==null&&rr!==void 0?rr:10;var At;i.dataStorageDoc=(At=o==null?void 0:o.dataStorageDoc)!==null&&At!==void 0?At:new gP;var Lw;i.fixedColumn=(Lw=o==null?void 0:o.fixedColumn)!==null&&Lw!==void 0?Lw:[];var Fw;i.mobileRowCaption=(Fw=o==null?void 0:o.mobileRowCaption)!==null&&Fw!==void 0?Fw:"\u660E\u7EC6";var jw;i.mobileIsTile=(jw=o==null?void 0:o.mobileIsTile)!==null&&jw!==void 0?jw:!1;var Cw;i.isPaste=(Cw=o==null?void 0:o.isPaste)!==null&&Cw!==void 0?Cw:!1;var xw;i.pageSize=(xw=o==null?void 0:o.pageSize)!==null&&xw!==void 0?xw:10;var Vw;i.pageSizeOptions=(Vw=o==null?void 0:o.pageSizeOptions)!==null&&Vw!==void 0?Vw:[10,20,50,100],i.importConfig=new X$(o==null?void 0:o.importConfig),i.exportConfig=new J$(o==null?void 0:o.exportConfig);var zw;i.sortable=(zw=o==null?void 0:o.sortable)!==null&&zw!==void 0?zw:!1;var Gw;return i.sortKey=(Gw=o==null?void 0:o.sortKey)!==null&&Gw!==void 0?Gw:{},i}return r}(ko);I(Mi,"Rules",Ife),I(Mi,"RuntimeRules",Bfe);function $m(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Afe(e,t,r){return t&&rA(e.prototype,t),r&&rA(e,r),e}function __(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 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&&Rm(e,t)}function kfe(e,t){return t&&(Dfe(t)==="object"||typeof t=="function")?t:$m(e)}function Rm(e,t){return Rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rm(e,t)}function Dfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ffe(e){var t=Lfe();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 kfe(this,o)}}var ki=function(e){Mfe(r,e);var t=Ffe(r);function r(n){Nfe(this,r);var o,i;return o=t.call(this,n),__($m(o),"props",void 0),o.props=new Mi($m(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 gt,new gt,new gt]),o}return Afe(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new gt,l=typeof o=="number"?o:i;return l===void 0?this.props.headers.push(u):this.props.headers.splice(l,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(Pu);__(ki,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),__(ki,"slotPosition",{toolbar:"subtable-toolbar-slot"}),__(ki,"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,c.COMMON_SETTING_TYPE.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function Tm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cfe(e,t,r){return t&&oA(e.prototype,t),r&&oA(e,r),e}function xfe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d_(e){return d_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},d_(e)}function Vfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sm(e,t)}function zfe(e,t){return t&&(Gfe(t)==="object"||typeof t=="function")?t:Tm(e)}function Sm(e,t){return Sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sm(e,t)}function Gfe(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 Hfe(e){var t=Yfe();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 zfe(this,o)}}var qfe=function(e){Vfe(r,e);var t=Hfe(r);function r(n){jfe(this,r);var o;return o=t.call(this,n),xfe(Tm(o),"props",void 0),o.props=new Mi(Tm(o),n==null?void 0:n.props),o}return Cfe(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Jt("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(Gd),iA={Designer:ki,Runtime:qfe,Property:Mi};function Wr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ufe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Di(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p_(e){return p_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},p_(e)}function Wfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Em(e,t)}function Kfe(e,t){return t&&(Xfe(t)==="object"||typeof t=="function")?t:Wr(e)}function Em(e,t){return Em=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Em(e,t)}function Xfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qfe(e){var t=Jfe();return function(){var n=p_(e),o;if(t){var i=p_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kfe(this,o)}}var Im=function(e){Wfe(r,e);var t=Qfe(r);function r(n,o){Ufe(this,r);var i;i=t.call(this,n,o),Di(Wr(i),"isFixedHeader",void 0),Di(Wr(i),"selectionType",void 0),Di(Wr(i),"isShowToolbar",void 0),Di(Wr(i),"isShowSelection",void 0),Di(Wr(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var l;i.isShowToolbar=(l=o==null?void 0:o.isShowToolbar)!==null&&l!==void 0?l:!0;var f;i.isShowSelection=(f=o==null?void 0:o.isShowSelection)!==null&&f!==void 0?f:!1;var a;i.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var s;return i.pageSizeOptions=(s=o==null?void 0:o.pageSizeOptions)!==null&&s!==void 0?s:[10,20,50,100,500],i}return r}(ko);function Zfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eae(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v_(e){return v_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},v_(e)}function cA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bm(e,t)}function tae(e,t){return t&&(nae(t)==="object"||typeof t=="function")?t:Zfe(e)}function Bm(e,t){return Bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bm(e,t)}function nae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lA(e){var t=rae();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 tae(this,o)}}var oae=function(e){cA(r,e);var t=lA(r);function r(n){uA(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(st),h_=function(e){cA(r,e);var t=lA(r);function r(n){uA(this,r);var o,i,u;o=t.call(this,n);var l;o.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"left";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Fn.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var s;o.autoWidth.minWidth=(s=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&s!==void 0?s:60;var _;o.autoWidth.flex=(_=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&_!==void 0?_:.4;var p;return o.widthType=(p=n==null?void 0:n.widthType)!==null&&p!==void 0?p:"px",o}return r}(ee);eae(h_,"Rules",oae);function fA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 b_(e){return b_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},b_(e)}function uae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nm(e,t)}function cae(e,t){return t&&(lae(t)==="object"||typeof t=="function")?t:fA(e)}function Nm(e,t){return Nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nm(e,t)}function lae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aae(e){var t=fae();return function(){var n=b_(e),o;if(t){var i=b_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cae(this,o)}}var Fn=function(e){uae(r,e);var t=aae(r);function r(n){iae(this,r);var o;return o=t.call(this,n),Li(fA(o),"props",void 0),o.props=new h_(n==null?void 0:n.props),o}return r}(le);Li(Fn,"controlType","order-column"),Li(Fn,"controlName","\u5E8F\u53F7"),Li(Fn,"controlIcon","order-column"),Li(Fn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function aA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Am(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 _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&&Mm(e,t)}function yae(e,t){return t&&(dae(t)==="object"||typeof t=="function")?t:aA(e)}function Mm(e,t){return Mm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mm(e,t)}function dae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vae(e){var t=pae();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 yae(this,o)}}var km=function(e){_ae(r,e);var t=vae(r);function r(n){sae(this,r);var o;return o=t.call(this,n),Am(aA(o),"props",void 0),o.props=new h_(n==null?void 0:n.props),o}return r}(fe);Am(km,"controlType","order-column"),Am(km,"controlFieldType",c.FieldTypes.DECIMAL);var sA={Designer:Fn,Runtime:km,Property:h_};function Dm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 m_(e){return m_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},m_(e)}function bae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lm(e,t)}function gae(e,t){return t&&(mae(t)==="object"||typeof t=="function")?t:Dm(e)}function Lm(e,t){return Lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lm(e,t)}function mae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wae(e){var t=Oae();return function(){var n=m_(e),o;if(t){var i=m_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gae(this,o)}}var Fm=function(e){bae(r,e);var t=wae(r);function r(n){hae(this,r);var o,i;o=t.call(this,n),_A(Dm(o),"showType",void 0),_A(Dm(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var l;o.autoWidth.minWidth=(l=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&l!==void 0?l:84;var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Cn.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var s;return o.limit=(s=n==null?void 0:n.limit)!==null&&s!==void 0?s:3,o}return r}(ee);function yA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dA(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function Pae(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){dA(i,n,o,u,l,"next",f)}function l(f){dA(i,n,o,u,l,"throw",f)}u(void 0)})}}function $ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rae(e,t,r){return t&&pA(e.prototype,t),r&&pA(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 ji(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ji=Reflect.get:ji=function(o,i,u){var l=Eae(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},ji(e,t,r||e)}function jn(e){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jn(e)}function Tae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jm(e,t)}function Sae(e,t){return t&&(Iae(t)==="object"||typeof t=="function")?t:yA(e)}function jm(e,t){return jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jm(e,t)}function Eae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=jn(e),e!==null););return e}function Iae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nae(e){var t=Bae();return function(){var n=jn(e),o;if(t){var i=jn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sae(this,o)}}function Aae(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Cn=function(e){Tae(r,e);var t=Nae(r);function r(n){$ae(this,r);var o;return o=t.call(this,n),Fi(yA(o),"props",void 0),o.props=new Fm(n==null?void 0:n.props),o}return Rae(r,[{key:"toDataBindModel",value:function(){var o=ji(jn(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===gl.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"validate",value:function(o,i){var u=this,l=this,f=function(){return ji(jn(r.prototype),"validate",u)};return Pae(function(){return Aae(this,function(a){switch(a.label){case 0:return[4,f().call(l,o,i)];case 1:return a.sent(),[4,Promise.all(l.children.map(function(s){return s.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}}]),r}(le);Fi(Cn,"controlType","operation-column"),Fi(Cn,"controlName","\u64CD\u4F5C"),Fi(Cn,"controlIcon","operation-column"),Fi(Cn,"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 vA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O_(e){return O_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},O_(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&&xm(e,t)}function Dae(e,t){return t&&(Lae(t)==="object"||typeof t=="function")?t:vA(e)}function xm(e,t){return xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xm(e,t)}function Lae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jae(e){var t=Fae();return function(){var n=O_(e),o;if(t){var i=O_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dae(this,o)}}var Vm=function(e){kae(r,e);var t=jae(r);function r(n){Mae(this,r);var o;return o=t.call(this,n),Cm(vA(o),"props",void 0),o.props=new Fm(n==null?void 0:n.props),o}return r}(fe);Cm(Vm,"controlType","operation-column"),Cm(Vm,"controlFieldType",c.FieldTypes.FILE);var hA={Designer:Cn,Runtime:Vm,Property:Fm};function xn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bA(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function Cae(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){bA(i,n,o,u,l,"next",f)}function l(f){bA(i,n,o,u,l,"throw",f)}u(void 0)})}}function xae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vae(e,t,r){return t&&gA(e.prototype,t),r&&gA(e,r),e}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 Ci(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ci=Reflect.get:Ci=function(o,i,u){var l=Wae(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Ci(e,t,r||e)}function Vn(e){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vn(e)}function zae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zm(e,t)}function Gae(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Yae(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){qt(e,o,r[o])})}return e}function Hae(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 qae(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Hae(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Uae(e,t){return t&&(Kae(t)==="object"||typeof t=="function")?t:xn(e)}function zm(e,t){return zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zm(e,t)}function Wae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vn(e),e!==null););return e}function Kae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jae(e){var t=Xae();return function(){var n=Vn(e),o;if(t){var i=Vn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uae(this,o)}}function Qae(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var Zae=1e4,xi=function(t){zae(n,t);var r=Jae(n);function n(o){xae(this,n);var i;i=r.call(this,o),qt(xn(i),"props",void 0),qt(xn(i),"children",void 0),qt(xn(i),"excludes",void 0),qt(xn(i),"childrenMaxLength",void 0);var u=Gae(this,n)?this.constructor:void 0,l=u.excludes,f=u.childrenMaxLength;return i.props=new Im(xn(i),o==null?void 0:o.props),at(xn(i),"children",o==null?void 0:o.children,void 0,"Designer"),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new Fn,new Cn]),i.excludes=Je(l),i.childrenMaxLength=f,i}return Vae(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toSchema",value:function(){var i=Ci(Vn(n.prototype),"toSchema",this).call(this),u=this.children.map(function(l){return l.toSchema()});return qae(Yae({},i),{children:u})}},{key:"validate",value:function(i,u){var l=this,f=this,a=function(){return Ci(Vn(n.prototype),"validate",l)};return Cae(function(){return Qae(this,function(s){switch(s.label){case 0:return[4,a().call(f,i,u)];case 1:return s.sent(),[4,Promise.all(f.children.map(function(_){return _.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(Pu);qt(xi,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),qt(xi,"setting",[{key:"list-fixed-header",visible:!0}]),qt(xi,"excludes",[]),qt(xi,"childrenMaxLength",Zae);function Gm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ese(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 tse(e,t,r){return t&&mA(e.prototype,t),r&&mA(e,r),e}function nse(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 rse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ose(e,t){return t&&(ise(t)==="object"||typeof t=="function")?t:Gm(e)}function Ym(e,t){return Ym=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ym(e,t)}function ise(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function use(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cse(e){var t=use();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 ose(this,o)}}var lse=function(e){rse(r,e);var t=cse(r);function r(n){ese(this,r);var o;return o=t.call(this,n),nse(Gm(o),"props",void 0),o.props=new Im(Gm(o),n==null?void 0:n.props),o}return tse(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Jt("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}(Gd),OA={Designer:xi,Runtime:lse,Property:Im},fse=Object.freeze({__proto__:null,SubTable:iA,GridTable:OA});function Ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P_(e){return P_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},P_(e)}function PA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ase(e,t){return t&&(sse(t)==="object"||typeof t=="function")?t:Ut(e)}function Hm(e,t){return Hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hm(e,t)}function sse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _se(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $A(e){var t=_se();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 ase(this,o)}}var yse=function(e){PA(r,e);var t=$A(r);function r(n){wA(this,r);var o;return o=t.call(this,n),Ft.call(Ut(o),n),o}return r}(Wd),$_=function(e){PA(r,e);var t=$A(r);function r(n){wA(this,r);var o;o=t.call(this,n),hn(Ut(o),"optionConfig",void 0),hn(Ut(o),"datasourceBind",void 0),hn(Ut(o),"showLinkOperation",void 0),hn(Ut(o),"linkOperationOption",void 0),hn(Ut(o),"options",void 0),hn(Ut(o),"lineEllipsis",void 0),hn(Ut(o),"dictionaryTagConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:zn.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var l;o.options=wt((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]);var f;o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new Ot(n==null?void 0:n.linkOperationOption);var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var s;return o.dictionaryTagConfig=(s=n==null?void 0:n.dictionaryTagConfig)!==null&&s!==void 0?s:{isTag:!1},o}return r}(ee);hn($_,"Rules",yse);function RA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 R_(e){return R_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},R_(e)}function pse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vse(e,t){return t&&(hse(t)==="object"||typeof t=="function")?t:RA(e)}function qm(e,t){return qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qm(e,t)}function hse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gse(e){var t=bse();return function(){var n=R_(e),o;if(t){var i=R_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vse(this,o)}}var zn=function(e){pse(r,e);var t=gse(r);function r(n){dse(this,r);var o;return o=t.call(this,n),Kr(RA(o),"props",void 0),o.props=new $_(n==null?void 0:n.props),o}return r}(le);Kr(zn,"controlType","varchar-column"),Kr(zn,"controlName","\u77ED\u6587\u672C"),Kr(zn,"controlIcon","varchar-column"),Kr(zn,"controlFieldType",c.FieldTypes.VARCHAR),Kr(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-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 TA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Um(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T_(e){return T_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},T_(e)}function Ose(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wm(e,t)}function wse(e,t){return t&&(Pse(t)==="object"||typeof t=="function")?t:TA(e)}function Wm(e,t){return Wm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wm(e,t)}function Pse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $se(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rse(e){var t=$se();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 wse(this,o)}}var Km=function(e){Ose(r,e);var t=Rse(r);function r(n){mse(this,r);var o;return o=t.call(this,n),Um(TA(o),"props",void 0),o.props=new $_(n==null?void 0:n.props),o}return r}(fe);Um(Km,"controlType","varchar-column"),Um(Km,"controlFieldType",c.FieldTypes.VARCHAR);var SA={Designer:zn,Runtime:Km,Property:$_};function Xr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S_(e){return S_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},S_(e)}function IA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tse(e,t){return t&&(Sse(t)==="object"||typeof t=="function")?t:Xr(e)}function Xm(e,t){return Xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xm(e,t)}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 BA(e){var t=Ese();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 Tse(this,o)}}var Ise=function(e){IA(r,e);var t=BA(r);function r(n){EA(this,r);var o;return o=t.call(this,n),Ft.call(Xr(o),n),o}return r}(st),E_=function(e){IA(r,e);var t=BA(r);function r(n){EA(this,r);var o;o=t.call(this,n),Vi(Xr(o),"escapeHTML",void 0),Vi(Xr(o),"showLinkOperation",void 0),Vi(Xr(o),"linkOperationOption",void 0),Vi(Xr(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!1;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Gn.controlName;var l;o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1;var f;return o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new Ot(n==null?void 0:n.linkOperationOption),o}return r}(ee);Vi(E_,"Rules",Ise);function NA(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 AA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nse(e,t,r){return t&&AA(e.prototype,t),r&&AA(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 I_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?I_=Reflect.get:I_=function(o,i,u){var l=kse(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},I_(e,t,r||e)}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qr(e)}function Ase(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mse(e,t){return t&&(Dse(t)==="object"||typeof t=="function")?t:NA(e)}function Jm(e,t){return Jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jm(e,t)}function kse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Qr(e),e!==null););return e}function Dse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function 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 Fse(e){var t=Lse();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 Mse(this,o)}}var Gn=function(e){Ase(r,e);var t=Fse(r);function r(n){Bse(this,r);var o;return o=t.call(this,n),Jr(NA(o),"props",void 0),o.props=new E_(n==null?void 0:n.props),o}return Nse(r,[{key:"toDataBindModel",value:function(o){var i=I_(Qr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(le);Jr(Gn,"controlType","text-column"),Jr(Gn,"controlName","\u957F\u6587\u672C"),Jr(Gn,"controlIcon","text-column"),Jr(Gn,"controlFieldType",c.FieldTypes.TEXT),Jr(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-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 MA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 B_(e){return B_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},B_(e)}function Cse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xse(e,t){return t&&(Vse(t)==="object"||typeof t=="function")?t:MA(e)}function Zm(e,t){return Zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zm(e,t)}function Vse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gse(e){var t=zse();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 xse(this,o)}}var eO=function(e){Cse(r,e);var t=Gse(r);function r(n){jse(this,r);var o;return o=t.call(this,n),Qm(MA(o),"props",void 0),o.props=new E_(n==null?void 0:n.props),o}return r}(fe);Qm(eO,"controlType","text-column"),Qm(eO,"controlFieldType",c.FieldTypes.TEXT);var kA={Designer:Gn,Runtime:eO,Property:E_};function Nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DA(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 N_(e){return N_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},N_(e)}function LA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tO(e,t)}function Yse(e,t){return t&&(Hse(t)==="object"||typeof t=="function")?t:Nt(e)}function tO(e,t){return tO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tO(e,t)}function Hse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FA(e){var t=qse();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 Yse(this,o)}}var Use=function(e){LA(r,e);var t=FA(r);function r(n){DA(this,r);var o;return o=t.call(this,n),Ft.call(Nt(o),n),o}return r}(st),A_=function(e){LA(r,e);var t=FA(r);function r(n){DA(this,r);var o;o=t.call(this,n),Wt(Nt(o),"optionConfig",void 0),Wt(Nt(o),"datasourceBind",void 0),Wt(Nt(o),"showLinkOperation",void 0),Wt(Nt(o),"linkOperationOption",void 0),Wt(Nt(o),"options",void 0),Wt(Nt(o),"precision",void 0),Wt(Nt(o),"micrometer",void 0),Wt(Nt(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Yn.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var f;o.percentageFormat=(f=n==null?void 0:n.percentageFormat)!==null&&f!==void 0?f:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var s;o.options=wt((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 Ot(n==null?void 0:n.linkOperationOption),o}return r}(ee);Wt(A_,"Rules",Use);function jA(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 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 Kse(e,t,r){return t&&CA(e.prototype,t),r&&CA(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 M_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?M_=Reflect.get:M_=function(o,i,u){var l=Qse(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},M_(e,t,r||e)}function eo(e){return eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eo(e)}function Xse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jse(e,t){return t&&(Zse(t)==="object"||typeof t=="function")?t:jA(e)}function nO(e,t){return nO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nO(e,t)}function Qse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=eo(e),e!==null););return e}function Zse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t_e(e){var t=e_e();return function(){var n=eo(e),o;if(t){var i=eo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jse(this,o)}}var Yn=function(e){Xse(r,e);var t=t_e(r);function r(n){Wse(this,r);var o;return o=t.call(this,n),Zr(jA(o),"props",void 0),o.props=new A_(n==null?void 0:n.props),o}return Kse(r,[{key:"toDataBindModel",value:function(o){var i=M_(eo(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,l=u.precision,f=u.micrometer;l!==""&&(i.props.precision=l),i.props.micrometer=f}return i}}]),r}(le);Zr(Yn,"controlType","decimal-column"),Zr(Yn,"controlName","\u6570\u503C"),Zr(Yn,"controlIcon","decimal-column"),Zr(Yn,"controlFieldType",c.FieldTypes.DECIMAL),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-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 xA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n_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 k_(e){return k_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},k_(e)}function r_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oO(e,t)}function o_e(e,t){return t&&(i_e(t)==="object"||typeof t=="function")?t:xA(e)}function oO(e,t){return oO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oO(e,t)}function i_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c_e(e){var t=u_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 o_e(this,o)}}var iO=function(e){r_e(r,e);var t=c_e(r);function r(n){n_e(this,r);var o;return o=t.call(this,n),rO(xA(o),"props",void 0),o.props=new A_(n==null?void 0:n.props),o}return r}(fe);rO(iO,"controlType","decimal-column"),rO(iO,"controlFieldType",c.FieldTypes.DECIMAL);var VA={Designer:Yn,Runtime:iO,Property:A_};function zi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zA(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 L_(e){return L_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},L_(e)}function GA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uO(e,t)}function l_e(e,t){return t&&(f_e(t)==="object"||typeof t=="function")?t:zi(e)}function uO(e,t){return uO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uO(e,t)}function f_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 YA(e){var t=a_e();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 l_e(this,o)}}var s_e=function(e){GA(r,e);var t=YA(r);function r(n){zA(this,r);var o;return o=t.call(this,n),Ft.call(zi(o),n),o}return r}(st),F_=function(e){GA(r,e);var t=YA(r);function r(n){zA(this,r);var o;o=t.call(this,n),D_(zi(o),"dateType",void 0),D_(zi(o),"showLinkOperation",void 0),D_(zi(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 Ot(n==null?void 0:n.linkOperationOption);var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Hn.controlName,o}return r}(ee);D_(F_,"Rules",s_e);function HA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function __e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qA(e,t){for(var r=0;r<t.length;r++){var 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(e,t,r){return t&&qA(e.prototype,t),r&&qA(e,r),e}function to(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?j_=Reflect.get:j_=function(o,i,u){var l=v_e(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},j_(e,t,r||e)}function no(e){return no=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},no(e)}function d_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cO(e,t)}function p_e(e,t){return t&&(h_e(t)==="object"||typeof t=="function")?t:HA(e)}function cO(e,t){return cO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cO(e,t)}function v_e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=no(e),e!==null););return e}function h_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g_e(e){var t=b_e();return function(){var n=no(e),o;if(t){var i=no(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p_e(this,o)}}var Hn=function(e){d_e(r,e);var t=g_e(r);function r(n){__e(this,r);var o;return o=t.call(this,n),to(HA(o),"props",void 0),o.props=new F_(n==null?void 0:n.props),o}return y_e(r,[{key:"toDataBindModel",value:function(o){var i=j_(no(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(le);to(Hn,"controlType","timescope-column"),to(Hn,"controlName","\u65E5\u671F\u533A\u95F4"),to(Hn,"controlIcon","timescope-column"),to(Hn,"controlFieldType",c.FieldTypes.TIMESCOPE),to(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-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 UA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 C_(e){return C_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},C_(e)}function O_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fO(e,t)}function w_e(e,t){return t&&(P_e(t)==="object"||typeof t=="function")?t:UA(e)}function fO(e,t){return fO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fO(e,t)}function P_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R_e(e){var t=$_e();return function(){var n=C_(e),o;if(t){var i=C_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w_e(this,o)}}var aO=function(e){O_e(r,e);var t=R_e(r);function r(n){m_e(this,r);var o;return o=t.call(this,n),lO(UA(o),"props",void 0),o.props=new F_(n==null?void 0:n.props),o}return r}(fe);lO(aO,"controlType","timescope-column"),lO(aO,"controlFieldType",c.FieldTypes.TIMESCOPE);var WA={Designer:Hn,Runtime:aO,Property:F_};function Gi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function V_(e){return V_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},V_(e)}function XA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 T_e(e,t){return t&&(S_e(t)==="object"||typeof t=="function")?t:Gi(e)}function sO(e,t){return sO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sO(e,t)}function S_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JA(e){var t=E_e();return function(){var n=V_(e),o;if(t){var i=V_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T_e(this,o)}}var I_e=function(e){XA(r,e);var t=JA(r);function r(n){KA(this,r);var o;return o=t.call(this,n),Ft.call(Gi(o),n),o}return r}(st),z_=function(e){XA(r,e);var t=JA(r);function r(n){KA(this,r);var o;o=t.call(this,n),x_(Gi(o),"dateType",void 0),x_(Gi(o),"showLinkOperation",void 0),x_(Gi(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 Ot(n==null?void 0:n.linkOperationOption);var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:qn.controlName,o}return r}(ee);x_(z_,"Rules",I_e);function QA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N_e(e,t,r){return t&&ZA(e.prototype,t),r&&ZA(e,r),e}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 G_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?G_=Reflect.get:G_=function(o,i,u){var l=k_e(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},G_(e,t,r||e)}function oo(e){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oo(e)}function A_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 M_e(e,t){return t&&(D_e(t)==="object"||typeof t=="function")?t:QA(e)}function _O(e,t){return _O=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_O(e,t)}function k_e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=oo(e),e!==null););return e}function D_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F_e(e){var t=L_e();return function(){var n=oo(e),o;if(t){var i=oo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M_e(this,o)}}var qn=function(e){A_e(r,e);var t=F_e(r);function r(n){B_e(this,r);var o;return o=t.call(this,n),ro(QA(o),"props",void 0),o.props=new z_(n==null?void 0:n.props),o}return N_e(r,[{key:"toDataBindModel",value:function(o){var i=G_(oo(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(le);ro(qn,"controlType","timestamp-column"),ro(qn,"controlName","\u65E5\u671F"),ro(qn,"controlIcon","timestamp-column"),ro(qn,"controlFieldType",c.FieldTypes.TIMESTAMP),ro(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 eM(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 yO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Y_(e){return Y_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Y_(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&&dO(e,t)}function x_e(e,t){return t&&(V_e(t)==="object"||typeof t=="function")?t:eM(e)}function dO(e,t){return dO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dO(e,t)}function V_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G_e(e){var t=z_e();return function(){var n=Y_(e),o;if(t){var i=Y_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x_e(this,o)}}var pO=function(e){C_e(r,e);var t=G_e(r);function r(n){j_e(this,r);var o;return o=t.call(this,n),yO(eM(o),"props",void 0),o.props=new z_(n==null?void 0:n.props),o}return r}(fe);yO(pO,"controlType","timestamp-column"),yO(pO,"controlFieldType",c.FieldTypes.TIMESTAMP);var tM={Designer:qn,Runtime:pO,Property:z_};function Un(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 H_(e){return H_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},H_(e)}function rM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vO(e,t)}function Y_e(e,t){return t&&(H_e(t)==="object"||typeof t=="function")?t:Un(e)}function vO(e,t){return vO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vO(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 oM(e){var t=q_e();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 Y_e(this,o)}}var U_e=function(e){rM(r,e);var t=oM(r);function r(n){nM(this,r);var o;return o=t.call(this,n),Ft.call(Un(o),n),o}return r}(Wd),q_=function(e){rM(r,e);var t=oM(r);function r(n){nM(this,r);var o;o=t.call(this,n),io(Un(o),"optionConfig",void 0),io(Un(o),"datasourceBind",void 0),io(Un(o),"showLinkOperation",void 0),io(Un(o),"linkOperationOption",void 0),io(Un(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Wn.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Ot(n==null?void 0:n.linkOperationOption);var f;return o.options=wt((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(ee);io(q_,"Rules",U_e);function iM(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 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 U_(e){return U_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},U_(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&&hO(e,t)}function X_e(e,t){return t&&(J_e(t)==="object"||typeof t=="function")?t:iM(e)}function hO(e,t){return hO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hO(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=U_(e),o;if(t){var i=U_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X_e(this,o)}}var Wn=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),uo(iM(o),"props",void 0),o.props=new q_(n==null?void 0:n.props),o}return r}(le);uo(Wn,"controlType","array-column"),uo(Wn,"controlName","\u6570\u7EC4"),uo(Wn,"controlIcon","array-column"),uo(Wn,"controlFieldType",c.FieldTypes.ARRAY),uo(Wn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-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 uM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 W_(e){return W_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},W_(e)}function tye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gO(e,t)}function nye(e,t){return t&&(rye(t)==="object"||typeof t=="function")?t:uM(e)}function gO(e,t){return gO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gO(e,t)}function rye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iye(e){var t=oye();return function(){var n=W_(e),o;if(t){var i=W_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nye(this,o)}}var mO=function(e){tye(r,e);var t=iye(r);function r(n){eye(this,r);var o;return o=t.call(this,n),bO(uM(o),"props",void 0),o.props=new q_(n==null?void 0:n.props),o}return r}(fe);bO(mO,"controlType","array-column"),bO(mO,"controlFieldType",c.FieldTypes.ARRAY);var cM={Designer:Wn,Runtime:mO,Property:q_};function lM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cye(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 lye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&OO(e,t)}function fye(e,t){return t&&(aye(t)==="object"||typeof t=="function")?t:lM(e)}function OO(e,t){return OO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OO(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=K_(e),o;if(t){var i=K_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fye(this,o)}}var wO=function(e){lye(r,e);var t=_ye(r);function r(n){uye(this,r);var o;o=t.call(this,n),cye(lM(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Kn.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(ee);function fM(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 aM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dye(e,t,r){return t&&aM(e.prototype,t),r&&aM(e,r),e}function co(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function X_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?X_=Reflect.get:X_=function(o,i,u){var l=hye(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},X_(e,t,r||e)}function lo(e){return lo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lo(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&&PO(e,t)}function vye(e,t){return t&&(bye(t)==="object"||typeof t=="function")?t:fM(e)}function PO(e,t){return PO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PO(e,t)}function hye(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=lo(e),e!==null););return e}function bye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mye(e){var t=gye();return function(){var n=lo(e),o;if(t){var i=lo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vye(this,o)}}var Kn=function(e){pye(r,e);var t=mye(r);function r(n){yye(this,r);var o;return o=t.call(this,n),co(fM(o),"props",void 0),o.props=new wO(n==null?void 0:n.props),o}return dye(r,[{key:"toDataBindModel",value:function(o){var i=X_(lo(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(le);co(Kn,"controlType","department-column"),co(Kn,"controlName","\u90E8\u95E8"),co(Kn,"controlIcon","department-column"),co(Kn,"controlFieldType",c.FieldTypes.DEPARTMENTS),co(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:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function sM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oye(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 J_(e){return J_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},J_(e)}function wye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RO(e,t)}function Pye(e,t){return t&&($ye(t)==="object"||typeof t=="function")?t:sM(e)}function RO(e,t){return RO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RO(e,t)}function $ye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tye(e){var t=Rye();return function(){var n=J_(e),o;if(t){var i=J_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pye(this,o)}}var TO=function(e){wye(r,e);var t=Tye(r);function r(n){Oye(this,r);var o;return o=t.call(this,n),$O(sM(o),"props",void 0),o.props=new wO(n==null?void 0:n.props),o}return r}(fe);$O(TO,"controlType","department-column"),$O(TO,"controlFieldType",c.FieldTypes.DEPARTMENTS);var _M={Designer:Kn,Runtime:TO,Property:wO};function Q_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z_(e){return Z_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Z_(e)}function 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&&EO(e,t)}function Sye(e,t){return t&&(Eye(t)==="object"||typeof t=="function")?t:Q_(e)}function EO(e,t){return EO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EO(e,t)}function Eye(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 pM(e){var t=Iye();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 Sye(this,o)}}var Bye=function(e){dM(r,e);var t=pM(r);function r(n){yM(this,r);var o;return o=t.call(this,n),Ft.call(Q_(o),n),o}return r}(st),ey=function(e){dM(r,e);var t=pM(r);function r(n){yM(this,r);var o;o=t.call(this,n),SO(Q_(o),"showLinkOperation",void 0),SO(Q_(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Xn.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Ot(n==null?void 0:n.linkOperationOption),o}return r}(ee);SO(ey,"Rules",Bye);function vM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ty(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&&IO(e,t)}function Mye(e,t){return t&&(kye(t)==="object"||typeof t=="function")?t:vM(e)}function IO(e,t){return IO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},IO(e,t)}function kye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lye(e){var t=Dye();return function(){var n=ty(e),o;if(t){var i=ty(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mye(this,o)}}var Xn=function(e){Aye(r,e);var t=Lye(r);function r(n){Nye(this,r);var o;return o=t.call(this,n),fo(vM(o),"props",void 0),o.props=new ey(n==null?void 0:n.props),o}return r}(le);fo(Xn,"controlType","auto-number-column"),fo(Xn,"controlName","\u81EA\u52A8\u7F16\u53F7"),fo(Xn,"controlIcon","auto-number-column"),fo(Xn,"controlFieldType",c.FieldTypes.AUTO_NUMBER),fo(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:"column-link-operation",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 Fye(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 ny(e){return ny=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ny(e)}function jye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Cye(e,t){return t&&(xye(t)==="object"||typeof t=="function")?t:hM(e)}function NO(e,t){return NO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NO(e,t)}function xye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zye(e){var t=Vye();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 Cye(this,o)}}var AO=function(e){jye(r,e);var t=zye(r);function r(n){Fye(this,r);var o;return o=t.call(this,n),BO(hM(o),"props",void 0),o.props=new ey(n==null?void 0:n.props),o}return r}(fe);BO(AO,"controlType","auto-number-column"),BO(AO,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var bM={Designer:Xn,Runtime:AO,Property:ey};function Gye(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 ry(e){return ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ry(e)}function Hye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qye(e,t){return t&&(Uye(t)==="object"||typeof t=="function")?t:Gye(e)}function MO(e,t){return MO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},MO(e,t)}function Uye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kye(e){var t=Wye();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 qye(this,o)}}var kO=function(e){Hye(r,e);var t=Kye(r);function r(n){Yye(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Jn.controlName,o}return r}(ee);function gM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xye(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 oy(e){return oy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oy(e)}function Jye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&DO(e,t)}function Qye(e,t){return t&&(Zye(t)==="object"||typeof t=="function")?t:gM(e)}function DO(e,t){return DO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DO(e,t)}function Zye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ede(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tde(e){var t=ede();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 Qye(this,o)}}var Jn=function(e){Jye(r,e);var t=tde(r);function r(n){Xye(this,r);var o;return o=t.call(this,n),ao(gM(o),"props",void 0),o.props=new kO(n==null?void 0:n.props),o}return r}(le);ao(Jn,"controlType","file-column"),ao(Jn,"controlName","\u9644\u4EF6"),ao(Jn,"controlIcon","file-column"),ao(Jn,"controlFieldType",c.FieldTypes.FILE),ao(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-sort",visible:!0}]);function mM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nde(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 iy(e){return iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iy(e)}function rde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&FO(e,t)}function ode(e,t){return t&&(ide(t)==="object"||typeof t=="function")?t:mM(e)}function FO(e,t){return FO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},FO(e,t)}function ide(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 cde(e){var t=ude();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 ode(this,o)}}var jO=function(e){rde(r,e);var t=cde(r);function r(n){nde(this,r);var o;return o=t.call(this,n),LO(mM(o),"props",void 0),o.props=new kO(n==null?void 0:n.props),o}return r}(fe);LO(jO,"controlType","file-column"),LO(jO,"controlFieldType",c.FieldTypes.FILE);var OM={Designer:Jn,Runtime:jO,Property:kO};function lde(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uy(e){return uy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uy(e)}function ade(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&CO(e,t)}function sde(e,t){return t&&(_de(t)==="object"||typeof t=="function")?t:lde(e)}function CO(e,t){return CO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},CO(e,t)}function _de(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dde(e){var t=yde();return function(){var n=uy(e),o;if(t){var i=uy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sde(this,o)}}var xO=function(e){ade(r,e);var t=dde(r);function r(n){fde(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}(ee);function wM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 cy(e){return cy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cy(e)}function vde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hde(e,t){return t&&(bde(t)==="object"||typeof t=="function")?t:wM(e)}function VO(e,t){return VO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},VO(e,t)}function bde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mde(e){var t=gde();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 hde(this,o)}}var Qn=function(e){vde(r,e);var t=mde(r);function r(n){pde(this,r);var o;return o=t.call(this,n),so(wM(o),"props",void 0),o.props=new xO(n==null?void 0:n.props),o}return r}(le);so(Qn,"controlType","image-column"),so(Qn,"controlName","\u56FE\u7247"),so(Qn,"controlIcon","image-column"),so(Qn,"controlFieldType",c.FieldTypes.IMAGE),so(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 PM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ode(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ly(e){return ly=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ly(e)}function wde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&GO(e,t)}function Pde(e,t){return t&&($de(t)==="object"||typeof t=="function")?t:PM(e)}function GO(e,t){return GO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},GO(e,t)}function $de(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tde(e){var t=Rde();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 Pde(this,o)}}var YO=function(e){wde(r,e);var t=Tde(r);function r(n){Ode(this,r);var o;return o=t.call(this,n),zO(PM(o),"props",void 0),o.props=new xO(n==null?void 0:n.props),o}return r}(fe);zO(YO,"controlType","image-column"),zO(YO,"controlFieldType",c.FieldTypes.IMAGE);var $M={Designer:Qn,Runtime:YO,Property:xO};function Sde(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ede(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fy(e){return fy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fy(e)}function Ide(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&HO(e,t)}function Bde(e,t){return t&&(Nde(t)==="object"||typeof t=="function")?t:Sde(e)}function HO(e,t){return HO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HO(e,t)}function Nde(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 Mde(e){var t=Ade();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 Bde(this,o)}}var qO=function(e){Ide(r,e);var t=Mde(r);function r(n){Ede(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}(ee);function RM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 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&&UO(e,t)}function Lde(e,t){return t&&(Fde(t)==="object"||typeof t=="function")?t:RM(e)}function UO(e,t){return UO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UO(e,t)}function Fde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jde();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 Lde(this,o)}}var Zn=function(e){Dde(r,e);var t=Cde(r);function r(n){kde(this,r);var o;return o=t.call(this,n),_o(RM(o),"props",void 0),o.props=new qO(n==null?void 0:n.props),o}return r}(le);_o(Zn,"controlType","people-column"),_o(Zn,"controlName","\u4EBA\u5458"),_o(Zn,"controlIcon","people-column"),_o(Zn,"controlFieldType",c.FieldTypes.EMPLOYEES),_o(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 TM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sy(e){return sy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sy(e)}function Vde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zde(e,t){return t&&(Gde(t)==="object"||typeof t=="function")?t:TM(e)}function KO(e,t){return KO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},KO(e,t)}function Gde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hde(e){var t=Yde();return function(){var n=sy(e),o;if(t){var i=sy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zde(this,o)}}var XO=function(e){Vde(r,e);var t=Hde(r);function r(n){xde(this,r);var o;return o=t.call(this,n),WO(TM(o),"props",void 0),o.props=new qO(n==null?void 0:n.props),o}return r}(fe);WO(XO,"controlType","people-column"),WO(XO,"controlFieldType",c.FieldTypes.EMPLOYEES);var SM={Designer:Zn,Runtime:XO,Property:qO};function _y(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 JO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yy(e){return yy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yy(e)}function IM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&QO(e,t)}function qde(e,t){return t&&(Ude(t)==="object"||typeof t=="function")?t:_y(e)}function QO(e,t){return QO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},QO(e,t)}function Ude(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 BM(e){var t=Wde();return function(){var n=yy(e),o;if(t){var i=yy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qde(this,o)}}var Kde=function(e){IM(r,e);var t=BM(r);function r(n){EM(this,r);var o;return o=t.call(this,n),Ft.call(_y(o),n),o}return r}(st),dy=function(e){IM(r,e);var t=BM(r);function r(n){EM(this,r);var o;o=t.call(this,n),JO(_y(o),"showLinkOperation",void 0),JO(_y(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:er.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Ot(n==null?void 0:n.linkOperationOption),o}return r}(ee);JO(dy,"Rules",Kde);function NM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function py(e){return py=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},py(e)}function Jde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ZO(e,t)}function Qde(e,t){return t&&(Zde(t)==="object"||typeof t=="function")?t:NM(e)}function ZO(e,t){return ZO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZO(e,t)}function Zde(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 tpe(e){var t=epe();return function(){var n=py(e),o;if(t){var i=py(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qde(this,o)}}var er=function(e){Jde(r,e);var t=tpe(r);function r(n){Xde(this,r);var o;return o=t.call(this,n),yo(NM(o),"props",void 0),o.props=new dy(n==null?void 0:n.props),o}return r}(le);yo(er,"controlType","location-column"),yo(er,"controlName","\u5730\u5740"),yo(er,"controlIcon","location-column"),yo(er,"controlFieldType",c.FieldTypes.ADDRESS),yo(er,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function AM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function npe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ew(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vy(e){return vy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vy(e)}function 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&&tw(e,t)}function ope(e,t){return t&&(ipe(t)==="object"||typeof t=="function")?t:AM(e)}function tw(e,t){return tw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tw(e,t)}function ipe(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 cpe(e){var t=upe();return function(){var n=vy(e),o;if(t){var i=vy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ope(this,o)}}var nw=function(e){rpe(r,e);var t=cpe(r);function r(n){npe(this,r);var o;return o=t.call(this,n),ew(AM(o),"props",void 0),o.props=new dy(n==null?void 0:n.props),o}return r}(fe);ew(nw,"controlType","location-column"),ew(nw,"controlFieldType",c.FieldTypes.ADDRESS);var MM={Designer:er,Runtime:nw,Property:dy};function hy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function by(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gy(e){return gy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gy(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&&rw(e,t)}function lpe(e,t){return t&&(fpe(t)==="object"||typeof t=="function")?t:hy(e)}function rw(e,t){return rw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rw(e,t)}function fpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ape(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ape();return function(){var n=gy(e),o;if(t){var i=gy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lpe(this,o)}}var spe=function(e){DM(r,e);var t=LM(r);function r(n){kM(this,r);var o;return o=t.call(this,n),by(hy(o),"sortFieldCode",{type:"string",message:h.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(st),my=function(e){DM(r,e);var t=LM(r);function r(n){kM(this,r);var o;o=t.call(this,n),by(hy(o),"fieldCodeList",void 0),by(hy(o),"sortFieldCode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Kt.controlName;var u;o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[];var l;return o.sortFieldCode=(l=n==null?void 0:n.sortFieldCode)!==null&&l!==void 0?l:"",o}return r}(ee);by(my,"Rules",spe);function po(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _pe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ype(e,t,r){return t&&FM(e.prototype,t),r&&FM(e,r),e}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 Oy(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Oy=Reflect.get:Oy=function(o,i,u){var l=hpe(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Oy(e,t,r||e)}function vo(e){return vo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vo(e)}function dpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ow(e,t)}function ppe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function vpe(e,t){return t&&(bpe(t)==="object"||typeof t=="function")?t:po(e)}function ow(e,t){return ow=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ow(e,t)}function hpe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=vo(e),e!==null););return e}function bpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mpe(e){var t=gpe();return function(){var n=vo(e),o;if(t){var i=vo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vpe(this,o)}}var Ope=1,Kt=function(t){dpe(n,t);var r=mpe(n);function n(o){_pe(this,n);var i;i=r.call(this,o),mt(po(i),"excludes",void 0),mt(po(i),"childrenMaxLength",void 0),mt(po(i),"props",void 0),mt(po(i),"children",void 0);var u=ppe(this,n)?this.constructor:void 0,l=u.excludes,f=u.childrenMaxLength;return i.props=new my(o==null?void 0:o.props),at(po(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Je(l),i.childrenMaxLength=f,i}return ype(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=Oy(vo(n.prototype),"toDataBindModel",this).call(this,i);if(u){var l=this.props.fieldCodeList;u.props.fieldCodeList=l}return u}}]),n}(le);mt(Kt,"controlType","custom-column"),mt(Kt,"controlName","\u81EA\u5B9A\u4E49"),mt(Kt,"controlIcon","custom-column"),mt(Kt,"slots",["column-column-slot"]),mt(Kt,"excludes",[]),mt(Kt,"childrenMaxLength",Ope),mt(Kt,"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 wy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Py(e){return Py=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Py(e)}function Ppe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $pe(e,t){return t&&(Rpe(t)==="object"||typeof t=="function")?t:wy(e)}function uw(e,t){return uw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uw(e,t)}function Rpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Spe(e){var t=Tpe();return function(){var n=Py(e),o;if(t){var i=Py(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $pe(this,o)}}var jM=function(e){Ppe(r,e);var t=Spe(r);function r(n){wpe(this,r);var o;return o=t.call(this,n),iw(wy(o),"props",void 0),iw(wy(o),"children",void 0),o.props=new my(n==null?void 0:n.props),at(wy(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(fe);iw(jM,"controlType","custom-column");var CM={Designer:Kt,Runtime:jM,Property:my};function xM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Epe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ipe(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 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&&cw(e,t)}function Npe(e,t){return t&&(Ape(t)==="object"||typeof t=="function")?t:xM(e)}function cw(e,t){return cw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cw(e,t)}function Ape(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kpe(e){var t=Mpe();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 Npe(this,o)}}var lw=function(e){Bpe(r,e);var t=kpe(r);function r(n){Epe(this,r);var o;o=t.call(this,n),Ipe(xM(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 So((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:bn.controlCustomAttributes}),o}return r}(ee);function VM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lpe(e,t,r){return t&&zM(e.prototype,t),r&&zM(e,r),e}function ho(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ry(e){return Ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ry(e)}function Fpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fw(e,t)}function jpe(e,t){return t&&(Cpe(t)==="object"||typeof t=="function")?t:VM(e)}function fw(e,t){return fw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fw(e,t)}function Cpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vpe(e){var t=xpe();return function(){var n=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 bn=function(e){Fpe(r,e);var t=Vpe(r);function r(n){Dpe(this,r);var o;return o=t.call(this,n),ho(VM(o),"props",void 0),o.props=new lw(n==null?void 0:n.props),o}return Lpe(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(le);ho(bn,"controlType","employee-column"),ho(bn,"controlName","\u4EBA\u5458"),ho(bn,"controlIcon","employee-column"),ho(bn,"controlFieldType",c.FieldTypes.EMPLOYEES),ho(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 GM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ty(e){return Ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ty(e)}function Gpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sw(e,t)}function Ype(e,t){return t&&(Hpe(t)==="object"||typeof t=="function")?t:GM(e)}function sw(e,t){return sw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sw(e,t)}function Hpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Upe(e){var t=qpe();return function(){var n=Ty(e),o;if(t){var i=Ty(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ype(this,o)}}var _w=function(e){Gpe(r,e);var t=Upe(r);function r(n){zpe(this,r);var o;return o=t.call(this,n),aw(GM(o),"props",void 0),o.props=new lw(n==null?void 0:n.props),o}return r}(fe);aw(_w,"controlType","employee-column"),aw(_w,"controlFieldType",c.FieldTypes.EMPLOYEES);var YM={Designer:bn,Runtime:_w,Property:lw};function Sy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ey(e){return Ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ey(e)}function Kpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dw(e,t)}function Xpe(e,t){return t&&(Jpe(t)==="object"||typeof t=="function")?t:Sy(e)}function dw(e,t){return dw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dw(e,t)}function Jpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zpe(e){var t=Qpe();return function(){var n=Ey(e),o;if(t){var i=Ey(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xpe(this,o)}}var pw=function(e){Kpe(r,e);var t=Zpe(r);function r(n){Wpe(this,r);var o;o=t.call(this,n),yw(Sy(o),"lineEllipsis",void 0),yw(Sy(o),"showLinkOperation",void 0),yw(Sy(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:nr.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Ot(n==null?void 0:n.linkOperationOption);var l;return o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1,o}return r}(ee);function vw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iy(e){return Iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iy(e)}function tve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hw(e,t)}function nve(e,t){return t&&(rve(t)==="object"||typeof t=="function")?t:vw(e)}function hw(e,t){return hw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hw(e,t)}function rve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ove(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ive(e){var t=ove();return function(){var n=Iy(e),o;if(t){var i=Iy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nve(this,o)}}var nr=function(e){tve(r,e);var t=ive(r);function r(n){eve(this,r);var o;return o=t.call(this,n),tr(vw(o),"props",void 0),tr(vw(o),"children",void 0),o.props=new pw(n==null?void 0:n.props),o}return r}(le);tr(nr,"controlType","approval-status-column"),tr(nr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),tr(nr,"controlIcon","approval-status-column"),tr(nr,"excludes",[]),tr(nr,"setting",[{key:"caption",showItems:[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 bw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function By(e){return By=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},By(e)}function cve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mw(e,t)}function lve(e,t){return t&&(fve(t)==="object"||typeof t=="function")?t:bw(e)}function mw(e,t){return mw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mw(e,t)}function fve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ave(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sve(e){var t=ave();return function(){var n=By(e),o;if(t){var i=By(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lve(this,o)}}var HM=function(e){cve(r,e);var t=sve(r);function r(n){uve(this,r);var o;return o=t.call(this,n),gw(bw(o),"props",void 0),gw(bw(o),"children",void 0),o.props=new pw(n==null?void 0:n.props),o}return r}(fe);gw(HM,"controlType","approval-status-column");var qM={Designer:nr,Runtime:HM,Property:pw},_ve=Object.freeze({__proto__:null,VarcharColumn:SA,TextColumn:kA,DecimalColumn:VA,TimescopeColumn:WA,TimestampColumn:tM,ArrayColumn:cM,DepartmentColumn:_M,AutoNumberColumn:bM,FileColumn:OM,ImageColumn:$M,PeopleColumn:SM,LocationColumn:MM,CustomColumn:CM,OrderColumn:sA,OperationColumn:hA,EmployeeColumn:YM,ApprovalStatusColumn:qM});function We(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 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 Ny(e){return Ny=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ny(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&&Ow(e,t)}function yve(e,t){return t&&(dve(t)==="object"||typeof t=="function")?t:We(e)}function Ow(e,t){return Ow=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ow(e,t)}function dve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=pve();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 yve(this,o)}}var vve=function(e){WM(r,e);var t=KM(r);function r(n){UM(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(en),Ay=function(e){WM(r,e);var t=KM(r);function r(n){UM(this,r);var o;o=t.call(this,n),Ke(We(o),"search",void 0),Ke(We(o),"cancel",void 0),Ke(We(o),"searchType",void 0),Ke(We(o),"labelPosition",void 0),Ke(We(o),"viewType",void 0),Ke(We(o),"isLoading",void 0),Ke(We(o),"custom",void 0),Ke(We(o),"queryTypeMap",void 0),Ke(We(o),"childMinWidth",void 0),Ke(We(o),"colGap",void 0),Ke(We(o),"viewConfig",void 0),Ke(We(o),"simpleConfig",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var u;o.labelPosition=(u=n==null?void 0:n.labelPosition)!==null&&u!==void 0?u:"top";var l;o.viewType=(l=n==null?void 0:n.viewType)!==null&&l!==void 0?l:"mini";var f;o.search=new kt((f=n==null?void 0:n.search)!==null&&f!==void 0?f:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new kt((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:"\u91CD\u7F6E",isShow:!0});var s;o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(d){return new kt(d)});var p;o.queryTypeMap=(p=n==null?void 0:n.queryTypeMap)!==null&&p!==void 0?p:[];var b;o.childMinWidth=(b=n==null?void 0:n.childMinWidth)!==null&&b!==void 0?b:230;var g;o.colGap=(g=n==null?void 0:n.colGap)!==null&&g!==void 0?g:24;var v;o.viewConfig=(v=n==null?void 0:n.viewConfig)!==null&&v!==void 0?v:[];var m;return o.simpleConfig=(m=n==null?void 0:n.simpleConfig)!==null&&m!==void 0?m:[],o}return r}(Bu);Ke(Ay,"RuntimeRules",vve);function XM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function My(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ky(e){return ky=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ky(e)}function bve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ww(e,t)}function gve(e,t){return t&&(mve(t)==="object"||typeof t=="function")?t:XM(e)}function ww(e,t){return ww=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ww(e,t)}function mve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ove(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wve(e){var t=Ove();return function(){var n=ky(e),o;if(t){var i=ky(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gve(this,o)}}var Dy=function(e){bve(r,e);var t=wve(r);function r(n){hve(this,r);var o;return o=t.call(this,n),My(XM(o),"props",void 0),o.props=new Ay(n==null?void 0:n.props),o}return r}(P$);My(Dy,"controlType","simple-search"),My(Dy,"slotPosition",{default:"search"}),My(Dy,"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 Pw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pve(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 Ly(e){return Ly=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ly(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&&Rw(e,t)}function Rve(e,t){return t&&(Tve(t)==="object"||typeof t=="function")?t:Pw(e)}function Rw(e,t){return Rw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rw(e,t)}function Tve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eve(e){var t=Sve();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 Rve(this,o)}}var JM=function(e){$ve(r,e);var t=Eve(r);function r(n){Pve(this,r);var o;o=t.call(this,n),$w(Pw(o),"props",void 0),$w(Pw(o),"children",void 0),o.props=new Ay(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}(R$);$w(JM,"controlType","simple-search");var QM={Designer:Dy,Runtime:JM,Property:Ay},Ive=Object.freeze({__proto__:null,SimpleSearch:QM});function ZM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nve(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 Ave(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tw(e,t)}function Mve(e,t){return t&&(kve(t)==="object"||typeof t=="function")?t:ZM(e)}function Tw(e,t){return Tw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tw(e,t)}function kve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lve(e){var t=Dve();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 Mve(this,o)}}var Sw=function(e){Ave(r,e);var t=Lve(r);function r(n){Bve(this,r);var o;o=t.call(this,n),Nve(ZM(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}(ku);function ek(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tk(e,t){for(var r=0;r<t.length;r++){var 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&&tk(e.prototype,t),r&&tk(e,r),e}function Cve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jy(e){return jy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jy(e)}function xve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Vve(e,t){return t&&(zve(t)==="object"||typeof t=="function")?t:ek(e)}function Ew(e,t){return Ew=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ew(e,t)}function zve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yve(e){var t=Gve();return function(){var n=jy(e),o;if(t){var i=jy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vve(this,o)}}var Hve=function(e){xve(r,e);var t=Yve(r);function r(n){Fve(this,r);var o;return o=t.call(this,n),Cve(ek(o),"props",void 0),o.props=new Sw(n==null?void 0:n.props),o}return jve(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}(S$);function nk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uve(e,t,r){return t&&rk(e.prototype,t),r&&rk(e,r),e}function Wve(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 Kve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iw(e,t)}function Xve(e,t){return t&&(Jve(t)==="object"||typeof t=="function")?t:nk(e)}function Iw(e,t){return Iw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iw(e,t)}function Jve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zve(e){var t=Qve();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 Xve(this,o)}}var ehe=function(e){Kve(r,e);var t=Zve(r);function r(n){qve(this,r);var o;return o=t.call(this,n),Wve(nk(o),"props",void 0),o.props=new Sw(n==null?void 0:n.props),o}return Uve(r,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(I$);function zbe(e){return e}var the={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},ok={Designer:Hve,Runtime:ehe,Property:Sw,Setting:the},nhe=Object.freeze({__proto__:null,GridLayoutWrap:ok});function Bw(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 rhe(e){if(Array.isArray(e))return e}function ohe(e){if(Array.isArray(e))return Bw(e)}function ihe(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function uhe(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,u,l;try{for(r=r.call(e);!(o=(u=r.next()).done)&&(n.push(u.value),!(t&&n.length===t));o=!0);}catch(f){i=!0,l=f}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw l}}return n}}function che(){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 lhe(){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 fhe(e,t){return rhe(e)||uhe(e,t)||uk(e,t)||che()}function ik(e){return ohe(e)||ihe(e)||uk(e)||lhe()}function uk(e,t){if(!!e){if(typeof e=="string")return Bw(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 Bw(e,t)}}var ahe=function(e,t){var r=Array.isArray(e),n=r?e:[e];whe(t==null?void 0:t.events),vhe(n),hhe(n);var o=phe(n),i=bhe(o,t),u=Qt(V(i,function(l){return dhe(l,t)}));return r?u:u[0]},she=[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"],_he=["subtable","grid-table"],yhe=["simple-search"];function dhe(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":she.includes(i.type)?i.controlType="base":i.controlType="form",_he.includes(i.type)&&(i.controlType="list"),yhe.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),we(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),we(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),we(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(i.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(i.type="department",e.props.value.length&&(i.props.default_value=e.props.value),i.props.showType=e.props.show_tree?"tree":"default",i.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=e.props.value),e.type==="file"){var u;i.type="attachment",i.props.attachmentAccept=(u=e.attachment_format)===null||u===void 0?void 0:u.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var l;i.props.attachmentAccept=(l=e.attachment_format)===null||l===void 0?void 0:l.split(",")}if(e.type==="date-pick"&&(i.type="date-picker"),e.type==="rich-text"&&(we(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(we(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var f,a=i.props.entry_type||i.props.entryType;i.props.openType=a==="subpage"?"modal":"default",((f=i.children[0])===null||f===void 0?void 0:f.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function(T,E){var D=new v0.Designer;D.props.caption=we(T.field_name)?T.field_name.zh:T.field_name;var Fe=D.toSchema();Fe.id=T.header_id;var me=i.children[0].children[E].children[0];return me&&(Fe.children=[me]),Fe}),i.children=[])}i.type==="subtable-cell"&&(i.type="subtable-column");var s=["radio","checkbox","select","select-multiple"];if(s.includes(e.type)&&(e.props.options.map(function(T){T.label=we(T.text)?T.text.zh:T.text,T.id=T.id||T.opt_id||T.optId||T.data_id}),i=e),e.type==="grid-row"){var _=24/i.children.length;i.children=i.children.map(function(T){var E=new ts.Designer;E.props.span=_;var D=E.toSchema();return D.children.push(T),D})}if(e.type==="grid-layout-row"&&(i.type="row"),e.type==="grid-layout-col"&&(i.type="col"),e.type==="group-panel"&&(i.type="card-group",i.props.collapse=i.props.flod==="no"?"none":i.props.flod),e.type==="tabs-pane"&&(i.type="tab-pane"),e.type==="calc"){var p=i==null?void 0:i.children[0],b=i==null?void 0:i.children[1],g={};p&&(ck(i,t),g.result=p.props.data_bind,i.id=p.id,i.props=p.props,i.props.script_src=p.props.script_src,i.props.script_echo=p.props.script_echo,i.props.precision=p.props.precision,i.props.micrometer=p.props.is_show_money,i.props.showUpperCase=p.props.is_show_chn),b&&(g.unit=b.props.data_bind,i.props.default_value={unit:b.props.value}),i.props.dataBind=g,delete i.children}if(e.type==="amount-currency"){i.type="amount",i.controlType="form";var v=i==null?void 0:i.children[0],m=i==null?void 0:i.children[1],d={},O={};v&&(ck(i,t),i.id=v.id,d.amount=v.props.data_bind,i.props.range_min=Pn(v.props.range_min),i.props.range_max=Pn(v.props.range_max),O.amount=Pn(v.props.value),i.props.required=v.props.required,i.props.is_hide=v.props.is_hide,i.props.default_state=v.props.default_state,i.props.caption=we(v.props.caption)?v.props.caption.zh:v.props.caption,i.props.is_hide_caption=v.props.is_hide_caption,i.props.showUpperCase=v.props.is_show_chn),m&&(d.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(T){return{label:T.text,value:T.value}})),i.props.dataBind=d,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=we(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=we(e.props.caption)?e.props.caption.zh:e.props.caption;var R={};P&&(R.min=P.props.data_bind),w&&(R.max=w.props.data_bind),i.props.dataBind=R,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=we(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"),Phe(i,t==null?void 0:t.control_events),i}function ck(e,t){if(!!t){var r=t.displayBoList,n=r===void 0?[]:r,o=t.behaviors,i=o===void 0?[]:o,u=e.id,l=e.children[0].id;n.forEach(function(f){f.id===u&&(f.id=l);var a=f.show_controls.findIndex(function(_){return _===u}),s=f.hide_controls.findIndex(function(_){return _===u});a>-1&&f.show_controls.splice(a,1,l),s>-1&&f.hide_controls.splice(s,1,l)}),i.forEach(function(f){f.ctrl_id===u&&(f.id=l)})}}function phe(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new tm.Designer,n=r.toSchema();return n.children=e,[n]}function vhe(e){e.forEach(function(t){t.children&&Ohe(t.children)})}function hhe(e){e.forEach(function(t){if(!!(t&&t.children))for(var r=t.children,n=0;n<r.length;n++){var o,i,u=r[n],l=(i=r[n])===null||i===void 0||(o=i.children)===null||o===void 0?void 0:o[0];u.type==="grid-row"&&l&&["group-panel","subtable","tab"].includes(l.type)&&r.splice(n,1,l)}})}function bhe(e,t){var r,n,o,i,u;if(!(Array.isArray(e)&&e.length===1))return e;var l=e[0];if(l.type!=="list-page")return e;var f=l.props,a=l.children,s=fhe(a,3),_=s[0],p=s[1],b=s[2];ghe(_),b.props.is_fixed_header=f==null||(r=f.source_config)===null||r===void 0?void 0:r.is_fixed_header,mhe(b,p);var g,v=(g=f==null||(n=f.source_config)===null||n===void 0?void 0:n.data_code)!==null&&g!==void 0?g:t==null?void 0:t.dataCode,m,d=((m=f==null||(o=f.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&m!==void 0?m:v)?"".concat(v,"_selectMore"):void 0,O,P=(O=f==null||(i=f.source_config)===null||i===void 0?void 0:i.orders)!==null&&O!==void 0?O:[],w=new J0.Designer;w.props.datasourceBind=new oe({dataCode:v,svcCode:d,orders:iP(P)}),w.props.isShowSubList=f.is_show_sublist,w.props.triggerType=f.timing_type,w.props.triggerFieldCode=f.ctrl_field_code,f==null||(u=f.sublist_page)===null||u===void 0||u.sublists.forEach(function(T){T.title=we(T.title)?T.title.zh:T.title}),w.props.sublistPage=f.sublist_page;var R=w.toSchema();return R.children.push(_,b),[R]}function ghe(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=we(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 mhe(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:we(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=we(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 oe({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 Ohe(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 whe(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 Phe(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,ik(e.props.events[i].map(function(l){return l.name}))))}),!((r=t[e.id])===null||r===void 0)&&r.on_blur)){var o;t[e.id].on_change||(t[e.id].on_change=[]),(o=t[e.id].on_change).push.apply(o,ik(t[e.id].on_blur))}}}var $he=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Qt(V(n,function(i){return Rhe(i)}));return r?o:o[0]};function Rhe(e,t){if(e.type===c.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===c.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new et({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var The=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Qt(V(n,function(i){return She(i)}));return r?o:o[0]};function She(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 Ehe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Qt(V(n,function(i){return Ihe(i)}));return r?o:o[0]};function Ihe(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 Bhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Qt(V(n,function(i){return Ahe(i)}));return r?o:o[0]},Nhe=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function Ahe(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(Nhe.includes(r.type))return r;var n=new c0.Designer,o=new ts.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var Mhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Qt(V(n,function(i){return khe(i)}));return r?o:o[0]};function khe(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 Dhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return Lhe(i)});return r?o:o[0]};function Lhe(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}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}var Fhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return jhe(i)});return r?o:o[0]};function gn(e,t){e.field_code&&(e.field_type=t)}function jhe(e,t){var r,n=(r={},G(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),G(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),G(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),G(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),G(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),G(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),G(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),G(r,c.CONTROL_TYPE.DEPARTMENT2,c.FieldTypes.DEPARTMENTS),G(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),G(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),G(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),G(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),G(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),G(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),G(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),G(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),G(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),G(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),G(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),G(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),G(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),G(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),G(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),G(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 Che=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return xhe(i)});return r?o:o[0]};function xhe(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 Vhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return zhe(i)});return r?o:o[0]};function zhe(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 Ghe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return Yhe(i)});return r?o:o[0]};function Yhe(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 Hhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return qhe(i)});return r?o:o[0]};function qhe(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 Uhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return Whe(i)});return r?o:o[0]};function Whe(e,t){return e.type===c.CONTROL_TYPE.TITLE&&e.props.config.push(c.TitleConfigEnum.ShowTitle),e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(r){if(r.type===c.CONTROL_TYPE.OPERATION_COLUMN){var n,o,i;r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto";var u;if(r.children=(u=r==null?void 0:r.children)!==null&&u!==void 0?u:[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var l,f,a,s,_,p,b=new Yo.Designer;Object.defineProperty(b,"id",{value:"listPageCheckBtnId"}),b.props.code="view",b.props.icon="iconliulan1",b.props.command="view",b.props.content=(l=r.props)===null||l===void 0?void 0:l.check.content,b.props.priorityProcess=(f=r.props)===null||f===void 0?void 0:f.check.priority_process,b.props.openType=(a=r.props)===null||a===void 0?void 0:a.check.open_type,b.props.formKey=(s=r.props)===null||s===void 0?void 0:s.check.form_key,!((_=r.props)===null||_===void 0)&&_.check.is_show&&r.children.push(b.toSchema()),(p=r.props)===null||p===void 0||delete p.check}if(((o=r.props)===null||o===void 0?void 0:o.edit)!==void 0){var g,v,m,d,O,P,w=new Yo.Designer;Object.defineProperty(w,"id",{value:"listPageEditBtnId"}),w.props.code="edit",w.props.icon="iconbianji1",w.props.command="edit",w.props.content=(g=r.props)===null||g===void 0?void 0:g.edit.content,w.props.priorityProcess=(v=r.props)===null||v===void 0?void 0:v.edit.priority_process,w.props.openType=(m=r.props)===null||m===void 0?void 0:m.edit.open_type,w.props.formKey=(d=r.props)===null||d===void 0?void 0:d.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 R,T,E,D,Fe,me,Oe=new Yo.Designer;Object.defineProperty(Oe,"id",{value:"listPageDeleteBtnId"}),Oe.props.code="delete",Oe.props.icon="iconlajitong",Oe.props.command="delete",Oe.props.content=(R=r.props)===null||R===void 0?void 0:R.delete.content,Oe.props.priorityProcess=(T=r.props)===null||T===void 0?void 0:T.delete.priority_process,Oe.props.openType=(E=r.props)===null||E===void 0?void 0:E.delete.open_type,Oe.props.formKey=(D=r.props)===null||D===void 0?void 0:D.delete.form_key,Oe.props.needConfirm=!0,Oe.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((Fe=r.props)===null||Fe===void 0)&&Fe.delete.is_show&&r.children.push(Oe.toSchema()),(me=r.props)===null||me===void 0||delete me.delete}}}),[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}function Yi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Khe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return Xhe(i,t)});return r?o:o[0]};function Xhe(e,t){e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.map(function(o){var i;o.props.meta_auto_width=new fd,o.props.width_type==="px"&&(o.props.meta_auto_width.pc.width=o.props.width,o.props.meta_auto_width.pc.width_type="px"),delete o.props.width,delete o.props.width_type;var u=(i=o.children)===null||i===void 0?void 0:i[0];u&&u.type===c.CONTROL_TYPE.CALC&&u.props.calc_on_mounted===void 0&&(u.props.calc_on_mounted=!0)});var r,n=(r={},Yi(r,c.CONTROL_TYPE.SUBTABLE,[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}]),Yi(r,c.CONTROL_TYPE.GRID_TABLE,[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}]),Yi(r,c.CONTROL_TYPE.LIST_VIEW,[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}]),Yi(r,c.CONTROL_TYPE.SIMPLE_SEARCH,[{key:"col-gap",value:24},{key:"child-min-width",value:230}]),Yi(r,c.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,[{key:"template-type",value:"system"}]),r);return e.type in n&&n[e.type].forEach(function(o){e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(o){o.type===c.CONTROL_TYPE.OPERATION_COLUMN&&(o.props.limit===void 0&&(o.props.limit=3),o.props.show_type===void 0&&(o.props.show_type="icon")),o.props.flex===void 0&&(o.props.flex=1),o.props.auto_width===void 0&&(o.props.auto_width=new Qi)}),e.type===c.CONTROL_TYPE.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),Jhe(t),e}function Jhe(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(function(r){var n,o,i;e.listeners[r].forEach(function(u,l){var f=u.event_key||u.eventKey;switch(f){case"on_click_finish":o=u,i=l;break;case"on_click":n=u;break}}),o&&(o.cases[0].handlers.unshift(Nw()),n?(o.cases.forEach(function(u){n.cases[0].handlers.push(u)}),e.listeners[r].splice(i,1)):o.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[Qhe()]}];else if(e.listeners.form_submit&&e.listeners.form_submit&&e.listeners.form_submit[0]&&e.listeners.form_submit[0].cases&&e.listeners.form_submit[0].cases[0]&&e.listeners.form_submit[0].cases[0].handlers){var t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(function(r){r.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(Nw())}}}function Qhe(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[Nw()]}}function Nw(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}var Zhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return ebe(i,t)});return r?o:o[0]};function ebe(e,t){if(e.type===c.CONTROL_TYPE.LIST_VIEW){if(e.props.is_show_selection===!1){var r=[c.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,c.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT,c.CONTROL_TYPE.BATCH_DELETE_LIST_BUTTON];e.children.forEach(function(n){if(n.type===c.CONTROL_TYPE.GRID_TABLE){var o=n.children.map(function(u){return u.type}),i=o.some(function(u){return r.includes(u)});i===!0&&(e.props.is_show_selection=!0,n.props.is_show_selection=!0)}})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName),e.props.is_all_loaded===void 0&&(e.props.is_all_loaded=!0)}return e.type===c.CONTROL_TYPE.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e.type===c.CONTROL_TYPE.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.is_show_toolbar===void 0&&(e.props.is_show_toolbar=!0),e.type===c.CONTROL_TYPE.NUMBER&&e.props.regular_rules===void 0&&(e.props.regular_rules=new ou),e}function tbe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var nbe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return rbe(i)});return r?o:o[0]};function rbe(e,t){var r=tbe({},c.CONTROL_TYPE.SUBTABLE,[{key:"import_config",value:{template_type:"system",template_list:[]}},{key:"export_config",value:{template_type:"system",template_list:[]}}]);e.type in r&&r[e.type].forEach(function(o){e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type==="card-group"&&e.props.isHideCaption===void 0&&(e.props.isHideCaption=!1);var n=[c.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT_RECORD,c.CONTROL_TYPE.EXPORT_LIST_BUTTON,c.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,c.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,c.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,c.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,c.CONTROL_TYPE.BATCH_DELETE_LIST_BUTTON,c.CONTROL_TYPE.BUTTON,c.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,c.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT];return n.includes(e.type)&&(e.control_type="base"),e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e}function obe(e,t){if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){var r,n,o=(n=t==null||(r=t.events)===null||r===void 0?void 0:r.did_mount)!==null&&n!==void 0?n:[];o.length>0&&(t.events.did_init=o,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}var ibe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=V(n,function(u){var l=ube(u);return o[u.id]=u,l});return obe(o,t),r?i:i[0]};function ube(e,t){if(e.type===c.CONTROL_TYPE.TEXTAREA){var r,n,o,i={rowHeightType:e.props.auto_size===!0?"auto":"fixed",minRows:(r=e.props.line_ellipsis)!==null&&r!==void 0?r:4,maxRows:(n=e.props.max_rows)!==null&&n!==void 0?n:20,fiexdRow:(o=e.props.line_ellipsis)!==null&&o!==void 0?o:4};if(e.props.row_height_setting=Qt(new ld({pc:i,mobile:i})),e.type===c.CONTROL_TYPE.ORGANIZATION_SELECTION){var u=e.props.selected_content_config,l=u==null?void 0:u.display_bo_list;l&&l.forEach(function(f){f.value==="org_type_code"&&(f.label="\u4E1A\u52A1\u7C7B\u578B"),f.value==="org_pattern_code"&&(f.label="\u7EC4\u7EC7\u5F62\u6001")})}e.type===c.CONTROL_TYPE.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1)}return e}var cbe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=V(n,function(u){var l=lbe(u);return o[u.id]=u,l});return fbe(o,t),r?i:i[0]};function lbe(e,t){return e}function fbe(e,t){(t==null?void 0:t.formType)===0&&(t==null?void 0:t.listeners)!==void 0&&Object.keys(t==null?void 0:t.listeners).map(function(r){var n=t==null?void 0:t.listeners[r],o=e[r];if((o==null?void 0:o.type)===c.CONTROL_TYPE.BUTTON){var i,u,l,f,a;["draft","form_submit","save"].includes((u=o.props)===null||u===void 0||(i=u.opt_obj)===null||i===void 0?void 0:i.opt_type)&&(n==null||n.map(function(s){var _,p,b,g;s==null||(_=s.cases)===null||_===void 0||_.map(function(v){var m;v==null||(m=v.handlers)===null||m===void 0||m.map(function(d){if((d==null?void 0:d.method)==="optPage"&&d.params.operation==="refresh"&&(d.params.operation="close"),(d==null?void 0:d.method)==="openPage"){var O,P,w,R;((R=d.params)===null||R===void 0||(w=R.options)===null||w===void 0||(P=w.link)===null||P===void 0||(O=P.fx)===null||O===void 0?void 0:O.expression)==="GET_FORM_URL(GET_PAYLOAD_VAL('value').data_uid,{type:'edit'})"&&(d.id="optPage",d.method="optPage",d.params={operation:"close"})}})}),(s==null||(g=s.cases)===null||g===void 0||(b=g[0])===null||b===void 0||(p=b.handlers)===null||p===void 0?void 0:p.length)===1&&s.cases[0].handlers.push({id:"optPage",method:"optPage",params:{operation:"close"}})})),["form_submit"].includes((f=o.props)===null||f===void 0||(l=f.opt_obj)===null||l===void 0?void 0:l.opt_type)&&((a=t.dataModelExtend)===null||a===void 0?void 0:a.process_status_enum_type)==="business"&&(n==null||n.map(function(s){s.cases[0].handlers.map(function(_){(_==null?void 0:_.method)==="optPage"&&_.params.operation==="close"&&(_.params.operation="edit")})}))}})}var abe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=V(n,function(u){var l=sbe(u);return o[u.id]=u,l});return _be(o,t),r?i:i[0]};function sbe(e,t){if(e.type===c.CONTROL_TYPE.ORGANIZATION_SELECTION){var r=e.props.selected_content_config,n=r==null?void 0:r.display_bo_list;n&&n.forEach(function(o){o.value==="org_type_code"&&(o.label="\u4E1A\u52A1\u7C7B\u578B"),o.value==="org_pattern_code"&&(o.label="\u7EC4\u7EC7\u5F62\u6001")})}return e}function _be(e,t){if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){var r,n,o=(n=t==null||(r=t.events)===null||r===void 0?void 0:r.did_mount)!==null&&n!==void 0?n:[];o.length>0&&(t.events.did_init=o,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}var ybe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return dbe(i)});return r?o:o[0]};function dbe(e,t){if(e.type===c.CONTROL_TYPE.SIMPLE_SEARCH){if(e.props.view_config===void 0){var r;e.props.view_config=(r=e.children)===null||r===void 0?void 0:r.map(function(u){var l;return(l=u.props)===null||l===void 0?void 0:l.data_bind})}if(e.props.simple_config===void 0){var n;e.props.simple_config=(n=e.children)===null||n===void 0?void 0:n.map(function(u){var l;return(l=u.props)===null||l===void 0?void 0:l.data_bind})}}if(e.type===c.CONTROL_TYPE.ORGANIZATION_SELECTION){var o=e.props.selected_content_config,i=o==null?void 0:o.display_bo_list;i&&i.forEach(function(u){u.value==="org_type_code"&&(u.label="\u4E1A\u52A1\u7C7B\u578B"),u.value==="org_pattern_code"&&(u.label="\u7EC4\u7EC7\u5F62\u6001")})}return e}var pbe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return vbe(i)});return Obe(o),hbe(o),r?o:o[0]};function vbe(e,t){return e.type===c.CONTROL_TYPE.SIMPLE_SEARCH&&e.children.forEach(function(r){if(r.type===c.CONTROL_TYPE.SELECT||r.type===c.CONTROL_TYPE.SELECT_MULTIPLE){var n=r;n.props.option_config==="datasource"&&(n.props.default_show_options=!1)}}),e}function hbe(e){if(e[0].type===c.CONTROL_TYPE.LIST_VIEW){var t=e[0].props,r,n,o={type:(r=t.row_style_type)!==null&&r!==void 0?r:"none",interval:{color:(n=t.row_style_bg_color)!==null&&n!==void 0?n:""},rules:[]};t.row_style_rules&&(t.row_style_rules.forEach(function(i){var u=i.id,l={color:i.color,type:"background",scope:"row",fieldCodes:["_row_"]},f;if(t.row_style_rules_script){var a=t.row_style_rules_script.find(function(s){return s.id===u});a&&(f=mbe(i.filters,a.script))}i.settings=[l],i.script=f,delete i.color}),o.rules=t.row_style_rules),t.row_style=o,delete t.row_style_type,delete t.row_style_bg_color,delete t.row_style_rules,delete t.row_style_rules_script}}function lk(e,t){return t||(t={}),e.forEach(function(r){if(r.children)lk(r.children,t);else{var n=r.left_variable_bo;switch(n.type){case"people":case"department":case"array":case"timestamp":var o=n.value;t[o]=n;break}}}),t}function bbe(e){e=e.replace(/\(|\)/g,"").replace(/(\|\|)|(&&)/g,"__split__");var t=e.split("__split__").map(function(r){return r.replace(/^\s+|\s+$/gm,"")});return t}function gbe(e){var t="",r="";if(e[0]==="!")t="is_empty";else{var n=e.match(/(===|!=|>|>=|<|<=)/);if(n){var o=n[0];switch(o){case"===":t="op_equal";break;case"!=":t="op_no_equal";break;case">":t="op_greater";break;case">=":t="op_greater_equal";break;case"<":t="op_less";break;case"<=":t="op_less_equal";break;default:t="is_not_empty";break}r=e.split(o)[1]||""}else t="is_not_empty"}return{operate:t,value:r}}function mbe(e,t){var r=lk(e),n=bbe(t);return n.forEach(function(o){Object.keys(r).forEach(function(i){var u=o.indexOf("params.data.data_value_map['".concat(i,"']"));if(u>-1){var l=r[i],f=l.type,a=gbe(o),s=a.operate,_=a.value,p="SpecialMatch(data, sys, '".concat(i,"', '").concat(f,"', '").concat(s,"', ").concat(_||"''",")");t=t.replace(o,p)}})}),t=t.replace(/params.data.data_value_map/g,"data"),t}function Obe(e){if(e[0].type===c.CONTROL_TYPE.LIST_VIEW){var t=e[0].children.find(function(i){return i.type===c.CONTROL_TYPE.GRID_TABLE});if(t){var r=t.props.headers,n=t.props.footers,o={};n&&n.length>0&&n.forEach(function(i){var u=i.id.replace("foot_",""),l=i.children;l&&l.length>0&&i.children[0].type!==c.CONTROL_TYPE.BUTTON&&(i.children[0].field_type=i.field_type||"varchar"),o[u]=i}),r.forEach(function(i){var u=o[i.id];if(u){var l=u.children;if(!l||l.length===0)return;var f=i.children||[];i.children=[].concat(f,l)}}),t.props.footers=[]}}return e}var wbe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Pbe(n,t);return r?o:o[0]};function Pbe(e,t){var r=Rbe(t);return r.length>0&&($be(r,t),fk(r,e)),e}function fk(e,t){if(t)for(var r=t.length,n=r-1;n>=0;n--){var o=t[n],i=o.id;e.indexOf(i)>-1?t.splice(n,1):fk(e,o.children)}}function $be(e,t){for(var r=(t==null?void 0:t.permission_controls)||[],n=r.length-1;n>=0;n--){var o=r[n].control_id;e.indexOf(o)>-1&&r.splice(n,1)}}function Rbe(e){var t=[],r=e==null?void 0:e.listeners;return r&&Object.keys(r).forEach(function(n){r[n].forEach(function(o){!o.cases||o.cases.forEach(function(i){!i.handlers||i.handlers.forEach(function(u){if(!!u&&u.method==="openPage"){var l,f=(l=u.params)===null||l===void 0?void 0:l.relation_control_id;f&&t.push(f)}})})})}),t}var ak={"v1.0":ahe,"v2.0":$he,"v2.1":The,"v2.2":Ehe,"v2.3":Bhe,"v2.4":Mhe,"v2.5":Dhe,"v2.6":Fhe,"v2.7":Che,"v2.8":Vhe,"v2.9":Ghe,"v2.10":Hhe,"v3.0":Uhe,"v3.1":Khe,"v3.2":Zhe,"v3.3":nbe,"v3.4":ibe,"v3.5":cbe,"v3.6":abe,"v3.7":ybe,"v3.8":pbe,"v3.10":wbe,"v3.11":function(){}};const sk=(e,t)=>{const r=_k(e),n=_k(t),o=r.pop(),i=n.pop(),u=pk(r,n);return u!==0?u:o&&i?pk(o.split("."),i.split(".")):o||i?o?-1:1:0},xy=(e,t,r)=>{Ibe(r);const n=sk(e,t);return vk[r].includes(n)},Tbe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,_k=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(Tbe);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},yk=e=>e==="*"||e==="x"||e==="X",dk=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},Sbe=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],Ebe=(e,t)=>{if(yk(e)||yk(t))return 0;const[r,n]=Sbe(dk(e),dk(t));return r>n?1:r<n?-1:0},pk=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=Ebe(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},vk={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},hk=Object.keys(vk),Ibe=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(hk.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${hk.join("|")}`)};function Bbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nbe(e,t,r){return t&&bk(e.prototype,t),r&&bk(e,r),e}function gk(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Aw(e){return e.replace(/^v/,"")}var bo=Object.keys(ak).map(function(e){return Aw(e)}).sort(sk),Hi=bo[bo.length-1],Abe=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Hi;Bbe(this,e),gk(this,"toVersion",void 0),gk(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=r,xy(r,Hi,">")?Jt("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(Hi)):(!bo.includes(Aw(r))||!bo.includes(Aw(t)))&&Jt("Version Builder: Please give me a valid version number, The valid version is: ".concat(bo.join(","),", But give me a ").concat(t))}return Nbe(e,[{key:"dataCleaner",value:function(r,n){var o=this;if(xy(this.toVersion,this.schemaVersion,"="))return r;var i=this.callDataCleanerKeys.reduce(function(u,l,f,a){var s,_=(s=a[f+1])!==null&&s!==void 0?s:o.toVersion;$o("Version Builder: current version: ".concat(l,", nextVersion: ").concat(_));var p=ak[l],b=u;if(typeof p=="function"){var g=p(u,n);g&&(b=g)}return b},r);return $o("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var r=this;return bo.filter(function(n){return xy(n,r.schemaVersion,">=")&&xy(n,r.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(r){return"v"+r})}},{key:"version",get:function(){return Hi}}],[{key:"version",get:function(){return Hi}}]),e}();const Vy=[],Mw={exports:{}};let kw=!1;const Mbe=window.module,kbe=window.exports,Dbe=window.require;function Lbe(e){return kw||(window.module=Mw,window.exports=Mw.exports,window.require=function(t){return e[t]},kw=!0),function(){window.module=Mbe,window.exports=kbe,window.require=Dbe,kw=!1}}function Fbe(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=Lbe(t);i.src=e,i.type="text/javascript";const l=()=>{document.head.removeChild(i);const f=Vy.findIndex(a=>a===r);Vy.splice(f,1),Vy.length===0&&u()};i.onerror=function(f){l(),o(f)},i.onload=function(){n(Mw.exports),l()},document.head.appendChild(i)});return Vy.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 mk(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(l){return t[l]}),n(u.exports)}).catch(i=>{o(i)})})}function zy(e,t){return mk(e,t)}function jbe(e,t){return qi(this,null,function*(){return yield Promise.all(e.map(r=>zy(r,t)))})}function Gy(e,t,r){let n;t==="runtime"?n=class extends Q{constructor(f){super(f),this.props={}}static get controlType(){return e}}:n=class extends F{constructor(f){super(f),this.props={}}static get controlType(){return e}};class o extends J{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="low-code iconshibaimian" style="margin-right:4px"></i>${r}</div>`;return{Runtime:n,Designer:n,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{error:{template:i}}},upgrade:l=>l}}function Cbe(e,t,r,n){return qi(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>qi(this,null,function*(){let u=!0,l;try{u=!0;let f="";n.type==="runtime"?f=i.runtime:f=i.designer,f+="?v="+i.version,l=yield zy(f,r),n.type==="runtime"?l.Runtime.__is_control__:l.Designer.__is_control__}catch(f){u=!1,On("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,f),l=Gy(i.id,n.type,n.tipMessage)}if(u){let f="";if(n.type==="runtime"&&i.runtimecss!==void 0){const a=new RegExp(i.id+"-runtime-.*?$");f=i.runtime.replace(a,i.runtimecss)}else if(n.type==="designer"&&i.designercss!==void 0){const a=new RegExp(i.id+"-designer-.*?$");f=i.designer.replace(a,i.designercss)}if(f!==""){const a=document.createElement("link");a.href=f,a.rel="stylesheet",document.head.appendChild(a)}}Ok(n.type,l,o,u,i)}))),e==null||e.map(i=>{const[u,l]=i.split(":");if(o.has(u)===!1){const a=Gy(u,n.type,n.tipMessage);Ok(n.type,a,o,!1,{fieldType:"",id:u,name:"",runtime:"",designer:"",type:"",version:l})}})),o})}function Ok(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 xbe(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";r==null||r.map(u=>{const[l,f]=u.split(":");o.props.id===l&&(i=f!=null?f:"")}),e=o.control.upgrade(e,o.version,i,n)}return e}function Vbe(e,t){return qi(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 zy(`${e}/${t.type}.js?v=${r}`,t.globalModules);i.map(l=>{let f=u.find(a=>t.type==="runtime"?a.Runtime.controlType===l.id:a.Designer.controlType===l.id);f===void 0&&(f=Gy(l.id,t.type,"\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF")),n.set(l.id,{props:l,version:l.version,isLoaded:!0,control:f})})}return n})}c.ActionBar=nA,c.Address=WI,c.AddressValue=DP,c.AdvancedContainer=H1,c.Amount=NI,c.AmountDataBind=NP,c.AmountValue=AP,c.ApprovalStatusColumn=qM,c.ArrayColumn=cM,c.Attachment=mI,c.AutoNumber=_B,c.AutoNumberColumn=bM,c.AutoWidth=Qi,c.BaseControlProperty=A,c.BaseControlPropertyRules=ue,c.BaseControlPropertyRuntimeRules=x,c.BaseStyle=CP,c.BatchDeleteButton=MS,c.BatchPrintListButton=vS,c.BatchPrintRecordListButton=OS,c.BatchSubmissionListButton=AR,c.Button=q$,c.Calc=gB,c.CalcDataBind=LP,c.CalcScriptEchoItem=$F,c.CalcValue=FP,c.CardGroup=D3,c.Checkbox=US,c.Col=ts,c.ColumnControlProperty=ee,c.ColumnControlPropertyRules=st,c.ColumnOptionAndDataSourcePropertyRules=Wd,c.CreateFormListButton=$R,c.CustomAttributeItem=_d,c.CustomColumn=CM,c.CustomPermissionItem=Sj,c.DEFAULT_LOCALE=Yw,c.DESIGNER_SLOT=qy,c.Dashboard=LT,c.DataBind=et,c.DataSourceBind=oe,c.DataSourceDataSetValue=SP,c.DataSourceOrderItem=ad,c.DataSourceParamItem=$j,c.DataStorageDoc=gP,c.DataView=tm,c.DatePicker=hE,c.DateRange=SE,c.DecimalColumn=VA,c.Department=oB,c.Department2=KN,c.DepartmentColumn=_M,c.DepartmentEntity=Yy,c.DesignerColumnControl=le,c.DesignerControl=F,c.DesignerFormControl=M,c.DesignerLayoutControl=q,c.DesignerListControl=Pu,c.DesignerSearchControl=P$,c.DesignerWrapControl=S$,c.DisplayBoListItem=nu,c.Divider=lR,c.ElectronicSignature=DN,c.ElectronicSignatureConfig=U$,c.Employee=dI,c.Employee2=RN,c.EmployeeColumn=YM,c.EventLogic=sP,c.Explain=Ku,c.ExportConfig=J$,c.ExportListButton=GR,c.ExportRecordListButton=WR,c.ExportTemplate=Fo,c.FieldBindItem=wP,c.FieldFilterCondition=To,c.FieldFilterConditions=tu,c.FileColumn=OM,c.FillBackBind=pd,c.FillPayloadBind=dd,c.FlexStyleConfig=eR,c.FormBind=$n,c.FormSelectBind=mP,c.FormSelectButton=fT,c.Grid=y3,c.GridLayoutContainer=r1,c.GridLayoutWrap=ok,c.GridRow=c0,c.GridTable=OA,c.GridTableColumn=J3,c.Image=$I,c.ImageColumn=$M,c.ImageOptionSetting=BP,c.ImportConfig=X$,c.ImportListBind=K$,c.ImportRecordListButton=eT,c.Input=xS,c.InvoiceCheckButton=lS,c.JSONCopy=Je,c.JoinRelation=TP,c.Language=Rj,c.LayoutControlProperty=z,c.LeftVariable=RP,c.LimitDate=Wu,c.Link=V$,c.LinkOperationOption=Ot,c.ListBind=eu,c.ListControlProperty=ko,c.ListSelectButton=bT,c.ListView=J0,c.ListViewSelect=qT,c.LocationColumn=MM,c.MetaAutoWidth=fd,c.MetaRowHeight=ld,c.MetaWidth=Zi,c.MultistageFillingItem=Se,c.Number=aE,c.ObjectDataBind=iu,c.OperationButton=Yo,c.OperationColumn=hA,c.OperationItem=kt,c.OptObject=xP,c.OptionAndDataSourcePropertyRules=Rn,c.OptionDisplayConfigItem=Pj,c.OptionSetting=vd,c.OrderColumn=sA,c.OrganizationDataSourceBind=EP,c.OrganizationSelection=n3,c.Page=V1,c.Pagination=TT,c.PeopleColumn=SM,c.Position=J1,c.PositioningContainer=W1,c.PrintTemplate=Z$,c.Property=J,c.PropertyRules=re,c.PropertyRuntimeRules=en,c.Radio=rE,c.RangeDataBind=MP,c.RangeDateValue=kP,c.RegisterControls=Ro,c.RegularRules=ou,c.RichText=VE,c.RightVariable=ir,c.Row=R3,c.RowHeight=cd,c.RowStyle=GP,c.RowStyleRule=VP,c.RowStyleSettings=zP,c.RulesMessage=h,c.RuntimeColumnControl=fe,c.RuntimeControl=Q,c.RuntimeFormControl=k,c.RuntimeLayoutControl=Z,c.RuntimeListControl=Gd,c.RuntimeSearchControl=R$,c.RuntimeWrapControl=I$,c.SUBTABLE_DEFAULT_MAX_HEIGHT=Q$,c.Score=jI,c.SearchControlProperty=Bu,c.SearchDateRange=CB,c.SearchInput=sN,c.SearchNumberRange=IB,c.Select=JE,c.SelectMultiple=oI,c.SelectRelation=nN,c.SelectedContentConfig=ru,c.SimpleSearch=QM,c.SubListItem=PP,c.SubListPageConfig=$P,c.SubTable=iA,c.SubTableColumn=v0,c.SubTableRow=q3,c.SubmissionRecordListButton=FR,c.SuperDataSourceBind=So,c.Tab=h1,c.TabPane=_1,c.Text=L$,c.TextColumn=kA,c.TextOcrButton=eS,c.Textarea=kE,c.TimescopeColumn=WA,c.TimestampColumn=tM,c.Title=vR,c.Toolbox=$1,c.Tree=bN,c.TreeDataSourceBind=yd,c.UndersignedPerson=wp,c.UserEntity=Hy,c.VarcharColumn=SA,c.VersionBuilder=Abe,c.ViewOperationItem=jP,c.VueFormItem=qB,c.VuePage=f3,c.WPS=zN,c.WPSSetting=W$,c.Watcher=fP,c.WpsOperationItem=Pp,c.WrapControlProperty=ku,c.baseControls=PY,c.camelizeKeys=iP,c.columnControls=_ve,c.controlHooksEmitter=QP,c.createValidator=JP,c.debounce=ZF,c.decamelizeKeys=Qt,c.defineArrayParent=yP,c.defineControlArrayToProperty=at,c.defineParent=id,c.error=Jt,c.formControls=Vte,c.genNonDuplicateId=Xe,c.getHackerControl=Gy,c.getNotRepeatItems=oP,c.initExpression=jo,c.initImageOptions=Tj,c.initLinkOperationRules=Ft,c.initOptionAndDataSourceRules=fu,c.initOptions=wt,c.initSuperDataSourceRules=Ao,c.isArray=wn,c.isBuiltInControls=tj,c.isDataBind=a$,c.isFunction=UF,c.isJSONArray=JF,c.isJSONObject=QF,c.isLanguageObject=we,c.isNumber=td,c.isNumberAndEmptyStringArray=XF,c.isNumberArray=KF,c.isObject=qF,c.isPlainObject=ed,c.isString=rP,c.isStringArray=WF,c.layoutControls=Rfe,c.listControls=fse,c.loadRemoteControl=zy,c.loadRemoteControls=jbe,c.loadScriptFromFetch=mk,c.loadScriptFromTag=Fbe,c.log=$o,c.logerror=Jw,c.loop=V,c.loopFormSchema=Ki,c.nativeFetch=Dw,c.noop=RF,c.referenceError=Jy,c.registerByteluckControls=Vbe,c.registerCustomControls=Cbe,c.searchControls=Ive,c.setPropertyDontEnum=Xi,c.toNumberOrEmpty=Pn,c.updateValueFromKeys=eP,c.upgradeCustomControlSchema=xbe,c.wait=ej,c.warn=On,c.wrapControls=nhe,Object.defineProperty(c,"__esModule",{value:!0})});
1
+ var Fr=(u,Bt,_t)=>new Promise((gy,kr)=>{var D=Ze=>{try{bo(_t.next(Ze))}catch(go){kr(go)}},Oy=Ze=>{try{bo(_t.throw(Ze))}catch(go){kr(go)}},bo=Ze=>Ze.done?gy(Ze.value):Promise.resolve(Ze.value).then(D,Oy);bo((_t=_t.apply(u,Bt)).next())});(function(u,Bt){typeof exports=="object"&&typeof module!="undefined"?Bt(exports):typeof define=="function"&&define.amd?define(["exports"],Bt):(u=typeof globalThis!="undefined"?globalThis:u||self,Bt(u.modelDrivenCoreAll={}))})(this,function(u){"use strict";function Bt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var gy=function t(){Bt(this,t),_t(this,"department_en_name",void 0),_t(this,"department_id",void 0),_t(this,"department_name",void 0)};function kr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function D(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Oy=function t(){kr(this,t),D(this,"avatar_big",void 0),D(this,"avatar_small",void 0),D(this,"avatar_url",void 0),D(this,"belong_dept_en_name",void 0),D(this,"belong_dept_id_list",void 0),D(this,"belong_dept_ids",void 0),D(this,"belong_dept_name",void 0),D(this,"cookie_language_enum",void 0),D(this,"department_id",void 0),D(this,"department_name",void 0),D(this,"email",void 0),D(this,"employee_card",void 0),D(this,"employee_en_name",void 0),D(this,"employee_id",void 0),D(this,"employee_name",void 0),D(this,"external_user",void 0),D(this,"gender",void 0),D(this,"is_show_chat_group",void 0),D(this,"manage_dept_en_name",void 0),D(this,"manage_dept_ids",void 0),D(this,"manage_dept_name",void 0),D(this,"msg_relation_type",void 0),D(this,"sequence",void 0),D(this,"telephone",void 0),D(this,"tenant_id",void 0)},bo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Ze="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",go="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",ZN="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",e5="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",t5="{caption}\u5FC5\u586B",n5="\u8BF7\u8F93\u5165\u6807\u9898",o5="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",r5="\u8BF7\u8F93\u5165\u884C\u6807\u9898",i5="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",u5="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",c5="\u8BF7\u7ED1\u5B9A\u8868\u5355",l5="\u8BF7\u7ED1\u5B9A\u5217\u8868",a5="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",f5="\u8BF7\u8F93\u5165\u663E\u793A\u503C",_5="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",y5="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",s5="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",p5="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",v5="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",d5="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",h5="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",b5="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",g5="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",O5="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",m5="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",w5="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",$5="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",P5="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",T5="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",E5="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",S5="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",R5="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",B5="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",I5="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",M5="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",A5="\u8BF7\u7ED1\u5B9A\u670D\u52A1",N5="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",F5="\u8BF7\u9009\u62E9\u7701",k5="\u8BF7\u9009\u62E9\u5E02",D5="\u8BF7\u9009\u62E9\u533A",L5="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",j5="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",C5="\u8BF7\u8F93\u5165\u5217\u5BBD",V5="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",z5="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",G5="\u8BF7\u9009\u62E9\u63A7\u4EF6",Y5="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",H5="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",q5="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",x5="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",U5="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",W5="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",K5="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",X5="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",J5="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Q5="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Z5="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",eF="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",tF="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nF="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",oF="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",rF="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",iF="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",uF="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",cF="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",lF="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",aF="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",fF="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",_F="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",yF="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",sF="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",pF="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",vF="\u6279\u91CF\u5220\u9664",dF="\u6279\u91CF\u6253\u5370",hF="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",bF="\u6309\u94AE",gF="\u521B\u5EFA\u5355\u636E",OF="\u4EEA\u8868\u76D8",mF="\u5206\u5272\u7EBF",wF="\u5BFC\u51FA",$F="\u8868\u5355\u64CD\u4F5C",PF="\u5BFC\u5165",TF="\u53D1\u7968\u8BC6\u522B",EF="\u94FE\u63A5",SF="\u5217\u8868\u9009\u62E9",RF="\u5217\u8868\u89C6\u56FE",BF="\u64CD\u4F5C\u6309\u94AE",IF="\u5206\u9875",MF="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",AF="\u8BF4\u660E\u6587\u5B57",NF="\u6587\u5B57\u8BC6\u522B",FF="\u6807\u9898\u7EC4\u4EF6",kF="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",DF="\u6570\u7EC4",LF="\u81EA\u52A8\u7F16\u53F7",jF="\u81EA\u5B9A\u4E49",CF="\u6570\u503C",VF="\u90E8\u95E8",zF="\u4EBA\u5458",GF="\u9644\u4EF6",YF="\u56FE\u7247",HF="\u5730\u5740",qF="\u64CD\u4F5C",xF="\u5E8F\u53F7",UF="\u4EBA\u5458",WF="\u957F\u6587\u672C",KF="\u65E5\u671F\u533A\u95F4",XF="\u65E5\u671F",JF="\u77ED\u6587\u672C",QF="\u6362\u884C\u5BB9\u5668Wrap",ZF="\u8868\u683C",ek="\u660E\u7EC6\u5B50\u8868",tk="\u5730\u5740",nk="\u91D1\u989D",ok="\u8BA1\u7B97\u516C\u5F0F",rk="\u591A\u9009",ik="\u7535\u5B50\u7B7E\u7AE0",uk="\u5355\u884C\u6587\u672C",ck="\u6570\u5B57",lk="\u4E1A\u52A1\u7EC4\u7EC7",ak="\u5355\u9009",fk="\u5BCC\u6587\u672C",_k="\u8BC4\u5206",yk="\u6570\u5B57\u533A\u95F4",sk="\u4E0B\u62C9\u5355\u9009",pk="\u4E0B\u62C9\u591A\u9009",vk="\u5173\u8054\u5355\u9009",dk="\u591A\u884C\u6587\u672C",hk="\u6811",bk="Vue\u5BB9\u5668",gk="Vue\u9875\u9762",Ok="\u5728\u7EBF\u6587\u6863",mk="\u6309\u94AE\u64CD\u4F5C\u680F",wk="\u9AD8\u7EA7\u5BB9\u5668",$k="\u5206\u7EC4",Pk="\u6805\u683C\u5217",Tk="\u6570\u636E\u5BB9\u5668",Ek="\u753B\u5E03",Sk="\u6362\u884C\u5BB9\u5668",Rk="\u6805\u683C\u7B49\u5206\u884C",Bk="\u5217\u8868\u5BB9\u5668",Ik="\u81EA\u7531\u9875\u9762",Mk="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Ak="\u5B9A\u4F4D\u5BB9\u5668",Nk="\u6805\u683C\u5E03\u5C40",Fk="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",kk="\u660E\u7EC6\u5B50\u8868\u884C",Dk="\u6807\u7B7E\u9875",Lk="\u6807\u7B7E\u5355\u5143",jk="\u5DE5\u5177\u680F",Ck="\u6279\u91CF\u63D0\u4EA4",Vk="\u5BFC\u51FA\u8BB0\u5F55",zk="\u5217\u8868\u89C6\u56FE",Gk="\u7ED3\u675F\u65F6\u95F4",Yk="\u5F00\u59CB\u65F6\u95F4",Hk="\u5355\u4F4D",qk="\u7ED3\u679C",xk="\u5E01\u79CD",Uk="\u7ED3\u675F\u65E5\u671F",Wk="\u5F00\u59CB\u65E5\u671F",Kk="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Xk="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Jk="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Qk="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Zk="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",eD="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",tD="\u8BF7\u9009\u62E9",nD="\u8BF7\u9009\u62E9\u7EC4\u7EC7",oD="\u8BF7\u9009\u62E9\u90E8\u95E8",rD="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",iD="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",uD="\u8BF7\u9009\u62E9\u5730\u5740",cD="\u5F39\u7A97\u786E\u8BA4\u65F6",lD="\u6807\u7B7E\u9875\u5207\u6362\u65F6",aD="\u884C\u9009\u4E2D\u65F6",fD="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",_D="\u884C\u5220\u9664\u524D",yD="\u884C\u70B9\u51FB\u65F6",sD="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",pD="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",vD="\u91CD\u547D\u540D\u65F6",dD="\u4FDD\u5B58\u6587\u4EF6\u65F6",hD="\u6253\u5F00\u6587\u4EF6\u65F6",bD="\u83B7\u53D6\u7126\u70B9\u65F6",gD="\u5931\u53BB\u7126\u70B9\u65F6",OD="\u7528\u6237\u8F93\u5165\u65F6",mD="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",wD="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",$D="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",PD="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",TD="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",ED="\u641C\u7D22\u65F6",SD="\u503C\u53D1\u751F\u53D8\u5316\u65F6",RD="\u6267\u884C\u5B8C\u6210\u65F6",BD="\u70B9\u51FB\u65F6",ID="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",MD="\u8BF7\u8F93\u5165\u65E5\u671F",AD="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",ND="\u8BF7\u8F93\u5165",FD="\u9ED8\u8BA4\u6A21\u7248",kD="\u5DE6\u53F3\u5E03\u5C40",DD="\u4E0A\u4E0B\u5E03\u5C40",LD="\u53EA\u8BFB",jD="\u5FC5\u586B",CD="\u63D0\u793A\u6587\u5B57",VD="\u9690\u85CF\u6807\u9898",zD="\u6807\u9898\u5FC5\u586B",GD="\u7EC4\u7EC7\u5F62\u6001",YD="\u4E1A\u52A1\u7C7B\u578B",HD="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",qD="\u9690\u85CF",xD="\u6D41\u7A0B\u72B6\u6001",UD="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",WD="\u5220\u9664",KD="\u7F16\u8F91",XD="\u67E5\u770B",JD="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",QD="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",ZD="\u5145\u6EE1\u6574\u884C",eL="\u6700\u5C0F\u503C",tL="\u6700\u5927\u503C",nL="\u65B0\u5EFA\u6587\u6863",oL="\u91CD\u7F6E",rL="\u67E5\u8BE2",iL="\u660E\u7EC6",uL="\u6253\u5370",cL="\u4FDD\u5B58\u8349\u7A3F",lL="\u4FDD\u5B58",aL="\u53D6\u6D88",fL="\u4E0A\u4F20\u56FE\u7247",_L="\u53D1\u8D77\u7B7E\u7F72",yL="\u4E0A\u4F20\u9644\u4EF6",sL="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",pL={isNotNumber:bo,isNotString:Ze,isNotObject:go,isNotArray:ZN,isNotBoolean:e5,runtimeRequired:t5,pleaseEnterCaption:n5,pleaseEnterCaptionTip:o5,pleaseEnterRowCaption:r5,pleaseEnterPlaceholder:i5,pleaseEnterFieldCode:u5,pleaseEnterForm:c5,pleaseEnterList:l5,pleaseEnterProcess:a5,pleaseEnterLabel:f5,pleaseEnterValue:_5,bizKeyNotBindFiled:y5,pleaseSelectOneField:s5,pleaseEnterNumberRange:p5,pleaseEnterAValueGreaterThanMin:v5,pleaseEnterAValueLessThanMax:d5,numberRangeSetError:h5,stringRangeError:b5,attachmentMaxSize:g5,pleaseEnterTotalScoreSetting:O5,theTotalScoreMustNotBeLessThan1:m5,scoreDefaultValueRange:w5,attachmentLimitError:$5,PleaseReselectTheOptionalQuantity:P5,TheMaximumLengthIsGreaterThanTheMinimumLength:T5,TheMinimumLengthIsGreaterThanTheMaximumLength:E5,PleaseSelectTheCorrectOptionSettings:S5,optionIdIsRepeat:R5,optionIsRequired:B5,pleaseEnterDataCode:I5,pleaseEnterValueFieldCode:M5,pleaseEnterSvcCode:A5,pleaseBindAtLeastOneDisplayValue:N5,pleaseSelectProvince:F5,pleaseSelectCity:k5,pleaseSelectDistrict:D5,limitRowsCannotBeLessThan0:L5,TheNumberOfRowsCannotBeLessThanMinRows:j5,pleaseEnterColumnWidth:C5,pleaseSetTheLogicalRelationshipOfAllRuleConditions:V5,pleaseCompleteAllRulesAndConditions:z5,pleaseSelectControl:G5,pleaseSelectAtLeastOneColumn:Y5,pleaseSelectFillBackMode:H5,pleaseSelectDashboard:q5,rootNodeIsRequired:x5,theViewNameCannotBeEmpty:U5,pleaseSelectOcrType:W5,pleaseSelectAtLeastOneFieldToFillIn:K5,pleaseChooseAtLeastOne:X5,pleaseEnterButtonContent:J5,pleaseEnterDataCodeInDataSetting:Q5,pleaseEnterValueFieldCodeInDataSetting:Z5,pleaseEnterSvcCodeInDataSetting:eF,pleaseBindAtLeastOneDisplayValueInDataSetting:tF,rootNodeIsRequiredInDataSetting:nF,pleaseEnterMaxHeight:oF,pleaseEnterWatermark:rF,pleaseEnterFileName:iF,pleaseUploadAtLeastOnePrintTemplate:uF,pleaseAssignBusiness:cF,pleaseAssignExternal:lF,pleaseEnterAliasCode:aF,pleaseSelectDataCode:fF,pleaseSelectSvcCode:_F,pleaseSelectJoinFieldCode:yF,pleaseSelectMainFieldCode:sF,pleaseSelectSortFieldCode:pF,batchDeleteButton:vF,batchPrintListButton:dF,batchPrintRecordList:hF,button:bF,createFormListButton:gF,dashboard:OF,divider:mF,exportListButton:wF,formSelectButton:$F,importRecordListButton:PF,invoiceCheckButton:TF,link:EF,listSelectButton:SF,ListViewSelect:RF,operationButton:BF,pagination:IF,submissionRecordListButton:MF,text:AF,textOcrButton:NF,title:FF,approvalStatusColumn:kF,array:DF,autoNumber:LF,custom:jF,decimal:CF,department:VF,employee:zF,file:GF,image:YF,location:HF,operation:qF,order:xF,people:UF,long:WF,timescope:KF,timestamp:XF,varchar:JF,gridLayoutWrap:QF,gridTable:ZF,subTable:ek,address:tk,amount:nk,calc:ok,checkBox:rk,electronicSignature:ik,input:uk,number:ck,organizationSelection:lk,radio:ak,richText:fk,score:_k,searchNumberRange:yk,select:sk,selectMultiple:pk,selectRelation:vk,textarea:dk,tree:hk,vueFormItem:bk,vuePage:gk,WPS:Ok,actionBar:mk,advancedContainer:wk,cardGroup:$k,col:Pk,dataView:Tk,grid:Ek,gridLayoutContainer:Sk,gridRow:Rk,listView:Bk,page:Ik,position:Mk,positioningContainer:Ak,row:Nk,subtableColumn:Fk,subtableRow:kk,tab:Dk,tabPane:Lk,toolbox:jk,batchSubmissionListButton:Ck,exportRecordListButton:Vk,listViewSelect:zk,endTime:Gk,startTime:Yk,unit:Hk,result:qk,currency:xk,endDate:Uk,startDate:Wk,pleaseSelectCompanyName:Kk,pleaseSelectPhoneOrEmail:Xk,pleaseSelectSignType:Jk,pleaseSelectSigner:Qk,pleaseSelectOnlyOne:Zk,pleaseSelectSignFile:eD,pleaseSelect:tD,pleaseSelectOrg:nD,pleaseSelectDept:oD,pleaseSelectEndDate:rD,pleaseSelectStartDate:iD,pleaseChooseAddress:uD,modalConfirm:cD,tabChange:lD,rowSelected:aD,listDataImport:fD,rowDelete:_D,rowClick:yD,cellRender:sD,onClickBtn:pD,rename:vD,onSaveFile:dD,onOpenFile:hD,onFocus:bD,onBlur:gD,onInput:OD,listDataAdd:mD,listDataDelete:wD,listDataBack:$D,listDataCreate:PD,listDataChange:TD,search:ED,valueChange:SD,finished:RD,click:BD,pleaseEnterNameorEmail:ID,pleaseEnterDate:MD,pleaseEnterAutonumber:AD,pleaseEnter:ND,defaultTemplate:FD,left:kD,top:DD,default:"\u666E\u901A",readonly:LD,required:jD,textTip:CD,hideCaption:VD,titleRequired:zD,organizationalForm:GD,businessType:YD,deleteConfirm:HD,hide:qD,processStatus:xD,approvedDocuments:UD,delete:WD,edit:KD,view:XD,loadCtrlErrorTip:JD,loadCtrlError:QD,fullLine:ZD,min:eL,max:tL,createWPS:nL,reset:oL,query:rL,detailed:iL,print:uL,draft:cL,save:lL,cancel:aL,uploadImg:fL,signature:_L,uploadFile:yL,linkContent:sL},vL="Please enter a number",dL="Please enter a string",hL="Please enter an object",bL="Please enter an array",gL="Please enter a boolean",OL="{caption} Required",mL="Please enter the title",wL="Please enter the bubble prompt",$L="Please enter the row title",PL="Please enter the prompt text",TL="Please bind data items",EL="Please bind the form",SL="Please bind the list",RL="Please bind the process",BL="Please enter the displayed value",IL="Please enter the stored value",ML="The document number is not bound to the data item",AL="Please select at least one display field",NL="Please enter a value greater than or equal to {min} and less than or equal to {max}",FL="Please enter a value greater than or equal to {min}",kL="Please enter a value less than or equal to {max}",DL="The value range is set incorrectly",LL="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",jL="The attachment size must be between 0MB and 1000MB",CL="Please fill in the total score setting",VL="The total score cannot be less than 1",zL="The default value must be between {min} and {max}",GL="The number of attachment uploads exceeds the limit",YL="Please re-select the optional quantity",HL="The maximum length of the control must be greater than the minimum length",qL="The minimum length of the control must be less than the maximum length",xL="Please select the correct option setting",UL="Option ID cannot be repeated",WL="Please enter at least one option",KL="Please bind the data source",XL="Please bind the stored value",JL="Please bind the service",QL="At least one display value must be bound",ZL="Please select a province",e6="Please select a city",t6="Please select a district",n6="The minimum number of lines to fill in cannot be less than 0",o6="The number of rows cannot be less than {min} rows",r6="Please enter the column width",i6="Please set the logical relationship of all rule conditions",u6="Please complete all rules and conditions",c6="please select control",l6="Please select the dashboard",a6="View name cannot be empty",f6="Please select recognition type",_6="Please select at least one field to fill in",y6="Please select at least one",s6="Please enter the button title",p6="Please bind the business model in the data settings",v6="Please bind storage values in data settings",d6="Please bind the service in the data settings",h6="Please bind at least one display value in the data settings",b6="Please select the root node in the data settings",g6="Please enter the maximum height",O6="The input content cannot be empty",m6="Watermark cannot be empty",w6="File name cannot be empty",$6="Please upload at least one printing template!\uFF01",P6="Please select a specific business department",T6="Please select a specified external organization",E6="Please enter a sub table alias",S6="Please select the associated table to set the business model",R6="Please select the association table to set the binding service",B6="Select associated sub table fields",I6="Please select the associated main table field",M6="Please select the sort field",A6="\u6279\u91CF\u5220\u9664",N6="\u6279\u91CF\u6253\u5370",F6="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",k6="\u6309\u94AE",D6="\u521B\u5EFA\u5355\u636E",L6="\u4EEA\u8868\u76D8",j6="\u5206\u5272\u7EBF",C6="\u5BFC\u51FA",V6="\u8868\u5355\u64CD\u4F5C",z6="\u5BFC\u5165",G6="\u53D1\u7968\u8BC6\u522B",Y6="\u94FE\u63A5",H6="\u5217\u8868\u9009\u62E9",q6="\u5217\u8868\u89C6\u56FE",x6="\u64CD\u4F5C\u6309\u94AE",U6="\u5206\u9875",W6="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",K6="\u8BF4\u660E\u6587\u5B57",X6="\u6587\u5B57\u8BC6\u522B",J6="\u6807\u9898\u7EC4\u4EF6",Q6="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Z6="\u6570\u7EC4",e4="\u81EA\u52A8\u7F16\u53F7",t4="\u81EA\u5B9A\u4E49",n4="\u6570\u503C",o4="\u90E8\u95E8",r4="\u4EBA\u5458",i4="\u9644\u4EF6",u4="\u56FE\u7247",c4="\u5730\u5740",l4="\u64CD\u4F5C",a4="\u5E8F\u53F7",f4="\u4EBA\u5458",_4="\u957F\u6587\u672C",y4="\u65E5\u671F\u533A\u95F4",s4="\u65E5\u671F",p4="\u77ED\u6587\u672C",v4="\u6362\u884C\u5BB9\u5668Wrap",d4="\u8868\u683C",h4="\u660E\u7EC6\u5B50\u8868",b4="\u5730\u5740",g4="\u91D1\u989D",O4="\u8BA1\u7B97\u516C\u5F0F",m4="\u591A\u9009",w4="\u7535\u5B50\u7B7E\u7AE0",$4="\u5355\u884C\u6587\u672C",P4="\u6570\u5B57",T4="\u4E1A\u52A1\u7EC4\u7EC7",E4="\u5355\u9009",S4="\u5BCC\u6587\u672C",R4="\u8BC4\u5206",B4="\u6570\u5B57\u533A\u95F4",I4="\u4E0B\u62C9\u5355\u9009",M4="\u4E0B\u62C9\u591A\u9009",A4="\u5173\u8054\u5355\u9009",N4="\u591A\u884C\u6587\u672C",F4="\u6811",k4="Vue\u5BB9\u5668",D4="Vue\u9875\u9762",L4="\u5728\u7EBF\u6587\u6863",j4="\u6309\u94AE\u64CD\u4F5C\u680F",C4="\u9AD8\u7EA7\u5BB9\u5668",V4="\u5206\u7EC4",z4="\u6805\u683C\u5217",G4="\u6570\u636E\u5BB9\u5668",Y4="\u753B\u5E03",H4="\u6362\u884C\u5BB9\u5668",q4="\u6805\u683C\u7B49\u5206\u884C",x4="\u5217\u8868\u5BB9\u5668",U4="\u81EA\u7531\u9875\u9762",W4="\u5B9A\u4F4D\u5B50\u5BB9\u5668",K4="\u5B9A\u4F4D\u5BB9\u5668",X4="\u6805\u683C\u5E03\u5C40",J4="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Q4="\u660E\u7EC6\u5B50\u8868\u884C",Z4="\u6807\u7B7E\u9875",ej="\u6807\u7B7E\u5355\u5143",tj="\u5DE5\u5177\u680F",nj="\u6279\u91CF\u63D0\u4EA4",oj="\u5BFC\u51FA\u8BB0\u5F55",rj="\u5217\u8868\u89C6\u56FE",ij={isNotNumber:vL,isNotString:dL,isNotObject:hL,isNotArray:bL,isNotBoolean:gL,runtimeRequired:OL,pleaseEnterCaption:mL,pleaseEnterCaptionTip:wL,pleaseEnterRowCaption:$L,pleaseEnterPlaceholder:PL,pleaseEnterFieldCode:TL,pleaseEnterForm:EL,pleaseEnterList:SL,pleaseEnterProcess:RL,pleaseEnterLabel:BL,pleaseEnterValue:IL,bizKeyNotBindFiled:ML,pleaseSelectOneField:AL,pleaseEnterNumberRange:NL,pleaseEnterAValueGreaterThanMin:FL,pleaseEnterAValueLessThanMax:kL,numberRangeSetError:DL,stringRangeError:LL,attachmentMaxSize:jL,pleaseEnterTotalScoreSetting:CL,theTotalScoreMustNotBeLessThan1:VL,scoreDefaultValueRange:zL,attachmentLimitError:GL,PleaseReselectTheOptionalQuantity:YL,TheMaximumLengthIsGreaterThanTheMinimumLength:HL,TheMinimumLengthIsGreaterThanTheMaximumLength:qL,PleaseSelectTheCorrectOptionSettings:xL,optionIdIsRepeat:UL,optionIsRequired:WL,pleaseEnterDataCode:KL,pleaseEnterValueFieldCode:XL,pleaseEnterSvcCode:JL,pleaseBindAtLeastOneDisplayValue:QL,pleaseSelectProvince:ZL,pleaseSelectCity:e6,pleaseSelectDistrict:t6,limitRowsCannotBeLessThan0:n6,TheNumberOfRowsCannotBeLessThanMinRows:o6,pleaseEnterColumnWidth:r6,pleaseSetTheLogicalRelationshipOfAllRuleConditions:i6,pleaseCompleteAllRulesAndConditions:u6,pleaseSelectControl:c6,pleaseSelectDashboard:l6,theViewNameCannotBeEmpty:a6,pleaseSelectOcrType:f6,pleaseSelectAtLeastOneFieldToFillIn:_6,pleaseChooseAtLeastOne:y6,pleaseEnterButtonContent:s6,pleaseEnterDataCodeInDataSetting:p6,pleaseEnterValueFieldCodeInDataSetting:v6,pleaseEnterSvcCodeInDataSetting:d6,pleaseBindAtLeastOneDisplayValueInDataSetting:h6,rootNodeIsRequiredInDataSetting:b6,pleaseEnterMaxHeight:g6,pleaseEnter:O6,pleaseEnterWatermark:m6,pleaseEnterFileName:w6,pleaseUploadAtLeastOnePrintTemplate:$6,pleaseAssignBusiness:P6,pleaseAssignExternal:T6,pleaseEnterAliasCode:E6,pleaseSelectDataCode:S6,pleaseSelectSvcCode:R6,pleaseSelectJoinFieldCode:B6,pleaseSelectMainFieldCode:I6,pleaseSelectSortFieldCode:M6,batchDeleteButton:A6,batchPrintListButton:N6,batchPrintRecordList:F6,button:k6,createFormListButton:D6,dashboard:L6,divider:j6,exportListButton:C6,formSelectButton:V6,importRecordListButton:z6,invoiceCheckButton:G6,link:Y6,listSelectButton:H6,ListViewSelect:q6,operationButton:x6,pagination:U6,submissionRecordListButton:W6,text:K6,textOcrButton:X6,title:J6,approvalStatusColumn:Q6,array:Z6,autoNumber:e4,custom:t4,decimal:n4,department:o4,employee:r4,file:i4,image:u4,location:c4,operation:l4,order:a4,people:f4,long:_4,timescope:y4,timestamp:s4,varchar:p4,gridLayoutWrap:v4,gridTable:d4,subTable:h4,address:b4,amount:g4,calc:O4,checkBox:m4,electronicSignature:w4,input:$4,number:P4,organizationSelection:T4,radio:E4,richText:S4,score:R4,searchNumberRange:B4,select:I4,selectMultiple:M4,selectRelation:A4,textarea:N4,tree:F4,vueFormItem:k4,vuePage:D4,WPS:L4,actionBar:j4,advancedContainer:C4,cardGroup:V4,col:z4,dataView:G4,grid:Y4,gridLayoutContainer:H4,gridRow:q4,listView:x4,page:U4,position:W4,positioningContainer:K4,row:X4,subtableColumn:J4,subtableRow:Q4,tab:Z4,tabPane:ej,toolbox:tj,batchSubmissionListButton:nj,exportRecordListButton:oj,listViewSelect:rj},uj="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cj="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lj="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",aj="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fj="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_j="{caption}\u5FC5\u9808",yj="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sj="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pj="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vj="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",dj="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hj="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bj="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gj="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Oj="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mj="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wj="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",$j="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Pj="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Tj="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ej="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sj="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Rj="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Bj="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ij="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Mj="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Aj="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Nj="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Fj="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kj="\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",Dj="\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",Lj="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",jj="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Cj="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Vj="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zj="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gj="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Yj="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Hj="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",qj="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",xj="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Uj="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Wj="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Kj="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Xj="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Jj="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Qj="please select control",Zj="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",eC="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",tC="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",nC="\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",oC="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",rC="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",iC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",uC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",cC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",lC="\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",aC="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",fC="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_C="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",yC="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",sC="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",pC="\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",vC="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",dC="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",hC="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bC="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",gC="\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",OC="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",mC="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wC="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$C="\u6279\u91CF\u5220\u9664",PC="\u6279\u91CF\u6253\u5370",TC="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",EC="\u6309\u94AE",SC="\u521B\u5EFA\u5355\u636E",RC="\u4EEA\u8868\u76D8",BC="\u5206\u5272\u7EBF",IC="\u5BFC\u51FA",MC="\u8868\u5355\u64CD\u4F5C",AC="\u5BFC\u5165",NC="\u53D1\u7968\u8BC6\u522B",FC="\u94FE\u63A5",kC="\u5217\u8868\u9009\u62E9",DC="\u5217\u8868\u89C6\u56FE",LC="\u64CD\u4F5C\u6309\u94AE",jC="\u5206\u9875",CC="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",VC="\u8BF4\u660E\u6587\u5B57",zC="\u6587\u5B57\u8BC6\u522B",GC="\u6807\u9898\u7EC4\u4EF6",YC="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",HC="\u6570\u7EC4",qC="\u81EA\u52A8\u7F16\u53F7",xC="\u81EA\u5B9A\u4E49",UC="\u6570\u503C",WC="\u90E8\u95E8",KC="\u4EBA\u5458",XC="\u9644\u4EF6",JC="\u56FE\u7247",QC="\u5730\u5740",ZC="\u64CD\u4F5C",e7="\u5E8F\u53F7",t7="\u4EBA\u5458",n7="\u957F\u6587\u672C",o7="\u65E5\u671F\u533A\u95F4",r7="\u65E5\u671F",i7="\u77ED\u6587\u672C",u7="\u6362\u884C\u5BB9\u5668Wrap",c7="\u8868\u683C",l7="\u660E\u7EC6\u5B50\u8868",a7="\u5730\u5740",f7="\u91D1\u989D",_7="\u8BA1\u7B97\u516C\u5F0F",y7="\u591A\u9009",s7="\u7535\u5B50\u7B7E\u7AE0",p7="\u5355\u884C\u6587\u672C",v7="\u6570\u5B57",d7="\u4E1A\u52A1\u7EC4\u7EC7",h7="\u5355\u9009",b7="\u5BCC\u6587\u672C",g7="\u8BC4\u5206",O7="\u6570\u5B57\u533A\u95F4",m7="\u4E0B\u62C9\u5355\u9009",w7="\u4E0B\u62C9\u591A\u9009",$7="\u5173\u8054\u5355\u9009",P7="\u591A\u884C\u6587\u672C",T7="\u6811",E7="Vue\u5BB9\u5668",S7="Vue\u9875\u9762",R7="\u5728\u7EBF\u6587\u6863",B7="\u6309\u94AE\u64CD\u4F5C\u680F",I7="\u9AD8\u7EA7\u5BB9\u5668",M7="\u5206\u7EC4",A7="\u6805\u683C\u5217",N7="\u6570\u636E\u5BB9\u5668",F7="\u753B\u5E03",k7="\u6362\u884C\u5BB9\u5668",D7="\u6805\u683C\u7B49\u5206\u884C",L7="\u5217\u8868\u5BB9\u5668",j7="\u81EA\u7531\u9875\u9762",C7="\u5B9A\u4F4D\u5B50\u5BB9\u5668",V7="\u5B9A\u4F4D\u5BB9\u5668",z7="\u6805\u683C\u5E03\u5C40",G7="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Y7="\u660E\u7EC6\u5B50\u8868\u884C",H7="\u6807\u7B7E\u9875",q7="\u6807\u7B7E\u5355\u5143",x7="\u5DE5\u5177\u680F",U7="\u6279\u91CF\u63D0\u4EA4",W7="\u5BFC\u51FA\u8BB0\u5F55",K7="\u5217\u8868\u89C6\u56FE",X7={isNotNumber:uj,isNotString:cj,isNotObject:lj,isNotArray:aj,isNotBoolean:fj,runtimeRequired:_j,pleaseEnterCaption:yj,pleaseEnterCaptionTip:sj,pleaseEnterRowCaption:pj,pleaseEnterPlaceholder:vj,pleaseEnterFieldCode:dj,pleaseEnterForm:hj,pleaseEnterList:bj,pleaseEnterProcess:gj,pleaseEnterLabel:Oj,pleaseEnterValue:mj,bizKeyNotBindFiled:wj,pleaseSelectOneField:$j,pleaseEnterNumberRange:Pj,pleaseEnterAValueGreaterThanMin:Tj,pleaseEnterAValueLessThanMax:Ej,numberRangeSetError:Sj,stringRangeError:Rj,attachmentMaxSize:Bj,pleaseEnterTotalScoreSetting:Ij,theTotalScoreMustNotBeLessThan1:Mj,scoreDefaultValueRange:Aj,attachmentLimitError:Nj,PleaseReselectTheOptionalQuantity:Fj,TheMaximumLengthIsGreaterThanTheMinimumLength:kj,TheMinimumLengthIsGreaterThanTheMaximumLength:Dj,PleaseSelectTheCorrectOptionSettings:Lj,optionIdIsRepeat:jj,optionIsRequired:Cj,pleaseEnterDataCode:Vj,pleaseEnterValueFieldCode:zj,pleaseEnterSvcCode:Gj,pleaseBindAtLeastOneDisplayValue:Yj,pleaseSelectProvince:Hj,pleaseSelectCity:qj,pleaseSelectDistrict:xj,limitRowsCannotBeLessThan0:Uj,TheNumberOfRowsCannotBeLessThanMinRows:Wj,pleaseEnterColumnWidth:Kj,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Xj,pleaseCompleteAllRulesAndConditions:Jj,pleaseSelectControl:Qj,pleaseSelectDashboard:Zj,theViewNameCannotBeEmpty:eC,pleaseSelectOcrType:tC,pleaseSelectAtLeastOneFieldToFillIn:nC,pleaseChooseAtLeastOne:oC,pleaseEnterButtonContent:rC,pleaseEnterDataCodeInDataSetting:iC,pleaseEnterValueFieldCodeInDataSetting:uC,pleaseEnterSvcCodeInDataSetting:cC,pleaseBindAtLeastOneDisplayValueInDataSetting:lC,rootNodeIsRequiredInDataSetting:aC,pleaseEnterMaxHeight:fC,pleaseEnter:_C,pleaseEnterWatermark:yC,pleaseEnterFileName:sC,pleaseUploadAtLeastOnePrintTemplate:pC,pleaseAssignBusiness:vC,pleaseAssignExternal:dC,pleaseEnterAliasCode:hC,pleaseSelectDataCode:bC,pleaseSelectSvcCode:gC,pleaseSelectJoinFieldCode:OC,pleaseSelectMainFieldCode:mC,pleaseSelectSortFieldCode:wC,batchDeleteButton:$C,batchPrintListButton:PC,batchPrintRecordList:TC,button:EC,createFormListButton:SC,dashboard:RC,divider:BC,exportListButton:IC,formSelectButton:MC,importRecordListButton:AC,invoiceCheckButton:NC,link:FC,listSelectButton:kC,ListViewSelect:DC,operationButton:LC,pagination:jC,submissionRecordListButton:CC,text:VC,textOcrButton:zC,title:GC,approvalStatusColumn:YC,array:HC,autoNumber:qC,custom:xC,decimal:UC,department:WC,employee:KC,file:XC,image:JC,location:QC,operation:ZC,order:e7,people:t7,long:n7,timescope:o7,timestamp:r7,varchar:i7,gridLayoutWrap:u7,gridTable:c7,subTable:l7,address:a7,amount:f7,calc:_7,checkBox:y7,electronicSignature:s7,input:p7,number:v7,organizationSelection:d7,radio:h7,richText:b7,score:g7,searchNumberRange:O7,select:m7,selectMultiple:w7,selectRelation:$7,textarea:P7,tree:T7,vueFormItem:E7,vuePage:S7,WPS:R7,actionBar:B7,advancedContainer:I7,cardGroup:M7,col:A7,dataView:N7,grid:F7,gridLayoutContainer:k7,gridRow:D7,listView:L7,page:j7,position:C7,positioningContainer:V7,row:z7,subtableColumn:G7,subtableRow:Y7,tab:H7,tabPane:q7,toolbox:x7,batchSubmissionListButton:U7,exportRecordListButton:W7,listViewSelect:K7},my={zhCN:pL,enUS:ij,jaJP:X7};function J7(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ln(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}u.CALC_TOKEN_TYPE=void 0,function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"}(u.CALC_TOKEN_TYPE||(u.CALC_TOKEN_TYPE={})),u.CALC_AGGREGATE_TYPE=void 0,function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"}(u.CALC_AGGREGATE_TYPE||(u.CALC_AGGREGATE_TYPE={}));var Q7=function t(e){J7(this,t),ln(this,"name",void 0),ln(this,"id",void 0),ln(this,"type",void 0),ln(this,"subTableId",void 0),ln(this,"subTableName",void 0),ln(this,"aggregateType",void 0);var n;this.name=(n=e==null?void 0:e.name)!==null&&n!==void 0?n:"";var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:"";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"Number";var i;this.subTableId=(i=e==null?void 0:e.subTableId)!==null&&i!==void 0?i:void 0;var c;this.subTableName=(c=e==null?void 0:e.subTableId)!==null&&c!==void 0?c:void 0;var l;this.aggregateType=(l=e==null?void 0:e.aggregateType)!==null&&l!==void 0?l:void 0},wy,om=(wy=window.localStorage.getItem("locale"))!==null&&wy!==void 0?wy:"zh-CN",Z7=function(){};u.CONTROL_BASE_TYPE=void 0,function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"}(u.CONTROL_BASE_TYPE||(u.CONTROL_BASE_TYPE={})),u.FORM_TYPE=void 0,function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"}(u.FORM_TYPE||(u.FORM_TYPE={})),u.CONTROL_TYPE=void 0,function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.OPERATION_BUTTON="operation-button",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page"}(u.CONTROL_TYPE||(u.CONTROL_TYPE={})),u.OPT_TYPES=void 0,function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"}(u.OPT_TYPES||(u.OPT_TYPES={})),u.FieldTypes=void 0,function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY"}(u.FieldTypes||(u.FieldTypes={})),u.DateType=void 0,function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"}(u.DateType||(u.DateType={}));var $y={DEFAULT:"default"},rm="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",e8=rm+"0123456789";function Re(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var o=n===0?rm:e8,r=Math.random()*o.length;e+=o[parseInt(String(r),10)]}return e}function Py(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function t8(t){if(Array.isArray(t))return Py(t)}function n8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function im(t,e,n){return e=Oo(e),u8(t,Ey()?Reflect.construct(e,n||[],Oo(t).constructor):e.apply(t,n))}function um(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dr(t,e,n){return Ey()?Dr=Reflect.construct:Dr=function(r,i,c){var l=[null];l.push.apply(l,i);var a=Function.bind.apply(r,l),f=new a;return c&&mo(f,c.prototype),f},Dr.apply(null,arguments)}function Oo(t){return Oo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oo(t)}function cm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mo(t,e)}function o8(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function r8(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function i8(){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 u8(t,e){return e&&(c8(e)==="object"||typeof e=="function")?e:n8(t)}function mo(t,e){return mo=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mo(t,e)}function lm(t){return t8(t)||r8(t)||l8(t)||i8()}function c8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function l8(t,e){if(!!t){if(typeof t=="string")return Py(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Py(t,e)}}function Ty(t){var e=typeof Map=="function"?new Map:void 0;return Ty=function(o){if(o===null||!o8(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return Dr(o,arguments,Oo(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),mo(r,o)},Ty(t)}function Ey(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ey=function(){return!!t})()}var Sy=console;function It(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o,r=e.slice(1);(o=Sy).warn.apply(o,["\u{1F9D0} Driven Warning:"+e[0]].concat(lm(r)))}function wo(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o,r=e.slice(1);(o=Sy).log.apply(o,["\u{1F680} Driven Log:"+e[0]].concat(lm(r)))}function a8(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ry=function(t){cm(e,t);function e(n){um(this,e);var o;return o=im(this,e,[n]),o.name="\u{1F4A5} Driven Error",o.message=n?a8(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return e}(Ty(Error)),f8=function(t){cm(e,t);function e(n){um(this,e);var o;return o=im(this,e,[n]),o.name="\u{1F6A8} Driven Reference Error",o}return e}(Ry);function yt(t){throw new Ry(t)}function By(t){throw new f8(t)}function am(t){Sy.error(new Ry(t))}function Lr(t,e){Array.isArray(t)&&t.map(function(n){switch(n.controlType){case"layout":Lr(n==null?void 0:n.children,e);break;case"wrap":Lr(n==null?void 0:n.children,e);break;case"search":Lr(n==null?void 0:n.children,e);break;case"form":e(n)}})}const _8=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const o=t.split(".");let r;const i=(window.baitedaWorkers||{}).languageMessages||{};o.forEach((l,a)=>{a===0?r=i[l]:r&&(r=r[l])});let c="";return r&&(c=r),e&&Object.keys(e).forEach(l=>{const a=e[l];c=c.replace(new RegExp(`\\{\\s*${l}\\s*\\}`,"g"),a)}),c||(n?c=n:c=t),c};function y8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function s8(t,e,n){return e&&fm(t.prototype,e),n&&fm(t,n),t}function p8(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var _=function(){function t(){y8(this,t)}return s8(t,null,[{key:"getMessage",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r;return _8("CMD."+n,o,my==null||(r=my[om.split("-").join("")])===null||r===void 0?void 0:r[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,o){}}]),t}();p8(_,"$i18n",_.resetI18n());function _m(t,e,n){var o=e.replace(/\[(\d)]/g,function(i,c){return"."+c}).split("."),r=!1;return o.reduce(function(i,c,l,a){var f=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,c)){It("Can not set ".concat(e,"'s ").concat(c," property in current %o, Because there is no ").concat(c," property on the %o"),i,i);return}return l===a.length-1&&!Object.is(f[c],n)&&(f[c]=n,r=!0),f[c]}},t),r}var v8=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Iy={exports:{}};(function(t){(function(e){var n=function(d,m,$){if(!f(m)||s(m)||v(m)||b(m)||a(m))return m;var w,E=0,T=0;if(y(m))for(w=[],T=m.length;E<T;E++)w.push(n(d,m[E],$));else{w={};for(var R in m)Object.prototype.hasOwnProperty.call(m,R)&&(w[d(R,$)]=n(d,m[R],$))}return w},o=function(d,m){m=m||{};var $=m.separator||"_",w=m.split||/(?=[A-Z])/;return d.split(w).join($)},r=function(d){return g(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(m,$){return $?$.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},i=function(d){var m=r(d);return m.substr(0,1).toUpperCase()+m.substr(1)},c=function(d,m){return o(d,m).toLowerCase()},l=Object.prototype.toString,a=function(d){return typeof d=="function"},f=function(d){return d===Object(d)},y=function(d){return l.call(d)=="[object Array]"},s=function(d){return l.call(d)=="[object Date]"},v=function(d){return l.call(d)=="[object RegExp]"},b=function(d){return l.call(d)=="[object Boolean]"},g=function(d){return d=d-0,d===d},h=function(d,m){var $=m&&"process"in m?m.process:m;return typeof $!="function"?d:function(w,E){return $(w,d,E)}},O={camelize:r,decamelize:c,pascalize:i,depascalize:c,camelizeKeys:function(d,m){return n(h(r,m),d)},decamelizeKeys:function(d,m){return n(h(c,m),d,m)},pascalizeKeys:function(d,m){return n(h(i,m),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=O:e.humps=O})(v8)})(Iy);var ym={};Object.defineProperty(ym,"__esModule",{value:!0});function My(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:My(e));{const e={};for(const n in t){const o=t[n];e[n]=typeof o!="object"||o===null?o:My(o)}return e}}var d8=ym.default=My;function sm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Be(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":sm(t))==="object"?d8(t):t}function ye(t){return Ay(t)&&"zh"in t}function Ay(t){return Object.prototype.toString.call(t)==="[object Object]"}function h8(t){return t!=null&&(typeof t=="undefined"?"undefined":sm(t))==="object"&&Array.isArray(t)===!1}function Mt(t){return Array.isArray(t)}function pm(t){return typeof t=="string"}function Ny(t){return typeof t=="number"}function b8(t){return typeof t=="function"}function g8(t){return Mt(t)&&t.every(function(e){return pm(e)})}function O8(t){return Mt(t)&&t.every(function(e){return Ny(e)})}function m8(t){return Mt(t)&&t.every(function(e){return Ny(e)||e===""})}function w8(t){return/^\[.*?]$/.test(t)}function $8(t){return/^{.*?}$/.test(t)}function At(t){return isNaN(parseFloat(t))?"":Number(t)}function vm(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function P8(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,n;return function(){for(var o=this,r=arguments.length,i=new Array(r),c=0;c<r;c++)i[c]=arguments[c];n||(n=setTimeout(function(){t.apply(o,i),clearTimeout(n),n=null},e))}}function T8(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(e){setTimeout(e,t)})}function j(t,e){var n=[];return Array.isArray(t)&&(n=t.map(function(o){var r=o;return Array.isArray(o==null?void 0:o.children)&&(r.children=j(o.children,e)),Array.isArray(o==null?void 0:o.footers)&&(r.footers=j(o.footers,e)),e(r)})),n}function dm(t){return Iy.exports.camelizeKeys(t)}function st(t){return Iy.exports.decamelizeKeys(t)}function E8(t){return Object.values(u.CONTROL_TYPE).includes(t)}function Fy(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function S8(t){if(Array.isArray(t))return Fy(t)}function hm(t,e,n,o,r,i,c){try{var l=t[i](c),a=l.value}catch(f){n(f);return}l.done?e(a):Promise.resolve(a).then(o,r)}function R8(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function c(a){hm(i,o,r,c,l,"next",a)}function l(a){hm(i,o,r,c,l,"throw",a)}c(void 0)})}}function B8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function I8(t,e,n){return e&&bm(t.prototype,e),n&&bm(t,n),t}function gm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function M8(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function A8(){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 ky(t){return S8(t)||M8(t)||N8(t)||A8()}function N8(t,e){if(!!t){if(typeof t=="string")return Fy(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fy(t,e)}}function F8(t,e){var n,o,r,i,c={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(f){return function(y){return a([f,y])}}function a(f){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,o&&(r=f[0]&2?o.return:f[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,f[1])).done)return r;switch(o=0,r&&(f=[f[0]&2,r.value]),f[0]){case 0:case 1:r=f;break;case 4:return c.label++,{value:f[1],done:!1};case 5:c.label++,o=f[1],f=[0];continue;case 7:f=c.ops.pop(),c.trys.pop();continue;default:if(r=c.trys,!(r=r.length>0&&r[r.length-1])&&(f[0]===6||f[0]===2)){c=0;continue}if(f[0]===3&&(!r||f[1]>r[0]&&f[1]<r[3])){c.label=f[1];break}if(f[0]===6&&c.label<r[1]){c.label=r[1],r=f;break}if(r&&c.label<r[2]){c.label=r[2],c.ops.push(f);break}r[2]&&c.ops.pop(),c.trys.pop();continue}f=e.call(t,c)}catch(y){f=[6,y],o=0}finally{n=r=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var Om=function(){function t(){B8(this,t),gm(this,"_events",new Map),gm(this,"debug",!1)}return I8(t,[{key:"emit",value:function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];var c=this;return R8(function(){var l,a,f,y,s,v,b,g,h,O,d,m;return F8(this,function($){switch($.label){case 0:if(l=c._events.get(n),a=[],!l)return[3,10];f=l.slice(),y=!0,s=!1,v=void 0,$.label=1;case 1:$.trys.push([1,8,9,10]),b=f[Symbol.iterator](),$.label=2;case 2:if(y=(g=b.next()).done)return[3,7];if(h=g.value,!l.includes(h))return[3,6];$.label=3;case 3:return $.trys.push([3,5,,6]),c.debug&&wo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \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(r.map(function(){return"%o"}).join(","),"\u3002")].concat(ky(r))),[4,h.apply(null,ky(r))];case 4:return O=$.sent(),c.debug&&wo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \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(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(ky(r),[O])),a.push(O),O===!1?[3,7]:[3,6];case 5:return d=$.sent(),am(String(d)+":"+String(d.stack)),[3,6];case 6:return y=!0,[3,2];case 7:return[3,10];case 8:return m=$.sent(),s=!0,v=m,[3,10];case 9:try{!y&&b.return!=null&&b.return()}finally{if(s)throw v}return[7];case 10:return[2,a]}})})()}},{key:"on",value:function(n,o){if(this._events.has(n)){var r;(r=this._events.get(n))===null||r===void 0||r.push(o)}else this._events.set(n,[o])}},{key:"off",value:function(n,o){if(this._events.has(n)){var r=this._events.get(n),i=r==null?void 0:r.indexOf(o);r==null||r.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function k8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function D8(t,e,n){return e&&mm(t.prototype,e),n&&mm(t,n),t}function L8(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var j8=[{key:"on_click",name:_.getMessage("click"),code:"click"},{key:"on_click_finish",name:_.getMessage("finished"),code:"click-finish"},{key:"on_change",name:_.getMessage("valueChange"),code:"change"},{key:"on_search",name:_.getMessage("search"),code:"search"},{key:"on_list_change",name:_.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:_.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:_.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:_.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:_.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:_.getMessage("onInput"),code:"input"},{key:"on_blur",name:_.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:_.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:_.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:_.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:_.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:_.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:_.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:_.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:_.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:_.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:_.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:_.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:_.getMessage("modalConfirm"),code:"modal-ok"}],wm=function(){function t(){k8(this,t)}return D8(t,null,[{key:"getEventsFromKeys",value:function(n){var o=typeof n=="string"?[n]:n;return t.events.filter(function(r){return o.includes(r.key)})}},{key:"getEventsFromControl",value:function(n){var o=[],r=n.eventKeys;o=o.concat(t.events.filter(function(c){return r.includes(c.key)}));var i=n.customEvents.map(function(c){var l=c.key;return c.namespace!==void 0&&c.namespace!==null&&c.namespace!==""&&(l=c.namespace+":"+c.key),{key:l,code:c.key,name:c.name}});return o=o.concat(i),o}}]),t}();L8(wm,"events",j8);function Dy(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function C8(t){if(Array.isArray(t))return Dy(t)}function V8(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function z8(){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 $m(t){return C8(t)||V8(t)||G8(t)||z8()}function G8(t,e){if(!!t){if(typeof t=="string")return Dy(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Dy(t,e)}}function jr(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Ly(t,e,n){n!=="Runtime"&&(t.parent=e,jr(t,"parent"))}function Pm(t,e,n){t.forEach(function(o){Ly(o,e,n)})}var Tm=Symbol("targetKey");function Em(t){var e;return(e=t[Tm])!==null&&e!==void 0?e:t}function Sm(t,e,n){return Pm(t,e,n),new Proxy(t,{get:function(r,i){for(var c=arguments.length,l=new Array(c>2?c-2:0),a=2;a<c;a++)l[a-2]=arguments[a];var f;return i===Tm?r:(f=Reflect).get.apply(f,[r,i].concat($m(l)))},set:function(r,i,c){for(var l=arguments.length,a=new Array(l>3?l-3:0),f=3;f<l;f++)a[f-3]=arguments[f];var y;if(Mt(t)&&i==="length"&&c===t.length)return!0;var s=(y=Reflect).set.apply(y,[r,i,c].concat($m(a)));return Ay(c)&&Ly(c,e,n),s}})}function Ce(t,e,n,o,r){var i=o!=null?o:t,c=Sm(Em(n!=null?n:[]),i,r);Object.defineProperty(t,e,{get:function(){return c},set:function(a){c=Sm(Em(a),i,r)},enumerable:!0})}function Y8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rm(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function H8(t,e,n){return e&&Rm(t.prototype,e),n&&Rm(t,n),t}function pt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Bm=[],$o=function(){function t(e){Y8(this,t),pt(this,"registeredControlTypes",new Set),pt(this,"controlConfigMap",new Map),pt(this,"_controls",[]),pt(this,"_type",void 0),this._type=e,this._initControls(e)}return H8(t,[{key:"registerControlConfig",value:function(n,o){return this.controlConfigMap.set(n,o),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||yt("".concat(n.name," is not a Control"));var o=this._controls.findIndex(function(r){return r.controlType===n.controlType});return o>-1&&(It("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(o,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===u.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===u.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(n){return n.controlType===u.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===u.CONTROL_BASE_TYPE.COLUMN}},{key:"createControl",value:function(n,o){var r=this;if(Array.isArray(n))return n.map(function(y){return r.createControl(y,o)});if(n.children&&(n.children=n.children.map(function(y){return r.createControl(y,o)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(y){return r.createControl(y,o)}))}var c=this.getControlFormType(n.type);if(c){var l=n;if(typeof o=="function"){var a=o(l);a&&(l=a)}var f;return c.mode==="Runtime"?(f=l,f.fieldType=c.controlFieldType,this._setParentPrototypeToSchema(f,this)):f=new c(l),f}else yt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,o){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return o}}),jr(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,o){o._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var i=n.id,c=o._controlParentIdMap,l=o.instanceMap;if(!(!c||!l)){var a=c[i],f=l[i];if(!(!a&&!f)){var y=f.findIndex(function(b){return b==n}),s=l[a]||[],v;return s.length!==f.length?v=s[0]:v=s[y],v}}}}),jr(n,"parent"))}},{key:"createControlInstance",value:function(n,o){var r=this.getControlFormType(n);if(r)return new r(o)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(o){return o.controlType===n})}},{key:"_initControls",value:function(n){var o=this;this.constructor.staticControls.forEach(function(r){o.register(r[n]),t.staticControlsRuntimeRules.set(r.Runtime.controlType,r.Property.RuntimeRules),r.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,o){var r=t.staticControlsRuntimeRules.get(n),i=[];if(r){var c=new r(o);i=Array.from(c)}return i}},{key:"register",value:function(n,o){var r=n.Designer,i=n.Runtime,c=n.Property;(!r||!i||!r.__is_control__||!i.__is_control__)&&yt("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(a){return a.Designer.controlType===r.controlType});return l>-1&&(It("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),c.mode=o,this}}]),t}();pt($o,"staticControlsRuntimeRules",new Map),pt($o,"staticControls",Bm),pt($o,"staticRegisteredTypes",new Set(Bm.map(function(t){return t.Designer.controlType}))),pt($o,"staticRegisteredConfigs",new Map);function q8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ie(t,e,n){return e=Cr(e),x8(t,Im()?Reflect.construct(e,n||[],Cr(t).constructor):e.apply(t,n))}function P(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cr(t){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cr(t)}function Me(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jy(t,e)}function x8(t,e){return e&&(U8(e)==="object"||typeof e=="function")?e:q8(t)}function jy(t,e){return jy=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jy(t,e)}function U8(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Im(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Im=function(){return!!t})()}var Ae=function t(e){P(this,t),p(this,"dataCode",void 0),p(this,"fieldCode",void 0),p(this,"fieldType",void 0),p(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"",this.aliasCode=e==null?void 0:e.aliasCode},Vr=function t(e){P(this,t),p(this,"minWidth",void 0),p(this,"maxWidth",void 0),p(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var o;this.flex=(o=e==null?void 0:e.flex)!==null&&o!==void 0?o:1},Cy=function t(e){P(this,t),p(this,"rowHeightType",void 0),p(this,"minRows",void 0),p(this,"maxRows",void 0),p(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var o;this.minRows=(o=e==null?void 0:e.minRows)!==null&&o!==void 0?o:4;var r;this.maxRows=(r=e==null?void 0:e.maxRows)!==null&&r!==void 0?r:20;var i;this.fiexdRow=(i=e==null?void 0:e.fiexdRow)!==null&&i!==void 0?i:4},Vy=function t(e){P(this,t),p(this,"pc",void 0),p(this,"mobile",void 0),this.pc=new Cy(e==null?void 0:e.pc),this.mobile=new Cy(e==null?void 0:e.mobile)},zr=function(t){Me(e,t);function e(n){P(this,e);var o;o=Ie(this,e,[n]),p(o,"width",void 0),p(o,"widthType",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:240;var i;return o.widthType=(i=n==null?void 0:n.widthType)!==null&&i!==void 0?i:"auto",o}return e}(Vr),zy=function t(e){P(this,t),p(this,"pc",void 0),p(this,"mobile",void 0),this.pc=new zr(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new zr(e==null?void 0:e.mobile):new zr({width:130,minWidth:180})},Mm=function t(e){P(this,t),p(this,"type",void 0),p(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var o;this.customOptions=(o=e==null?void 0:e.customOptions)!==null&&o!==void 0?o:[]},Nt=function t(e){P(this,t),p(this,"dataCode",void 0),p(this,"formKey",void 0),p(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:""},Am=function(t){Me(e,t);function e(n){P(this,e);var o;o=Ie(this,e,[n]),p(o,"primaryControlId",void 0);var r;return o.primaryControlId=(r=n==null?void 0:n.primaryControlId)!==null&&r!==void 0?r:"",o}return e}(Nt),Nm=function t(e){P(this,t),p(this,"fieldCode",void 0),p(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:""},Gr=function t(e){P(this,t);var n;p(this,"appId",void 0),p(this,"formKey",void 0),p(this,"headers",void 0);var o;this.appId=(o=e==null?void 0:e.appId)!==null&&o!==void 0?o:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var i;this.headers=(i=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(c){return new Nm(c)}))!==null&&i!==void 0?i:[]},Fm=function t(e){P(this,t),p(this,"fieldName",void 0),p(this,"fieldCode",void 0),p(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:u.FieldTypes.VARCHAR},km=function(t){Me(e,t);function e(n){P(this,e);var o;o=Ie(this,e,[n]),p(o,"title",void 0),p(o,"svcCode",void 0),p(o,"isOpenFilter",void 0),p(o,"filters",void 0);var r;o.title=(r=n==null?void 0:n.title)!==null&&r!==void 0?r:"";var i;o.svcCode=(i=n==null?void 0:n.svcCode)!==null&&i!==void 0?i:"";var c;o.isOpenFilter=(c=n==null?void 0:n.isOpenFilter)!==null&&c!==void 0?c:!1;var l;return o.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],o}return e}(Nt),Dm=function t(e){P(this,t);var n,o;p(this,"type","sublist-page"),p(this,"formBind",void 0),p(this,"displayFields",void 0),p(this,"sublists",void 0),this.formBind=new Nt(e==null?void 0:e.formBind);var r;this.displayFields=(r=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(c){return new Fm(c)}))!==null&&r!==void 0?r:[];var i;this.sublists=(i=e==null||(o=e.sublists)===null||o===void 0?void 0:o.map(function(c){return new km(c)}))!==null&&i!==void 0?i:[]},Lm=function t(e){P(this,t),p(this,"type",void 0),p(this,"value",void 0),p(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},an=function t(e){P(this,t),p(this,"type",void 0),p(this,"value",void 0),p(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var o;this.value=(o=e==null?void 0:e.value)!==null&&o!==void 0?o:[];var r;this.displayBos=(r=e==null?void 0:e.displayBos)!==null&&r!==void 0?r:[]},Yr=function t(e){var n=this;P(this,t),p(this,"id",void 0),p(this,"ruleId",void 0),p(this,"type","conditions"),p(this,"level",void 0),p(this,"value",void 0),p(this,"children",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Re();var r;this.ruleId=(r=e==null?void 0:e.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var i;this.level=(i=e==null?void 0:e.level)!==null&&i!==void 0?i:0;var c;this.value=(c=e==null?void 0:e.value)!==null&&c!==void 0?c:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var a,f=new t(l);(a=n.children)===null||a===void 0||a.push(f)}else{var y,s=new Po(l);(y=n.children)===null||y===void 0||y.push(s)}}))},Po=function t(e){P(this,t),p(this,"id",void 0),p(this,"ruleId",void 0),p(this,"type","condition"),p(this,"symbol",void 0),p(this,"checked",void 0),p(this,"describe",void 0),p(this,"leftVariableBo",void 0),p(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re();var o;this.ruleId=(o=e==null?void 0:e.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var r;this.symbol=(r=e==null?void 0:e.symbol)!==null&&r!==void 0?r:"";var i;this.checked=(i=e==null?void 0:e.checked)!==null&&i!==void 0?i:!1;var c;this.describe=(c=e==null?void 0:e.describe)!==null&&c!==void 0?c:"",this.leftVariableBo=new Lm(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new an(e==null?void 0:e.rightVariableBo)},jm=function t(e){P(this,t),p(this,"aliasCode",void 0),p(this,"datasourceBind",void 0),p(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new Q(e==null?void 0:e.datasourceBind);var o;this.relationFields=(o=e==null?void 0:e.relationFields)!==null&&o!==void 0?o:[]},ve=function t(e){P(this,t),p(this,"controlId",void 0),p(this,"fieldCode",void 0),p(this,"fieldType",void 0),p(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var o;this.fieldCode=(o=e==null?void 0:e.fieldCode)!==null&&o!==void 0?o:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"";var i;this.propName=(i=e==null?void 0:e.propName)!==null&&i!==void 0?i:""},Hr=function t(e){P(this,t),p(this,"type",void 0),p(this,"value",void 0),p(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var o;this.value=(o=e==null?void 0:e.value)!==null&&o!==void 0?o:"",this.fieldType=e==null?void 0:e.fieldType},W8=function t(e){P(this,t),p(this,"title",void 0),p(this,"displayBoList",void 0);var n;this.title=(n=e==null?void 0:e.title)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=e==null?void 0:e.displayBoList)!==null&&o!==void 0?o:[]},Gy=function t(e){P(this,t),p(this,"columnName",void 0),p(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var o;this.desc=(o=e.desc)!==null&&o!==void 0?o:!1},Cm=function t(e){P(this,t),p(this,"code",void 0),p(this,"value",void 0),p(this,"field_type",void 0);var n;this.code=(n=e.code)!==null&&n!==void 0?n:"";var o;this.value=(o=e.value)!==null&&o!==void 0?o:"";var r;this.field_type=(r=e.field_type)!==null&&r!==void 0?r:u.FieldTypes.ANY},K8=function t(e){P(this,t);var n,o;p(this,"id",void 0),p(this,"limit",void 0),p(this,"orders",void 0),p(this,"formKey",void 0),p(this,"dataSet",void 0);var r;this.id=(r=e.id)!==null&&r!==void 0?r:"";var i;this.limit=(i=e.limit)!==null&&i!==void 0?i:20;var c;this.formKey=(c=e.formKey)!==null&&c!==void 0?c:"";var l;this.orders=(l=(n=e.orders)===null||n===void 0?void 0:n.map(function(f){return new Gy(f)}))!==null&&l!==void 0?l:[];var a;this.dataSet=(a=(o=e.dataSet)===null||o===void 0?void 0:o.map(function(f){return new Cm(f)}))!==null&&a!==void 0?a:[]};function Yy(t){var e,n,o,r;this.filters=(r=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new Yr(l):new Po(l)}))!==null&&r!==void 0?r:[];var i;this.viewFilters=(i=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new Yr(l):new Po(l)}))!==null&&i!==void 0?i:[];var c;this.orders=(c=t==null||(o=t.orders)===null||o===void 0?void 0:o.map(function(l){return new Gy(l)}))!==null&&c!==void 0?c:[]}var Q=function t(e){var n=this;P(this,t),p(this,"dataCode",void 0),p(this,"valueFieldCode",void 0),p(this,"displayBoList",void 0),p(this,"keywordMapping",void 0),p(this,"svcCode",void 0),p(this,"appId",void 0),p(this,"filters",void 0),p(this,"viewFilters",void 0),p(this,"isOpenViewFilters",void 0),p(this,"orders",void 0),p(this,"showOrder",void 0);var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var i;this.valueFieldCode=(i=e==null?void 0:e.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var c;this.isOpenViewFilters=(c=e==null?void 0:e.isOpenViewFilters)!==null&&c!==void 0?c:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(y){var s;(s=n.displayBoList)===null||s===void 0||s.push(new Hr(y))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var a;this.showOrder=(a=e==null?void 0:e.showOrder)!==null&&a!==void 0?a:!0;var f;this.svcCode=(f=e==null?void 0:e.svcCode)!==null&&f!==void 0?f:"",Yy.call(this,e)},qr=function t(e){P(this,t),p(this,"dataCode",void 0),p(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var o;this.displayBoList=(o=e==null?void 0:e.displayBoList)!==null&&o!==void 0?o:[]},Ue=function t(e){P(this,t),p(this,"code",void 0),p(this,"color",void 0),p(this,"command",void 0),p(this,"confirmMessage",void 0),p(this,"defaultState",void 0),p(this,"formKey",void 0),p(this,"formType",void 0),p(this,"icon",void 0),p(this,"needConfirm",void 0),p(this,"openType",void 0),p(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var o;this.color=(o=e==null?void 0:e.color)!==null&&o!==void 0?o:"primary";var r;this.command=(r=e==null?void 0:e.command)!==null&&r!==void 0?r:"view";var i;this.confirmMessage=(i=e==null?void 0:e.confirmMessage)!==null&&i!==void 0?i:void 0;var c;this.defaultState=(c=e==null?void 0:e.defaultState)!==null&&c!==void 0?c:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0,this.formType=e==null?void 0:e.formType;var a;this.icon=(a=e==null?void 0:e.icon)!==null&&a!==void 0?a:"iconliulan1";var f;this.needConfirm=(f=e==null?void 0:e.needConfirm)!==null&&f!==void 0?f:!1;var y;this.openType=(y=e==null?void 0:e.openType)!==null&&y!==void 0?y:"modal";var s;this.priorityProcess=(s=e==null?void 0:e.priorityProcess)!==null&&s!==void 0?s:!0},Hy=function t(e){P(this,t);var n;p(this,"name",void 0),p(this,"key",void 0),p(this,"value",void 0);var o;this.name=(o=e==null?void 0:e.name)!==null&&o!==void 0?o:"";var r;this.key=(r=e==null?void 0:e.key)!==null&&r!==void 0?r:"";var i;this.value=(i=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(c){return new Hr(c)}))!==null&&i!==void 0?i:[]},To=function(t){Me(e,t);function e(n){P(this,e);var o,r;o=Ie(this,e,[n]),p(o,"attributes",void 0);var i;return o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(c){return new Hy(c)}))!==null&&i!==void 0?i:[],o}return e}(Q),Vm=function(t){Me(e,t);function e(n){P(this,e);var o,r;o=Ie(this,e,[n]),p(o,"attributes",void 0),p(o,"formCode",void 0);var i;o.attributes=(i=n==null||(r=n.attributes)===null||r===void 0?void 0:r.map(function(l){return new Hy(l)}))!==null&&i!==void 0?i:[];var c;return o.formCode=(c=n==null?void 0:n.formCode)!==null&&c!==void 0?c:"",o}return e}(Q),qy=function(t){Me(e,t);function e(n){P(this,e);var o;o=Ie(this,e,[n]),p(o,"rootNode",void 0),p(o,"filterCode",void 0),o.rootNode=new an(n==null?void 0:n.rootNode);var r;return o.filterCode=(r=n==null?void 0:n.filterCode)!==null&&r!==void 0?r:"",o}return e}(To),zm=function t(e){P(this,t);var n;p(this,"dataCode",void 0),p(this,"appId",void 0),p(this,"fillList",void 0);var o;this.dataCode=(o=e==null?void 0:e.dataCode)!==null&&o!==void 0?o:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var i;this.fillList=(i=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(c){return new ve(c)}))!==null&&i!==void 0?i:[]},xy=function(t){Me(e,t);function e(n){P(this,e);var o;return o=Ie(this,e,[n]),p(o,"filters",void 0),p(o,"viewFilters",void 0),p(o,"orders",void 0),Yy.call(o,n),o}return e}(zm),Uy=function(t){Me(e,t);function e(n){P(this,e);var o;o=Ie(this,e,[n]),p(o,"mode",void 0),p(o,"multiple",void 0);var r;o.mode=(r=n==null?void 0:n.mode)!==null&&r!==void 0?r:"current";var i;return o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1,o}return e}(zm),X8=function t(e){P(this,t),p(this,"zh",void 0),p(this,"en",void 0),p(this,"ja",void 0);var n;this.zh=(n=e==null?void 0:e.zh)!==null&&n!==void 0?n:"";var o;this.en=(o=e==null?void 0:e.en)!==null&&o!==void 0?o:"";var r;this.ja=(r=e==null?void 0:e.ja)!==null&&r!==void 0?r:""},xr=function t(e){P(this,t),p(this,"stencilName",void 0),p(this,"expression",void 0),p(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var o;this.expression=(o=e==null?void 0:e.expression)!==null&&o!==void 0?o:"";var r;this.errMessage=(r=e==null?void 0:e.errMessage)!==null&&r!==void 0?r:""},Wy=function t(e){P(this,t),p(this,"id",void 0),p(this,"label",void 0),p(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re(8);var o;this.label=(o=e==null?void 0:e.label)!==null&&o!==void 0?o:"";var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:this.label},Gm=function(t){Me(e,t);function e(n){P(this,e);var o;o=Ie(this,e,[n]),p(o,"image",void 0),p(o,"type",void 0);var r;o.image=(r=n==null?void 0:n.image)!==null&&r!==void 0?r:"";var i;return o.type=(i=n==null?void 0:n.type)!==null&&i!==void 0?i:"src",o}return e}(Wy);function We(t){var e;return(e=t==null?void 0:t.map(function(n){return new Wy(n)}))!==null&&e!==void 0?e:[]}function J8(t){var e;return(e=t==null?void 0:t.map(function(n){return new Gm(n)}))!==null&&e!==void 0?e:[]}var Ur=function t(){P(this,t)},Ym=function(t){Me(e,t);function e(n){P(this,e);var o;return o=Ie(this,e),p(o,"amount",void 0),p(o,"currency",void 0),o.amount=new Ae(n==null?void 0:n.amount),o.currency=new Ae(n==null?void 0:n.currency),o}return e}(Ur),Hm=function t(e){P(this,t),p(this,"amount",void 0),p(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var o;this.currency=(o=e==null?void 0:e.currency)!==null&&o!==void 0?o:"CNY"},qm=function(t){Me(e,t);function e(n){P(this,e);var o;return o=Ie(this,e),p(o,"min",void 0),p(o,"max",void 0),o.min=new Ae(n==null?void 0:n.min),o.max=new Ae(n==null?void 0:n.max),o}return e}(Ur),xm=function t(e){P(this,t),p(this,"min",void 0),p(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var o;this.max=(o=e==null?void 0:e.max)!==null&&o!==void 0?o:""},Um=function t(e){P(this,t),p(this,"city",void 0),p(this,"cityDisplay",void 0),p(this,"district",void 0),p(this,"districtDisplay",void 0),p(this,"province",void 0),p(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var o;this.cityDisplay=(o=e==null?void 0:e.cityDisplay)!==null&&o!==void 0?o:"";var r;this.district=(r=e==null?void 0:e.district)!==null&&r!==void 0?r:"";var i;this.districtDisplay=(i=e==null?void 0:e.districtDisplay)!==null&&i!==void 0?i:"";var c;this.province=(c=e==null?void 0:e.province)!==null&&c!==void 0?c:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},Wm=function(t){Me(e,t);function e(n){P(this,e);var o;return o=Ie(this,e),p(o,"result",void 0),p(o,"unit",void 0),o.result=new Ae(n==null?void 0:n.result),o.unit=new Ae(n==null?void 0:n.unit),o}return e}(Ur),Km=function t(e){P(this,t),p(this,"result",void 0),p(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var o;this.unit=(o=e==null?void 0:e.unit)!==null&&o!==void 0?o:""};u.AMOUNT_TYPE=void 0,function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"}(u.AMOUNT_TYPE||(u.AMOUNT_TYPE={})),u.COMMON_SETTING_TYPE=void 0,function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable"}(u.COMMON_SETTING_TYPE||(u.COMMON_SETTING_TYPE={})),u.PAGE_STATUS=void 0,function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"}(u.PAGE_STATUS||(u.PAGE_STATUS={}));var et=function t(e){P(this,t),p(this,"isShow",void 0),p(this,"priorityProcess",void 0),p(this,"formKey",void 0),p(this,"content",void 0),p(this,"openType",void 0),p(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var o;this.content=(o=e==null?void 0:e.content)!==null&&o!==void 0?o:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var i;this.openType=(i=e==null?void 0:e.openType)!==null&&i!==void 0?i:"modal";var c;this.type=(c=e==null?void 0:e.type)!==null&&c!==void 0?c:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},Xm=function t(e){P(this,t);var n;p(this,"id",void 0),p(this,"title",void 0),p(this,"filters",void 0),p(this,"viewFilters",void 0),p(this,"headers",void 0);var o;this.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:Re(8);var r;this.title=(r=e==null?void 0:e.title)!==null&&r!==void 0?r:"";var i;this.headers=(i=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(c){return new Nm(c)}))!==null&&i!==void 0?i:[],Yy.call(this,e)},Q8=function t(e){P(this,t),p(this,"key",void 0),p(this,"caption",void 0);var n;this.key=(n=e.key)!==null&&n!==void 0?n:Re(8);var o;this.caption=(o=e.caption)!==null&&o!==void 0?o:""},Jm=function t(e){P(this,t),p(this,"width",void 0),p(this,"height",void 0),p(this,"widthConfig",void 0),p(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var o;this.height=(o=e==null?void 0:e.height)!==null&&o!==void 0?o:"";var r;this.widthConfig=(r=e==null?void 0:e.widthConfig)!==null&&r!==void 0?r:"fill";var i;this.heightConfig=(i=e==null?void 0:e.heightConfig)!==null&&i!==void 0?i:"fill"},Qm=function t(e){P(this,t),p(this,"optCode",void 0),p(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var o;this.optType=(o=e==null?void 0:e.optType)!==null&&o!==void 0?o:""},Zm=function t(e){P(this,t);var n,o;p(this,"id",void 0),p(this,"name",void 0),p(this,"settings",void 0),p(this,"filters",void 0),p(this,"script",void 0);var r;this.id=(r=e==null?void 0:e.id)!==null&&r!==void 0?r:Re();var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var c;this.filters=(c=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(a){return a.children!==void 0?new Yr(a):new Po(a)}))!==null&&c!==void 0?c:[];var l;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(o=e.settings)===null||o===void 0?void 0:o.map(function(a){return new ew(a)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},ew=function t(e){P(this,t),p(this,"color",void 0),p(this,"fieldCodes",void 0),p(this,"type",void 0),p(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var o;this.fieldCodes=(o=e.fieldCodes)!==null&&o!==void 0?o:[];var r;this.color=(r=e.color)!==null&&r!==void 0?r:"theme";var i;this.scope=(i=e.scope)!==null&&i!==void 0?i:"row"},tw=function t(e){P(this,t);var n;p(this,"type",void 0),p(this,"interval",void 0),p(this,"rules",void 0);var o;this.type=(o=e==null?void 0:e.type)!==null&&o!==void 0?o:"none";var r;this.interval=(r=e==null?void 0:e.interval)!==null&&r!==void 0?r:{color:""};var i;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(i=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(c){return new Zm(c)}))!==null&&i!==void 0?i:[]:[]};function Z8(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e9(t,e,n){return e=Eo(e),o9(t,Jy()?Reflect.construct(e,n||[],Eo(t).constructor):e.apply(t,n))}function Ky(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wr(t,e,n){return Jy()?Wr=Reflect.construct:Wr=function(r,i,c){var l=[null];l.push.apply(l,i);var a=Function.bind.apply(r,l),f=new a;return c&&So(f,c.prototype),f},Wr.apply(null,arguments)}function tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Eo(t){return Eo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Eo(t)}function t9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&So(t,e)}function n9(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function o9(t,e){return e&&(r9(e)==="object"||typeof e=="function")?e:Z8(t)}function So(t,e){return So=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},So(t,e)}function r9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xy(t){var e=typeof Map=="function"?new Map:void 0;return Xy=function(o){if(o===null||!n9(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return Wr(o,arguments,Eo(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),So(r,o)},Xy(t)}function Jy(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jy=function(){return!!t})()}var J=function t(e){Ky(this,t),tt(this,"isHide",{type:"boolean"})},vt=function(t){t9(e,t);function e(n){return Ky(this,e),e9(this,e)}return e}(Xy(Array)),x=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Ky(this,t),tt(this,"isHide",void 0),tt(this,"className",void 0),tt(this,"style",void 0),tt(this,"caption",void 0),tt(this,"defaultState",void 0);var o;this.isHide=(o=e==null?void 0:e.isHide)!==null&&o!==void 0?o:!1,this.style=new Jm(e==null?void 0:e.style);var r;this.caption=(r=e==null?void 0:e.caption)!==null&&r!==void 0?r:n};tt(x,"mode",void 0),tt(x,"Rules",J),tt(x,"RuntimeRules",vt);function Ke(){return Ke=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Ke.apply(this,arguments)}function i9(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Qy(t){return Qy=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qy(t)}function Kr(t,e){return Kr=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kr(t,e)}function u9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Xr(t,e,n){return u9()?Xr=Reflect.construct:Xr=function(r,i,c){var l=[null];l.push.apply(l,i);var a=Function.bind.apply(r,l),f=new a;return c&&Kr(f,c.prototype),f},Xr.apply(null,arguments)}function c9(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Zy(t){var e=typeof Map=="function"?new Map:void 0;return Zy=function(o){if(o===null||!c9(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(o))return e.get(o);e.set(o,r)}function r(){return Xr(o,arguments,Qy(this).constructor)}return r.prototype=Object.create(o.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Kr(r,o)},Zy(t)}var l9=/%[sdj%]/g,nw=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(nw=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(o){return typeof o=="string"})&&console.warn(e,n)});function es(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var o=n.field;e[o]=e[o]||[],e[o].push(n)}),e}function me(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=1,r=e[0],i=e.length;if(typeof r=="function")return r.apply(null,e.slice(1));if(typeof r=="string"){var c=String(r).replace(l9,function(l){if(l==="%%")return"%";if(o>=i)return l;switch(l){case"%s":return String(e[o++]);case"%d":return Number(e[o++]);case"%j":try{return JSON.stringify(e[o++])}catch(a){return"[Circular]"}break;default:return l}});return c}return r}function a9(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Z(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||a9(e)&&typeof t=="string"&&!t)}function f9(t,e,n){var o=[],r=0,i=t.length;function c(l){o.push.apply(o,l),r++,r===i&&n(o)}t.forEach(function(l){e(l,c)})}function ow(t,e,n){var o=0,r=t.length;function i(c){if(c&&c.length){n(c);return}var l=o;o=o+1,l<r?e(t[l],i):n([])}i([])}function _9(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var rw=function(t){i9(e,t);function e(n,o){var r;return r=t.call(this,"Async Validation Error")||this,r.errors=n,r.fields=o,r}return e}(Zy(Error));function y9(t,e,n,o){if(e.first){var r=new Promise(function(s,v){var b=function(O){return o(O),O.length?v(new rw(O,es(O))):s()},g=_9(t);ow(g,n,b)});return r.catch(function(s){return s}),r}var i=e.firstFields||[];i===!0&&(i=Object.keys(t));var c=Object.keys(t),l=c.length,a=0,f=[],y=new Promise(function(s,v){var b=function(h){if(f.push.apply(f,h),a++,a===l)return o(f),f.length?v(new rw(f,es(f))):s()};c.length||(o(f),s()),c.forEach(function(g){var h=t[g];i.indexOf(g)!==-1?ow(h,n,b):f9(h,n,b)})});return y.catch(function(s){return s}),y}function iw(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function uw(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];typeof o=="object"&&typeof t[n]=="object"?t[n]=Ke(Ke({},t[n]),o):t[n]=o}}return t}function cw(t,e,n,o,r,i){t.required&&(!n.hasOwnProperty(t.field)||Z(e,i||t.type))&&o.push(me(r.messages.required,t.fullField))}function s9(t,e,n,o,r){(/^\s+$/.test(e)||e==="")&&o.push(me(r.messages.whitespace,t.fullField))}var ts={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},Ro={integer:function(e){return Ro.number(e)&&parseInt(e,10)===e},float:function(e){return Ro.number(e)&&!Ro.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Ro.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(ts.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ts.url)},hex:function(e){return typeof e=="string"&&!!e.match(ts.hex)}};function p9(t,e,n,o,r){if(t.required&&e===void 0){cw(t,e,n,o,r);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],c=t.type;i.indexOf(c)>-1?Ro[c](e)||o.push(me(r.messages.types[c],t.fullField,t.type)):c&&typeof e!==t.type&&o.push(me(r.messages.types[c],t.fullField,t.type))}function v9(t,e,n,o,r){var i=typeof t.len=="number",c=typeof t.min=="number",l=typeof t.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=e,y=null,s=typeof e=="number",v=typeof e=="string",b=Array.isArray(e);if(s?y="number":v?y="string":b&&(y="array"),!y)return!1;b&&(f=e.length),v&&(f=e.replace(a,"_").length),i?f!==t.len&&o.push(me(r.messages[y].len,t.fullField,t.len)):c&&!l&&f<t.min?o.push(me(r.messages[y].min,t.fullField,t.min)):l&&!c&&f>t.max?o.push(me(r.messages[y].max,t.fullField,t.max)):c&&l&&(f<t.min||f>t.max)&&o.push(me(r.messages[y].range,t.fullField,t.min,t.max))}var fn="enum";function d9(t,e,n,o,r){t[fn]=Array.isArray(t[fn])?t[fn]:[],t[fn].indexOf(e)===-1&&o.push(me(r.messages[fn],t.fullField,t[fn].join(", ")))}function h9(t,e,n,o,r){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||o.push(me(r.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(e)||o.push(me(r.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var I={required:cw,whitespace:s9,type:p9,range:v9,enum:d9,pattern:h9};function b9(t,e,n,o,r){var i=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(Z(e,"string")&&!t.required)return n();I.required(t,e,o,i,r,"string"),Z(e,"string")||(I.type(t,e,o,i,r),I.range(t,e,o,i,r),I.pattern(t,e,o,i,r),t.whitespace===!0&&I.whitespace(t,e,o,i,r))}n(i)}function g9(t,e,n,o,r){var i=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(Z(e)&&!t.required)return n();I.required(t,e,o,i,r),e!==void 0&&I.type(t,e,o,i,r)}n(i)}function O9(t,e,n,o,r){var i=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(e===""&&(e=void 0),Z(e)&&!t.required)return n();I.required(t,e,o,i,r),e!==void 0&&(I.type(t,e,o,i,r),I.range(t,e,o,i,r))}n(i)}function m9(t,e,n,o,r){var i=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(Z(e)&&!t.required)return n();I.required(t,e,o,i,r),e!==void 0&&I.type(t,e,o,i,r)}n(i)}function w9(t,e,n,o,r){var i=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(Z(e)&&!t.required)return n();I.required(t,e,o,i,r),Z(e)||I.type(t,e,o,i,r)}n(i)}function $9(t,e,n,o,r){var i=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(Z(e)&&!t.required)return n();I.required(t,e,o,i,r),e!==void 0&&(I.type(t,e,o,i,r),I.range(t,e,o,i,r))}n(i)}function P9(t,e,n,o,r){var i=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(Z(e)&&!t.required)return n();I.required(t,e,o,i,r),e!==void 0&&(I.type(t,e,o,i,r),I.range(t,e,o,i,r))}n(i)}function T9(t,e,n,o,r){var i=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(e==null&&!t.required)return n();I.required(t,e,o,i,r,"array"),e!=null&&(I.type(t,e,o,i,r),I.range(t,e,o,i,r))}n(i)}function E9(t,e,n,o,r){var i=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(Z(e)&&!t.required)return n();I.required(t,e,o,i,r),e!==void 0&&I.type(t,e,o,i,r)}n(i)}var S9="enum";function R9(t,e,n,o,r){var i=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(Z(e)&&!t.required)return n();I.required(t,e,o,i,r),e!==void 0&&I[S9](t,e,o,i,r)}n(i)}function B9(t,e,n,o,r){var i=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(Z(e,"string")&&!t.required)return n();I.required(t,e,o,i,r),Z(e,"string")||I.pattern(t,e,o,i,r)}n(i)}function I9(t,e,n,o,r){var i=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(Z(e,"date")&&!t.required)return n();if(I.required(t,e,o,i,r),!Z(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),I.type(t,l,o,i,r),l&&I.range(t,l.getTime(),o,i,r)}}n(i)}function M9(t,e,n,o,r){var i=[],c=Array.isArray(e)?"array":typeof e;I.required(t,e,o,i,r,c),n(i)}function ns(t,e,n,o,r){var i=t.type,c=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(Z(e,i)&&!t.required)return n();I.required(t,e,o,c,r,i),Z(e,i)||I.type(t,e,o,c,r)}n(c)}function A9(t,e,n,o,r){var i=[],c=t.required||!t.required&&o.hasOwnProperty(t.field);if(c){if(Z(e)&&!t.required)return n();I.required(t,e,o,i,r)}n(i)}var Bo={string:b9,method:g9,number:O9,boolean:m9,regexp:w9,integer:$9,float:P9,array:T9,object:E9,enum:R9,pattern:B9,date:I9,url:ns,hex:ns,email:ns,required:M9,any:A9};function os(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var rs=os();function dt(t){this.rules=null,this._messages=rs,this.define(t)}dt.prototype={messages:function(e){return e&&(this._messages=uw(os(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,o;for(n in e)e.hasOwnProperty(n)&&(o=e[n],this.rules[n]=Array.isArray(o)?o:[o])},validate:function(e,n,o){var r=this;n===void 0&&(n={}),o===void 0&&(o=function(){});var i=e,c=n,l=o;if(typeof c=="function"&&(l=c,c={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function a(h){var O,d=[],m={};function $(w){if(Array.isArray(w)){var E;d=(E=d).concat.apply(E,w)}else d.push(w)}for(O=0;O<h.length;O++)$(h[O]);d.length?m=es(d):(d=null,m=null),l(d,m)}if(c.messages){var f=this.messages();f===rs&&(f=os()),uw(f,c.messages),c.messages=f}else c.messages=this.messages();var y,s,v={},b=c.keys||Object.keys(this.rules);b.forEach(function(h){y=r.rules[h],s=i[h],y.forEach(function(O){var d=O;typeof d.transform=="function"&&(i===e&&(i=Ke({},i)),s=i[h]=d.transform(s)),typeof d=="function"?d={validator:d}:d=Ke({},d),d.validator=r.getValidationMethod(d),d.field=h,d.fullField=d.fullField||h,d.type=r.getType(d),d.validator&&(v[h]=v[h]||[],v[h].push({rule:d,value:s,source:i,field:h}))})});var g={};return y9(v,c,function(h,O){var d=h.rule,m=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");m=m&&(d.required||!d.required&&h.value),d.field=h.field;function $(T,R){return Ke(Ke({},R),{},{fullField:d.fullField+"."+T})}function w(T){T===void 0&&(T=[]);var R=T;if(Array.isArray(R)||(R=[R]),!c.suppressWarning&&R.length&&dt.warning("async-validator:",R),R.length&&d.message!==void 0&&(R=[].concat(d.message)),R=R.map(iw(d)),c.first&&R.length)return g[d.field]=1,O(R);if(!m)O(R);else{if(d.required&&!h.value)return d.message!==void 0?R=[].concat(d.message).map(iw(d)):c.error&&(R=[c.error(d,me(c.messages.required,d.field))]),O(R);var z={};if(d.defaultField)for(var Oe in h.value)h.value.hasOwnProperty(Oe)&&(z[Oe]=d.defaultField);z=Ke(Ke({},z),h.rule.fields);for(var fe in z)if(z.hasOwnProperty(fe)){var _e=Array.isArray(z[fe])?z[fe]:[z[fe]];z[fe]=_e.map($.bind(null,fe))}var ho=new dt(z);ho.messages(c.messages),h.rule.options&&(h.rule.options.messages=c.messages,h.rule.options.error=c.error),ho.validate(h.value,h.rule.options||c,function(cn){var Qe=[];R&&R.length&&Qe.push.apply(Qe,R),cn&&cn.length&&Qe.push.apply(Qe,cn),O(Qe.length?Qe:null)})}}var E;d.asyncValidator?E=d.asyncValidator(d,h.value,w,h.source,c):d.validator&&(E=d.validator(d,h.value,w,h.source,c),E===!0?w():E===!1?w(d.message||d.field+" fails"):E instanceof Array?w(E):E instanceof Error&&w(E.message)),E&&E.then&&E.then(function(){return w()},function(T){return w(T)})},function(h){a(h)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Bo.hasOwnProperty(e.type))throw new Error(me("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),o=n.indexOf("message");return o!==-1&&n.splice(o,1),n.length===1&&n[0]==="required"?Bo.required:Bo[this.getType(e)]||!1}},dt.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Bo[e]=n},dt.warning=nw,dt.messages=rs,dt.validators=Bo;var N9={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 lw(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new dt(t);return n.messages(Object.assign(N9,e)),n}var aw=new Om;function is(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function F9(t){if(Array.isArray(t))return t}function k9(t){if(Array.isArray(t))return is(t)}function fw(t,e,n,o,r,i,c){try{var l=t[i](c),a=l.value}catch(f){n(f);return}l.done?e(a):Promise.resolve(a).then(o,r)}function _w(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function c(a){fw(i,o,r,c,l,"next",a)}function l(a){fw(i,o,r,c,l,"throw",a)}c(void 0)})}}function D9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function L9(t,e,n){return e&&yw(t.prototype,e),n&&yw(t,n),t}function F(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sw(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function pw(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function j9(){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 C9(){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 vw(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){F(t,r,n[r])})}return t}function V9(t){return F9(t)||pw(t)||dw(t)||j9()}function us(t){return k9(t)||pw(t)||dw(t)||C9()}function z9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dw(t,e){if(!!t){if(typeof t=="string")return is(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return is(t,e)}}function hw(t,e){var n,o,r,i,c={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(f){return function(y){return a([f,y])}}function a(f){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,o&&(r=f[0]&2?o.return:f[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,f[1])).done)return r;switch(o=0,r&&(f=[f[0]&2,r.value]),f[0]){case 0:case 1:r=f;break;case 4:return c.label++,{value:f[1],done:!1};case 5:c.label++,o=f[1],f=[0];continue;case 7:f=c.ops.pop(),c.trys.pop();continue;default:if(r=c.trys,!(r=r.length>0&&r[r.length-1])&&(f[0]===6||f[0]===2)){c=0;continue}if(f[0]===3&&(!r||f[1]>r[0]&&f[1]<r[3])){c.label=f[1];break}if(f[0]===6&&c.label<r[1]){c.label=r[1],r=f;break}if(r&&c.label<r[2]){c.label=r[2],c.ops.push(f);break}r[2]&&c.ops.pop(),c.trys.pop();continue}f=e.call(t,c)}catch(y){f=[6,y],o=0}finally{n=r=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var k=function(){function e(n){var o=this;D9(this,e),F(this,"id",void 0),F(this,"name",void 0),F(this,"icon",void 0),F(this,"type",void 0),F(this,"controlType",void 0),F(this,"props",void 0),F(this,"setting",[]),F(this,"fieldType",void 0),F(this,"eventKeys",[]),F(this,"customEvents",[]),F(this,"parent",null),F(this,"slots",void 0),F(this,"slotPosition",void 0),F(this,"updateSetting",gw),F(this,"removeSetting",bw),this._callControlHooks("preInstance",n);var r=sw(this,e)?this.constructor:void 0,i=r.controlName,c=r.controlIcon,l=r.controlType,a=r.controlFieldType,f=r.controlEventKeys,y=r.controlCustomEvents,s=r.name,v=r.setting,b=r.slots,g=r.slotPosition;i&&c&&l||By("The ".concat(s," controlName,controlIcon,controlType is not define"));var h;this.id=(h=n==null?void 0:n.id)!==null&&h!==void 0?h:Re(10),this.name=i,this.icon=c;var O;this.type=(O=n==null?void 0:n.type)!==null&&O!==void 0?O:l,this.props=new x(n==null?void 0:n.props,(sw(this,e)?this.constructor:void 0).controlName);var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base",this.setting=Be(v);var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a,this.eventKeys=Be(f),this.customEvents=Be(y),this.slots=Be(b),this.slotPosition=Be(g),Promise.resolve().then(function(){o._callControlHooks("postInstance",n)})}return L9(e,[{key:"rules",get:function(){var o=this.props.constructor.Rules;return o?new o(this.props):{}}},{key:"_callControlHooks",value:function(){for(var o=arguments.length,r=new Array(o),i=0;i<o;i++)r[i]=arguments[i];var c,l=V9(r),a=l[0],f=l.slice(1);return(c=aw).emit.apply(c,[a,this].concat(us(f)))}},{key:"preUpdate",value:function(o,r){this._callControlHooks("preUpdateProps",o,r)}},{key:"postUpdate",value:function(o,r){this._callControlHooks("postUpdateProps",o,r)}},{key:"updateProps",value:function(o,r){this.preUpdate(o,r),_m(this.props,o,r),this.postUpdate(o,r)}},{key:"preValidate",value:function(){var o=this;return _w(function(){var r,i,c;return hw(this,function(l){switch(l.label){case 0:return r=vw({},o.rules),[4,o._callControlHooks("preValidate",r)];case 1:return i=l.sent(),c=i[i.length-1],[2,c===!1?void 0:c]}})})()}},{key:"validate",value:function(o,r){var i=this;return _w(function(){var c,l,a,f;return hw(this,function(y){switch(y.label){case 0:return[4,i.preValidate()];case 1:c=y.sent(),l=c!==void 0?c:vw({},i.rules),Array.isArray(r)&&r.forEach(function(s){l.hasOwnProperty(s)&&delete l[s]}),a=lw(l,o),y.label=2;case 2:return y.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return y.sent(),[2,!0];case 4:throw f=y.sent(),f.control||(f.control=i),f;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,i=this.id,c=this.type,l=this.props,a=l.dataBind,f=l.datasourceBind,y=l.optionConfig,s=l.caption,v=l.required,b=l.maxLength,g=l.options,h=l.encrypted,O=l.encryptedMode;if(!(!r&&!a&&!f)){var d={parentId:o,fieldType:r,controlId:i,caption:s,type:c,props:{}};switch(a&&(d.dataBind=a),y){case"datasource":case void 0:f&&(d.datasourceBind=f);break;case"custom":d.props.options=g;break}return v!==void 0&&(d.required=v),b!==void 0&&(d.maxLength=b),h!==void 0&&(d.encrypted=h),O!==void 0&&(d.encryptedMode=O),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Be(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(o,r){if(o==="setting"){if(r.add){var i;(i=this.setting).push.apply(i,us(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}}}]),e}();F(k,"mode","Designer"),F(k,"slots",void 0),F(k,"slotPosition",void 0),F(k,"controlName","\u63A7\u4EF6"),F(k,"controlIcon","icon"),F(k,"controlType","control"),F(k,"controlFieldType",void 0),F(k,"controlEventKeys",[]),F(k,"controlCustomEvents",[]),F(k,"setting",[]),F(k,"__is_control__",!0),F(k,"removeSettingItem",bw),F(k,"updateSettingItem",gw);function bw(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(o){var r,i=typeof o!="string",c=(r=e.setting)===null||r===void 0?void 0:r.findIndex(function(f){return f.key===(i?o.key:o)});if(c!==-1){var l,a;i?e.setting[c].showItems=(l=e.setting[c].showItems)===null||l===void 0?void 0:l.filter(function(f){return!o.hideItems.includes(f)}):e.setting.splice(c,1),i&&!(!((a=e.setting[c].showItems)===null||a===void 0)&&a.length)&&e.setting.splice(c,1)}})}function gw(t,e){var n=this,o=typeof t=="string"?[t]:t;o.forEach(function(r){var i=n.setting.find(function(f){return f.key===r});if(i){if(typeof e=="boolean")i.visible=e;else if((typeof e=="undefined"?"undefined":z9(e))==="object"){var c,l=(c=e.type)!==null&&c!==void 0?c:"replace";if(l==="replace")i.showItems=e.showItems;else{var a;(a=i.showItems).push.apply(a,us(e.showItems))}}}})}function G9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ow(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Y9(t,e,n){return e&&Ow(t.prototype,e),n&&Ow(t,n),t}function we(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function H9(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var U=function(){function e(n){G9(this,e),we(this,"id",void 0),we(this,"type",void 0),we(this,"controlType",void 0),we(this,"props",void 0),we(this,"fieldType",void 0),we(this,"customEvents",[]),we(this,"pageStatus",void 0),we(this,"parent",null);var o=H9(this,e)?this.constructor:void 0,r=o.controlType,i=o.controlFieldType,c=o.name,l=o.controlCustomEvents;r||By("The ".concat(c," controlType is not define"));var a;this.id=(a=n==null?void 0:n.id)!==null&&a!==void 0?a:Re(10);var f;this.type=(f=n==null?void 0:n.type)!==null&&f!==void 0?f:r,this.props=new x(n==null?void 0:n.props),this.customEvents=l;var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"base";var s;this.fieldType=(s=n==null?void 0:n.fieldType)!==null&&s!==void 0?s:i;var v;this.pageStatus=(v=n==null?void 0:n.pageStatus)!==null&&v!==void 0?v:u.PAGE_STATUS.UNKNOWN}return Y9(e,[{key:"rules",get:function(){var o=this.props.constructor.RuntimeRules;if(o){var r=new o(this.props);return Array.from(r)}return[]}}]),e}();we(U,"mode","Runtime"),we(U,"controlType","control"),we(U,"controlFieldType",void 0),we(U,"__is_control__",!0),we(U,"controlCustomEvents",[]);function Jr(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:_.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:_.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,o,r){o.length===0&&r(_.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,o,r){var i=o.map(function(l){return l.value}),c=vm(i);i.length!==c.length?r(_.getMessage("optionIdIsRepeat")):r()},message:_.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",validator:function(n,o,r){o.length===0&&r(_.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:_.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:_.getMessage("isNotBoolean")}}}}]}}])}function Io(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:_.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:_.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:_.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:_.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:_.getMessage("isNotString")},key:{type:"string",required:!0,message:_.getMessage("isNotString")},value:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",validator:function(r,i,c){i.length===0&&c(_.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),c()},message:_.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:_.getMessage("isNotBoolean")}}}}]}}]}function mw(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function q9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qr(t,e,n){return e=ei(e),x9(t,ww()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function Zr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function G(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function ti(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cs(t,e)}function x9(t,e){return e&&(U9(e)==="object"||typeof e=="function")?e:q9(t)}function cs(t,e){return cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cs(t,e)}function U9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ww(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ww=function(){return!!t})()}var ee=function(t){ti(e,t);function e(n){Zr(this,e);var o;o=Qr(this,e,[n]),G(o,"dataBind",{}),G(o,"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),G(o,"isHideCaption",{type:"boolean"}),G(o,"labelPosition",{type:"enum",enum:["top","left"]}),G(o,"defaultState",{type:"enum",enum:["default","readonly"]}),G(o,"required",{type:"boolean"}),G(o,"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")}};if(mw(n.dataBind))o.dataBind={type:"object",required:!0,fields:Be(r),message:_.getMessage("pleaseEnterFieldCode")};else{var i={type:"object",required:!0,fields:{},message:_.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){i.fields[c]={type:"object",required:!0,fields:Be(r),message:_.getMessage("pleaseEnterFieldCode")}}),o.dataBind=i}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(J),L=function(t){ti(e,t);function e(n){Zr(this,e);var o;o=Qr(this,e,[n]);var r=n.isHide?!1:n.required;return r&&o.push({type:"string",required:r,message:n.requiredMessage!==""?n.requiredMessage:_.getMessage("runtimeRequired",{caption:n.caption})}),o}return e}(vt),M=function(t){ti(e,t);function e(n){Zr(this,e);var o;o=Qr(this,e,[n]),G(o,"caption",void 0),G(o,"isHideCaption",void 0),G(o,"isShowCaptionTip",void 0),G(o,"captionTip",void 0),G(o,"labelPosition",void 0),G(o,"dataBind",void 0),G(o,"defaultValue",void 0),G(o,"placeholder",void 0),G(o,"defaultState",void 0),G(o,"required",void 0),G(o,"requiredMessage",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.isHideCaption=(i=n==null?void 0:n.isHideCaption)!==null&&i!==void 0?i:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!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 f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"";var s;o.required=(s=n==null?void 0:n.required)!==null&&s!==void 0?s:!1;var v;o.requiredMessage=(v=n==null?void 0:n.requiredMessage)!==null&&v!==void 0?v:"",o.dataBind=new Ae(n==null?void 0:n.dataBind);var b;return o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"",o}return e}(x);G(M,"Rules",ee),G(M,"RuntimeRules",L);var Ft=function(t){ti(e,t);function e(n){Zr(this,e);var o;return o=Qr(this,e,[n]),G(o,"optionConfig",{type:"enum",enum:["custom","datasource"],message:_.getMessage("PleaseSelectTheCorrectOptionSettings")}),G(o,"options",[{type:"array",message:_.getMessage("isNotArray")}]),G(o,"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),Jr.call(o,n),o}return e}(ee);function W9(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function K9(t,e,n){return e=oi(e),Q9(t,$w()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function X9(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ni(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function J9(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ls(t,e)}function Q9(t,e){return e&&(Z9(e)==="object"||typeof e=="function")?e:W9(t)}function ls(t,e){return ls=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ls(t,e)}function Z9(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $w(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($w=function(){return!!t})()}var A=function(t){J9(e,t);function e(n){X9(this,e);var o;return o=K9(this,e,[n]),ni(o,"controlType","form"),ni(o,"props",void 0),o.props=new M(n==null?void 0:n.props),o}return e}(k);ni(A,"controlEventKeys",["on_change","on_focus","on_blur"]),ni(A,"controlCustomAttributes",void 0);function eV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tV(t,e,n){return e=ri(e),rV(t,Pw()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function nV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function as(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function oV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fs(t,e)}function rV(t,e){return e&&(iV(e)==="object"||typeof e=="function")?e:eV(t)}function fs(t,e){return fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fs(t,e)}function iV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Pw=function(){return!!t})()}var N=function(t){oV(e,t);function e(n){nV(this,e);var o;return o=tV(this,e,[n]),as(o,"controlType","form"),as(o,"props",void 0),as(o,"value",void 0),o.props=new M(n==null?void 0:n.props),o}return e}(U);function uV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cV(t,e,n){return e=ii(e),fV(t,Tw()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function lV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function aV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_s(t,e)}function fV(t,e){return e&&(_V(e)==="object"||typeof e=="function")?e:uV(t)}function _s(t,e){return _s=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_s(t,e)}function _V(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tw=function(){return!!t})()}var C=function(t){aV(e,t);function e(n){return lV(this,e),cV(this,e,[n])}return e}(x);function ys(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function yV(t){if(Array.isArray(t))return ys(t)}function sV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ew(t,e,n,o,r,i,c){try{var l=t[i](c),a=l.value}catch(f){n(f);return}l.done?e(a):Promise.resolve(a).then(o,r)}function pV(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function c(a){Ew(i,o,r,c,l,"next",a)}function l(a){Ew(i,o,r,c,l,"throw",a)}c(void 0)})}}function vV(t,e,n){return e=bt(e),TV(t,Bw()?Reflect.construct(e,n||[],bt(t).constructor):e.apply(t,n))}function dV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function hV(t,e,n){return e&&Sw(t.prototype,e),n&&Sw(t,n),t}function ht(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _n(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?_n=Reflect.get:_n=function(r,i,c){var l=EV(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},_n(t,e,n||t)}function bt(t){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bt(t)}function bV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ss(t,e)}function gV(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function OV(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function mV(){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 wV(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ht(t,r,n[r])})}return t}function $V(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function PV(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):$V(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function TV(t,e){return e&&(SV(e)==="object"||typeof e=="function")?e:sV(t)}function ss(t,e){return ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ss(t,e)}function EV(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=bt(t),t!==null););return t}function Rw(t){return yV(t)||OV(t)||RV(t)||mV()}function SV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RV(t,e){if(!!t){if(typeof t=="string")return ys(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ys(t,e)}}function Bw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bw=function(){return!!t})()}function BV(t,e){var n,o,r,i,c={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(f){return function(y){return a([f,y])}}function a(f){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,o&&(r=f[0]&2?o.return:f[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,f[1])).done)return r;switch(o=0,r&&(f=[f[0]&2,r.value]),f[0]){case 0:case 1:r=f;break;case 4:return c.label++,{value:f[1],done:!1};case 5:c.label++,o=f[1],f=[0];continue;case 7:f=c.ops.pop(),c.trys.pop();continue;default:if(r=c.trys,!(r=r.length>0&&r[r.length-1])&&(f[0]===6||f[0]===2)){c=0;continue}if(f[0]===3&&(!r||f[1]>r[0]&&f[1]<r[3])){c.label=f[1];break}if(f[0]===6&&c.label<r[1]){c.label=r[1],r=f;break}if(r&&c.label<r[2]){c.label=r[2],c.ops.push(f);break}r[2]&&c.ops.pop(),c.trys.pop();continue}f=e.call(t,c)}catch(y){f=[6,y],o=0}finally{n=r=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var IV=1e4,Y=function(e){bV(n,e);function n(o){dV(this,n);var r;r=vV(this,n,[o]),ht(r,"controlType","layout"),ht(r,"children",void 0),ht(r,"excludes",void 0),ht(r,"childrenMaxLength",void 0),ht(r,"props",void 0);var i=gV(this,n)?this.constructor:void 0,c=i.excludes,l=i.childrenMaxLength;return r.props=new C(o==null?void 0:o.props),Ce(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=Be(c),r.childrenMaxLength=l,r}return hV(n,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var i=this.judgeExcludesChildren(r);return i&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,i){var c=this,l=this,a=function(){return _n(bt(n.prototype),"validate",c)};return pV(function(){return BV(this,function(f){switch(f.label){case 0:return[4,a().call(l,r,i)];case 1:return f.sent(),[4,Promise.all(l.children.map(function(y){return y.validate(r,i)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,i=_n(bt(n.prototype),"toDataBindModel",this).call(this),c=i?[i]:[];return this.children.reduce(function(l,a){var f=a.toDataBindModel(r);if(Array.isArray(f)){var y=f.filter(function(s){return!!s});return Rw(l).concat(Rw(y))}return f&&l.push(f),l},c)}},{key:"toSchema",value:function(){var r=_n(bt(n.prototype),"toSchema",this).call(this),i=this.children.map(function(c){var l=c.toSchema();return l});return PV(wV({},r),{children:i})}}]),n}(k);ht(Y,"excludes",!1),ht(Y,"childrenMaxLength",IV);function MV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function AV(t,e,n){return e=ui(e),kV(t,Iw()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function NV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ps(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function FV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vs(t,e)}function kV(t,e){return e&&(DV(e)==="object"||typeof e=="function")?e:MV(t)}function vs(t,e){return vs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vs(t,e)}function DV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Iw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Iw=function(){return!!t})()}var W=function(t){FV(e,t);function e(n){NV(this,e);var o;return o=AV(this,e,[n]),ps(o,"controlType","layout"),ps(o,"children",void 0),ps(o,"props",void 0),o.props=new C(n==null?void 0:n.props),Ce(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(U);function LV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jV(t,e,n){return e=ci(e),zV(t,Mw()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function CV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function VV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ds(t,e)}function zV(t,e){return e&&(GV(e)==="object"||typeof e=="function")?e:LV(t)}function ds(t,e){return ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ds(t,e)}function GV(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Mw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mw=function(){return!!t})()}var Mo=function(t){VV(e,t);function e(n,o,r){CV(this,e);var i;i=jV(this,e,[o]),yn(i,"headers",void 0),yn(i,"footers",void 0),yn(i,"pageIndex",void 0),yn(i,"pageSize",void 0),yn(i,"pageSizeOptions",void 0),yn(i,"totalCount",void 0),Ce(i,"headers",o==null?void 0:o.headers,n,r),Ce(i,"footers",o==null?void 0:o.footers,n);var c;i.pageIndex=(c=o==null?void 0:o.pageIndex)!==null&&c!==void 0?c:1;var l;i.pageSize=(l=o==null?void 0:o.pageSize)!==null&&l!==void 0?l:20;var a;i.pageSizeOptions=(a=o==null?void 0:o.pageSizeOptions)!==null&&a!==void 0?a:[20];var f;return i.totalCount=(f=o==null?void 0:o.totalCount)!==null&&f!==void 0?f:0,i}return e}(x);function hs(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function YV(t){if(Array.isArray(t))return hs(t)}function HV(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Aw(t,e,n,o,r,i,c){try{var l=t[i](c),a=l.value}catch(f){n(f);return}l.done?e(a):Promise.resolve(a).then(o,r)}function qV(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function c(a){Aw(i,o,r,c,l,"next",a)}function l(a){Aw(i,o,r,c,l,"throw",a)}c(void 0)})}}function xV(t,e,n){return e=gt(e),ZV(t,Lw()?Reflect.construct(e,n||[],gt(t).constructor):e.apply(t,n))}function UV(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function WV(t,e,n){return e&&Nw(t.prototype,e),n&&Nw(t,n),t}function li(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sn(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?sn=Reflect.get:sn=function(r,i,c){var l=ez(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},sn(t,e,n||t)}function gt(t){return gt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gt(t)}function KV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bs(t,e)}function XV(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function JV(){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 Fw(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){li(t,r,n[r])})}return t}function QV(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function kw(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):QV(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function ZV(t,e){return e&&(tz(e)==="object"||typeof e=="function")?e:HV(t)}function bs(t,e){return bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bs(t,e)}function ez(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=gt(t),t!==null););return t}function Dw(t){return YV(t)||XV(t)||nz(t)||JV()}function tz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nz(t,e){if(!!t){if(typeof t=="string")return hs(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hs(t,e)}}function Lw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lw=function(){return!!t})()}function oz(t,e){var n,o,r,i,c={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(f){return function(y){return a([f,y])}}function a(f){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,o&&(r=f[0]&2?o.return:f[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,f[1])).done)return r;switch(o=0,r&&(f=[f[0]&2,r.value]),f[0]){case 0:case 1:r=f;break;case 4:return c.label++,{value:f[1],done:!1};case 5:c.label++,o=f[1],f=[0];continue;case 7:f=c.ops.pop(),c.trys.pop();continue;default:if(r=c.trys,!(r=r.length>0&&r[r.length-1])&&(f[0]===6||f[0]===2)){c=0;continue}if(f[0]===3&&(!r||f[1]>r[0]&&f[1]<r[3])){c.label=f[1];break}if(f[0]===6&&c.label<r[1]){c.label=r[1],r=f;break}if(r&&c.label<r[2]){c.label=r[2],c.ops.push(f);break}r[2]&&c.ops.pop(),c.trys.pop();continue}f=e.call(t,c)}catch(y){f=[6,y],o=0}finally{n=r=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var ai=function(t){KV(e,t);function e(n){UV(this,e);var o;return o=xV(this,e,[n]),li(o,"controlType","list"),li(o,"props",void 0),o.props=new Mo(o,n==null?void 0:n.props,"Designer"),o}return WV(e,[{key:"validate",value:function(o,r){var i=this,c=this,l=function(){return sn(gt(e.prototype),"validate",i)};return qV(function(){return oz(this,function(a){switch(a.label){case 0:return[4,l().call(c,o)];case 1:return a.sent(),[4,Promise.all(c.props.headers.map(function(f){return f.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=sn(gt(e.prototype),"toDataBindModel",this).call(this),r=o?[o]:[],i=this.id;return this.props.headers.reduce(function(c,l){var a=l.toDataBindModel(i);if(Array.isArray(a)){var f=a.filter(function(y){return!!y});return Dw(c).concat(Dw(f))}return a&&c.push(a),c},r)}},{key:"toSchema",value:function(){var o=sn(gt(e.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(i){return i.toSchema()});return kw(Fw({},o),{props:kw(Fw({},this.props),{headers:r})})}}]),e}(k);li(ai,"controlFieldType",u.FieldTypes.LIST);function rz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iz(t,e,n){return e=fi(e),az(t,Cw()?Reflect.construct(e,n||[],fi(t).constructor):e.apply(t,n))}function uz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function cz(t,e,n){return e&&jw(t.prototype,e),n&&jw(t,n),t}function gs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function lz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Os(t,e)}function az(t,e){return e&&(fz(e)==="object"||typeof e=="function")?e:rz(t)}function Os(t,e){return Os=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Os(t,e)}function fz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Cw=function(){return!!t})()}var ms=function(t){lz(e,t);function e(n){uz(this,e);var o;return o=iz(this,e,[n]),gs(o,"controlType","list"),gs(o,"children",void 0),gs(o,"props",void 0),o.props=new Mo(o,n==null?void 0:n.props,"Runtime"),Ce(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return cz(e,[{key:"length",get:function(){return this.children.length}}]),e}(U);function _z(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ws(t,e,n){return e=_i(e),yz(t,Vw()?Reflect.construct(e,n||[],_i(t).constructor):e.apply(t,n))}function $s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _i(t){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(t)}function Ps(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ts(t,e)}function yz(t,e){return e&&(sz(e)==="object"||typeof e=="function")?e:_z(t)}function Ts(t,e){return Ts=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ts(t,e)}function sz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Vw=function(){return!!t})()}var Ve=function(t){Ps(e,t);function e(n){$s(this,e);var o;return o=ws(this,e,[n]),re(o,"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),re(o,"width",{type:"number",required:!1,message:_.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return e}(J),K=function(t){Ps(e,t);function e(n){$s(this,e);var o;o=ws(this,e,[n]),re(o,"widthType",void 0),re(o,"width",void 0),re(o,"caption",void 0),re(o,"dataBind",void 0),re(o,"autoWidth",void 0),re(o,"fixed",void 0),re(o,"sort",void 0),re(o,"align",void 0),re(o,"colSpan",void 0),re(o,"autoHeight",void 0),re(o,"children",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"none",o.autoWidth=new Vr(n==null?void 0:n.autoWidth),o.dataBind=new Ae(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 e}(x);re(K,"Rules",Ve);var Es=function(t){Ps(e,t);function e(n){$s(this,e);var o;return o=ws(this,e,[n]),re(o,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:_.getMessage("PleaseSelectTheCorrectOptionSettings")}),re(o,"options",[{type:"array",message:_.getMessage("isNotArray")}]),re(o,"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),Jr.call(o,n),o}return e}(Ve);function pz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vz(t,e,n){return e=pn(e),wz(t,Gw()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function dz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zw(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function hz(t,e,n){return e&&zw(t.prototype,e),n&&zw(t,n),t}function yi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?si=Reflect.get:si=function(r,i,c){var l=$z(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},si(t,e,n||t)}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function bz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ss(t,e)}function gz(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){yi(t,r,n[r])})}return t}function Oz(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function mz(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Oz(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function wz(t,e){return e&&(Pz(e)==="object"||typeof e=="function")?e:pz(t)}function Ss(t,e){return Ss=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ss(t,e)}function $z(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=pn(t),t!==null););return t}function Pz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Gw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Gw=function(){return!!t})()}var te=function(t){bz(e,t);function e(n){dz(this,e);var o;return o=vz(this,e,[n]),yi(o,"controlType","column"),yi(o,"props",void 0),yi(o,"children",void 0),o.props=new K(n==null?void 0:n.props),Ce(o,"children",n==null?void 0:n.children,void 0,"Designer"),o}return hz(e,[{key:"toSchema",value:function(){var o=si(pn(e.prototype),"toSchema",this).call(this);return mz(gz({},o),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),e}(k);function Tz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ez(t,e,n){return e=pi(e),Bz(t,Yw()?Reflect.construct(e,n||[],pi(t).constructor):e.apply(t,n))}function Sz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pi(t){return pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pi(t)}function Rz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bs(t,e)}function Bz(t,e){return e&&(Iz(e)==="object"||typeof e=="function")?e:Tz(t)}function Bs(t,e){return Bs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bs(t,e)}function Iz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Yw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yw=function(){return!!t})()}var ne=function(t){Rz(e,t);function e(n){Sz(this,e);var o;return o=Ez(this,e,[n]),Rs(o,"controlType","column"),Rs(o,"props",void 0),Rs(o,"children",void 0),o.props=new K(n==null?void 0:n.props),Ce(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(U);function Mz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Az(t,e,n){return e=vi(e),Dz(t,Hw()?Reflect.construct(e,n||[],vi(t).constructor):e.apply(t,n))}function Nz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fz(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function kz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Is(t,e)}function Dz(t,e){return e&&(Lz(e)==="object"||typeof e=="function")?e:Mz(t)}function Is(t,e){return Is=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Is(t,e)}function Lz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Hw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hw=function(){return!!t})()}var di=function(t){kz(e,t);function e(n){Nz(this,e);var o;return o=Az(this,e,[n]),Fz(o,"dataBind",void 0),o.dataBind=new Ae(n==null?void 0:n.dataBind),o}return e}(C);function jz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cz(t,e,n){return e=hi(e),Gz(t,xw()?Reflect.construct(e,n||[],hi(t).constructor):e.apply(t,n))}function Vz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function zz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ms(t,e)}function Gz(t,e){return e&&(Yz(e)==="object"||typeof e=="function")?e:jz(t)}function Ms(t,e){return Ms=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ms(t,e)}function Yz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xw=function(){return!!t})()}var Uw=function(t){zz(e,t);function e(n){Vz(this,e);var o;return o=Cz(this,e,[n]),qw(o,"controlType","search"),qw(o,"props",void 0),o.props=new di(n==null?void 0:n.props),o}return e}(Y);function Hz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qz(t,e,n){return e=bi(e),Wz(t,Kw()?Reflect.construct(e,n||[],bi(t).constructor):e.apply(t,n))}function xz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ww(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function Uz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&As(t,e)}function Wz(t,e){return e&&(Kz(e)==="object"||typeof e=="function")?e:Hz(t)}function As(t,e){return As=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},As(t,e)}function Kz(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kw=function(){return!!t})()}var Xw=function(t){Uz(e,t);function e(n){xz(this,e);var o;return o=qz(this,e,[n]),Ww(o,"controlType","search"),Ww(o,"props",void 0),o.props=new di(n==null?void 0:n.props),o}return e}(W);function Xz(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jz(t,e,n){return e=gi(e),eG(t,Jw()?Reflect.construct(e,n||[],gi(t).constructor):e.apply(t,n))}function Qz(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function Zz(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ns(t,e)}function eG(t,e){return e&&(tG(e)==="object"||typeof e=="function")?e:Xz(t)}function Ns(t,e){return Ns=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ns(t,e)}function tG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jw=function(){return!!t})()}var Oi=function(t){Zz(e,t);function e(n){return Qz(this,e),Jz(this,e,[n])}return e}(C);function nG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oG(t,e,n){return e=mi(e),uG(t,Zw()?Reflect.construct(e,n||[],mi(t).constructor):e.apply(t,n))}function rG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qw(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function iG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fs(t,e)}function uG(t,e){return e&&(cG(e)==="object"||typeof e=="function")?e:nG(t)}function Fs(t,e){return Fs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fs(t,e)}function cG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zw(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zw=function(){return!!t})()}var e$=function(t){iG(e,t);function e(n){rG(this,e);var o;return o=oG(this,e,[n]),Qw(o,"controlType","wrap"),Qw(o,"props",void 0),o.props=new Oi(n==null?void 0:n.props),o}return e}(Y);function lG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aG(t,e,n){return e=wi(e),yG(t,n$()?Reflect.construct(e,n||[],wi(t).constructor):e.apply(t,n))}function fG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function t$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wi(t){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wi(t)}function _G(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ks(t,e)}function yG(t,e){return e&&(sG(e)==="object"||typeof e=="function")?e:lG(t)}function ks(t,e){return ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ks(t,e)}function sG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function n$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(n$=function(){return!!t})()}var o$=function(t){_G(e,t);function e(n){fG(this,e);var o;return o=aG(this,e,[n]),t$(o,"controlType","wrap"),t$(o,"props",void 0),o.props=new Oi(n==null?void 0:n.props),o}return e}(W);function nt(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:_.getMessage("pleaseEnterForm")}}}])}function pG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vG(t,e,n){return e=$i(e),bG(t,r$()?Reflect.construct(e,n||[],$i(t).constructor):e.apply(t,n))}function dG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $i(t){return $i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$i(t)}function hG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ds(t,e)}function bG(t,e){return e&&(gG(e)==="object"||typeof e=="function")?e:pG(t)}function Ds(t,e){return Ds=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ds(t,e)}function gG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function r$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(r$=function(){return!!t})()}var Ls=function(t){hG(e,t);function e(n){dG(this,e);var o;o=vG(this,e,[n]),vn(o,"content",void 0),vn(o,"fontSize",void 0),vn(o,"color",void 0),vn(o,"icon",void 0),vn(o,"align",void 0),vn(o,"showState",void 0);var r;o.fontSize=(r=n==null?void 0:n.fontSize)!==null&&r!==void 0?r:"14px";var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#646A73";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"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:_.getMessage("text");var f;return o.align=(f=n==null?void 0:n.align)!==null&&f!==void 0?f:"",o}return e}(x);function OG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mG(t,e,n){return e=Pi(e),TG(t,c$()?Reflect.construct(e,n||[],Pi(t).constructor):e.apply(t,n))}function wG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function $G(t,e,n){return e&&i$(t.prototype,e),n&&i$(t,n),t}function u$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pi(t){return Pi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pi(t)}function PG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&js(t,e)}function TG(t,e){return e&&(EG(e)==="object"||typeof e=="function")?e:OG(t)}function js(t,e){return js=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},js(t,e)}function EG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function c$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(c$=function(){return!!t})()}var l$=function(t){PG(e,t);function e(n){wG(this,e);var o;return o=mG(this,e,[n]),u$(o,"props",void 0),o.props=new Ls(n==null?void 0:n.props),o}return $G(e,null,[{key:"controlName",get:function(){return _.getMessage("text")}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),e}(k);u$(l$,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function SG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RG(t,e,n){return e=Ti(e),NG(t,f$()?Reflect.construct(e,n||[],Ti(t).constructor):e.apply(t,n))}function BG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function IG(t,e,n){return e&&a$(t.prototype,e),n&&a$(t,n),t}function MG(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ti(t){return Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ti(t)}function AG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cs(t,e)}function NG(t,e){return e&&(FG(e)==="object"||typeof e=="function")?e:SG(t)}function Cs(t,e){return Cs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cs(t,e)}function FG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function f$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f$=function(){return!!t})()}var kG=function(t){AG(e,t);function e(n){BG(this,e);var o;return o=RG(this,e,[n]),MG(o,"props",void 0),o.props=new Ls(n==null?void 0:n.props),o}return IG(e,null,[{key:"controlType",get:function(){return"text"}}]),e}(U),_$={Designer:l$,Runtime:kG,Property:Ls};function DG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LG(t,e,n){return e=Ei(e),VG(t,y$()?Reflect.construct(e,n||[],Ei(t).constructor):e.apply(t,n))}function jG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ei(t){return Ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ei(t)}function CG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zs(t,e)}function VG(t,e){return e&&(zG(e)==="object"||typeof e=="function")?e:DG(t)}function zs(t,e){return zs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zs(t,e)}function zG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function y$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(y$=function(){return!!t})()}var Gs=function(t){CG(e,t);function e(n){jG(this,e);var o;o=LG(this,e,[n]),Vs(o,"content",void 0),Vs(o,"url",void 0),Vs(o,"openMode",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:_.getMessage("linkContent");var i;o.url=(i=n==null?void 0:n.url)!==null&&i!==void 0?i:"";var c;return o.openMode=(c=n==null?void 0:n.openMode)!==null&&c!==void 0?c:"new",o}return e}(x);function GG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function YG(t,e,n){return e=Si(e),UG(t,p$()?Reflect.construct(e,n||[],Si(t).constructor):e.apply(t,n))}function HG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qG(t,e,n){return e&&s$(t.prototype,e),n&&s$(t,n),t}function Ys(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Si(t){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Si(t)}function xG(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hs(t,e)}function UG(t,e){return e&&(WG(e)==="object"||typeof e=="function")?e:GG(t)}function Hs(t,e){return Hs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hs(t,e)}function WG(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function p$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p$=function(){return!!t})()}var qs=function(t){xG(e,t);function e(n){HG(this,e);var o;return o=YG(this,e,[n]),Ys(o,"props",void 0),o.props=new Gs(n==null?void 0:n.props),o}return qG(e,null,[{key:"controlName",get:function(){return _.getMessage("link")}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),e}(k);Ys(qs,"controlEventKeys",["on_click"]),Ys(qs,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function KG(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XG(t,e,n){return e=Ri(e),tY(t,d$()?Reflect.construct(e,n||[],Ri(t).constructor):e.apply(t,n))}function JG(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function QG(t,e,n){return e&&v$(t.prototype,e),n&&v$(t,n),t}function ZG(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ri(t){return Ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ri(t)}function eY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xs(t,e)}function tY(t,e){return e&&(nY(e)==="object"||typeof e=="function")?e:KG(t)}function xs(t,e){return xs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xs(t,e)}function nY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function d$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(d$=function(){return!!t})()}var oY=function(t){eY(e,t);function e(n){JG(this,e);var o;return o=XG(this,e,[n]),ZG(o,"props",void 0),o.props=new Gs(n==null?void 0:n.props),o}return QG(e,null,[{key:"controlType",get:function(){return"link"}}]),e}(U),h$={Designer:qs,Runtime:oY,Property:Gs};function rY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iY(t,e,n){return e=Bi(e),lY(t,b$()?Reflect.construct(e,n||[],Bi(t).constructor):e.apply(t,n))}function uY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bi(t){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bi(t)}function cY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Us(t,e)}function lY(t,e){return e&&(aY(e)==="object"||typeof e=="function")?e:rY(t)}function Us(t,e){return Us=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Us(t,e)}function aY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function b$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b$=function(){return!!t})()}var de=function(t){cY(e,t);function e(n){uY(this,e);var o;o=iY(this,e,[n]),ot(o,"content",void 0),ot(o,"buttonType",void 0),ot(o,"showType",void 0),ot(o,"color",void 0),ot(o,"icon",void 0),ot(o,"defaultState",void 0),ot(o,"command",void 0),ot(o,"isLoading",void 0),ot(o,"optObj",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:_.getMessage("button");var i;o.buttonType=(i=n==null?void 0:n.buttonType)!==null&&i!==void 0?i:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"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 f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var s;o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1;var v;return o.optObj=new Qm((v=n==null?void 0:n.optObj)!==null&&v!==void 0?v:{}),o}return e}(x);function fY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _Y(t,e,n){return e=Mi(e),vY(t,O$()?Reflect.construct(e,n||[],Mi(t).constructor):e.apply(t,n))}function yY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function sY(t,e,n){return e&&g$(t.prototype,e),n&&g$(t,n),t}function Ii(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mi(t){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mi(t)}function pY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ws(t,e)}function vY(t,e){return e&&(dY(e)==="object"||typeof e=="function")?e:fY(t)}function Ws(t,e){return Ws=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ws(t,e)}function dY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function O$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(O$=function(){return!!t})()}var se=function(t){pY(e,t);function e(n){yY(this,e);var o;return o=_Y(this,e,[n]),Ii(o,"props",void 0),o.props=new de(n==null?void 0:n.props),o}return sY(e,null,[{key:"controlName",get:function(){return _.getMessage("button")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),e}(k);Ii(se,"slots",["grid-table-toolbar-slot","action-bar-slot",$y.DEFAULT]),Ii(se,"controlEventKeys",["on_click"]),Ii(se,"setting",[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function hY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bY(t,e,n){return e=Ai(e),$Y(t,w$()?Reflect.construct(e,n||[],Ai(t).constructor):e.apply(t,n))}function gY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function OY(t,e,n){return e&&m$(t.prototype,e),n&&m$(t,n),t}function mY(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ai(t){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ai(t)}function wY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ks(t,e)}function $Y(t,e){return e&&(PY(e)==="object"||typeof e=="function")?e:hY(t)}function Ks(t,e){return Ks=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ks(t,e)}function PY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function w$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(w$=function(){return!!t})()}var $e=function(t){wY(e,t);function e(n){gY(this,e);var o;return o=bY(this,e,[n]),mY(o,"props",void 0),o.props=new de(n==null?void 0:n.props),o}return OY(e,null,[{key:"controlType",get:function(){return"button"}}]),e}(U),$$={Designer:se,Runtime:$e,Property:de};function Ne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}u.TitleConfigEnum=void 0,function(t){t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title"}(u.TitleConfigEnum||(u.TitleConfigEnum={})),u.DATE_CONFIG_TYPE=void 0,function(t){t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(u.DATE_CONFIG_TYPE||(u.DATE_CONFIG_TYPE={})),u.DATE_LIMIT_TYPE=void 0,function(t){t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified"}(u.DATE_LIMIT_TYPE||(u.DATE_LIMIT_TYPE={}));var Ni=function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Re(8),value:["",""]};Ne(this,t),S(this,"dateConfigType",void 0),S(this,"dateLimitType",void 0),S(this,"id",void 0),S(this,"value",void 0),this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value};u.SCORE_TYPE=void 0,function(t){t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile"}(u.SCORE_TYPE||(u.SCORE_TYPE={}));var Fi=function t(e){Ne(this,t),S(this,"id",void 0),S(this,"text",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re();var o;this.text=(o=e==null?void 0:e.text)!==null&&o!==void 0?o:""};u.LINE_STYLE=void 0,function(t){t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line"}(u.LINE_STYLE||(u.LINE_STYLE={}));var Xs=function t(e){Ne(this,t),S(this,"type",void 0),S(this,"person",void 0),S(this,"signatureType",void 0),S(this,"telephone",void 0),S(this,"company",void 0),S(this,"remark",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"private";var o;this.person=new an((o=e==null?void 0:e.person)!==null&&o!==void 0?o:{type:"form"});var r;this.signatureType=(r=e==null?void 0:e.signatureType)!==null&&r!==void 0?r:[];var i,c;this.telephone=(c=e==null?void 0:e.telephone)!==null&&c!==void 0?c:new an((i=e==null?void 0:e.telephone)!==null&&i!==void 0?i:{type:"form"});var l,a;this.company=(a=e==null?void 0:e.company)!==null&&a!==void 0?a:new an((l=e==null?void 0:e.company)!==null&&l!==void 0?l:{type:"form"});var f;this.remark=(f=e==null?void 0:e.remark)!==null&&f!==void 0?f:""},P$=function t(e){Ne(this,t);var n;S(this,"fileControl",void 0),S(this,"undersignedList",void 0),S(this,"statusControl",void 0),S(this,"completeControl",void 0),S(this,"completeTimeControl",void 0);var o;this.fileControl=(o=e==null?void 0:e.fileControl)!==null&&o!==void 0?o:"";var r;this.undersignedList=(r=e==null||(n=e.undersignedList)===null||n===void 0?void 0:n.map(function(a){return new Xs(a)}))!==null&&r!==void 0?r:[new Xs];var i;this.statusControl=(i=e==null?void 0:e.statusControl)!==null&&i!==void 0?i:"";var c;this.completeControl=(c=e==null?void 0:e.completeControl)!==null&&c!==void 0?c:"";var l;this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!==null&&l!==void 0?l:""},Ao=function t(e){Ne(this,t),S(this,"id",void 0),S(this,"appId",void 0),S(this,"dataCode",void 0),S(this,"svcCode",void 0),S(this,"name",void 0),S(this,"fieldList",void 0),S(this,"active",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Re(8);var o;this.appId=(o=e==null?void 0:e.appId)!==null&&o!==void 0?o:"";var r;this.dataCode=(r=e==null?void 0:e.dataCode)!==null&&r!==void 0?r:"";var i;this.svcCode=(i=e==null?void 0:e.svcCode)!==null&&i!==void 0?i:"";var c;this.name=(c=e==null?void 0:e.name)!==null&&c!==void 0?c:"";var l;this.fieldList=(l=e==null?void 0:e.fieldList)!==null&&l!==void 0?l:[];var a;this.active=(a=e==null?void 0:e.active)!==null&&a!==void 0?a:!1},Js=function t(e){Ne(this,t),S(this,"active",void 0),S(this,"text",void 0);var n;this.active=(n=e==null?void 0:e.active)!==null&&n!==void 0?n:!1;var o;this.text=(o=e==null?void 0:e.text)!==null&&o!==void 0?o:""},T$=function t(e){Ne(this,t),S(this,"types",void 0),S(this,"history",void 0),S(this,"collaborativeRecord",void 0),S(this,"logicToDelete",void 0),S(this,"watermark",void 0),S(this,"autoRename",void 0);var n;this.types=(n=e==null?void 0:e.types)!==null&&n!==void 0?n:["word","ppt","excel"];var o;this.history=(o=e==null?void 0:e.history)!==null&&o!==void 0?o:!1;var r;this.collaborativeRecord=(r=e==null?void 0:e.collaborativeRecord)!==null&&r!==void 0?r:!1;var i;this.logicToDelete=(i=e==null?void 0:e.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Js(e==null?void 0:e.watermark),this.autoRename=new Js(e==null?void 0:e.autoRename)},E$=function t(e){Ne(this,t),S(this,"dataCode",void 0),this.dataCode=e.dataCode},S$=function t(e){Ne(this,t);var n;S(this,"templateType",void 0),S(this,"templateList",void 0);var o;this.templateType=(o=e==null?void 0:e.templateType)!==null&&o!==void 0?o:"system";var r;this.templateList=(r=e==null||(n=e.templateList)===null||n===void 0?void 0:n.map(function(i){return new E$(i)}))!==null&&r!==void 0?r:[]},R$=function t(e){Ne(this,t);var n;S(this,"templateType",void 0),S(this,"templateList",void 0);var o;this.templateType=(o=e==null?void 0:e.templateType)!==null&&o!==void 0?o:"system";var r;this.templateList=(r=e==null||(n=e.templateList)===null||n===void 0?void 0:n.map(function(i){return new Ao(i)}))!==null&&r!==void 0?r:[new Ao({id:"default",name:_.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},B$=480;function No(t){return new RegExp(t.replace(/^\/|\/$/g,""))}var I$=function t(e){Ne(this,t),S(this,"fileId",void 0),S(this,"fileName",void 0),S(this,"ruleName",void 0),S(this,"isDefault",void 0),S(this,"rules",void 0);var n;this.fileId=(n=e==null?void 0:e.fileId)!==null&&n!==void 0?n:"";var o;this.fileName=(o=e==null?void 0:e.fileName)!==null&&o!==void 0?o:"";var r;this.ruleName=(r=e==null?void 0:e.ruleName)!==null&&r!==void 0?r:"";var i;this.isDefault=(i=e.isDefault)!==null&&i!==void 0?i:!1;var c;this.rules=(c=e.rules)!==null&&c!==void 0?c:[]},M$=function t(e){Ne(this,t),S(this,"direction",void 0),S(this,"justifyContent",void 0),S(this,"alignItems",void 0);var n;this.direction=(n=e==null?void 0:e.direction)!==null&&n!==void 0?n:"row";var o;this.justifyContent=(o=e==null?void 0:e.justifyContent)!==null&&o!==void 0?o:"flex-start";var r;this.alignItems=(r=e==null?void 0:e.alignItems)!==null&&r!==void 0?r:"flex-start"};u.EncryptTypeEnum=void 0,function(t){t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK"}(u.EncryptTypeEnum||(u.EncryptTypeEnum={})),u.OrganizeType=void 0,function(t){t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(u.OrganizeType||(u.OrganizeType={})),u.DepartmentType=void 0,function(t){t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS"}(u.DepartmentType||(u.DepartmentType={})),u.AssignType=void 0,function(t){t.ALL="all",t.ASSIGN="assign"}(u.AssignType||(u.AssignType={})),u.InternalType=void 0,function(t){t.ALL="all",t.ADMIN="admin"}(u.InternalType||(u.InternalType={}));function TY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EY(t,e,n){return e=ki(e),BY(t,N$()?Reflect.construct(e,n||[],ki(t).constructor):e.apply(t,n))}function SY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function A$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ki(t){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ki(t)}function RY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qs(t,e)}function BY(t,e){return e&&(IY(e)==="object"||typeof e=="function")?e:TY(t)}function Qs(t,e){return Qs=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qs(t,e)}function IY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function N$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(N$=function(){return!!t})()}var Zs=function(t){RY(e,t);function e(n){SY(this,e);var o;o=EY(this,e,[n]),A$(o,"color",void 0),A$(o,"lineStyle",void 0);var r;o.color=(r=n==null?void 0:n.color)!==null&&r!==void 0?r:"#000";var i;return o.lineStyle=(i=n==null?void 0:n.lineStyle)!==null&&i!==void 0?i:u.LINE_STYLE.SOLID,o}return e}(x);function MY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function AY(t,e,n){return e=Di(e),DY(t,D$()?Reflect.construct(e,n||[],Di(t).constructor):e.apply(t,n))}function NY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function FY(t,e,n){return e&&F$(t.prototype,e),n&&F$(t,n),t}function k$(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Di(t){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Di(t)}function kY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ep(t,e)}function DY(t,e){return e&&(LY(e)==="object"||typeof e=="function")?e:MY(t)}function ep(t,e){return ep=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ep(t,e)}function LY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function D$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(D$=function(){return!!t})()}var L$=function(t){kY(e,t);function e(n){NY(this,e);var o;return o=AY(this,e,[n]),k$(o,"props",void 0),o.props=new Zs(n==null?void 0:n.props),o}return FY(e,null,[{key:"controlName",get:function(){return _.getMessage("divider")}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),e}(k);k$(L$,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]}]);function jY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CY(t,e,n){return e=Li(e),HY(t,C$()?Reflect.construct(e,n||[],Li(t).constructor):e.apply(t,n))}function VY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function zY(t,e,n){return e&&j$(t.prototype,e),n&&j$(t,n),t}function GY(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Li(t){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Li(t)}function YY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tp(t,e)}function HY(t,e){return e&&(qY(e)==="object"||typeof e=="function")?e:jY(t)}function tp(t,e){return tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tp(t,e)}function qY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function C$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C$=function(){return!!t})()}var xY=function(t){YY(e,t);function e(n){VY(this,e);var o;return o=CY(this,e,[n]),GY(o,"props",void 0),o.props=new Zs(n==null?void 0:n.props),o}return zY(e,null,[{key:"controlType",get:function(){return"divider"}}]),e}(U),V$={Designer:L$,Runtime:xY,Property:Zs};function UY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z$(t,e,n){return e=ji(e),WY(t,H$()?Reflect.construct(e,n||[],ji(t).constructor):e.apply(t,n))}function G$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ji(t){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ji(t)}function Y$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&np(t,e)}function WY(t,e){return e&&(KY(e)==="object"||typeof e=="function")?e:UY(t)}function np(t,e){return np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},np(t,e)}function KY(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function H$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(H$=function(){return!!t})()}var XY=function(t){Y$(e,t);function e(n){G$(this,e);var o;return o=z$(this,e,[n]),Ot(o,"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),Ot(o,"dataBind",{type:"any"}),Ot(o,"config",{type:"array"}),n.config.includes(u.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:_.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:_.getMessage("bizKeyNotBindFiled")}},message:_.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:_.getMessage("pleaseSelectOneField")}),o}return e}(J),Ci=function(t){Y$(e,t);function e(n){G$(this,e);var o;o=z$(this,e,[n]),Ot(o,"dataBind",void 0),Ot(o,"caption",void 0),Ot(o,"config",void 0),Ot(o,"position",void 0),o.dataBind=new Ae(n==null?void 0:n.dataBind);var r;o.config=(r=n==null?void 0:n.config)!==null&&r!==void 0?r:[u.TitleConfigEnum.ShowSubmitUser,u.TitleConfigEnum.ShowSubmitDept,u.TitleConfigEnum.ShowSubmitTime,u.TitleConfigEnum.ShowCurrentApprovar,u.TitleConfigEnum.ShowTitle];var i,c;o.caption=(c=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:dn==null?void 0:dn.controlName)!==null&&c!==void 0?c:"";var l;return o.position=(l=n==null?void 0:n.position)!==null&&l!==void 0?l:"top",o}return e}(x);Ot(Ci,"Rules",XY);function JY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QY(t,e,n){return e=Vi(e),nH(t,x$()?Reflect.construct(e,n||[],Vi(t).constructor):e.apply(t,n))}function ZY(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function q$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function eH(t,e,n){return e&&q$(t.prototype,e),n&&q$(t,n),t}function op(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vi(t){return Vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vi(t)}function tH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rp(t,e)}function nH(t,e){return e&&(oH(e)==="object"||typeof e=="function")?e:JY(t)}function rp(t,e){return rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rp(t,e)}function oH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function x$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(x$=function(){return!!t})()}var dn=function(t){tH(e,t);function e(n){ZY(this,e);var o;return o=QY(this,e,[n]),op(o,"props",void 0),o.props=new Ci(n==null?void 0:n.props),o}return eH(e,null,[{key:"controlName",get:function(){return _.getMessage("title")}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),e}(k);op(dn,"controlFieldType",u.FieldTypes.AUTO_NUMBER),op(dn,"setting",[{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function rH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iH(t,e,n){return e=zi(e),fH(t,W$()?Reflect.construct(e,n||[],zi(t).constructor):e.apply(t,n))}function uH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function U$(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function cH(t,e,n){return e&&U$(t.prototype,e),n&&U$(t,n),t}function lH(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zi(t){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zi(t)}function aH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ip(t,e)}function fH(t,e){return e&&(_H(e)==="object"||typeof e=="function")?e:rH(t)}function ip(t,e){return ip=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ip(t,e)}function _H(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function W$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(W$=function(){return!!t})()}var yH=function(t){aH(e,t);function e(n){uH(this,e);var o;return o=iH(this,e,[n]),lH(o,"props",void 0),o.props=new Ci(n==null?void 0:n.props),o}return cH(e,null,[{key:"controlType",get:function(){return"title"}}]),e}(U),K$={Designer:dn,Runtime:yH,Property:Ci};function sH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function X$(t,e,n){return e=Yi(e),pH(t,Z$()?Reflect.construct(e,n||[],Yi(t).constructor):e.apply(t,n))}function J$(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yi(t){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yi(t)}function Q$(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&up(t,e)}function pH(t,e){return e&&(vH(e)==="object"||typeof e=="function")?e:sH(t)}function up(t,e){return up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},up(t,e)}function vH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Z$(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Z$=function(){return!!t})()}var dH=function(t){Q$(e,t);function e(n){J$(this,e);var o;return o=X$(this,e,[n]),Gi(o,"formKey",{type:"string",required:!0,message:_.getMessage("pleaseEnterForm")}),o}return e}(J),Hi=function(t){Q$(e,t);function e(n){J$(this,e);var o;o=X$(this,e,[n]),Gi(o,"formKey",void 0),Gi(o,"openType",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:hn.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:hn.controlName;var c;o.formKey=(c=n==null?void 0:n.formKey)!==null&&c!==void 0?c:"";var l;return o.openType=(l=n==null?void 0:n.openType)!==null&&l!==void 0?l:"modal",o}return e}(de);Gi(Hi,"Rules",dH);function hH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bH(t,e,n){return e=xi(e),wH(t,tP()?Reflect.construct(e,n||[],xi(t).constructor):e.apply(t,n))}function gH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function OH(t,e,n){return e&&eP(t.prototype,e),n&&eP(t,n),t}function qi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xi(t){return xi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xi(t)}function mH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cp(t,e)}function wH(t,e){return e&&($H(e)==="object"||typeof e=="function")?e:hH(t)}function cp(t,e){return cp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cp(t,e)}function $H(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tP=function(){return!!t})()}var hn=function(t){mH(e,t);function e(n){gH(this,e);var o;return o=bH(this,e,[n]),qi(o,"props",void 0),o.props=new Hi(n==null?void 0:n.props),o}return OH(e,null,[{key:"controlName",get:function(){return _.getMessage("createFormListButton")}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),e}(se);qi(hn,"slots",["grid-table-toolbar-slot"]),qi(hn,"controlEventKeys",["on_click","on_click_finish"]),qi(hn,"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 PH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TH(t,e,n){return e=Ui(e),IH(t,oP()?Reflect.construct(e,n||[],Ui(t).constructor):e.apply(t,n))}function EH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SH(t,e,n){return e&&nP(t.prototype,e),n&&nP(t,n),t}function RH(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ui(t){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(t)}function BH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lp(t,e)}function IH(t,e){return e&&(MH(e)==="object"||typeof e=="function")?e:PH(t)}function lp(t,e){return lp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lp(t,e)}function MH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oP=function(){return!!t})()}var AH=function(t){BH(e,t);function e(n){EH(this,e);var o;return o=TH(this,e,[n]),RH(o,"props",void 0),o.props=new Hi(n==null?void 0:n.props),o}return SH(e,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),e}($e),rP={Designer:hn,Runtime:AH,Property:Hi};function NH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iP(t,e,n){return e=Wi(e),FH(t,lP()?Reflect.construct(e,n||[],Wi(t).constructor):e.apply(t,n))}function uP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wi(t){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wi(t)}function cP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ap(t,e)}function FH(t,e){return e&&(kH(e)==="object"||typeof e=="function")?e:NH(t)}function ap(t,e){return ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ap(t,e)}function kH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lP=function(){return!!t})()}var DH=function(t){cP(e,t);function e(n){uP(this,e);var o;return o=iP(this,e,[n]),bn(o,"processKey",[{type:"string",message:_.getMessage("isNotString")},{type:"string",required:!0,message:_.getMessage("pleaseEnterProcess")}]),o}return e}(J),Ki=function(t){cP(e,t);function e(n){uP(this,e);var o;o=iP(this,e,[n]),bn(o,"processKey",void 0),bn(o,"initiatorMode",void 0),bn(o,"fieldCode",void 0),bn(o,"employeeId",void 0);var r;o.icon=(r=n==null?void 0:n.icon)!==null&&r!==void 0?r:gn.controlIcon;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:gn.controlName;var c;o.initiatorMode=(c=n==null?void 0:n.initiatorMode)!==null&&c!==void 0?c:"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 f;return o.employeeId=(f=n==null?void 0:n.employeeId)!==null&&f!==void 0?f:"",o}return e}(de);bn(Ki,"Rules",DH);function LH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jH(t,e,n){return e=Ji(e),GH(t,fP()?Reflect.construct(e,n||[],Ji(t).constructor):e.apply(t,n))}function CH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function aP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function VH(t,e,n){return e&&aP(t.prototype,e),n&&aP(t,n),t}function Xi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ji(t){return Ji=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ji(t)}function zH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fp(t,e)}function GH(t,e){return e&&(YH(e)==="object"||typeof e=="function")?e:LH(t)}function fp(t,e){return fp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fp(t,e)}function YH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fP=function(){return!!t})()}var gn=function(t){zH(e,t);function e(n){CH(this,e);var o;return o=jH(this,e,[n]),Xi(o,"props",void 0),o.props=new Ki(n==null?void 0:n.props),o}return VH(e,null,[{key:"controlName",get:function(){return _.getMessage("batchSubmissionListButton")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),e}(se);Xi(gn,"slots",["grid-table-toolbar-slot"]),Xi(gn,"controlEventKeys",["on_click","on_click_finish"]),Xi(gn,"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 HH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qH(t,e,n){return e=Qi(e),XH(t,yP()?Reflect.construct(e,n||[],Qi(t).constructor):e.apply(t,n))}function xH(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _P(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function UH(t,e,n){return e&&_P(t.prototype,e),n&&_P(t,n),t}function WH(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qi(t){return Qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qi(t)}function KH(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_p(t,e)}function XH(t,e){return e&&(JH(e)==="object"||typeof e=="function")?e:HH(t)}function _p(t,e){return _p=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_p(t,e)}function JH(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yP=function(){return!!t})()}var QH=function(t){KH(e,t);function e(n){xH(this,e);var o;return o=qH(this,e,[n]),WH(o,"props",void 0),o.props=new Ki(n==null?void 0:n.props),o}return UH(e,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),e}($e),sP={Designer:gn,Runtime:QH,Property:Ki};function ZH(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eq(t,e,n){return e=Zi(e),oq(t,pP()?Reflect.construct(e,n||[],Zi(t).constructor):e.apply(t,n))}function tq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zi(t){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zi(t)}function nq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yp(t,e)}function oq(t,e){return e&&(rq(e)==="object"||typeof e=="function")?e:ZH(t)}function yp(t,e){return yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yp(t,e)}function rq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pP=function(){return!!t})()}var sp=function(t){nq(e,t);function e(n){tq(this,e);var o;o=eq(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:On.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:On.controlIcon,o}return e}(de);function iq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uq(t,e,n){return e=tu(e),fq(t,dP()?Reflect.construct(e,n||[],tu(t).constructor):e.apply(t,n))}function cq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function lq(t,e,n){return e&&vP(t.prototype,e),n&&vP(t,n),t}function eu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tu(t){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tu(t)}function aq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pp(t,e)}function fq(t,e){return e&&(_q(e)==="object"||typeof e=="function")?e:iq(t)}function pp(t,e){return pp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pp(t,e)}function _q(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dP=function(){return!!t})()}var On=function(t){aq(e,t);function e(n){cq(this,e);var o;return o=uq(this,e,[n]),eu(o,"props",void 0),o.props=new sp(n==null?void 0:n.props),o}return lq(e,null,[{key:"controlName",get:function(){return _.getMessage("submissionRecordListButton")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),e}(se);eu(On,"slots",["grid-table-toolbar-slot"]),eu(On,"controlEventKeys",["on_click"]),eu(On,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function yq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sq(t,e,n){return e=nu(e),bq(t,bP()?Reflect.construct(e,n||[],nu(t).constructor):e.apply(t,n))}function pq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function vq(t,e,n){return e&&hP(t.prototype,e),n&&hP(t,n),t}function dq(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nu(t){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nu(t)}function hq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vp(t,e)}function bq(t,e){return e&&(gq(e)==="object"||typeof e=="function")?e:yq(t)}function vp(t,e){return vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vp(t,e)}function gq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bP=function(){return!!t})()}var Oq=function(t){hq(e,t);function e(n){pq(this,e);var o;return o=sq(this,e,[n]),dq(o,"props",void 0),o.props=new sp(n==null?void 0:n.props),o}return vq(e,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),e}($e),gP={Designer:On,Runtime:Oq,Property:sp};function mq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wq(t,e,n){return e=ou(e),Tq(t,mP()?Reflect.construct(e,n||[],ou(t).constructor):e.apply(t,n))}function $q(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function OP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ou(t){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(t)}function Pq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dp(t,e)}function Tq(t,e){return e&&(Eq(e)==="object"||typeof e=="function")?e:mq(t)}function dp(t,e){return dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dp(t,e)}function Eq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mP=function(){return!!t})()}var hp=function(t){Pq(e,t);function e(n){$q(this,e);var o,r;o=wq(this,e,[n]),OP(o,"templateList",void 0),OP(o,"templateType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:mn.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:mn.controlName;var l;o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system";var a;return o.templateList=(a=n==null||(r=n.templateList)===null||r===void 0?void 0:r.map(function(f){return new Ao(f)}))!==null&&a!==void 0?a:[new Ao({id:"default",name:_.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return e}(de);function Sq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rq(t,e,n){return e=iu(e),Aq(t,$P()?Reflect.construct(e,n||[],iu(t).constructor):e.apply(t,n))}function Bq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Iq(t,e,n){return e&&wP(t.prototype,e),n&&wP(t,n),t}function ru(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function iu(t){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},iu(t)}function Mq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bp(t,e)}function Aq(t,e){return e&&(Nq(e)==="object"||typeof e=="function")?e:Sq(t)}function bp(t,e){return bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bp(t,e)}function Nq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($P=function(){return!!t})()}var mn=function(t){Mq(e,t);function e(n){Bq(this,e);var o;return o=Rq(this,e,[n]),ru(o,"props",void 0),o.props=new hp(n==null?void 0:n.props),o}return Iq(e,null,[{key:"controlName",get:function(){return _.getMessage("exportListButton")}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),e}(se);ru(mn,"slots",["grid-table-toolbar-slot"]),ru(mn,"controlEventKeys",["on_click","on_click_finish"]),ru(mn,"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 Fq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kq(t,e,n){return e=uu(e),Vq(t,TP()?Reflect.construct(e,n||[],uu(t).constructor):e.apply(t,n))}function Dq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function PP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Lq(t,e,n){return e&&PP(t.prototype,e),n&&PP(t,n),t}function jq(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function uu(t){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(t)}function Cq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gp(t,e)}function Vq(t,e){return e&&(zq(e)==="object"||typeof e=="function")?e:Fq(t)}function gp(t,e){return gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gp(t,e)}function zq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(TP=function(){return!!t})()}var Gq=function(t){Cq(e,t);function e(n){Dq(this,e);var o;return o=kq(this,e,[n]),jq(o,"props",void 0),o.props=new hp(n==null?void 0:n.props),o}return Lq(e,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),e}($e),EP={Designer:mn,Runtime:Gq,Property:hp};function Yq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hq(t,e,n){return e=cu(e),Uq(t,SP()?Reflect.construct(e,n||[],cu(t).constructor):e.apply(t,n))}function qq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cu(t){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cu(t)}function xq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Op(t,e)}function Uq(t,e){return e&&(Wq(e)==="object"||typeof e=="function")?e:Yq(t)}function Op(t,e){return Op=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Op(t,e)}function Wq(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SP=function(){return!!t})()}var mp=function(t){xq(e,t);function e(n){qq(this,e);var o;o=Hq(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:wn.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:wn.controlIcon,o}return e}(de);function Kq(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xq(t,e,n){return e=au(e),ex(t,BP()?Reflect.construct(e,n||[],au(t).constructor):e.apply(t,n))}function Jq(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function RP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Qq(t,e,n){return e&&RP(t.prototype,e),n&&RP(t,n),t}function lu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function au(t){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},au(t)}function Zq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wp(t,e)}function ex(t,e){return e&&(tx(e)==="object"||typeof e=="function")?e:Kq(t)}function wp(t,e){return wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wp(t,e)}function tx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BP=function(){return!!t})()}var wn=function(t){Zq(e,t);function e(n){Jq(this,e);var o;return o=Xq(this,e,[n]),lu(o,"props",void 0),o.props=new mp(n==null?void 0:n.props),o}return Qq(e,null,[{key:"controlName",get:function(){return _.getMessage("exportRecordListButton")}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),e}(se);lu(wn,"slots",["grid-table-toolbar-slot"]),lu(wn,"controlEventKeys",["on_click"]),lu(wn,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function nx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ox(t,e,n){return e=fu(e),lx(t,MP()?Reflect.construct(e,n||[],fu(t).constructor):e.apply(t,n))}function rx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function IP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ix(t,e,n){return e&&IP(t.prototype,e),n&&IP(t,n),t}function ux(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fu(t){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fu(t)}function cx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$p(t,e)}function lx(t,e){return e&&(ax(e)==="object"||typeof e=="function")?e:nx(t)}function $p(t,e){return $p=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$p(t,e)}function ax(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MP=function(){return!!t})()}var fx=function(t){cx(e,t);function e(n){rx(this,e);var o;return o=ox(this,e,[n]),ux(o,"props",void 0),o.props=new mp(n==null?void 0:n.props),o}return ix(e,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),e}($e),AP={Designer:wn,Runtime:fx,Property:mp};function _x(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yx(t,e,n){return e=_u(e),px(t,FP()?Reflect.construct(e,n||[],_u(t).constructor):e.apply(t,n))}function NP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _u(t){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(t)}function sx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tp(t,e)}function px(t,e){return e&&(vx(e)==="object"||typeof e=="function")?e:_x(t)}function Tp(t,e){return Tp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tp(t,e)}function vx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FP=function(){return!!t})()}var dx=function t(e){NP(this,t),Pp(this,"dataCode",void 0),this.dataCode=e.dataCode},Ep=function(t){sx(e,t);function e(n){NP(this,e);var o,r;o=yx(this,e,[n]),Pp(o,"canImportList",void 0),Pp(o,"templateType",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:$n.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:$n.controlIcon;var l;o.canImportList=(l=n==null||(r=n.canImportList)===null||r===void 0?void 0:r.map(function(f){return new dx(f)}))!==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 e}(de);function hx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bx(t,e,n){return e=su(e),wx(t,DP()?Reflect.construct(e,n||[],su(t).constructor):e.apply(t,n))}function gx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Ox(t,e,n){return e&&kP(t.prototype,e),n&&kP(t,n),t}function yu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function su(t){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(t)}function mx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sp(t,e)}function wx(t,e){return e&&($x(e)==="object"||typeof e=="function")?e:hx(t)}function Sp(t,e){return Sp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sp(t,e)}function $x(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function DP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(DP=function(){return!!t})()}var $n=function(t){mx(e,t);function e(n){gx(this,e);var o;return o=bx(this,e,[n]),yu(o,"props",void 0),o.props=new Ep(n==null?void 0:n.props),o}return Ox(e,null,[{key:"controlName",get:function(){return _.getMessage("importRecordListButton")}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),e}(se);yu($n,"slots",["grid-table-toolbar-slot"]),yu($n,"controlEventKeys",["on_click","on_click_finish"]),yu($n,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function Px(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tx(t,e,n){return e=pu(e),Ix(t,jP()?Reflect.construct(e,n||[],pu(t).constructor):e.apply(t,n))}function Ex(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function LP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Sx(t,e,n){return e&&LP(t.prototype,e),n&&LP(t,n),t}function Rx(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pu(t){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pu(t)}function Bx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rp(t,e)}function Ix(t,e){return e&&(Mx(e)==="object"||typeof e=="function")?e:Px(t)}function Rp(t,e){return Rp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rp(t,e)}function Mx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jP=function(){return!!t})()}var Ax=function(t){Bx(e,t);function e(n){Ex(this,e);var o;return o=Tx(this,e,[n]),Rx(o,"props",void 0),o.props=new Ep(n==null?void 0:n.props),o}return Sx(e,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),e}($e),CP={Designer:$n,Runtime:Ax,Property:Ep};function vu(){return{dataCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:_.getMessage("pleaseSelectControl")}}}}}}function Nx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VP(t,e,n){return e=du(e),Fx(t,HP()?Reflect.construct(e,n||[],du(t).constructor):e.apply(t,n))}function zP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function du(t){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},du(t)}function GP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bp(t,e)}function YP(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){rt(t,r,n[r])})}return t}function Fx(t,e){return e&&(kx(e)==="object"||typeof e=="function")?e:Nx(t)}function Bp(t,e){return Bp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bp(t,e)}function kx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HP=function(){return!!t})()}var Dx=function(t){GP(e,t);function e(n){zP(this,e);var o;return o=VP(this,e,[n]),rt(o,"fillPayload",{type:"object",fields:YP({},vu())}),rt(o,"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:_.getMessage("pleaseEnterList")}}}),rt(o,"fillBack",{type:"object",fields:YP({mode:{type:"string",required:!0,message:_.getMessage("pleaseSelectFillBackMode")}},vu())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:_.getMessage("pleaseSelectControl")}),o}return e}(J),hu=function(t){GP(e,t);function e(n){zP(this,e);var o;o=VP(this,e,[n]),rt(o,"fillPayload",void 0),rt(o,"formBind",void 0),rt(o,"fillBack",void 0),rt(o,"command",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Fo.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Fo.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new xy(n==null?void 0:n.fillPayload),o.formBind=new Am(n==null?void 0:n.formBind),o.fillBack=new Uy(n==null?void 0:n.fillBack),o}return e}(de);rt(hu,"Rules",Dx);function Lx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jx(t,e,n){return e=bu(e),Gx(t,xP()?Reflect.construct(e,n||[],bu(t).constructor):e.apply(t,n))}function Cx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Vx(t,e,n){return e&&qP(t.prototype,e),n&&qP(t,n),t}function Ip(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bu(t){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(t)}function zx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mp(t,e)}function Gx(t,e){return e&&(Yx(e)==="object"||typeof e=="function")?e:Lx(t)}function Mp(t,e){return Mp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mp(t,e)}function Yx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xP=function(){return!!t})()}var Fo=function(t){zx(e,t);function e(n){Cx(this,e);var o;return o=jx(this,e,[n]),Ip(o,"props",void 0),o.props=new hu(n==null?void 0:n.props),o}return Vx(e,null,[{key:"controlName",get:function(){return _.getMessage("formSelectButton")}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),e}(se);Ip(Fo,"controlEventKeys",["on_click","on_click_finish"]),Ip(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:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function Hx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qx(t,e,n){return e=gu(e),Xx(t,WP()?Reflect.construct(e,n||[],gu(t).constructor):e.apply(t,n))}function xx(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function UP(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Ux(t,e,n){return e&&UP(t.prototype,e),n&&UP(t,n),t}function Wx(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gu(t){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(t)}function Kx(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ap(t,e)}function Xx(t,e){return e&&(Jx(e)==="object"||typeof e=="function")?e:Hx(t)}function Ap(t,e){return Ap=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ap(t,e)}function Jx(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WP(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WP=function(){return!!t})()}var Qx=function(t){Kx(e,t);function e(n){xx(this,e);var o;return o=qx(this,e,[n]),Wx(o,"props",void 0),o.props=new hu(n==null?void 0:n.props),o}return Ux(e,null,[{key:"controlType",get:function(){return"form-select-button"}}]),e}($e),KP={Designer:Fo,Runtime:Qx,Property:hu};function Zx(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function XP(t,e,n){return e=Ou(e),eU(t,eT()?Reflect.construct(e,n||[],Ou(t).constructor):e.apply(t,n))}function JP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ou(t){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(t)}function QP(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Np(t,e)}function ZP(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){Fe(t,r,n[r])})}return t}function eU(t,e){return e&&(tU(e)==="object"||typeof e=="function")?e:Zx(t)}function Np(t,e){return Np=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Np(t,e)}function tU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eT=function(){return!!t})()}var nU=function(t){QP(e,t);function e(n){JP(this,e);var o;return o=XP(this,e,[n]),Fe(o,"fillPayload",{type:"object",fields:ZP({},vu())}),Fe(o,"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:_.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:_.getMessage("pleaseSelectAtLeastOneColumn")}}}),Fe(o,"fillBack",{type:"object",fields:ZP({mode:{type:"string",required:!0,message:_.getMessage("pleaseSelectFillBackMode")}},vu())}),o}return e}(J),mu=function(t){QP(e,t);function e(n){JP(this,e);var o;o=XP(this,e,[n]),Fe(o,"fillPayload",void 0),Fe(o,"listPageBind",void 0),Fe(o,"disableFilling",void 0),Fe(o,"fillBack",void 0),Fe(o,"showSelectedDetail",void 0),Fe(o,"isSelectedRowFill",void 0),Fe(o,"selectedContentConfig",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:ko.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:ko.controlIcon,o.fillPayload=new xy(n==null?void 0:n.fillPayload),o.listPageBind=new Gr(n==null?void 0:n.listPageBind),o.fillBack=new Uy(n==null?void 0:n.fillBack);var c;o.showSelectedDetail=(c=n==null?void 0:n.showSelectedDetail)!==null&&c!==void 0?c:!1,o.selectedContentConfig=new qr(n==null?void 0:n.selectedContentConfig);var l;o.isSelectedRowFill=(l=n==null?void 0:n.isSelectedRowFill)!==null&&l!==void 0?l:!1;var a;return o.disableFilling=(a=n==null?void 0:n.disableFilling)!==null&&a!==void 0?a:!0,o}return e}(de);Fe(mu,"Rules",nU);function oU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rU(t,e,n){return e=wu(e),lU(t,nT()?Reflect.construct(e,n||[],wu(t).constructor):e.apply(t,n))}function iU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uU(t,e,n){return e&&tT(t.prototype,e),n&&tT(t,n),t}function Fp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wu(t){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(t)}function cU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kp(t,e)}function lU(t,e){return e&&(aU(e)==="object"||typeof e=="function")?e:oU(t)}function kp(t,e){return kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kp(t,e)}function aU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nT=function(){return!!t})()}var ko=function(t){cU(e,t);function e(n){iU(this,e);var o;return o=rU(this,e,[n]),Fp(o,"props",void 0),o.props=new mu(n==null?void 0:n.props),o}return uU(e,null,[{key:"controlName",get:function(){return _.getMessage("listSelectButton")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),e}(se);Fp(ko,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),Fp(ko,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function fU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _U(t,e,n){return e=$u(e),dU(t,rT()?Reflect.construct(e,n||[],$u(t).constructor):e.apply(t,n))}function yU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function sU(t,e,n){return e&&oT(t.prototype,e),n&&oT(t,n),t}function pU(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $u(t){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$u(t)}function vU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dp(t,e)}function dU(t,e){return e&&(hU(e)==="object"||typeof e=="function")?e:fU(t)}function Dp(t,e){return Dp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dp(t,e)}function hU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rT=function(){return!!t})()}var bU=function(t){vU(e,t);function e(n){yU(this,e);var o;return o=_U(this,e,[n]),pU(o,"props",void 0),o.props=new mu(n==null?void 0:n.props),o}return sU(e,null,[{key:"controlType",get:function(){return"list-select-button"}}]),e}($e),iT={Designer:ko,Runtime:bU,Property:mu};function gU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lp(t,e,n){return e=Pu(e),OU(t,cT()?Reflect.construct(e,n||[],Pu(t).constructor):e.apply(t,n))}function jp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uT(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pu(t){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pu(t)}function Cp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vp(t,e)}function OU(t,e){return e&&(mU(e)==="object"||typeof e=="function")?e:gU(t)}function Vp(t,e){return Vp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vp(t,e)}function mU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cT=function(){return!!t})()}var wU=function(t){Cp(e,t);function e(n){return jp(this,e),Lp(this,e,[n])}return e}(J),$U=function(t){Cp(e,t);function e(n){return jp(this,e),Lp(this,e,[n])}return e}(vt),Do=function(t){Cp(e,t);function e(n){return jp(this,e),Lp(this,e,[n])}return e}(x);uT(Do,"Rules",wU),uT(Do,"RuntimeRules",$U);function PU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function TU(t,e,n){return e=Tu(e),BU(t,fT()?Reflect.construct(e,n||[],Tu(t).constructor):e.apply(t,n))}function EU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function SU(t,e,n){return e&&lT(t.prototype,e),n&&lT(t,n),t}function aT(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tu(t){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(t)}function RU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zp(t,e)}function BU(t,e){return e&&(IU(e)==="object"||typeof e=="function")?e:PU(t)}function zp(t,e){return zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zp(t,e)}function IU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fT=function(){return!!t})()}var _T=function(t){RU(e,t);function e(n){EU(this,e);var o;return o=TU(this,e,[n]),aT(o,"props",void 0),o.props=new Do(n==null?void 0:n.props),o}return SU(e,null,[{key:"controlName",get:function(){return _.getMessage("pagination")}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),e}(k);aT(_T,"setting",[]);function MU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function AU(t,e,n){return e=Eu(e),LU(t,sT()?Reflect.construct(e,n||[],Eu(t).constructor):e.apply(t,n))}function NU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function FU(t,e,n){return e&&yT(t.prototype,e),n&&yT(t,n),t}function kU(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Eu(t){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Eu(t)}function DU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gp(t,e)}function LU(t,e){return e&&(jU(e)==="object"||typeof e=="function")?e:MU(t)}function Gp(t,e){return Gp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gp(t,e)}function jU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sT=function(){return!!t})()}var CU=function(t){DU(e,t);function e(n){NU(this,e);var o;return o=AU(this,e,[n]),kU(o,"props",void 0),o.props=new Do(n==null?void 0:n.props),o}return FU(e,null,[{key:"controlType",get:function(){return"pagination"}}]),e}(U),pT={Designer:_T,Runtime:CU,Property:Do};function VU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vT(t,e,n){return e=Su(e),zU(t,bT()?Reflect.construct(e,n||[],Su(t).constructor):e.apply(t,n))}function dT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ke(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Su(t){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Su(t)}function hT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yp(t,e)}function zU(t,e){return e&&(GU(e)==="object"||typeof e=="function")?e:VU(t)}function Yp(t,e){return Yp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yp(t,e)}function GU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bT=function(){return!!t})()}var YU=function(t){hT(e,t);function e(n){dT(this,e);var o;return o=vT(this,e,[n]),ke(o,"dashboardKey",{type:"string",required:!0,message:_.getMessage("pleaseSelectDashboard")}),ke(o,"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),ke(o,"isHideCaption",{type:"boolean"}),ke(o,"labelPosition",{type:"enum",enum:["top","left"]}),ke(o,"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(J),Ru=function(t){hT(e,t);function e(n){dT(this,e);var o;o=vT(this,e,[n]),ke(o,"dashboardKey",void 0),ke(o,"caption",void 0),ke(o,"isHideCaption",void 0),ke(o,"isShowCaptionTip",void 0),ke(o,"captionTip",void 0),ke(o,"labelPosition",void 0);var r;o.dashboardKey=(r=n==null?void 0:n.dashboardKey)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!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 f;return o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top",o}return e}(x);ke(Ru,"Rules",YU);function HU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qU(t,e,n){return e=Bu(e),KU(t,mT()?Reflect.construct(e,n||[],Bu(t).constructor):e.apply(t,n))}function xU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function UU(t,e,n){return e&&gT(t.prototype,e),n&&gT(t,n),t}function OT(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bu(t){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bu(t)}function WU(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hp(t,e)}function KU(t,e){return e&&(XU(e)==="object"||typeof e=="function")?e:HU(t)}function Hp(t,e){return Hp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hp(t,e)}function XU(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mT=function(){return!!t})()}var wT=function(t){WU(e,t);function e(n){xU(this,e);var o;return o=qU(this,e,[n]),OT(o,"props",void 0),o.props=new Ru(n==null?void 0:n.props),o}return UU(e,null,[{key:"controlName",get:function(){return _.getMessage("dashboard")}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),e}(k);OT(wT,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function JU(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QU(t,e,n){return e=Iu(e),oW(t,PT()?Reflect.construct(e,n||[],Iu(t).constructor):e.apply(t,n))}function ZU(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $T(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function eW(t,e,n){return e&&$T(t.prototype,e),n&&$T(t,n),t}function tW(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Iu(t){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(t)}function nW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qp(t,e)}function oW(t,e){return e&&(rW(e)==="object"||typeof e=="function")?e:JU(t)}function qp(t,e){return qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qp(t,e)}function rW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PT=function(){return!!t})()}var iW=function(t){nW(e,t);function e(n){ZU(this,e);var o;return o=QU(this,e,[n]),tW(o,"props",void 0),o.props=new Ru(n==null?void 0:n.props),o}return eW(e,null,[{key:"controlType",get:function(){return"dashboard"}}]),e}(U),TT={Designer:wT,Runtime:iW,Property:Ru};function uW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ET(t,e,n){return e=Mu(e),cW(t,BT()?Reflect.construct(e,n||[],Mu(t).constructor):e.apply(t,n))}function ST(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mu(t){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mu(t)}function RT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xp(t,e)}function cW(t,e){return e&&(lW(e)==="object"||typeof e=="function")?e:uW(t)}function xp(t,e){return xp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xp(t,e)}function lW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BT=function(){return!!t})()}var aW=function(t){RT(e,t);function e(n){ST(this,e);var o;return o=ET(this,e,[n]),Lo(o,"showType",{type:"enum",enum:["select","tabs"]}),Lo(o,"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:_.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:_.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return e}(J),Au=function(t){RT(e,t);function e(n){ST(this,e);var o,r;o=ET(this,e,[n]),Lo(o,"showType",void 0),Lo(o,"viewList",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"select";var c;return o.viewList=(c=n==null||(r=n.viewList)===null||r===void 0?void 0:r.map(function(l){return new Xm(l)}))!==null&&c!==void 0?c:[],o}return e}(x);Lo(Au,"Rules",aW);function fW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _W(t,e,n){return e=Nu(e),vW(t,AT()?Reflect.construct(e,n||[],Nu(t).constructor):e.apply(t,n))}function yW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function IT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function sW(t,e,n){return e&&IT(t.prototype,e),n&&IT(t,n),t}function MT(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nu(t){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(t)}function pW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Up(t,e)}function vW(t,e){return e&&(dW(e)==="object"||typeof e=="function")?e:fW(t)}function Up(t,e){return Up=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Up(t,e)}function dW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AT=function(){return!!t})()}var NT=function(t){pW(e,t);function e(n){yW(this,e);var o;return o=_W(this,e,[n]),MT(o,"props",void 0),o.props=new Au(n==null?void 0:n.props),o}return sW(e,null,[{key:"controlName",get:function(){return _.getMessage("listViewSelect")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),e}(k);MT(NT,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function hW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bW(t,e,n){return e=Fu(e),$W(t,kT()?Reflect.construct(e,n||[],Fu(t).constructor):e.apply(t,n))}function gW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function FT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function OW(t,e,n){return e&&FT(t.prototype,e),n&&FT(t,n),t}function mW(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fu(t){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fu(t)}function wW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wp(t,e)}function $W(t,e){return e&&(PW(e)==="object"||typeof e=="function")?e:hW(t)}function Wp(t,e){return Wp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wp(t,e)}function PW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kT=function(){return!!t})()}var TW=function(t){wW(e,t);function e(n){gW(this,e);var o;return o=bW(this,e,[n]),mW(o,"props",void 0),o.props=new Au(n==null?void 0:n.props),o}return OW(e,null,[{key:"controlType",get:function(){return"list-view-select"}}]),e}(U),DT={Designer:NT,Runtime:TW,Property:Au};function EW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LT(t,e,n){return e=ku(e),SW(t,VT()?Reflect.construct(e,n||[],ku(t).constructor):e.apply(t,n))}function jT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function be(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ku(t){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(t)}function CT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kp(t,e)}function SW(t,e){return e&&(RW(e)==="object"||typeof e=="function")?e:EW(t)}function Kp(t,e){return Kp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kp(t,e)}function RW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VT=function(){return!!t})()}var BW=function(t){CT(e,t);function e(n){jT(this,e);var o;return o=LT(this,e,[n]),be(o,"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),be(o,"isHideCaption",{type:"boolean"}),be(o,"labelPosition",{type:"enum",enum:["top","left"]}),be(o,"ocrType",{type:"string",required:!0,message:_.getMessage("pleaseSelectOcrType")}),be(o,"fillList",{type:"array",validator:function(i,c,l){var a=c.every(function(f){return!f.controlId});if(a){l(_.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),be(o,"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(J),Du=function(t){CT(e,t);function e(n){jT(this,e);var o,r;o=LT(this,e,[n]),be(o,"caption",void 0),be(o,"isHideCaption",void 0),be(o,"isShowCaptionTip",void 0),be(o,"captionTip",void 0),be(o,"labelPosition",void 0),be(o,"ocrType",void 0),be(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Pn.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!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 f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:Pn.controlName;var s;o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:Pn.controlIcon;var v;o.ocrType=(v=n==null?void 0:n.ocrType)!==null&&v!==void 0?v:"";var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(g){return new ve(g)}))!==null&&b!==void 0?b:[],o}return e}(de);be(Du,"Rules",BW);function IW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MW(t,e,n){return e=Lu(e),kW(t,GT()?Reflect.construct(e,n||[],Lu(t).constructor):e.apply(t,n))}function AW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function NW(t,e,n){return e&&zT(t.prototype,e),n&&zT(t,n),t}function Xp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lu(t){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lu(t)}function FW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jp(t,e)}function kW(t,e){return e&&(DW(e)==="object"||typeof e=="function")?e:IW(t)}function Jp(t,e){return Jp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jp(t,e)}function DW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GT=function(){return!!t})()}var Pn=function(t){FW(e,t);function e(n){AW(this,e);var o;return o=MW(this,e,[n]),Xp(o,"props",void 0),o.props=new Du(n==null?void 0:n.props),o}return NW(e,null,[{key:"controlName",get:function(){return _.getMessage("textOcrButton")}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),e}(se);Xp(Pn,"controlEventKeys",["on_click","on_click_finish"]),Xp(Pn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function LW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jW(t,e,n){return e=ju(e),YW(t,HT()?Reflect.construct(e,n||[],ju(t).constructor):e.apply(t,n))}function CW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function YT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function VW(t,e,n){return e&&YT(t.prototype,e),n&&YT(t,n),t}function zW(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ju(t){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ju(t)}function GW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qp(t,e)}function YW(t,e){return e&&(HW(e)==="object"||typeof e=="function")?e:LW(t)}function Qp(t,e){return Qp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qp(t,e)}function HW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HT=function(){return!!t})()}var qW=function(t){GW(e,t);function e(n){CW(this,e);var o;return o=jW(this,e,[n]),zW(o,"props",void 0),o.props=new Du(n==null?void 0:n.props),o}return VW(e,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),e}($e),qT={Designer:Pn,Runtime:qW,Property:Du};function xW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xT(t,e,n){return e=Cu(e),UW(t,KT()?Reflect.construct(e,n||[],Cu(t).constructor):e.apply(t,n))}function UT(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cu(t){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cu(t)}function WT(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zp(t,e)}function UW(t,e){return e&&(WW(e)==="object"||typeof e=="function")?e:xW(t)}function Zp(t,e){return Zp=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zp(t,e)}function WW(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KT=function(){return!!t})()}var KW=function(t){WT(e,t);function e(n){UT(this,e);var o;return o=xT(this,e,[n]),ge(o,"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),ge(o,"isHideCaption",{type:"boolean"}),ge(o,"labelPosition",{type:"enum",enum:["top","left"]}),ge(o,"invoiceCheck",{type:"boolean"}),ge(o,"fillList",{type:"array",validator:function(i,c,l){var a=c.every(function(f){return!f.controlId});if(a){l(_.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),ge(o,"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(J),Vu=function(t){WT(e,t);function e(n){UT(this,e);var o,r;o=xT(this,e,[n]),ge(o,"caption",void 0),ge(o,"isHideCaption",void 0),ge(o,"isShowCaptionTip",void 0),ge(o,"captionTip",void 0),ge(o,"labelPosition",void 0),ge(o,"invoiceCheck",void 0),ge(o,"fillList",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Tn.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!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 f;o.labelPosition=(f=n==null?void 0:n.labelPosition)!==null&&f!==void 0?f:"top";var y;o.content=(y=n==null?void 0:n.content)!==null&&y!==void 0?y:Tn.controlName;var s;o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:Tn.controlIcon;var v;o.invoiceCheck=(v=n==null?void 0:n.invoiceCheck)!==null&&v!==void 0?v:!0;var b;return o.fillList=(b=n==null||(r=n.fillList)===null||r===void 0?void 0:r.map(function(g){return new ve(g)}))!==null&&b!==void 0?b:[],o}return e}(de);ge(Vu,"Rules",KW);function XW(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JW(t,e,n){return e=zu(e),tK(t,JT()?Reflect.construct(e,n||[],zu(t).constructor):e.apply(t,n))}function QW(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ZW(t,e,n){return e&&XT(t.prototype,e),n&&XT(t,n),t}function ev(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zu(t){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(t)}function eK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tv(t,e)}function tK(t,e){return e&&(nK(e)==="object"||typeof e=="function")?e:XW(t)}function tv(t,e){return tv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tv(t,e)}function nK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JT=function(){return!!t})()}var Tn=function(t){eK(e,t);function e(n){QW(this,e);var o;return o=JW(this,e,[n]),ev(o,"props",void 0),o.props=new Vu(n==null?void 0:n.props),o}return ZW(e,null,[{key:"controlName",get:function(){return _.getMessage("invoiceCheckButton")}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),e}(se);ev(Tn,"controlEventKeys",["on_click","on_click_finish"]),ev(Tn,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function oK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rK(t,e,n){return e=Gu(e),aK(t,ZT()?Reflect.construct(e,n||[],Gu(t).constructor):e.apply(t,n))}function iK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function QT(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uK(t,e,n){return e&&QT(t.prototype,e),n&&QT(t,n),t}function cK(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gu(t){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gu(t)}function lK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nv(t,e)}function aK(t,e){return e&&(fK(e)==="object"||typeof e=="function")?e:oK(t)}function nv(t,e){return nv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nv(t,e)}function fK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZT(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZT=function(){return!!t})()}var _K=function(t){lK(e,t);function e(n){iK(this,e);var o;return o=rK(this,e,[n]),cK(o,"props",void 0),o.props=new Vu(n==null?void 0:n.props),o}return uK(e,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),e}($e),eE={Designer:Tn,Runtime:_K,Property:Vu};function yK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tE(t,e,n){return e=Hu(e),sK(t,rE()?Reflect.construct(e,n||[],Hu(t).constructor):e.apply(t,n))}function nE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hu(t){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hu(t)}function oE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ov(t,e)}function sK(t,e){return e&&(pK(e)==="object"||typeof e=="function")?e:yK(t)}function ov(t,e){return ov=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ov(t,e)}function pK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function rE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rE=function(){return!!t})()}var vK=function(t){oE(e,t);function e(){nE(this,e);var n;return n=tE(this,e,arguments),Yu(n,"printTemplates",{type:"array",min:1,required:!0,message:_.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return e}(J),qu=function(t){oE(e,t);function e(n){nE(this,e);var o,r;o=tE(this,e,[n]),Yu(o,"printTemplates",void 0),Yu(o,"autoSelectTemplate",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:En.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:En.controlName;var l;o.printTemplates=(l=n==null||(r=n.printTemplates)===null||r===void 0?void 0:r.map(function(f){return new I$(f)}))!==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 e}(de);Yu(qu,"Rules",vK);function dK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hK(t,e,n){return e=Uu(e),mK(t,uE()?Reflect.construct(e,n||[],Uu(t).constructor):e.apply(t,n))}function bK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function iE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function gK(t,e,n){return e&&iE(t.prototype,e),n&&iE(t,n),t}function xu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uu(t){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uu(t)}function OK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rv(t,e)}function mK(t,e){return e&&(wK(e)==="object"||typeof e=="function")?e:dK(t)}function rv(t,e){return rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rv(t,e)}function wK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uE=function(){return!!t})()}var En=function(t){OK(e,t);function e(n){bK(this,e);var o;return o=hK(this,e,[n]),xu(o,"props",void 0),o.props=new qu(n==null?void 0:n.props),o}return gK(e,null,[{key:"controlName",get:function(){return _.getMessage("batchPrintListButton")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),e}(se);xu(En,"slots",["grid-table-toolbar-slot"]),xu(En,"controlEventKeys",["on_click","on_click_finish"]),xu(En,"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 $K(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function PK(t,e,n){return e=Wu(e),BK(t,lE()?Reflect.construct(e,n||[],Wu(t).constructor):e.apply(t,n))}function TK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function EK(t,e,n){return e&&cE(t.prototype,e),n&&cE(t,n),t}function SK(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wu(t){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wu(t)}function RK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&iv(t,e)}function BK(t,e){return e&&(IK(e)==="object"||typeof e=="function")?e:$K(t)}function iv(t,e){return iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},iv(t,e)}function IK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lE=function(){return!!t})()}var MK=function(t){RK(e,t);function e(n){TK(this,e);var o;return o=PK(this,e,[n]),SK(o,"props",void 0),o.props=new qu(n==null?void 0:n.props),o}return EK(e,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),e}($e),aE={Designer:En,Runtime:MK,Property:qu};function AK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function NK(t,e,n){return e=Ku(e),DK(t,fE()?Reflect.construct(e,n||[],Ku(t).constructor):e.apply(t,n))}function FK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ku(t){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ku(t)}function kK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&uv(t,e)}function DK(t,e){return e&&(LK(e)==="object"||typeof e=="function")?e:AK(t)}function uv(t,e){return uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uv(t,e)}function LK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fE=function(){return!!t})()}var cv=function(t){kK(e,t);function e(n){FK(this,e);var o;o=NK(this,e,[n]);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Sn.controlName;var i;return o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Sn.controlIcon,o}return e}(de);function jK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CK(t,e,n){return e=Ju(e),YK(t,yE()?Reflect.construct(e,n||[],Ju(t).constructor):e.apply(t,n))}function VK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _E(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function zK(t,e,n){return e&&_E(t.prototype,e),n&&_E(t,n),t}function Xu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ju(t){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ju(t)}function GK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lv(t,e)}function YK(t,e){return e&&(HK(e)==="object"||typeof e=="function")?e:jK(t)}function lv(t,e){return lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lv(t,e)}function HK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yE=function(){return!!t})()}var Sn=function(t){GK(e,t);function e(n){VK(this,e);var o;return o=CK(this,e,[n]),Xu(o,"props",void 0),o.props=new cv(n==null?void 0:n.props),o}return zK(e,null,[{key:"controlName",get:function(){return _.getMessage("batchPrintRecordList")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),e}(se);Xu(Sn,"slots",["grid-table-toolbar-slot"]),Xu(Sn,"controlEventKeys",["on_click"]),Xu(Sn,"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 qK(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xK(t,e,n){return e=Qu(e),JK(t,pE()?Reflect.construct(e,n||[],Qu(t).constructor):e.apply(t,n))}function UK(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function WK(t,e,n){return e&&sE(t.prototype,e),n&&sE(t,n),t}function KK(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qu(t){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qu(t)}function XK(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&av(t,e)}function JK(t,e){return e&&(QK(e)==="object"||typeof e=="function")?e:qK(t)}function av(t,e){return av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},av(t,e)}function QK(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pE=function(){return!!t})()}var ZK=function(t){XK(e,t);function e(n){UK(this,e);var o;return o=xK(this,e,[n]),KK(o,"props",void 0),o.props=new cv(n==null?void 0:n.props),o}return WK(e,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),e}($e),vE={Designer:Sn,Runtime:ZK,Property:cv};function eX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dE(t,e,n){return e=Zu(e),tX(t,gE()?Reflect.construct(e,n||[],Zu(t).constructor):e.apply(t,n))}function hE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function he(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zu(t){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zu(t)}function bE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fv(t,e)}function tX(t,e){return e&&(nX(e)==="object"||typeof e=="function")?e:eX(t)}function fv(t,e){return fv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fv(t,e)}function nX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gE=function(){return!!t})()}var oX=function(t){bE(e,t);function e(n){hE(this,e);var o;return o=dE(this,e,[n]),he(o,"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:_.getMessage("pleaseEnterForm")}),o}return e}(J),ec=function(t){bE(e,t);function e(n){hE(this,e);var o;o=dE(this,e,[n]),he(o,"content",void 0),he(o,"code",void 0),he(o,"command",void 0),he(o,"color",void 0),he(o,"icon",void 0),he(o,"formKey",void 0),he(o,"openType",void 0),he(o,"needConfirm",void 0),he(o,"confirmMessage",void 0),he(o,"options",void 0),he(o,"defaultState",void 0),he(o,"priorityProcess",void 0),he(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:_.getMessage("button"),o.code=n==null?void 0:n.code;var i;o.command=(i=n==null?void 0:n.command)!==null&&i!==void 0?i:"custom";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"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 e}(x);he(ec,"Rules",oX);function rX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iX(t,e,n){return e=tc(e),aX(t,mE()?Reflect.construct(e,n||[],tc(t).constructor):e.apply(t,n))}function uX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function OE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function cX(t,e,n){return e&&OE(t.prototype,e),n&&OE(t,n),t}function _v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tc(t){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tc(t)}function lX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yv(t,e)}function aX(t,e){return e&&(fX(e)==="object"||typeof e=="function")?e:rX(t)}function yv(t,e){return yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yv(t,e)}function fX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mE=function(){return!!t})()}var nc=function(t){lX(e,t);function e(n){uX(this,e);var o;return o=iX(this,e,[n]),_v(o,"props",void 0),o.props=new ec(n==null?void 0:n.props),o}return cX(e,null,[{key:"controlName",get:function(){return _.getMessage("operationButton")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),e}(k);_v(nc,"controlEventKeys",["on_click"]),_v(nc,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function _X(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yX(t,e,n){return e=oc(e),hX(t,$E()?Reflect.construct(e,n||[],oc(t).constructor):e.apply(t,n))}function sX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function pX(t,e,n){return e&&wE(t.prototype,e),n&&wE(t,n),t}function vX(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oc(t){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oc(t)}function dX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sv(t,e)}function hX(t,e){return e&&(bX(e)==="object"||typeof e=="function")?e:_X(t)}function sv(t,e){return sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sv(t,e)}function bX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $E(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($E=function(){return!!t})()}var gX=function(t){dX(e,t);function e(n){sX(this,e);var o;return o=yX(this,e,[n]),vX(o,"props",void 0),o.props=new ec(n==null?void 0:n.props),o}return pX(e,null,[{key:"controlType",get:function(){return"operation-button"}}]),e}(U),jo={Designer:nc,Runtime:gX,Property:ec};function OX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mX(t,e,n){return e=rc(e),PX(t,PE()?Reflect.construct(e,n||[],rc(t).constructor):e.apply(t,n))}function wX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rc(t){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rc(t)}function $X(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pv(t,e)}function PX(t,e){return e&&(TX(e)==="object"||typeof e=="function")?e:OX(t)}function pv(t,e){return pv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pv(t,e)}function TX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PE=function(){return!!t})()}var vv=function(t){$X(e,t);function e(n){wX(this,e);var o;o=mX(this,e,[n]),mt(o,"content",void 0),mt(o,"buttonType",void 0),mt(o,"showType",void 0),mt(o,"color",void 0),mt(o,"icon",void 0),mt(o,"defaultState",void 0),mt(o,"command",void 0),mt(o,"isLoading",void 0);var r;o.content=(r=n==null?void 0:n.content)!==null&&r!==void 0?r:Rn.controlName;var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:Rn.controlIcon;var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"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 f;o.isHide=(f=n==null?void 0:n.isHide)!==null&&f!==void 0?f:!1;var y;o.defaultState=(y=n==null?void 0:n.defaultState)!==null&&y!==void 0?y:"default";var s;o.command=(s=n==null?void 0:n.command)!==null&&s!==void 0?s:"custom";var v;return o.isLoading=(v=n==null?void 0:n.isLoading)!==null&&v!==void 0?v:!1,o}return e}(x);function EX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function SX(t,e,n){return e=uc(e),MX(t,EE()?Reflect.construct(e,n||[],uc(t).constructor):e.apply(t,n))}function RX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function TE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function BX(t,e,n){return e&&TE(t.prototype,e),n&&TE(t,n),t}function ic(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function uc(t){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uc(t)}function IX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dv(t,e)}function MX(t,e){return e&&(AX(e)==="object"||typeof e=="function")?e:EX(t)}function dv(t,e){return dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dv(t,e)}function AX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(EE=function(){return!!t})()}var Rn=function(t){IX(e,t);function e(n){RX(this,e);var o;return o=SX(this,e,[n]),ic(o,"props",void 0),o.props=new vv(n==null?void 0:n.props),o}return BX(e,null,[{key:"controlName",get:function(){return _.getMessage("batchDeleteButton")}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),e}(k);ic(Rn,"slots",["grid-table-toolbar-slot"]),ic(Rn,"controlEventKeys",["on_click"]),ic(Rn,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function NX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FX(t,e,n){return e=cc(e),CX(t,RE()?Reflect.construct(e,n||[],cc(t).constructor):e.apply(t,n))}function kX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function SE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function DX(t,e,n){return e&&SE(t.prototype,e),n&&SE(t,n),t}function LX(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cc(t){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cc(t)}function jX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hv(t,e)}function CX(t,e){return e&&(VX(e)==="object"||typeof e=="function")?e:NX(t)}function hv(t,e){return hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hv(t,e)}function VX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RE=function(){return!!t})()}var zX=function(t){jX(e,t);function e(n){kX(this,e);var o;return o=FX(this,e,[n]),LX(o,"props",void 0),o.props=new vv(n==null?void 0:n.props),o}return DX(e,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),e}(U),BE={Designer:Rn,Runtime:zX,Property:vv},GX=Object.freeze({__proto__:null,Text:_$,Link:h$,Button:$$,Divider:V$,Title:K$,CreateFormListButton:rP,BatchSubmissionListButton:sP,SubmissionRecordListButton:gP,ExportListButton:EP,ExportRecordListButton:AP,ImportRecordListButton:CP,FormSelectButton:KP,ListSelectButton:iT,Pagination:pT,Dashboard:TT,ListViewSelect:DT,TextOcrButton:qT,InvoiceCheckButton:eE,BatchPrintListButton:aE,BatchPrintRecordListButton:vE,OperationButton:jo,BatchDeleteButton:BE});function YX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bv(t,e,n){return e=lc(e),HX(t,IE()?Reflect.construct(e,n||[],lc(t).constructor):e.apply(t,n))}function gv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ze(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lc(t){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lc(t)}function Ov(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mv(t,e)}function HX(t,e){return e&&(qX(e)==="object"||typeof e=="function")?e:YX(t)}function mv(t,e){return mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mv(t,e)}function qX(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IE=function(){return!!t})()}var xX=function(t){Ov(e,t);function e(n){gv(this,e);var o;return o=bv(this,e,[n]),ze(o,"maxLength",{type:"number",min:0,message:_.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),ze(o,"minLength",{type:"number",max:200,message:_.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),ze(o,"defaultValue",[{type:"string",max:200,min:0,message:_.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=_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=No(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(ee),UX=function(t){Ov(e,t);function e(n){gv(this,e);var o;return o=bv(this,e,[n]),o.push({type:"string",message:_.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:No(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(L),Bn=function(t){Ov(e,t);function e(n){gv(this,e);var o;o=bv(this,e,[n]),ze(o,"maxLength",void 0),ze(o,"minLength",void 0),ze(o,"regularRules",void 0),ze(o,"defaultValue",void 0),ze(o,"encrypted",void 0),ze(o,"encryptedMode",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:200;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0,o.regularRules=new xr(n==null?void 0:n.regularRules);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:In.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:_.getMessage("pleaseEnter");var f;o.encrypted=(f=n==null?void 0:n.encrypted)!==null&&f!==void 0?f:!1;var y;return o.encryptedMode=(y=n==null?void 0:n.encryptedMode)!==null&&y!==void 0?y:"",o}return e}(M);ze(Bn,"Rules",xX),ze(Bn,"RuntimeRules",UX);function WX(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KX(t,e,n){return e=fc(e),ZX(t,AE()?Reflect.construct(e,n||[],fc(t).constructor):e.apply(t,n))}function XX(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ME(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function JX(t,e,n){return e&&ME(t.prototype,e),n&&ME(t,n),t}function ac(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fc(t){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fc(t)}function QX(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wv(t,e)}function ZX(t,e){return e&&(eJ(e)==="object"||typeof e=="function")?e:WX(t)}function wv(t,e){return wv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wv(t,e)}function eJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AE=function(){return!!t})()}var In=function(t){QX(e,t);function e(n){XX(this,e);var o;return o=KX(this,e,[n]),ac(o,"props",void 0),o.props=new Bn(n==null?void 0:n.props),o}return JX(e,null,[{key:"controlName",get:function(){return _.getMessage("input")}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),e}(A);ac(In,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ac(In,"controlFieldType",u.FieldTypes.VARCHAR),ac(In,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function tJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nJ(t,e,n){return e=_c(e),uJ(t,kE()?Reflect.construct(e,n||[],_c(t).constructor):e.apply(t,n))}function oJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function NE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function rJ(t,e,n){return e&&NE(t.prototype,e),n&&NE(t,n),t}function FE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _c(t){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_c(t)}function iJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$v(t,e)}function uJ(t,e){return e&&(cJ(e)==="object"||typeof e=="function")?e:tJ(t)}function $v(t,e){return $v=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$v(t,e)}function cJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kE=function(){return!!t})()}var DE=function(t){iJ(e,t);function e(n){oJ(this,e);var o;return o=nJ(this,e,[n]),FE(o,"props",void 0),o.props=new Bn(n==null?void 0:n.props),o}return rJ(e,null,[{key:"controlType",get:function(){return"input"}}]),e}(N);FE(DE,"controlFieldType",u.FieldTypes.VARCHAR);var LE={Designer:In,Runtime:DE,Property:Bn};function lJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pv(t,e,n){return e=yc(e),aJ(t,jE()?Reflect.construct(e,n||[],yc(t).constructor):e.apply(t,n))}function Tv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yc(t){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yc(t)}function Ev(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sv(t,e)}function aJ(t,e){return e&&(fJ(e)==="object"||typeof e=="function")?e:lJ(t)}function Sv(t,e){return Sv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sv(t,e)}function fJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jE=function(){return!!t})()}var _J=function(t){Ev(e,t);function e(n){Tv(this,e);var o;o=Pv(this,e,[n]),ie(o,"limitMax",{type:"number",min:void 0,message:_.getMessage("PleaseReselectTheOptionalQuantity")});var r=n.limitMax==="unlimited";r&&(o.limitMax.type="string");var i=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=i(n.limitMin),o}return e}(Ft),yJ=function(t){Ev(e,t);function e(n){Tv(this,e);var o;return o=Pv(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return e}(L),Co=function(t){Ev(e,t);function e(n){Tv(this,e);var o;o=Pv(this,e,[n]),ie(o,"checkboxMode",void 0),ie(o,"options",void 0),ie(o,"optionsOrder",void 0),ie(o,"limitMax",void 0),ie(o,"limitMin",void 0),ie(o,"otherOption",void 0),ie(o,"optionConfig",void 0),ie(o,"optionsFormat",void 0),ie(o,"defaultShowOptions",void 0),ie(o,"datasourceBind",void 0),ie(o,"multistageFilling",void 0),ie(o,"interreaction",void 0),ie(o,"defaultValue",void 0),ie(o,"openMultistageFilling",void 0);var r;o.options=We((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.checkboxMode=(i=n==null?void 0:n.checkboxMode)!==null&&i!==void 0?i:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"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 f;o.limitMin=(f=n==null?void 0:n.limitMin)!==null&&f!==void 0?f:"unlimited";var y;o.limitMax=(y=n==null?void 0:n.limitMax)!==null&&y!==void 0?y:"unlimited",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var s;o.interreaction=(s=n==null?void 0:n.interreaction)!==null&&s!==void 0?s:[];var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Vo.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:[];var g;o.optionsFormat=(g=n==null?void 0:n.optionsFormat)!==null&&g!==void 0?g:"horizontal";var h;o.defaultShowOptions=(h=n==null?void 0:n.defaultShowOptions)!==null&&h!==void 0?h:!0;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(d){var m;(m=o.multistageFilling)===null||m===void 0||m.push(new ve(d))})),o}return e}(M);ie(Co,"Rules",_J),ie(Co,"RuntimeRules",yJ);function sJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pJ(t,e,n){return e=pc(e),bJ(t,VE()?Reflect.construct(e,n||[],pc(t).constructor):e.apply(t,n))}function vJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function dJ(t,e,n){return e&&CE(t.prototype,e),n&&CE(t,n),t}function sc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pc(t){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pc(t)}function hJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rv(t,e)}function bJ(t,e){return e&&(gJ(e)==="object"||typeof e=="function")?e:sJ(t)}function Rv(t,e){return Rv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rv(t,e)}function gJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VE=function(){return!!t})()}var Vo=function(t){hJ(e,t);function e(n){vJ(this,e);var o;return o=pJ(this,e,[n]),sc(o,"props",void 0),o.props=new Co(n==null?void 0:n.props),o}return dJ(e,null,[{key:"controlName",get:function(){return _.getMessage("checkBox")}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),e}(A);sc(Vo,"controlEventKeys",["on_change","on_click"]),sc(Vo,"controlFieldType",u.FieldTypes.ARRAY),sc(Vo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function OJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mJ(t,e,n){return e=vc(e),TJ(t,YE()?Reflect.construct(e,n||[],vc(t).constructor):e.apply(t,n))}function wJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function $J(t,e,n){return e&&zE(t.prototype,e),n&&zE(t,n),t}function GE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vc(t){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vc(t)}function PJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bv(t,e)}function TJ(t,e){return e&&(EJ(e)==="object"||typeof e=="function")?e:OJ(t)}function Bv(t,e){return Bv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bv(t,e)}function EJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function YE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(YE=function(){return!!t})()}var HE=function(t){PJ(e,t);function e(n){wJ(this,e);var o;return o=mJ(this,e,[n]),GE(o,"props",void 0),o.props=new Co(n==null?void 0:n.props),o}return $J(e,null,[{key:"controlType",get:function(){return"checkbox"}}]),e}(N);GE(HE,"controlFieldType",u.FieldTypes.ARRAY);var qE={Designer:Vo,Runtime:HE,Property:Co};function SJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xE(t,e,n){return e=dc(e),RJ(t,KE()?Reflect.construct(e,n||[],dc(t).constructor):e.apply(t,n))}function UE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dc(t){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dc(t)}function WE(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Iv(t,e)}function RJ(t,e){return e&&(BJ(e)==="object"||typeof e=="function")?e:SJ(t)}function Iv(t,e){return Iv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Iv(t,e)}function BJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KE=function(){return!!t})()}var IJ=function(t){WE(e,t);function e(n){return UE(this,e),xE(this,e,[n])}return e}(Ft),hc=function(t){WE(e,t);function e(n){UE(this,e);var o;o=xE(this,e,[n]),Pe(o,"radioMode",void 0),Pe(o,"options",void 0),Pe(o,"optionConfig",void 0),Pe(o,"optionsFormat",void 0),Pe(o,"defaultShowOptions",void 0),Pe(o,"otherOption",void 0),Pe(o,"optionsOrder",void 0),Pe(o,"datasourceBind",void 0),Pe(o,"multistageFilling",void 0),Pe(o,"interreaction",void 0),Pe(o,"defaultValue",void 0),Pe(o,"openMultistageFilling",void 0);var r;o.options=We((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.radioMode=(i=n==null?void 0:n.radioMode)!==null&&i!==void 0?i:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"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 f;o.defaultShowOptions=(f=n==null?void 0:n.defaultShowOptions)!==null&&f!==void 0?f:!0;var y;o.optionsFormat=(y=n==null?void 0:n.optionsFormat)!==null&&y!==void 0?y:"horizontal",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var s;o.interreaction=(s=n==null?void 0:n.interreaction)!==null&&s!==void 0?s:[];var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:zo.controlName;var b;o.defaultValue=(b=n==null?void 0:n.defaultValue)!==null&&b!==void 0?b:"";var g;return o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new ve(h))})),o}return e}(M);Pe(hc,"Rules",IJ);function MJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function AJ(t,e,n){return e=gc(e),DJ(t,JE()?Reflect.construct(e,n||[],gc(t).constructor):e.apply(t,n))}function NJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function FJ(t,e,n){return e&&XE(t.prototype,e),n&&XE(t,n),t}function bc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gc(t){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gc(t)}function kJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mv(t,e)}function DJ(t,e){return e&&(LJ(e)==="object"||typeof e=="function")?e:MJ(t)}function Mv(t,e){return Mv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mv(t,e)}function LJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JE(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JE=function(){return!!t})()}var zo=function(t){kJ(e,t);function e(n){NJ(this,e);var o;return o=AJ(this,e,[n]),bc(o,"props",void 0),o.props=new hc(n==null?void 0:n.props),o}return FJ(e,null,[{key:"controlName",get:function(){return _.getMessage("radio")}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),e}(A);bc(zo,"controlEventKeys",["on_change","on_click"]),bc(zo,"controlFieldType",u.FieldTypes.VARCHAR),bc(zo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function jJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function CJ(t,e,n){return e=Oc(e),YJ(t,eS()?Reflect.construct(e,n||[],Oc(t).constructor):e.apply(t,n))}function VJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function QE(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function zJ(t,e,n){return e&&QE(t.prototype,e),n&&QE(t,n),t}function ZE(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Oc(t){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oc(t)}function GJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Av(t,e)}function YJ(t,e){return e&&(HJ(e)==="object"||typeof e=="function")?e:jJ(t)}function Av(t,e){return Av=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Av(t,e)}function HJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eS=function(){return!!t})()}var tS=function(t){GJ(e,t);function e(n){VJ(this,e);var o;return o=CJ(this,e,[n]),ZE(o,"props",void 0),o.props=new hc(n==null?void 0:n.props),o}return zJ(e,null,[{key:"controlType",get:function(){return"radio"}}]),e}(N);ZE(tS,"controlFieldType",u.FieldTypes.VARCHAR);var nS={Designer:zo,Runtime:tS,Property:hc};function qJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nv(t,e,n){return e=mc(e),xJ(t,oS()?Reflect.construct(e,n||[],mc(t).constructor):e.apply(t,n))}function Fv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mc(t){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mc(t)}function kv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dv(t,e)}function xJ(t,e){return e&&(UJ(e)==="object"||typeof e=="function")?e:qJ(t)}function Dv(t,e){return Dv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dv(t,e)}function UJ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oS=function(){return!!t})()}var WJ=function(t){kv(e,t);function e(n){Fv(this,e);var o;o=Nv(this,e,[n]),pe(o,"defaultValue",[{type:"number",min:0,max:200,message:_.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),pe(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=r,o.defaultValue[0].min=i,o.defaultValue[0].message=_.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:_.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=No(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return e}(ee),KJ=function(t){kv(e,t);function e(n){Fv(this,e);var o;o=Nv(this,e,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.rangeMax!==""?n.rangeMax:void 0,i=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:r,min:i,message:_.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:No(n.regularRules.expression),message:n.regularRules.errMessage}),o}return e}(L),Go=function(t){kv(e,t);function e(n){Fv(this,e);var o;o=Nv(this,e,[n]),pe(o,"rangeMin",void 0),pe(o,"rangeMax",void 0),pe(o,"numberType",void 0),pe(o,"percentageFormat",void 0),pe(o,"micrometer",void 0),pe(o,"precision",void 0),pe(o,"showUpperCase",void 0),pe(o,"isShowUnit",void 0),pe(o,"unitPosition",void 0),pe(o,"unit",void 0),pe(o,"defaultValue",void 0),pe(o,"regularRules",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var c;o.numberType=(c=n==null?void 0:n.numberType)!==null&&c!==void 0?c:"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 f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:0;var y;o.showUpperCase=(y=n==null?void 0:n.showUpperCase)!==null&&y!==void 0?y:!1;var s;o.isShowUnit=(s=n==null?void 0:n.isShowUnit)!==null&&s!==void 0?s:!1;var v;o.unitPosition=(v=n==null?void 0:n.unitPosition)!==null&&v!==void 0?v:"right";var b;o.unit=(b=n==null?void 0:n.unit)!==null&&b!==void 0?b:"";var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Yo.controlName;var h;o.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:_.getMessage("pleaseEnter");var O;return o.defaultValue=(O=n==null?void 0:n.defaultValue)!==null&&O!==void 0?O:"",o.regularRules=new xr(n==null?void 0:n.regularRules),o}return e}(M);pe(Go,"Rules",WJ),pe(Go,"RuntimeRules",KJ);function XJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JJ(t,e,n){return e=Mn(e),tQ(t,iS()?Reflect.construct(e,n||[],Mn(t).constructor):e.apply(t,n))}function QJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ZJ(t,e,n){return e&&rS(t.prototype,e),n&&rS(t,n),t}function wc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $c(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?$c=Reflect.get:$c=function(r,i,c){var l=nQ(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},$c(t,e,n||t)}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(t)}function eQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lv(t,e)}function tQ(t,e){return e&&(oQ(e)==="object"||typeof e=="function")?e:XJ(t)}function Lv(t,e){return Lv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lv(t,e)}function nQ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Mn(t),t!==null););return t}function oQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iS=function(){return!!t})()}var Yo=function(t){eQ(e,t);function e(n){QJ(this,e);var o;return o=JJ(this,e,[n]),wc(o,"props",void 0),o.props=new Go(n==null?void 0:n.props),o}return ZJ(e,[{key:"toDataBindModel",value:function(o){var r=$c(Mn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,c=i.precision,l=i.micrometer;c!==""&&(r.props.precision=c),r.props.micrometer=l}return r}}],[{key:"controlName",get:function(){return _.getMessage("number")}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),e}(A);wc(Yo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),wc(Yo,"controlFieldType",u.FieldTypes.DECIMAL),wc(Yo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_UNIT,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function rQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iQ(t,e,n){return e=Pc(e),aQ(t,lS()?Reflect.construct(e,n||[],Pc(t).constructor):e.apply(t,n))}function uQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function cQ(t,e,n){return e&&uS(t.prototype,e),n&&uS(t,n),t}function cS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pc(t){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pc(t)}function lQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jv(t,e)}function aQ(t,e){return e&&(fQ(e)==="object"||typeof e=="function")?e:rQ(t)}function jv(t,e){return jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jv(t,e)}function fQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lS=function(){return!!t})()}var aS=function(t){lQ(e,t);function e(n){uQ(this,e);var o;return o=iQ(this,e,[n]),cS(o,"props",void 0),o.props=new Go(n==null?void 0:n.props),o}return cQ(e,null,[{key:"controlType",get:function(){return"number"}}]),e}(N);cS(aS,"controlFieldType",u.FieldTypes.DECIMAL);var fS={Designer:Yo,Runtime:aS,Property:Go};function _Q(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yQ(t,e,n){return e=Tc(e),vQ(t,_S()?Reflect.construct(e,n||[],Tc(t).constructor):e.apply(t,n))}function sQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tc(t){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tc(t)}function pQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cv(t,e)}function vQ(t,e){return e&&(dQ(e)==="object"||typeof e=="function")?e:_Q(t)}function Cv(t,e){return Cv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cv(t,e)}function dQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _S(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_S=function(){return!!t})()}var Vv=function(t){pQ(e,t);function e(n){sQ(this,e);var o,r;o=yQ(this,e,[n]),wt(o,"dateType",void 0),wt(o,"dateFormat",void 0),wt(o,"commonTimeSetting",void 0),wt(o,"setValueType",void 0),wt(o,"defaultValue",void 0),wt(o,"limitDateList",void 0),wt(o,"allowDateRange",void 0),wt(o,"filterWeekend",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:u.DateType.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";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 f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Sc.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:_.getMessage("pleaseEnterDate");var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var v;o.limitDateList=(v=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(h){return new Ni(h)}))!==null&&v!==void 0?v:[];var b;o.allowDateRange=(b=n==null?void 0:n.allowDateRange)!==null&&b!==void 0?b:["",""];var g;return o.filterWeekend=(g=n==null?void 0:n.filterWeekend)!==null&&g!==void 0?g:!1,o}return e}(M);function hQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bQ(t,e,n){return e=An(e),wQ(t,sS()?Reflect.construct(e,n||[],An(t).constructor):e.apply(t,n))}function gQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function OQ(t,e,n){return e&&yS(t.prototype,e),n&&yS(t,n),t}function zv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ec(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ec=Reflect.get:Ec=function(r,i,c){var l=$Q(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},Ec(t,e,n||t)}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function mQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gv(t,e)}function wQ(t,e){return e&&(PQ(e)==="object"||typeof e=="function")?e:hQ(t)}function Gv(t,e){return Gv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gv(t,e)}function $Q(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=An(t),t!==null););return t}function PQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sS=function(){return!!t})()}var Sc=function(t){mQ(e,t);function e(n){gQ(this,e);var o;return o=bQ(this,e,[n]),zv(o,"props",void 0),o.props=new Vv(n==null?void 0:n.props),o}return OQ(e,[{key:"toDataBindModel",value:function(o){var r=Ec(An(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return _.getMessage("timestamp")}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),e}(A);zv(Sc,"controlFieldType",u.FieldTypes.TIMESTAMP),zv(Sc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function TQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function EQ(t,e,n){return e=Rc(e),IQ(t,dS()?Reflect.construct(e,n||[],Rc(t).constructor):e.apply(t,n))}function SQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function RQ(t,e,n){return e&&pS(t.prototype,e),n&&pS(t,n),t}function vS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rc(t){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rc(t)}function BQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yv(t,e)}function IQ(t,e){return e&&(MQ(e)==="object"||typeof e=="function")?e:TQ(t)}function Yv(t,e){return Yv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yv(t,e)}function MQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dS=function(){return!!t})()}var hS=function(t){BQ(e,t);function e(n){SQ(this,e);var o;return o=EQ(this,e,[n]),vS(o,"props",void 0),o.props=new Vv(n==null?void 0:n.props),o}return RQ(e,null,[{key:"controlType",get:function(){return"date-picker"}}]),e}(N);vS(hS,"controlFieldType",u.FieldTypes.TIMESTAMP);var bS={Designer:Sc,Runtime:hS,Property:Vv};function AQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gS(t,e,n){return e=Bc(e),NQ(t,wS()?Reflect.construct(e,n||[],Bc(t).constructor):e.apply(t,n))}function OS(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function De(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bc(t){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bc(t)}function mS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hv(t,e)}function NQ(t,e){return e&&(FQ(e)==="object"||typeof e=="function")?e:AQ(t)}function Hv(t,e){return Hv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hv(t,e)}function FQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wS=function(){return!!t})()}var kQ=function(t){mS(e,t);function e(n){OS(this,e);var o;return o=gS(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return e}(L),Ic=function(t){mS(e,t);function e(n){OS(this,e);var o,r;o=gS(this,e,[n]),De(o,"dataBind",void 0),De(o,"rangeMin",void 0),De(o,"rangeMax",void 0),De(o,"placeholderStart",void 0),De(o,"placeholderEnd",void 0),De(o,"dateFormat",void 0),De(o,"commonTimeSetting",void 0),De(o,"dateType",void 0),De(o,"setValueType",void 0),De(o,"defaultValue",void 0),De(o,"limitDateList",void 0),o.dataBind=new qm(n==null?void 0:n.dataBind),o.defaultValue=new xm(n==null?void 0:n.defaultValue);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:u.DateType.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";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 f;o.rangeMin=(f=n==null?void 0:n.rangeMin)!==null&&f!==void 0?f:"";var y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var s;o.placeholderStart=(s=n==null?void 0:n.placeholderStart)!==null&&s!==void 0?s:_.getMessage("pleaseSelectStartDate");var v;o.placeholderEnd=(v=n==null?void 0:n.placeholderEnd)!==null&&v!==void 0?v:_.getMessage("pleaseSelectEndDate");var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Ac.controlName;var g;return o.limitDateList=(g=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(h){return new Ni(h)}))!==null&&g!==void 0?g:[],o}return e}(M);De(Ic,"RuntimeRules",kQ);function DQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LQ(t,e,n){return e=Nn(e),zQ(t,PS()?Reflect.construct(e,n||[],Nn(t).constructor):e.apply(t,n))}function jQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $S(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function CQ(t,e,n){return e&&$S(t.prototype,e),n&&$S(t,n),t}function qv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mc(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Mc=Reflect.get:Mc=function(r,i,c){var l=GQ(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},Mc(t,e,n||t)}function Nn(t){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nn(t)}function VQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xv(t,e)}function zQ(t,e){return e&&(YQ(e)==="object"||typeof e=="function")?e:DQ(t)}function xv(t,e){return xv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xv(t,e)}function GQ(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Nn(t),t!==null););return t}function YQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PS=function(){return!!t})()}var Ac=function(t){VQ(e,t);function e(n){jQ(this,e);var o;return o=LQ(this,e,[n]),qv(o,"props",void 0),o.props=new Ic(n==null?void 0:n.props),o}return CQ(e,[{key:"toDataBindModel",value:function(o){var r=Mc(Nn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.dateType;r.props.dateType=i}return r}}],[{key:"controlName",get:function(){return _.getMessage("timescope")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),e}(A);qv(Ac,"controlFieldType",u.FieldTypes.TIMESCOPE),qv(Ac,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function HQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qQ(t,e,n){return e=Nc(e),KQ(t,SS()?Reflect.construct(e,n||[],Nc(t).constructor):e.apply(t,n))}function xQ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function TS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function UQ(t,e,n){return e&&TS(t.prototype,e),n&&TS(t,n),t}function ES(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nc(t){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nc(t)}function WQ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uv(t,e)}function KQ(t,e){return e&&(XQ(e)==="object"||typeof e=="function")?e:HQ(t)}function Uv(t,e){return Uv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Uv(t,e)}function XQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SS=function(){return!!t})()}var RS=function(t){WQ(e,t);function e(n){xQ(this,e);var o;return o=qQ(this,e,[n]),ES(o,"props",void 0),o.props=new Ic(n==null?void 0:n.props),o}return UQ(e,null,[{key:"controlType",get:function(){return"date-range"}}]),e}(N);ES(RS,"controlFieldType",u.FieldTypes.TIMESCOPE);var BS={Designer:Ac,Runtime:RS,Property:Ic};function JQ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wv(t,e,n){return e=Fc(e),QQ(t,IS()?Reflect.construct(e,n||[],Fc(t).constructor):e.apply(t,n))}function Kv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function it(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fc(t){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fc(t)}function Xv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jv(t,e)}function QQ(t,e){return e&&(ZQ(e)==="object"||typeof e=="function")?e:JQ(t)}function Jv(t,e){return Jv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jv(t,e)}function ZQ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IS=function(){return!!t})()}var eZ=function(t){Xv(e,t);function e(n){Kv(this,e);var o;return o=Wv(this,e,[n]),it(o,"maxLength",{type:"number",min:0,message:_.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),it(o,"minLength",{type:"number",max:1e6,message:_.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),it(o,"defaultValue",{type:"string",max:200,min:0,message:_.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=_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return e}(ee),tZ=function(t){Xv(e,t);function e(n){Kv(this,e);var o;return o=Wv(this,e,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return e}(L),Ho=function(t){Xv(e,t);function e(n){Kv(this,e);var o;o=Wv(this,e,[n]),it(o,"maxLength",void 0),it(o,"minLength",void 0),it(o,"defaultValue",void 0),it(o,"rowHeightSetting",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:qo.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:_.getMessage("pleaseEnter"),o.rowHeightSetting=new Vy(n==null?void 0:n.rowHeightSetting),o}return e}(M);it(Ho,"Rules",eZ),it(Ho,"RuntimeRules",tZ);function nZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oZ(t,e,n){return e=Dc(e),cZ(t,AS()?Reflect.construct(e,n||[],Dc(t).constructor):e.apply(t,n))}function rZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function MS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function iZ(t,e,n){return e&&MS(t.prototype,e),n&&MS(t,n),t}function kc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dc(t){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dc(t)}function uZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qv(t,e)}function cZ(t,e){return e&&(lZ(e)==="object"||typeof e=="function")?e:nZ(t)}function Qv(t,e){return Qv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qv(t,e)}function lZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AS=function(){return!!t})()}var qo=function(t){uZ(e,t);function e(n){rZ(this,e);var o;return o=oZ(this,e,[n]),kc(o,"props",void 0),o.props=new Ho(n==null?void 0:n.props),o}return iZ(e,null,[{key:"controlName",get:function(){return _.getMessage("textarea")}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),e}(A);kc(qo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),kc(qo,"controlFieldType",u.FieldTypes.TEXT),kc(qo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}]);function aZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fZ(t,e,n){return e=Lc(e),pZ(t,kS()?Reflect.construct(e,n||[],Lc(t).constructor):e.apply(t,n))}function _Z(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function NS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function yZ(t,e,n){return e&&NS(t.prototype,e),n&&NS(t,n),t}function FS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lc(t){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lc(t)}function sZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zv(t,e)}function pZ(t,e){return e&&(vZ(e)==="object"||typeof e=="function")?e:aZ(t)}function Zv(t,e){return Zv=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Zv(t,e)}function vZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kS=function(){return!!t})()}var DS=function(t){sZ(e,t);function e(n){_Z(this,e);var o;return o=fZ(this,e,[n]),FS(o,"props",void 0),o.props=new Ho(n==null?void 0:n.props),o}return yZ(e,null,[{key:"controlType",get:function(){return"textarea"}}]),e}(N);FS(DS,"controlFieldType",u.FieldTypes.TEXT);var LS={Designer:qo,Runtime:DS,Property:Ho};function dZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ed(t,e,n){return e=jc(e),hZ(t,jS()?Reflect.construct(e,n||[],jc(t).constructor):e.apply(t,n))}function td(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jc(t){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jc(t)}function nd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&od(t,e)}function hZ(t,e){return e&&(bZ(e)==="object"||typeof e=="function")?e:dZ(t)}function od(t,e){return od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},od(t,e)}function bZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jS=function(){return!!t})()}var gZ=function(t){nd(e,t);function e(n){td(this,e);var o;return o=ed(this,e,[n]),$t(o,"maxLength",{type:"number",min:0,message:_.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),$t(o,"minLength",{type:"number",max:1e6,message:_.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),$t(o,"defaultValue",{type:"string",max:200,min:0,message:_.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=_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return e}(ee),OZ=function(t){nd(e,t);function e(n){td(this,e);var o;return o=ed(this,e,[n]),o.push({type:"string",max:n.maxLength,min:n.minLength,message:_.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return e}(L),xo=function(t){nd(e,t);function e(n){td(this,e);var o;o=ed(this,e,[n]),$t(o,"maxLength",void 0),$t(o,"minLength",void 0),$t(o,"defaultValue",void 0);var r;o.maxLength=(r=n==null?void 0:n.maxLength)!==null&&r!==void 0?r:5e4;var i;o.minLength=(i=n==null?void 0:n.minLength)!==null&&i!==void 0?i:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Uo.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:_.getMessage("pleaseEnter"),o}return e}(M);$t(xo,"Rules",gZ),$t(xo,"RuntimeRules",OZ);function mZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wZ(t,e,n){return e=Vc(e),EZ(t,VS()?Reflect.construct(e,n||[],Vc(t).constructor):e.apply(t,n))}function $Z(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function PZ(t,e,n){return e&&CS(t.prototype,e),n&&CS(t,n),t}function Cc(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vc(t){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(t)}function TZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rd(t,e)}function EZ(t,e){return e&&(SZ(e)==="object"||typeof e=="function")?e:mZ(t)}function rd(t,e){return rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rd(t,e)}function SZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VS=function(){return!!t})()}var Uo=function(t){TZ(e,t);function e(n){$Z(this,e);var o;return o=wZ(this,e,[n]),Cc(o,"props",void 0),o.props=new xo(n==null?void 0:n.props),o}return PZ(e,null,[{key:"controlName",get:function(){return _.getMessage("richText")}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),e}(A);Cc(Uo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Cc(Uo,"controlFieldType",u.FieldTypes.TEXT),Cc(Uo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function RZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function BZ(t,e,n){return e=zc(e),NZ(t,YS()?Reflect.construct(e,n||[],zc(t).constructor):e.apply(t,n))}function IZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function MZ(t,e,n){return e&&zS(t.prototype,e),n&&zS(t,n),t}function GS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zc(t){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zc(t)}function AZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&id(t,e)}function NZ(t,e){return e&&(FZ(e)==="object"||typeof e=="function")?e:RZ(t)}function id(t,e){return id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},id(t,e)}function FZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function YS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(YS=function(){return!!t})()}var HS=function(t){AZ(e,t);function e(n){IZ(this,e);var o;return o=BZ(this,e,[n]),GS(o,"props",void 0),o.props=new xo(n==null?void 0:n.props),o}return MZ(e,null,[{key:"controlType",get:function(){return"rich-text"}}]),e}(N);GS(HS,"controlFieldType",u.FieldTypes.TEXT);var qS={Designer:Uo,Runtime:HS,Property:xo};function kZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xS(t,e,n){return e=Gc(e),DZ(t,KS()?Reflect.construct(e,n||[],Gc(t).constructor):e.apply(t,n))}function US(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gc(t){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gc(t)}function WS(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ud(t,e)}function DZ(t,e){return e&&(LZ(e)==="object"||typeof e=="function")?e:kZ(t)}function ud(t,e){return ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ud(t,e)}function LZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KS=function(){return!!t})()}var jZ=function(t){WS(e,t);function e(n){US(this,e);var o;return o=xS(this,e,[n]),Te(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:_.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(Ft),Yc=function(t){WS(e,t);function e(n){US(this,e);var o;o=xS(this,e,[n]),Te(o,"options",void 0),Te(o,"defaultShowOptions",void 0),Te(o,"optionConfig",void 0),Te(o,"defaultValue",void 0),Te(o,"datasourceBind",void 0),Te(o,"multistageFilling",void 0),Te(o,"allowCopyOptions",void 0),Te(o,"openMultistageFilling",void 0),Te(o,"viewFormModelType",void 0),Te(o,"canViewForm",void 0),Te(o,"formBind",void 0);var r;o.options=We((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:qc.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:_.getMessage("pleaseSelect");var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var y;o.allowCopyOptions=(y=n==null?void 0:n.allowCopyOptions)!==null&&y!==void 0?y:!1;var s;o.openMultistageFilling=(s=n==null?void 0:n.openMultistageFilling)!==null&&s!==void 0?s:!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 ve(g))}));var v;o.canViewForm=(v=n==null?void 0:n.canViewForm)!==null&&v!==void 0?v:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Nt(n==null?void 0:n.formBind),o}return e}(M);Te(Yc,"Rules",jZ);function CZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function VZ(t,e,n){return e=Hc(e),HZ(t,JS()?Reflect.construct(e,n||[],Hc(t).constructor):e.apply(t,n))}function zZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function GZ(t,e,n){return e&&XS(t.prototype,e),n&&XS(t,n),t}function cd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hc(t){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hc(t)}function YZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ld(t,e)}function HZ(t,e){return e&&(qZ(e)==="object"||typeof e=="function")?e:CZ(t)}function ld(t,e){return ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ld(t,e)}function qZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function JS(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(JS=function(){return!!t})()}var qc=function(t){YZ(e,t);function e(n){zZ(this,e);var o;return o=VZ(this,e,[n]),cd(o,"props",void 0),o.props=new Yc(n==null?void 0:n.props),o}return GZ(e,null,[{key:"controlName",get:function(){return _.getMessage("select")}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),e}(A);cd(qc,"controlFieldType",u.FieldTypes.VARCHAR),cd(qc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.CAN_VIEW_FORM,u.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function xZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UZ(t,e,n){return e=xc(e),JZ(t,eR()?Reflect.construct(e,n||[],xc(t).constructor):e.apply(t,n))}function WZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function QS(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function KZ(t,e,n){return e&&QS(t.prototype,e),n&&QS(t,n),t}function ZS(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xc(t){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(t)}function XZ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ad(t,e)}function JZ(t,e){return e&&(QZ(e)==="object"||typeof e=="function")?e:xZ(t)}function ad(t,e){return ad=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ad(t,e)}function QZ(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eR=function(){return!!t})()}var tR=function(t){XZ(e,t);function e(n){WZ(this,e);var o;return o=UZ(this,e,[n]),ZS(o,"props",void 0),o.props=new Yc(n==null?void 0:n.props),o}return KZ(e,null,[{key:"controlType",get:function(){return"select"}}]),e}(N);ZS(tR,"controlFieldType",u.FieldTypes.VARCHAR);var nR={Designer:qc,Runtime:tR,Property:Yc};function ZZ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fd(t,e,n){return e=Uc(e),eee(t,oR()?Reflect.construct(e,n||[],Uc(t).constructor):e.apply(t,n))}function _d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uc(t){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uc(t)}function yd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sd(t,e)}function eee(t,e){return e&&(tee(e)==="object"||typeof e=="function")?e:ZZ(t)}function sd(t,e){return sd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sd(t,e)}function tee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oR=function(){return!!t})()}var nee=function(t){yd(e,t);function e(n){_d(this,e);var o;return o=fd(this,e,[n]),Ee(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:_.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(Ft),oee=function(t){yd(e,t);function e(n){_d(this,e);var o;return o=fd(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(L),Wo=function(t){yd(e,t);function e(n){_d(this,e);var o;o=fd(this,e,[n]),Ee(o,"options",void 0),Ee(o,"defaultShowOptions",void 0),Ee(o,"optionConfig",void 0),Ee(o,"defaultValue",void 0),Ee(o,"datasourceBind",void 0),Ee(o,"multistageFilling",void 0),Ee(o,"openMultistageFilling",void 0),Ee(o,"viewFormModelType",void 0),Ee(o,"canViewForm",void 0),Ee(o,"formBind",void 0);var r;o.options=We((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var i;o.defaultShowOptions=(i=n==null?void 0:n.defaultShowOptions)!==null&&i!==void 0?i:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Kc.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:_.getMessage("pleaseSelect");var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new ve(b))}));var s;o.canViewForm=(s=n==null?void 0:n.canViewForm)!==null&&s!==void 0?s:!1;var v;return o.viewFormModelType=(v=n==null?void 0:n.viewFormModelType)!==null&&v!==void 0?v:"window",o.formBind=new Nt(n==null?void 0:n.formBind),o}return e}(M);Ee(Wo,"Rules",nee),Ee(Wo,"RuntimeRules",oee);function ree(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iee(t,e,n){return e=Wc(e),aee(t,iR()?Reflect.construct(e,n||[],Wc(t).constructor):e.apply(t,n))}function uee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function cee(t,e,n){return e&&rR(t.prototype,e),n&&rR(t,n),t}function pd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wc(t){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wc(t)}function lee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vd(t,e)}function aee(t,e){return e&&(fee(e)==="object"||typeof e=="function")?e:ree(t)}function vd(t,e){return vd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vd(t,e)}function fee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iR=function(){return!!t})()}var Kc=function(t){lee(e,t);function e(n){uee(this,e);var o;return o=iee(this,e,[n]),pd(o,"props",void 0),o.props=new Wo(n==null?void 0:n.props),o}return cee(e,null,[{key:"controlName",get:function(){return _.getMessage("selectMultiple")}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),e}(A);pd(Kc,"controlFieldType",u.FieldTypes.ARRAY),pd(Kc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.CAN_VIEW_FORM,u.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function _ee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yee(t,e,n){return e=Xc(e),dee(t,lR()?Reflect.construct(e,n||[],Xc(t).constructor):e.apply(t,n))}function see(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function pee(t,e,n){return e&&uR(t.prototype,e),n&&uR(t,n),t}function cR(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xc(t){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xc(t)}function vee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dd(t,e)}function dee(t,e){return e&&(hee(e)==="object"||typeof e=="function")?e:_ee(t)}function dd(t,e){return dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dd(t,e)}function hee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lR=function(){return!!t})()}var aR=function(t){vee(e,t);function e(n){see(this,e);var o;return o=yee(this,e,[n]),cR(o,"props",void 0),o.props=new Wo(n==null?void 0:n.props),o}return pee(e,null,[{key:"controlType",get:function(){return"select-multiple"}}]),e}(N);cR(aR,"controlFieldType",u.FieldTypes.ARRAY);var fR={Designer:Kc,Runtime:aR,Property:Wo};function bee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _R(t,e,n){return e=Jc(e),gee(t,pR()?Reflect.construct(e,n||[],Jc(t).constructor):e.apply(t,n))}function yR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ut(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jc(t){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jc(t)}function sR(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hd(t,e)}function gee(t,e){return e&&(Oee(e)==="object"||typeof e=="function")?e:bee(t)}function hd(t,e){return hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hd(t,e)}function Oee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pR=function(){return!!t})()}var mee=function(t){sR(e,t);function e(n){yR(this,e);var o;return o=_R(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(L),Qc=function(t){sR(e,t);function e(n){yR(this,e);var o;o=_R(this,e,[n]),ut(o,"showType",void 0),ut(o,"range",void 0),ut(o,"rangeOptions",void 0),ut(o,"multiple",void 0),ut(o,"defaultValueType",void 0),ut(o,"defaultValue",void 0),ut(o,"multistageFilling",void 0),ut(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];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 f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:el.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:_.getMessage("pleaseEnterNameorEmail");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(b){var g;(g=o.multistageFilling)===null||g===void 0||g.push(new ve(b))})),o}return e}(M);ut(Qc,"RuntimeRules",mee);function wee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $ee(t,e,n){return e=Zc(e),See(t,dR()?Reflect.construct(e,n||[],Zc(t).constructor):e.apply(t,n))}function Pee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Tee(t,e,n){return e&&vR(t.prototype,e),n&&vR(t,n),t}function bd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zc(t){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zc(t)}function Eee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gd(t,e)}function See(t,e){return e&&(Ree(e)==="object"||typeof e=="function")?e:wee(t)}function gd(t,e){return gd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gd(t,e)}function Ree(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dR=function(){return!!t})()}var el=function(t){Eee(e,t);function e(n){Pee(this,e);var o;return o=$ee(this,e,[n]),bd(o,"props",void 0),o.props=new Qc(n==null?void 0:n.props),o}return Tee(e,null,[{key:"controlName",get:function(){return _.getMessage("people")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),e}(A);bd(el,"controlFieldType",u.FieldTypes.EMPLOYEES),bd(el,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function Bee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Iee(t,e,n){return e=tl(e),Fee(t,gR()?Reflect.construct(e,n||[],tl(t).constructor):e.apply(t,n))}function Mee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Aee(t,e,n){return e&&hR(t.prototype,e),n&&hR(t,n),t}function bR(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tl(t){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tl(t)}function Nee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Od(t,e)}function Fee(t,e){return e&&(kee(e)==="object"||typeof e=="function")?e:Bee(t)}function Od(t,e){return Od=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Od(t,e)}function kee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gR=function(){return!!t})()}var OR=function(t){Nee(e,t);function e(n){Mee(this,e);var o;return o=Iee(this,e,[n]),bR(o,"props",void 0),o.props=new Qc(n==null?void 0:n.props),o}return Aee(e,null,[{key:"controlType",get:function(){return"employee"}}]),e}(N);bR(OR,"controlFieldType",u.FieldTypes.EMPLOYEES);var mR={Designer:el,Runtime:OR,Property:Qc};function Dee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function md(t,e,n){return e=nl(e),Lee(t,wR()?Reflect.construct(e,n||[],nl(t).constructor):e.apply(t,n))}function wd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nl(t){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nl(t)}function $d(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pd(t,e)}function Lee(t,e){return e&&(jee(e)==="object"||typeof e=="function")?e:Dee(t)}function Pd(t,e){return Pd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pd(t,e)}function jee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wR=function(){return!!t})()}var Cee=10485760,Vee=104857600,zee=1048576e3,Gee=function(t){$d(e,t);function e(n){wd(this,e);var o;return o=md(this,e,[n]),Le(o,"maxSize",{type:"number",min:0,max:zee,message:_.getMessage("attachmentMaxSize")}),o}return e}(ee),Yee=function(t){$d(e,t);function e(n){wd(this,e);var o;return o=md(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:_.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return e}(L),Fn=function(t){$d(e,t);function e(n){wd(this,e);var o;o=md(this,e,[n]),Le(o,"defaultValue",void 0),Le(o,"showType",void 0),Le(o,"resultShowType",void 0),Le(o,"attachmentAccept",void 0),Le(o,"maxLimit",void 0),Le(o,"minLimit",void 0),Le(o,"isShowWatermark",void 0),Le(o,"watermarkFx",void 0),Le(o,"maxSize",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:[];var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var c;o.resultShowType=(c=n==null?void 0:n.resultShowType)!==null&&c!==void 0?c:"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 f;o.minLimit=(f=n==null?void 0:n.minLimit)!==null&&f!==void 0?f:0;var y;o.maxSize=(y=n==null?void 0:n.maxSize)!==null&&y!==void 0?y:Vee;var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:kn.controlName;var v;o.placeholder=(v=n==null?void 0:n.placeholder)!==null&&v!==void 0?v:_.getMessage("uploadFile");var b;o.isShowWatermark=(b=n==null?void 0:n.isShowWatermark)!==null&&b!==void 0?b:!1;var g;return o.watermarkFx=(g=n==null?void 0:n.watermarkFx)!==null&&g!==void 0?g:{},o}return e}(M);Le(Fn,"Rules",Gee),Le(Fn,"RuntimeRules",Yee);function Hee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qee(t,e,n){return e=rl(e),Kee(t,PR()?Reflect.construct(e,n||[],rl(t).constructor):e.apply(t,n))}function xee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $R(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Uee(t,e,n){return e&&$R(t.prototype,e),n&&$R(t,n),t}function ol(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rl(t){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rl(t)}function Wee(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Td(t,e)}function Kee(t,e){return e&&(Xee(e)==="object"||typeof e=="function")?e:Hee(t)}function Td(t,e){return Td=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Td(t,e)}function Xee(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PR=function(){return!!t})()}var kn=function(t){Wee(e,t);function e(n){xee(this,e);var o;return o=qee(this,e,[n]),ol(o,"props",void 0),o.props=new Fn(n==null?void 0:n.props),o}return Uee(e,null,[{key:"controlName",get:function(){return _.getMessage("file")}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),e}(A);ol(kn,"controlEventKeys",["on_change"]),ol(kn,"controlFieldType",u.FieldTypes.FILE),ol(kn,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function Jee(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qee(t,e,n){return e=il(e),nte(t,SR()?Reflect.construct(e,n||[],il(t).constructor):e.apply(t,n))}function Zee(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function TR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ete(t,e,n){return e&&TR(t.prototype,e),n&&TR(t,n),t}function ER(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function il(t){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(t)}function tte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ed(t,e)}function nte(t,e){return e&&(ote(e)==="object"||typeof e=="function")?e:Jee(t)}function Ed(t,e){return Ed=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ed(t,e)}function ote(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SR=function(){return!!t})()}var Sd=function(t){tte(e,t);function e(n){Zee(this,e);var o;return o=Qee(this,e,[n]),ER(o,"props",void 0),o.props=new Fn(n==null?void 0:n.props),o}return ete(e,null,[{key:"controlType",get:function(){return"attachment"}}]),e}(N);ER(Sd,"controlFieldType",u.FieldTypes.FILE);var RR={Designer:kn,Runtime:Sd,Property:Fn};function rte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ite(t,e,n){return e=ul(e),ate(t,MR()?Reflect.construct(e,n||[],ul(t).constructor):e.apply(t,n))}function ute(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function BR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function cte(t,e,n){return e&&BR(t.prototype,e),n&&BR(t,n),t}function IR(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ul(t){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(t)}function lte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rd(t,e)}function ate(t,e){return e&&(fte(e)==="object"||typeof e=="function")?e:rte(t)}function Rd(t,e){return Rd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rd(t,e)}function fte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MR=function(){return!!t})()}var Bd=function(t){lte(e,t);function e(n){ute(this,e);var o,r,i;o=ite(this,e,[n]),o.props.showType="image";var c;o.props.caption=(c=n==null||(r=n.props)===null||r===void 0?void 0:r.caption)!==null&&c!==void 0?c:e.controlName;var l;return o.props.placeholder=(l=n==null||(i=n.props)===null||i===void 0?void 0:i.placeholder)!==null&&l!==void 0?l:_.getMessage("uploadImg"),o}return cte(e,null,[{key:"controlName",get:function(){return _.getMessage("image")}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),e}(kn);IR(Bd,"controlFieldType",u.FieldTypes.IMAGE),IR(Bd,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function _te(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yte(t,e,n){return e=cl(e),dte(t,NR()?Reflect.construct(e,n||[],cl(t).constructor):e.apply(t,n))}function ste(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function pte(t,e,n){return e&&AR(t.prototype,e),n&&AR(t,n),t}function cl(t){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(t)}function vte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Id(t,e)}function dte(t,e){return e&&(hte(e)==="object"||typeof e=="function")?e:_te(t)}function Id(t,e){return Id=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Id(t,e)}function hte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(NR=function(){return!!t})()}var bte=function(t){vte(e,t);function e(n){ste(this,e);var o,r,i,c;o=yte(this,e,[n]),o.props.showType="image";var l;o.props.maxLimit=(l=n==null||(r=n.props)===null||r===void 0?void 0:r.maxLimit)!==null&&l!==void 0?l:9;var a;o.props.caption=(a=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:_.getMessage("image");var f;return o.props.placeholder=(f=n==null||(c=n.props)===null||c===void 0?void 0:c.placeholder)!==null&&f!==void 0?f:_.getMessage("uploadImg"),o}return pte(e,null,[{key:"controlType",get:function(){return"image"}}]),e}(Sd);function gte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ote(t,e,n){return e=ll(e),$te(t,FR()?Reflect.construct(e,n||[],ll(t).constructor):e.apply(t,n))}function mte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ll(t){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ll(t)}function wte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Md(t,e)}function $te(t,e){return e&&(Pte(e)==="object"||typeof e=="function")?e:gte(t)}function Md(t,e){return Md=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Md(t,e)}function Pte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FR=function(){return!!t})()}var Tte=function(t){wte(e,t);function e(n){return mte(this,e),Ote(this,e,[n])}return e}(Fn),kR={Designer:Bd,Runtime:bte,Property:Tte};function Ete(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ad(t,e,n){return e=al(e),Ite(t,DR()?Reflect.construct(e,n||[],al(t).constructor):e.apply(t,n))}function Nd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ue(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function al(t){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(t)}function Fd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kd(t,e)}function Ste(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){ue(t,r,n[r])})}return t}function Rte(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function Bte(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Rte(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Ite(t,e){return e&&(Mte(e)==="object"||typeof e=="function")?e:Ete(t)}function kd(t,e){return kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kd(t,e)}function Mte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function DR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(DR=function(){return!!t})()}var Ate=function(t){Fd(e,t);function e(n){Nd(this,e);var o;o=Ad(this,e,[n]),ue(o,"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:_.getMessage("pleaseEnterNumberRange")}]}}),ue(o,"rangeMax",{type:"any"});var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=r,o.defaultValue.fields.amount[0].min=i,o.defaultValue.fields.amount[0].message=_.getMessage("pleaseEnterNumberRange",{max:r,min:i}),i&&r!==void 0&&(o.rangeMax={type:"number",min:i,message:_.getMessage("numberRangeSetError")}),o}return e}(Ft),Nte=function(t){Fd(e,t);function e(n){Nd(this,e);var o;o=Ad(this,e,[n]),o[0]!==void 0&&(o[0].type="object");var r=n.rangeMax===""?void 0:n.rangeMax,i=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[Bte(Ste({},o[0]),{type:"number"}),{type:"number",min:i,max:r,message:_.getMessage(r===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:r,min:i})}],currency:{type:"string"}}}),o}return e}(L),Ko=function(t){Fd(e,t);function e(n){Nd(this,e);var o;o=Ad(this,e,[n]),ue(o,"rangeMin",void 0),ue(o,"rangeMax",void 0),ue(o,"showUpperCase",void 0),ue(o,"submitSelectCurrency",void 0),ue(o,"micrometer",void 0),ue(o,"precision",void 0),ue(o,"unitPosition",void 0),ue(o,"optionConfig",void 0),ue(o,"dataBind",void 0),ue(o,"datasourceBind",void 0),ue(o,"defaultValue",void 0),ue(o,"options",void 0);var r;o.rangeMin=(r=n==null?void 0:n.rangeMin)!==null&&r!==void 0?r:"";var i;o.rangeMax=(i=n==null?void 0:n.rangeMax)!==null&&i!==void 0?i:"";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"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 Ym(n==null?void 0:n.dataBind);var f;o.datasourceBind=new Q((f=n==null?void 0:n.datasourceBind)!==null&&f!==void 0?f:{displayBoList:[new Hr({value:"name"})]});var y;o.defaultValue=new Hm((y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:{amount:"",currency:u.AMOUNT_TYPE.CNY});var s;o.unitPosition=(s=n==null?void 0:n.unitPosition)!==null&&s!==void 0?s:"right",o.options=We(n==null?void 0:n.options);var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Xo.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:_.getMessage("pleaseEnter");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 e}(M);ue(Ko,"Rules",Ate),ue(Ko,"RuntimeRules",Nte);function Fte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kte(t,e,n){return e=Dn(e),Cte(t,jR()?Reflect.construct(e,n||[],Dn(t).constructor):e.apply(t,n))}function Dte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function LR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Lte(t,e,n){return e&&LR(t.prototype,e),n&&LR(t,n),t}function fl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _l(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?_l=Reflect.get:_l=function(r,i,c){var l=Vte(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},_l(t,e,n||t)}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(t)}function jte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dd(t,e)}function Cte(t,e){return e&&(zte(e)==="object"||typeof e=="function")?e:Fte(t)}function Dd(t,e){return Dd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dd(t,e)}function Vte(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Dn(t),t!==null););return t}function zte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jR=function(){return!!t})()}var Xo=function(t){jte(e,t);function e(n){Dte(this,e);var o;return o=kte(this,e,[n]),fl(o,"props",void 0),o.props=new Ko(n==null?void 0:n.props),o}return Lte(e,[{key:"toDataBindModel",value:function(o){var r=_l(Dn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,c=i.precision,l=i.micrometer;c!==""&&(r.props.precision=c),r.props.micrometer=l}return r}}],[{key:"controlName",get:function(){return _.getMessage("amount")}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),e}(A);fl(Xo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),fl(Xo,"controlFieldType",u.FieldTypes.MONEY),fl(Xo,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function Gte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yte(t,e,n){return e=yl(e),Ute(t,zR()?Reflect.construct(e,n||[],yl(t).constructor):e.apply(t,n))}function Hte(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qte(t,e,n){return e&&CR(t.prototype,e),n&&CR(t,n),t}function VR(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yl(t){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(t)}function xte(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ld(t,e)}function Ute(t,e){return e&&(Wte(e)==="object"||typeof e=="function")?e:Gte(t)}function Ld(t,e){return Ld=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ld(t,e)}function Wte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zR=function(){return!!t})()}var GR=function(t){xte(e,t);function e(n){Hte(this,e);var o;return o=Yte(this,e,[n]),VR(o,"props",void 0),o.props=new Ko(n==null?void 0:n.props),o}return qte(e,null,[{key:"controlType",get:function(){return"amount"}}]),e}(N);VR(GR,"controlFieldType",u.FieldTypes.MONEY);var YR={Designer:Xo,Runtime:GR,Property:Ko};function Kte(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jd(t,e,n){return e=sl(e),Xte(t,HR()?Reflect.construct(e,n||[],sl(t).constructor):e.apply(t,n))}function Cd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sl(t){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sl(t)}function Vd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zd(t,e)}function Xte(t,e){return e&&(Jte(e)==="object"||typeof e=="function")?e:Kte(t)}function zd(t,e){return zd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zd(t,e)}function Jte(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HR=function(){return!!t})()}var Qte=function(t){Vd(e,t);function e(n){Cd(this,e);var o;return o=jd(this,e,[n]),ct(o,"totalScore",[{type:"number",required:!0,message:_.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:_.getMessage("theTotalScoreMustNotBeLessThan1")}]),ct(o,"defaultValue",{type:"number",min:0,max:5,message:_.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=_.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return e}(ee),Zte=function(t){Vd(e,t);function e(n){Cd(this,e);var o;o=jd(this,e,[n]),o[0]!==void 0&&(o[0].type="number");var r=n.required?1:0;return o.push({type:"number",min:r,max:n.totalScore,message:_.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:r})}),o}return e}(L),Jo=function(t){Vd(e,t);function e(n){Cd(this,e);var o,r;o=jd(this,e,[n]),ct(o,"totalScore",void 0),ct(o,"scoreType",void 0),ct(o,"isShowExplain",void 0),ct(o,"explain",void 0),ct(o,"defaultValue",void 0);var i;o.totalScore=(i=n==null?void 0:n.totalScore)!==null&&i!==void 0?i:5;var c;o.scoreType=(c=n==null?void 0:n.scoreType)!==null&&c!==void 0?c:u.SCORE_TYPE.STAR;var l;o.isShowExplain=(l=n==null?void 0:n.isShowExplain)!==null&&l!==void 0?l:!0;var a;o.explain=(a=n==null||(r=n.explain)===null||r===void 0?void 0:r.map(function(s){return new Fi(s)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new Fi});var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:0;var y;return o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Qo.controlName,o}return e}(M);ct(Jo,"Rules",Qte),ct(Jo,"RuntimeRules",Zte);function Gd(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function ene(t){if(Array.isArray(t))return Gd(t)}function tne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nne(t,e,n){return e=Ln(e),lne(t,xR()?Reflect.construct(e,n||[],Ln(t).constructor):e.apply(t,n))}function one(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function rne(t,e,n){return e&&qR(t.prototype,e),n&&qR(t,n),t}function pl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vl(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vl=Reflect.get:vl=function(r,i,c){var l=ane(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},vl(t,e,n||t)}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function ine(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yd(t,e)}function une(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cne(){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 lne(t,e){return e&&(_ne(e)==="object"||typeof e=="function")?e:tne(t)}function Yd(t,e){return Yd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yd(t,e)}function ane(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ln(t),t!==null););return t}function fne(t){return ene(t)||une(t)||yne(t)||cne()}function _ne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yne(t,e){if(!!t){if(typeof t=="string")return Gd(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Gd(t,e)}}function xR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xR=function(){return!!t})()}var Qo=function(t){ine(e,t);function e(n){one(this,e);var o;return o=nne(this,e,[n]),pl(o,"props",void 0),o.props=new Jo(n==null?void 0:n.props),o}return rne(e,[{key:"postUpdate",value:function(o,r){if(o==="totalScore"){if(r===this.props.explain.length)return;if(this.props.explain.length>r)this.props.explain=this.props.explain.slice(0,r);else{var i,c=r-this.props.explain.length,l=Array(c).fill(void 0).map(function(){return new Fi});(i=this.props.explain).push.apply(i,fne(l))}}vl(Ln(e.prototype),"postUpdate",this).call(this,o,r)}}],[{key:"controlName",get:function(){return _.getMessage("score")}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),e}(A);pl(Qo,"controlEventKeys",["on_change","on_click"]),pl(Qo,"controlFieldType",u.FieldTypes.DECIMAL),pl(Qo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function sne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pne(t,e,n){return e=dl(e),bne(t,KR()?Reflect.construct(e,n||[],dl(t).constructor):e.apply(t,n))}function vne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function UR(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function dne(t,e,n){return e&&UR(t.prototype,e),n&&UR(t,n),t}function WR(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dl(t){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dl(t)}function hne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hd(t,e)}function bne(t,e){return e&&(gne(e)==="object"||typeof e=="function")?e:sne(t)}function Hd(t,e){return Hd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hd(t,e)}function gne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function KR(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(KR=function(){return!!t})()}var XR=function(t){hne(e,t);function e(n){vne(this,e);var o;return o=pne(this,e,[n]),WR(o,"props",void 0),o.props=new Jo(n==null?void 0:n.props),o}return dne(e,null,[{key:"controlType",get:function(){return"score"}}]),e}(N);WR(XR,"controlFieldType",u.FieldTypes.DECIMAL);var JR={Designer:Qo,Runtime:XR,Property:Jo};function One(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QR(t,e,n){return e=bl(e),mne(t,tB()?Reflect.construct(e,n||[],bl(t).constructor):e.apply(t,n))}function ZR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bl(t){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bl(t)}function eB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qd(t,e)}function mne(t,e){return e&&(wne(e)==="object"||typeof e=="function")?e:One(t)}function qd(t,e){return qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qd(t,e)}function wne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tB=function(){return!!t})()}var $ne=function(t){eB(e,t);function e(n){ZR(this,e);var o;if(o=QR(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var r={type:"object",fields:{province:{type:"string",required:n.required,message:_.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(r.fields.city={type:"string",required:n.required,message:_.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(r.fields.district={type:"string",required:n.required,message:_.getMessage("pleaseSelectDistrict")}),o.push(r)}return o}return e}(L),gl=function(t){eB(e,t);function e(n){ZR(this,e);var o;o=QR(this,e,[n]),hl(o,"defaultValueType",void 0),hl(o,"defaultValue",void 0),hl(o,"addressType",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:ml.controlName;var i;o.defaultValueType=(i=n==null?void 0:n.defaultValueType)!==null&&i!==void 0?i:"default";var c;o.addressType=(c=n==null?void 0:n.addressType)!==null&&c!==void 0?c:["province","city","district"];var l;o.defaultValue=new Um((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:_.getMessage("pleaseChooseAddress"),o}return e}(M);hl(gl,"RuntimeRules",$ne);function Pne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tne(t,e,n){return e=Ol(e),Bne(t,oB()?Reflect.construct(e,n||[],Ol(t).constructor):e.apply(t,n))}function Ene(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nB(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Sne(t,e,n){return e&&nB(t.prototype,e),n&&nB(t,n),t}function xd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ol(t){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ol(t)}function Rne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ud(t,e)}function Bne(t,e){return e&&(Ine(e)==="object"||typeof e=="function")?e:Pne(t)}function Ud(t,e){return Ud=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ud(t,e)}function Ine(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oB=function(){return!!t})()}var ml=function(t){Rne(e,t);function e(n){Ene(this,e);var o;return o=Tne(this,e,[n]),xd(o,"props",void 0),o.props=new gl(n==null?void 0:n.props),o}return Sne(e,null,[{key:"controlName",get:function(){return _.getMessage("address")}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),e}(A);xd(ml,"controlFieldType",u.FieldTypes.ADDRESS),xd(ml,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function Mne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ane(t,e,n){return e=wl(e),Dne(t,uB()?Reflect.construct(e,n||[],wl(t).constructor):e.apply(t,n))}function Nne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rB(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Fne(t,e,n){return e&&rB(t.prototype,e),n&&rB(t,n),t}function iB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wl(t){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wl(t)}function kne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wd(t,e)}function Dne(t,e){return e&&(Lne(e)==="object"||typeof e=="function")?e:Mne(t)}function Wd(t,e){return Wd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wd(t,e)}function Lne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uB=function(){return!!t})()}var cB=function(t){kne(e,t);function e(n){Nne(this,e);var o;return o=Ane(this,e,[n]),iB(o,"props",void 0),o.props=new gl(n==null?void 0:n.props),o}return Fne(e,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),e}(N);iB(cB,"controlFieldType",u.FieldTypes.ADDRESS);var lB={Designer:ml,Runtime:cB,Property:gl};function jne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aB(t,e,n){return e=$l(e),Cne(t,yB()?Reflect.construct(e,n||[],$l(t).constructor):e.apply(t,n))}function fB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $l(t){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(t)}function _B(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kd(t,e)}function Cne(t,e){return e&&(Vne(e)==="object"||typeof e=="function")?e:jne(t)}function Kd(t,e){return Kd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kd(t,e)}function Vne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yB=function(){return!!t})()}var zne=function(t){_B(e,t);function e(n){fB(this,e);var o;return o=aB(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(L),Pl=function(t){_B(e,t);function e(n){fB(this,e);var o;o=aB(this,e,[n]),Ge(o,"showType",void 0),Ge(o,"range",void 0),Ge(o,"defaultValueType",void 0),Ge(o,"multiple",void 0),Ge(o,"rangeOptions",void 0),Ge(o,"defaultValue",void 0),Ge(o,"displayLevel",void 0),Ge(o,"showSubDept",void 0),Ge(o,"multistageFilling",void 0),Ge(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"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 f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var s;o.showSubDept=(s=n==null?void 0:n.showSubDept)!==null&&s!==void 0?s:!0;var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Zo.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:_.getMessage("pleaseSelectDept");var g;return o.openMultistageFilling=(g=n==null?void 0:n.openMultistageFilling)!==null&&g!==void 0?g:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new ve(h))})),o}return e}(M);Ge(Pl,"RuntimeRules",zne);function Gne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yne(t,e,n){return e=jn(e),Une(t,pB()?Reflect.construct(e,n||[],jn(t).constructor):e.apply(t,n))}function Hne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sB(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qne(t,e,n){return e&&sB(t.prototype,e),n&&sB(t,n),t}function Tl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function El(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?El=Reflect.get:El=function(r,i,c){var l=Wne(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},El(t,e,n||t)}function jn(t){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jn(t)}function xne(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xd(t,e)}function Une(t,e){return e&&(Kne(e)==="object"||typeof e=="function")?e:Gne(t)}function Xd(t,e){return Xd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xd(t,e)}function Wne(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=jn(t),t!==null););return t}function Kne(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pB=function(){return!!t})()}var Zo=function(t){xne(e,t);function e(n){Hne(this,e);var o;return o=Yne(this,e,[n]),Tl(o,"props",void 0),o.props=new Pl(n==null?void 0:n.props),o}return qne(e,[{key:"toDataBindModel",value:function(o){var r=El(jn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,c=i.displayLevel,l=i.showSubDept;r.props.displayLevel=c,r.props.showSubDept=l}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),e}(A);Tl(Zo,"controlName",_.getMessage("department")),Tl(Zo,"controlFieldType",u.FieldTypes.DEPARTMENTS),Tl(Zo,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function Xne(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jne(t,e,n){return e=Sl(e),toe(t,hB()?Reflect.construct(e,n||[],Sl(t).constructor):e.apply(t,n))}function Qne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vB(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Zne(t,e,n){return e&&vB(t.prototype,e),n&&vB(t,n),t}function dB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sl(t){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sl(t)}function eoe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Jd(t,e)}function toe(t,e){return e&&(noe(e)==="object"||typeof e=="function")?e:Xne(t)}function Jd(t,e){return Jd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Jd(t,e)}function noe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hB=function(){return!!t})()}var bB=function(t){eoe(e,t);function e(n){Qne(this,e);var o;return o=Jne(this,e,[n]),dB(o,"props",void 0),o.props=new Pl(n==null?void 0:n.props),o}return Zne(e,null,[{key:"controlType",get:function(){return"department"}}]),e}(N);dB(bB,"controlFieldType",u.FieldTypes.DEPARTMENTS);var gB={Designer:Zo,Runtime:bB,Property:Pl};function ooe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function roe(t,e,n){return e=Rl(e),loe(t,OB()?Reflect.construct(e,n||[],Rl(t).constructor):e.apply(t,n))}function ioe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uoe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rl(t){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rl(t)}function coe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qd(t,e)}function loe(t,e){return e&&(aoe(e)==="object"||typeof e=="function")?e:ooe(t)}function Qd(t,e){return Qd=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qd(t,e)}function aoe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(OB=function(){return!!t})()}var Zd=function(t){coe(e,t);function e(n){ioe(this,e);var o;o=roe(this,e,[n]),uoe(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:"";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:er.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:_.getMessage("pleaseEnterAutonumber"),o}return e}(M);function foe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _oe(t,e,n){return e=Il(e),voe(t,wB()?Reflect.construct(e,n||[],Il(t).constructor):e.apply(t,n))}function yoe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mB(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function soe(t,e,n){return e&&mB(t.prototype,e),n&&mB(t,n),t}function Bl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Il(t){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(t)}function poe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eh(t,e)}function voe(t,e){return e&&(doe(e)==="object"||typeof e=="function")?e:foe(t)}function eh(t,e){return eh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},eh(t,e)}function doe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wB=function(){return!!t})()}var er=function(t){poe(e,t);function e(n){yoe(this,e);var o;return o=_oe(this,e,[n]),Bl(o,"props",void 0),o.props=new Zd(n==null?void 0:n.props),o}return soe(e,null,[{key:"controlName",get:function(){return _.getMessage("autoNumber")}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),e}(A);Bl(er,"controlEventKeys",["on_change"]),Bl(er,"controlFieldType",u.FieldTypes.AUTO_NUMBER),Bl(er,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function hoe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function boe(t,e,n){return e=Ml(e),woe(t,TB()?Reflect.construct(e,n||[],Ml(t).constructor):e.apply(t,n))}function goe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $B(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Ooe(t,e,n){return e&&$B(t.prototype,e),n&&$B(t,n),t}function PB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ml(t){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ml(t)}function moe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&th(t,e)}function woe(t,e){return e&&($oe(e)==="object"||typeof e=="function")?e:hoe(t)}function th(t,e){return th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},th(t,e)}function $oe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(TB=function(){return!!t})()}var EB=function(t){moe(e,t);function e(n){goe(this,e);var o;return o=boe(this,e,[n]),PB(o,"props",void 0),o.props=new Zd(n==null?void 0:n.props),o}return Ooe(e,null,[{key:"controlType",get:function(){return"auto-number"}}]),e}(N);PB(EB,"controlFieldType",u.FieldTypes.AUTO_NUMBER);var SB={Designer:er,Runtime:EB,Property:Zd};function Poe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nh(t,e,n){return e=Al(e),Toe(t,RB()?Reflect.construct(e,n||[],Al(t).constructor):e.apply(t,n))}function oh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Al(t){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Al(t)}function rh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ih(t,e)}function Toe(t,e){return e&&(Eoe(e)==="object"||typeof e=="function")?e:Poe(t)}function ih(t,e){return ih=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ih(t,e)}function Eoe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function RB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(RB=function(){return!!t})()}var Soe=function(t){rh(e,t);function e(n){oh(this,e);var o;return o=nh(this,e,[n]),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return e}(ee),Roe=function(t){rh(e,t);function e(n){oh(this,e);var o;return o=nh(this,e,[n]),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:_.getMessage("isNotObject"),fields:{result:[{type:"number",message:_.getMessage("isNotNumber")}],unit:{type:"string",message:_.getMessage("isNotString")}}}),o}return e}(L),tr=function(t){rh(e,t);function e(n){oh(this,e);var o;o=nh(this,e,[n]),Ye(o,"precision",void 0),Ye(o,"micrometer",void 0),Ye(o,"showUpperCase",void 0),Ye(o,"scriptSrc",void 0),Ye(o,"scriptEcho",void 0),Ye(o,"dataBind",void 0),Ye(o,"defaultValue",void 0),Ye(o,"unitPosition",void 0),Ye(o,"calcOnMounted",void 0);var r;o.precision=(r=n==null?void 0:n.precision)!==null&&r!==void 0?r:0;var i;o.micrometer=(i=n==null?void 0:n.micrometer)!==null&&i!==void 0?i:!1;var c;o.showUpperCase=(c=n==null?void 0:n.showUpperCase)!==null&&c!==void 0?c:!1,o.dataBind=new Wm(n==null?void 0:n.dataBind),o.defaultValue=new Km(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:nr.controlName;var a;o.unitPosition=(a=n==null?void 0:n.unitPosition)!==null&&a!==void 0?a:"right";var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:_.getMessage("pleaseEnter");var y;o.scriptEcho=(y=n==null?void 0:n.scriptEcho)!==null&&y!==void 0?y:[];var s;o.scriptSrc=(s=n==null?void 0:n.scriptSrc)!==null&&s!==void 0?s:"";var v;return o.calcOnMounted=(v=n==null?void 0:n.calcOnMounted)!==null&&v!==void 0?v:!1,o}return e}(M);Ye(tr,"Rules",Soe),Ye(tr,"RuntimeRules",Roe);function Boe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ioe(t,e,n){return e=Cn(e),Foe(t,IB()?Reflect.construct(e,n||[],Cn(t).constructor):e.apply(t,n))}function Moe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function BB(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Aoe(t,e,n){return e&&BB(t.prototype,e),n&&BB(t,n),t}function Nl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fl(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Fl=Reflect.get:Fl=function(r,i,c){var l=koe(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},Fl(t,e,n||t)}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(t)}function Noe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&uh(t,e)}function Foe(t,e){return e&&(Doe(e)==="object"||typeof e=="function")?e:Boe(t)}function uh(t,e){return uh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uh(t,e)}function koe(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Cn(t),t!==null););return t}function Doe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IB=function(){return!!t})()}var nr=function(t){Noe(e,t);function e(n){Moe(this,e);var o;return o=Ioe(this,e,[n]),Nl(o,"props",void 0),o.props=new tr(n==null?void 0:n.props),o}return Aoe(e,[{key:"toDataBindModel",value:function(o){var r=Fl(Cn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,c=i.precision,l=i.micrometer;c!==""&&(r.props.precision=c),r.props.micrometer=l}return r}}],[{key:"controlName",get:function(){return _.getMessage("calc")}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),e}(A);Nl(nr,"controlEventKeys",["on_change"]),Nl(nr,"controlFieldType",u.FieldTypes.CALC),Nl(nr,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function Loe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function joe(t,e,n){return e=kl(e),Goe(t,NB()?Reflect.construct(e,n||[],kl(t).constructor):e.apply(t,n))}function Coe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function MB(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Voe(t,e,n){return e&&MB(t.prototype,e),n&&MB(t,n),t}function AB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kl(t){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kl(t)}function zoe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ch(t,e)}function Goe(t,e){return e&&(Yoe(e)==="object"||typeof e=="function")?e:Loe(t)}function ch(t,e){return ch=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ch(t,e)}function Yoe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(NB=function(){return!!t})()}var FB=function(t){zoe(e,t);function e(n){Coe(this,e);var o;return o=joe(this,e,[n]),AB(o,"props",void 0),o.props=new tr(n==null?void 0:n.props),o}return Voe(e,null,[{key:"controlType",get:function(){return"calc"}}]),e}(N);AB(FB,"controlFieldType",u.FieldTypes.CALC);var kB={Designer:nr,Runtime:FB,Property:tr};function Hoe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DB(t,e,n){return e=Dl(e),qoe(t,CB()?Reflect.construct(e,n||[],Dl(t).constructor):e.apply(t,n))}function LB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dl(t){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dl(t)}function jB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lh(t,e)}function qoe(t,e){return e&&(xoe(e)==="object"||typeof e=="function")?e:Hoe(t)}function lh(t,e){return lh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lh(t,e)}function xoe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CB=function(){return!!t})()}var Uoe=function(t){jB(e,t);function e(n){LB(this,e);var o;return o=DB(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(i,c){if(n.required){var l=c.every(function(a){return!a});return l?Promise.reject(_.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return e}(L),Ll=function(t){jB(e,t);function e(n){LB(this,e);var o;o=DB(this,e,[n]),Vn(o,"rangeMin",void 0),Vn(o,"rangeMax",void 0),Vn(o,"placeholderStart",void 0),Vn(o,"placeholderEnd",void 0),Vn(o,"defaultValue",void 0);var r;o.defaultValue=(r=n==null?void 0:n.defaultValue)!==null&&r!==void 0?r:["",""];var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var l;o.placeholderStart=(l=n==null?void 0:n.placeholderStart)!==null&&l!==void 0?l:_.getMessage("min");var a;o.placeholderEnd=(a=n==null?void 0:n.placeholderEnd)!==null&&a!==void 0?a:_.getMessage("max");var f;return o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Cl.controlName,o}return e}(M);Vn(Ll,"RuntimeRules",Uoe);function Woe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Koe(t,e,n){return e=jl(e),Zoe(t,zB()?Reflect.construct(e,n||[],jl(t).constructor):e.apply(t,n))}function Xoe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function VB(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Joe(t,e,n){return e&&VB(t.prototype,e),n&&VB(t,n),t}function ah(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jl(t){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(t)}function Qoe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fh(t,e)}function Zoe(t,e){return e&&(ere(e)==="object"||typeof e=="function")?e:Woe(t)}function fh(t,e){return fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fh(t,e)}function ere(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zB=function(){return!!t})()}var Cl=function(t){Qoe(e,t);function e(n){Xoe(this,e);var o;return o=Koe(this,e,[n]),ah(o,"props",void 0),o.props=new Ll(n==null?void 0:n.props),o}return Joe(e,null,[{key:"controlName",get:function(){return _.getMessage("searchNumberRange")}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),e}(A);ah(Cl,"controlFieldType",u.FieldTypes.DECIMAL_RANGE),ah(Cl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function tre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nre(t,e,n){return e=Vl(e),ure(t,HB()?Reflect.construct(e,n||[],Vl(t).constructor):e.apply(t,n))}function ore(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function GB(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function rre(t,e,n){return e&&GB(t.prototype,e),n&&GB(t,n),t}function YB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vl(t){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vl(t)}function ire(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_h(t,e)}function ure(t,e){return e&&(cre(e)==="object"||typeof e=="function")?e:tre(t)}function _h(t,e){return _h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_h(t,e)}function cre(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HB=function(){return!!t})()}var qB=function(t){ire(e,t);function e(n){ore(this,e);var o;return o=nre(this,e,[n]),YB(o,"props",void 0),o.props=new Ll(n==null?void 0:n.props),o}return rre(e,null,[{key:"controlType",get:function(){return"search-number-range"}}]),e}(N);YB(qB,"controlFieldType",u.FieldTypes.DECIMAL_RANGE);var xB={Designer:Cl,Runtime:qB,Property:Ll};function lre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function UB(t,e,n){return e=zl(e),are(t,XB()?Reflect.construct(e,n||[],zl(t).constructor):e.apply(t,n))}function WB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function He(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zl(t){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zl(t)}function KB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yh(t,e)}function are(t,e){return e&&(fre(e)==="object"||typeof e=="function")?e:lre(t)}function yh(t,e){return yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yh(t,e)}function fre(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XB=function(){return!!t})()}var _re=function(t){KB(e,t);function e(n){WB(this,e);var o;return o=UB(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return e}(L),Gl=function(t){KB(e,t);function e(n){WB(this,e);var o,r;o=UB(this,e,[n]),He(o,"rangeMin",void 0),He(o,"rangeMax",void 0),He(o,"placeholderStart",void 0),He(o,"placeholderEnd",void 0),He(o,"dateType",void 0),He(o,"dateFormat",void 0),He(o,"commonTimeSetting",void 0),He(o,"setValueType",void 0),He(o,"defaultValue",void 0),He(o,"limitDateList",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:u.DateType.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var y;o.rangeMin=(y=n==null?void 0:n.rangeMin)!==null&&y!==void 0?y:"";var s;o.rangeMax=(s=n==null?void 0:n.rangeMax)!==null&&s!==void 0?s:"";var v;o.placeholderStart=(v=n==null?void 0:n.placeholderStart)!==null&&v!==void 0?v:_.getMessage("startDate");var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:_.getMessage("endDate");var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Hl.controlName;var h;return o.limitDateList=(h=n==null||(r=n.limitDateList)===null||r===void 0?void 0:r.map(function(O){return new Ni(O)}))!==null&&h!==void 0?h:[],o}return e}(M);He(Gl,"RuntimeRules",_re);function yre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sre(t,e,n){return e=Yl(e),hre(t,QB()?Reflect.construct(e,n||[],Yl(t).constructor):e.apply(t,n))}function pre(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function JB(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function vre(t,e,n){return e&&JB(t.prototype,e),n&&JB(t,n),t}function sh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yl(t){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yl(t)}function dre(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ph(t,e)}function hre(t,e){return e&&(bre(e)==="object"||typeof e=="function")?e:yre(t)}function ph(t,e){return ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ph(t,e)}function bre(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QB(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QB=function(){return!!t})()}var Hl=function(t){dre(e,t);function e(n){pre(this,e);var o;return o=sre(this,e,[n]),sh(o,"props",void 0),o.props=new Gl(n==null?void 0:n.props),o}return vre(e,null,[{key:"controlName",get:function(){return _.getMessage("timescope")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),e}(A);sh(Hl,"controlFieldType",u.FieldTypes.ARRAY),sh(Hl,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function gre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ore(t,e,n){return e=ql(e),Pre(t,t3()?Reflect.construct(e,n||[],ql(t).constructor):e.apply(t,n))}function mre(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ZB(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function wre(t,e,n){return e&&ZB(t.prototype,e),n&&ZB(t,n),t}function e3(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ql(t){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ql(t)}function $re(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vh(t,e)}function Pre(t,e){return e&&(Tre(e)==="object"||typeof e=="function")?e:gre(t)}function vh(t,e){return vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vh(t,e)}function Tre(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function t3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(t3=function(){return!!t})()}var n3=function(t){$re(e,t);function e(n){mre(this,e);var o;return o=Ore(this,e,[n]),e3(o,"props",void 0),o.props=new Gl(n==null?void 0:n.props),o}return wre(e,null,[{key:"controlType",get:function(){return"search-date-range"}}]),e}(N);e3(n3,"controlFieldType",u.FieldTypes.ARRAY);var o3={Designer:Hl,Runtime:n3,Property:Gl};function Ere(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dh(t,e,n){return e=xl(e),Sre(t,r3()?Reflect.construct(e,n||[],xl(t).constructor):e.apply(t,n))}function hh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xl(t){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xl(t)}function bh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gh(t,e)}function Sre(t,e){return e&&(Rre(e)==="object"||typeof e=="function")?e:Ere(t)}function gh(t,e){return gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gh(t,e)}function Rre(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function r3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(r3=function(){return!!t})()}var Bre=function(t){bh(e,t);function e(n){hh(this,e);var o;return o=dh(this,e,[n]),o.dataBind={type:"any"},o}return e}(ee),Ire=function(t){bh(e,t);function e(n){hh(this,e);var o;return o=dh(this,e,[n]),o[0]!==void 0&&(o[0].type="any"),o}return e}(L),or=function(t){bh(e,t);function e(n){hh(this,e);var o;o=dh(this,e,[n]),zn(o,"controlExportName",void 0),zn(o,"permissions",void 0),zn(o,"defaultValue",void 0),zn(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Gn.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";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 e}(M);zn(or,"Rules",Bre),zn(or,"RuntimeRules",Ire);function Mre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Are(t,e,n){return e=Ul(e),Dre(t,u3()?Reflect.construct(e,n||[],Ul(t).constructor):e.apply(t,n))}function Nre(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i3(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Fre(t,e,n){return e&&i3(t.prototype,e),n&&i3(t,n),t}function rr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ul(t){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ul(t)}function kre(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Oh(t,e)}function Dre(t,e){return e&&(Lre(e)==="object"||typeof e=="function")?e:Mre(t)}function Oh(t,e){return Oh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Oh(t,e)}function Lre(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function u3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(u3=function(){return!!t})()}var Gn=function(t){kre(e,t);function e(n){Nre(this,e);var o;return o=Are(this,e,[n]),rr(o,"props",void 0),o.props=new or(n==null?void 0:n.props),o}return Fre(e,null,[{key:"controlName",get:function(){return _.getMessage("vueFormItem")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),e}(A);rr(Gn,"controlFieldType",u.FieldTypes.ANY),rr(Gn,"controlEventKeys",[]),rr(Gn,"slots",["grid-table-toolbar-slot",$y.DEFAULT]),rr(Gn,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function jre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cre(t,e,n){return e=Wl(e),Yre(t,a3()?Reflect.construct(e,n||[],Wl(t).constructor):e.apply(t,n))}function Vre(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c3(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function zre(t,e,n){return e&&c3(t.prototype,e),n&&c3(t,n),t}function l3(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wl(t){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wl(t)}function Gre(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mh(t,e)}function Yre(t,e){return e&&(Hre(e)==="object"||typeof e=="function")?e:jre(t)}function mh(t,e){return mh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mh(t,e)}function Hre(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function a3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(a3=function(){return!!t})()}var f3=function(t){Gre(e,t);function e(n){Vre(this,e);var o;return o=Cre(this,e,[n]),l3(o,"props",void 0),o.props=new or(n==null?void 0:n.props),o}return zre(e,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),e}(N);l3(f3,"controlFieldType",u.FieldTypes.ANY);var _3={Designer:Gn,Runtime:f3,Property:or};function qre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y3(t,e,n){return e=Kl(e),xre(t,v3()?Reflect.construct(e,n||[],Kl(t).constructor):e.apply(t,n))}function s3(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kl(t){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kl(t)}function p3(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wh(t,e)}function xre(t,e){return e&&(Ure(e)==="object"||typeof e=="function")?e:qre(t)}function wh(t,e){return wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},wh(t,e)}function Ure(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function v3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(v3=function(){return!!t})()}var Wre=function(t){p3(e,t);function e(n){s3(this,e);var o;return o=y3(this,e,[n]),ce(o,"listPageBind",[{type:"object",message:_.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:_.getMessage("isNotString")},{type:"string",required:!0,message:_.getMessage("pleaseEnterList")}]}}]),ce(o,"formBind",{type:"object",fields:{formKey:{type:"string",message:_.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return e}(Ft),Xl=function(t){p3(e,t);function e(n){s3(this,e);var o;o=y3(this,e,[n]),ce(o,"options",void 0),ce(o,"optionConfig",void 0),ce(o,"defaultValue",void 0),ce(o,"listPageBind",void 0),ce(o,"datasourceBind",void 0),ce(o,"multistageFilling",void 0),ce(o,"viewFormModelType",void 0),ce(o,"canViewForm",void 0),ce(o,"formBind",void 0),ce(o,"openMultistageFilling",void 0),ce(o,"showSelectedDetail",void 0),ce(o,"selectedContentConfig",void 0),ce(o,"optionDisplayConfig",void 0),ce(o,"canSearch",void 0);var r;o.options=We((r=n==null?void 0:n.options)!==null&&r!==void 0?r:[]);var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"datasource",o.listPageBind=new Gr(n==null?void 0:n.listPageBind),o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ir.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:_.getMessage("pleaseSelect");var a;o.defaultValue=(a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:"";var f;o.openMultistageFilling=(f=n==null?void 0:n.openMultistageFilling)!==null&&f!==void 0?f:!1;var y;o.showSelectedDetail=(y=n==null?void 0:n.showSelectedDetail)!==null&&y!==void 0?y:!1,o.selectedContentConfig=new qr(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new ve(h))}));var s;o.canViewForm=(s=n==null?void 0:n.canViewForm)!==null&&s!==void 0?s:!1;var v;o.viewFormModelType=(v=n==null?void 0:n.viewFormModelType)!==null&&v!==void 0?v:"window",o.formBind=new Nt(n==null?void 0:n.formBind);var b;o.optionDisplayConfig=(b=n==null?void 0:n.optionDisplayConfig)!==null&&b!==void 0?b:[];var g;return o.canSearch=(g=n==null?void 0:n.canSearch)!==null&&g!==void 0?g:!1,o}return e}(M);ce(Xl,"Rules",Wre);function Kre(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xre(t,e,n){return e=Yn(e),eie(t,h3()?Reflect.construct(e,n||[],Yn(t).constructor):e.apply(t,n))}function Jre(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d3(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Qre(t,e,n){return e&&d3(t.prototype,e),n&&d3(t,n),t}function Jl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ql(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ql=Reflect.get:Ql=function(r,i,c){var l=tie(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},Ql(t,e,n||t)}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function Zre(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$h(t,e)}function eie(t,e){return e&&(nie(e)==="object"||typeof e=="function")?e:Kre(t)}function $h(t,e){return $h=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$h(t,e)}function tie(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Yn(t),t!==null););return t}function nie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function h3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h3=function(){return!!t})()}var ir=function(t){Zre(e,t);function e(n){Jre(this,e);var o;return o=Xre(this,e,[n]),Jl(o,"props",void 0),o.props=new Xl(n==null?void 0:n.props),o}return Qre(e,[{key:"toDataBindModel",value:function(o){var r=Ql(Yn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props.optionDisplayConfig;r.props.optionDisplayConfig=i}return r}}],[{key:"controlName",get:function(){return _.getMessage("selectRelation")}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),e}(A);Jl(ir,"controlFieldType",u.FieldTypes.VARCHAR),Jl(ir,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.CAN_VIEW_FORM,u.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}]),Jl(ir,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function oie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rie(t,e,n){return e=Zl(e),lie(t,O3()?Reflect.construct(e,n||[],Zl(t).constructor):e.apply(t,n))}function iie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b3(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function uie(t,e,n){return e&&b3(t.prototype,e),n&&b3(t,n),t}function g3(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zl(t){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zl(t)}function cie(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ph(t,e)}function lie(t,e){return e&&(aie(e)==="object"||typeof e=="function")?e:oie(t)}function Ph(t,e){return Ph=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ph(t,e)}function aie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function O3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(O3=function(){return!!t})()}var m3=function(t){cie(e,t);function e(n){iie(this,e);var o;return o=rie(this,e,[n]),g3(o,"props",void 0),o.props=new Xl(n==null?void 0:n.props),o}return uie(e,null,[{key:"controlType",get:function(){return"select-relation"}}]),e}(N);g3(m3,"controlFieldType",u.FieldTypes.VARCHAR);var w3={Designer:ir,Runtime:m3,Property:Xl};function fie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _ie(t,e,n){return e=ea(e),pie(t,$3()?Reflect.construct(e,n||[],ea(t).constructor):e.apply(t,n))}function yie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ea(t){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ea(t)}function sie(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Th(t,e)}function pie(t,e){return e&&(vie(e)==="object"||typeof e=="function")?e:fie(t)}function Th(t,e){return Th=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Th(t,e)}function vie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($3=function(){return!!t})()}var Eh=function(t){sie(e,t);function e(n){return yie(this,e),_ie(this,e,[n])}return e}(Bn);function die(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hie(t,e,n){return e=ta(e),mie(t,E3()?Reflect.construct(e,n||[],ta(t).constructor):e.apply(t,n))}function bie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function P3(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function gie(t,e,n){return e&&P3(t.prototype,e),n&&P3(t,n),t}function T3(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ta(t){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ta(t)}function Oie(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sh(t,e)}function mie(t,e){return e&&(wie(e)==="object"||typeof e=="function")?e:die(t)}function Sh(t,e){return Sh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Sh(t,e)}function wie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function E3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(E3=function(){return!!t})()}var S3=function(t){Oie(e,t);function e(n){bie(this,e);var o;return o=hie(this,e,[n]),T3(o,"props",void 0),o.props=new Eh(n==null?void 0:n.props),o}return gie(e,null,[{key:"controlName",get:function(){return _.getMessage("input")}},{key:"controlType",get:function(){return"search-input"}}]),e}(In);T3(S3,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}]);function $ie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pie(t,e,n){return e=na(e),Rie(t,I3()?Reflect.construct(e,n||[],na(t).constructor):e.apply(t,n))}function Tie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function R3(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Eie(t,e,n){return e&&R3(t.prototype,e),n&&R3(t,n),t}function B3(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function na(t){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},na(t)}function Sie(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rh(t,e)}function Rie(t,e){return e&&(Bie(e)==="object"||typeof e=="function")?e:$ie(t)}function Rh(t,e){return Rh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rh(t,e)}function Bie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function I3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(I3=function(){return!!t})()}var M3=function(t){Sie(e,t);function e(n){Tie(this,e);var o;return o=Pie(this,e,[n]),B3(o,"props",void 0),o.props=new Eh(n==null?void 0:n.props),o}return Eie(e,null,[{key:"controlType",get:function(){return"search-input"}}]),e}(N);B3(M3,"controlFieldType",u.FieldTypes.VARCHAR);var A3={Designer:S3,Runtime:M3,Property:Eh};function Iie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bh(t,e,n){return e=oa(e),Mie(t,N3()?Reflect.construct(e,n||[],oa(t).constructor):e.apply(t,n))}function Ih(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oa(t){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oa(t)}function Mh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ah(t,e)}function Mie(t,e){return e&&(Aie(e)==="object"||typeof e=="function")?e:Iie(t)}function Ah(t,e){return Ah=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ah(t,e)}function Aie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function N3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(N3=function(){return!!t})()}var Nie=function(t){Mh(e,t);function e(n){Ih(this,e);var o;return o=Bh(this,e,[n]),X(o,"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),Io.call(o,n,Pt.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:_.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:_.getMessage("rootNodeIsRequired")}}}]),o}return e}(ee),Fie=function(t){Mh(e,t);function e(n){Ih(this,e);var o;return o=Bh(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(L),ur=function(t){Mh(e,t);function e(n){Ih(this,e);var o,r;o=Bh(this,e,[n]),X(o,"placeholder",void 0),X(o,"multiple",void 0),X(o,"canSearch",void 0),X(o,"levelType",void 0),X(o,"optionalLevel",void 0),X(o,"containsSubNode",void 0),X(o,"defaultDisplay",void 0),X(o,"isShowIncludeSub",void 0),X(o,"isDefaultCheckSub",void 0),X(o,"isShowFilterItem",void 0),X(o,"defaultCollapse",void 0),X(o,"defaultCollapseLevel",void 0),X(o,"optionConfig","datasource"),X(o,"datasourceBind",void 0),X(o,"filterItemDatasourceBind",void 0),X(o,"multistageFilling",void 0),X(o,"defaultValue",void 0),X(o,"openMultistageFilling",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Pt.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:_.getMessage("pleaseSelect");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 f;o.levelType=(f=n==null?void 0:n.levelType)!==null&&f!==void 0?f:"all";var y;o.optionalLevel=(y=n==null?void 0:n.optionalLevel)!==null&&y!==void 0?y:1;var s;o.containsSubNode=(s=n==null?void 0:n.containsSubNode)!==null&&s!==void 0?s:!1;var v;o.isShowFilterItem=(v=n==null?void 0:n.isShowFilterItem)!==null&&v!==void 0?v:!1;var b;o.isShowIncludeSub=(b=n==null?void 0:n.isShowIncludeSub)!==null&&b!==void 0?b:!1;var g;o.isDefaultCheckSub=(g=n==null?void 0:n.isDefaultCheckSub)!==null&&g!==void 0?g:!1;var h;o.defaultCollapse=(h=n==null?void 0:n.defaultCollapse)!==null&&h!==void 0?h:"all";var O;o.defaultCollapseLevel=(O=n==null?void 0:n.defaultCollapseLevel)!==null&&O!==void 0?O:1;var d;o.datasourceBind=new qy((d=n==null?void 0:n.datasourceBind)!==null&&d!==void 0?d:{attributes:Pt.controlCustomAttributes});var m;o.filterItemDatasourceBind=new qy((m=n==null?void 0:n.filterItemDatasourceBind)!==null&&m!==void 0?m:{attributes:Pt.controlCustomAttributes});var $;o.openMultistageFilling=($=n==null?void 0:n.openMultistageFilling)!==null&&$!==void 0?$:!1;var w;o.defaultDisplay=(w=n==null?void 0:n.defaultDisplay)!==null&&w!==void 0?w:!1;var E;o.multistageFilling=(E=n==null||(r=n.multistageFilling)===null||r===void 0?void 0:r.map(function(R){return new ve(R)}))!==null&&E!==void 0?E:[];var T;return o.defaultValue=(T=n==null?void 0:n.defaultValue)!==null&&T!==void 0?T:[],o}return e}(M);X(ur,"Rules",Nie),X(ur,"RuntimeRules",Fie);function kie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Die(t,e,n){return e=ia(e),Vie(t,k3()?Reflect.construct(e,n||[],ia(t).constructor):e.apply(t,n))}function Lie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F3(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function jie(t,e,n){return e&&F3(t.prototype,e),n&&F3(t,n),t}function ra(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ia(t){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(t)}function Cie(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nh(t,e)}function Vie(t,e){return e&&(zie(e)==="object"||typeof e=="function")?e:kie(t)}function Nh(t,e){return Nh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Nh(t,e)}function zie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function k3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(k3=function(){return!!t})()}var Pt=function(t){Cie(e,t);function e(n){Lie(this,e);var o;return o=Die(this,e,[n]),ra(o,"props",void 0),o.props=new ur(n==null?void 0:n.props),o}return jie(e,null,[{key:"controlName",get:function(){return _.getMessage("tree")}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),e}(A);ra(Pt,"controlEventKeys",["on_change","on_click"]),ra(Pt,"controlFieldType",u.FieldTypes.ARRAY),ra(Pt,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.CAN_SEARCH,u.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,u.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function Gie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yie(t,e,n){return e=ua(e),Uie(t,j3()?Reflect.construct(e,n||[],ua(t).constructor):e.apply(t,n))}function Hie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function D3(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qie(t,e,n){return e&&D3(t.prototype,e),n&&D3(t,n),t}function L3(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ua(t){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ua(t)}function xie(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fh(t,e)}function Uie(t,e){return e&&(Wie(e)==="object"||typeof e=="function")?e:Gie(t)}function Fh(t,e){return Fh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fh(t,e)}function Wie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function j3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(j3=function(){return!!t})()}var C3=function(t){xie(e,t);function e(n){Hie(this,e);var o;return o=Yie(this,e,[n]),L3(o,"props",void 0),o.props=new ur(n==null?void 0:n.props),o}return qie(e,null,[{key:"controlType",get:function(){return"tree"}}]),e}(N);L3(C3,"controlFieldType",u.FieldTypes.ARRAY);var V3={Designer:Pt,Runtime:C3,Property:ur};function Kie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kh(t,e,n){return e=ca(e),Xie(t,z3()?Reflect.construct(e,n||[],ca(t).constructor):e.apply(t,n))}function Dh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function le(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ca(t){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ca(t)}function Lh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jh(t,e)}function Xie(t,e){return e&&(Jie(e)==="object"||typeof e=="function")?e:Kie(t)}function jh(t,e){return jh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jh(t,e)}function Jie(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function z3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(z3=function(){return!!t})()}var Qie=function(t){Lh(e,t);function e(n){Dh(this,e);var o;return o=kh(this,e,[n]),le(o,"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),le(o,"externalScope",{type:"any"}),Io.call(o,n,Hn.controlCustomAttributes),n.externalType===u.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:_.getMessage("pleaseAssignExternal")}),o}return e}(ee),Zie=function(t){Lh(e,t);function e(n){Dh(this,e);var o;return o=kh(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(L),cr=function(t){Lh(e,t);function e(n){Dh(this,e);var o;o=kh(this,e,[n]),le(o,"showType",void 0),le(o,"range",void 0),le(o,"rangeOptions",void 0),le(o,"multiple",void 0),le(o,"defaultValueType",void 0),le(o,"defaultValue",void 0),le(o,"multistageFilling",void 0),le(o,"datasourceBind",void 0),le(o,"datasourceType",void 0),le(o,"insideType",void 0),le(o,"externalType",void 0),le(o,"externalScope",void 0),le(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.range=(i=n==null?void 0:n.range)!==null&&i!==void 0?i:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];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 f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Hn.controlName;var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:_.getMessage("pleaseEnterNameorEmail");var v;o.datasourceBind=new To((v=n==null?void 0:n.datasourceBind)!==null&&v!==void 0?v:{attributes:Hn.controlCustomAttributes});var b;o.datasourceType=(b=n==null?void 0:n.datasourceType)!==null&&b!==void 0?b:u.OrganizeType.INTERNAL;var g;o.insideType=(g=n==null?void 0:n.insideType)!==null&&g!==void 0?g:u.InternalType.ADMIN;var h;o.externalType=(h=n==null?void 0:n.externalType)!==null&&h!==void 0?h:u.AssignType.ALL;var O;o.externalScope=(O=n==null?void 0:n.externalScope)!==null&&O!==void 0?O:[];var d;return o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var $;($=o.multistageFilling)===null||$===void 0||$.push(new ve(m))})),o}return e}(M);le(cr,"Rules",Qie),le(cr,"RuntimeRules",Zie);function eue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tue(t,e,n){return e=la(e),iue(t,Y3()?Reflect.construct(e,n||[],la(t).constructor):e.apply(t,n))}function nue(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function G3(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function oue(t,e,n){return e&&G3(t.prototype,e),n&&G3(t,n),t}function Ch(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function la(t){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},la(t)}function rue(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vh(t,e)}function iue(t,e){return e&&(uue(e)==="object"||typeof e=="function")?e:eue(t)}function Vh(t,e){return Vh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vh(t,e)}function uue(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Y3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Y3=function(){return!!t})()}var Hn=function(t){rue(e,t);function e(n){nue(this,e);var o;return o=tue(this,e,[n]),Ch(o,"props",void 0),o.props=new cr(n==null?void 0:n.props),o}return oue(e,null,[{key:"controlName",get:function(){return _.getMessage("people")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(A);Ch(Hn,"controlFieldType",u.FieldTypes.EMPLOYEES),Ch(Hn,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function cue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lue(t,e,n){return e=aa(e),yue(t,x3()?Reflect.construct(e,n||[],aa(t).constructor):e.apply(t,n))}function aue(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H3(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function fue(t,e,n){return e&&H3(t.prototype,e),n&&H3(t,n),t}function q3(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function aa(t){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},aa(t)}function _ue(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zh(t,e)}function yue(t,e){return e&&(sue(e)==="object"||typeof e=="function")?e:cue(t)}function zh(t,e){return zh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zh(t,e)}function sue(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function x3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(x3=function(){return!!t})()}var U3=function(t){_ue(e,t);function e(n){aue(this,e);var o;return o=lue(this,e,[n]),q3(o,"props",void 0),o.props=new cr(n==null?void 0:n.props),o}return fue(e,null,[{key:"controlType",get:function(){return"employee2"}}]),e}(N);q3(U3,"controlFieldType",u.FieldTypes.EMPLOYEES);var W3={Designer:Hn,Runtime:U3,Property:cr};function pue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function K3(t,e,n){return e=fa(e),vue(t,Q3()?Reflect.construct(e,n||[],fa(t).constructor):e.apply(t,n))}function X3(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fa(t){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fa(t)}function J3(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gh(t,e)}function vue(t,e){return e&&(due(e)==="object"||typeof e=="function")?e:pue(t)}function Gh(t,e){return Gh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gh(t,e)}function due(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Q3(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Q3=function(){return!!t})()}var hue=function(t){J3(e,t);function e(n){X3(this,e);var o;return o=K3(this,e,[n]),Xe(o,"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:_.getMessage("pleaseSelectSignFile")},undersignedList:{type:"array",required:!0,min:1,message:_.getMessage("pleaseSelectOnlyOne"),fields:n.signatureConfig.undersignedList.reduce(function(r,i,c){return r[c]={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:_.getMessage("pleaseSelectSigner")}}},signatureType:{type:"array",required:!0,min:1,message:_.getMessage("pleaseSelectSignType")},telephone:{type:"object",required:!0,validator:function(a,f,y){if(i.type==="public"&&Mt(f.value)&&f.value.length===0){y(_.getMessage("pleaseSelectPhoneOrEmail"));return}y()}},company:{type:"object",required:!0,validator:function(a,f,y){if(i.type==="public"&&i.signatureType.includes("company")&&Mt(f.value)&&f.value.length===0){y(_.getMessage("pleaseSelectCompanyName"));return}y()}}}},r},{})}}},o}return e}(ee),_a=function(t){J3(e,t);function e(n){X3(this,e);var o;o=K3(this,e,[n]),Xe(o,"buttonType",void 0),Xe(o,"content",void 0),Xe(o,"showType",void 0),Xe(o,"color",void 0),Xe(o,"icon",void 0),Xe(o,"command",""),Xe(o,"isLoading",!1),Xe(o,"signatureConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:lr.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:_.getMessage("signature");var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"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 f;return o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"iconfenlei2",o.signatureConfig=new P$(n==null?void 0:n.signatureConfig),o}return e}(M);Xe(_a,"Rules",hue);function bue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gue(t,e,n){return e=sa(e),$ue(t,e1()?Reflect.construct(e,n||[],sa(t).constructor):e.apply(t,n))}function Oue(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Z3(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function mue(t,e,n){return e&&Z3(t.prototype,e),n&&Z3(t,n),t}function ya(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sa(t){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(t)}function wue(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yh(t,e)}function $ue(t,e){return e&&(Pue(e)==="object"||typeof e=="function")?e:bue(t)}function Yh(t,e){return Yh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yh(t,e)}function Pue(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function e1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(e1=function(){return!!t})()}var lr=function(t){wue(e,t);function e(n){Oue(this,e);var o;return o=gue(this,e,[n]),ya(o,"props",void 0),o.props=new _a(n==null?void 0:n.props),o}return mue(e,null,[{key:"controlName",get:function(){return _.getMessage("electronicSignature")}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),e}(A);ya(lr,"controlEventKeys",["on_click","on_click_finish"]),ya(lr,"controlFieldType",u.FieldTypes.VARCHAR),ya(lr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function Tue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Eue(t,e,n){return e=pa(e),Iue(t,o1()?Reflect.construct(e,n||[],pa(t).constructor):e.apply(t,n))}function Sue(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function t1(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Rue(t,e,n){return e&&t1(t.prototype,e),n&&t1(t,n),t}function n1(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pa(t){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pa(t)}function Bue(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hh(t,e)}function Iue(t,e){return e&&(Mue(e)==="object"||typeof e=="function")?e:Tue(t)}function Hh(t,e){return Hh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hh(t,e)}function Mue(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function o1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(o1=function(){return!!t})()}var r1=function(t){Bue(e,t);function e(n){Sue(this,e);var o;return o=Eue(this,e,[n]),n1(o,"props",void 0),o.props=new _a(n==null?void 0:n.props),o}return Rue(e,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),e}(N);n1(r1,"controlFieldType",u.FieldTypes.VARCHAR);var i1={Designer:lr,Runtime:r1,Property:_a};function Aue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qh(t,e,n){return e=va(e),Nue(t,u1()?Reflect.construct(e,n||[],va(t).constructor):e.apply(t,n))}function xh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ae(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function va(t){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},va(t)}function Uh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wh(t,e)}function Nue(t,e){return e&&(Fue(e)==="object"||typeof e=="function")?e:Aue(t)}function Wh(t,e){return Wh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wh(t,e)}function Fue(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function u1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(u1=function(){return!!t})()}var kue=function(t){Uh(e,t);function e(n){xh(this,e);var o;return o=qh(this,e,[n]),ae(o,"content",{type:"string",required:!0,message:_.getMessage("pleaseEnterButtonContent")}),ae(o,"canAdd",void 0),ae(o,"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(i,c,l){if(c.active&&!c.text){l(_.getMessage("pleaseEnterWatermark"));return}l()}},autoRename:{type:"object",validator:function(i,c,l){if(c.active&&!c.text){l(_.getMessage("pleaseEnterFileName"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(i,c,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l(_.getMessage("pleaseChooseAtLeastOne"));return}l()}},o}return e}(ee),Due=function(t){Uh(e,t);function e(n){xh(this,e);var o;return o=qh(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(L),ar=function(t){Uh(e,t);function e(n){xh(this,e);var o;o=qh(this,e,[n]),ae(o,"content",void 0),ae(o,"canAdd",void 0),ae(o,"addLocal",void 0),ae(o,"addOnline",void 0),ae(o,"canDownload",void 0),ae(o,"canEdit",void 0),ae(o,"canExport",void 0),ae(o,"canDelete",void 0),ae(o,"wpsSetting",void 0),ae(o,"maxSize",void 0),ae(o,"defaultValue",void 0),ae(o,"revisionsMode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:fr.controlName;var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:_.getMessage("createWPS");var c;o.canAdd=(c=n==null?void 0:n.canAdd)!==null&&c!==void 0?c:!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 f;o.canEdit=(f=n==null?void 0:n.canEdit)!==null&&f!==void 0?f:!0;var y;o.canDownload=(y=n==null?void 0:n.canDownload)!==null&&y!==void 0?y:!0;var s;o.canExport=(s=n==null?void 0:n.canExport)!==null&&s!==void 0?s:!0;var v;o.canDelete=(v=n==null?void 0:n.canDelete)!==null&&v!==void 0?v:!1;var b;o.maxSize=(b=n==null?void 0:n.maxSize)!==null&&b!==void 0?b:Cee;var g;o.defaultValue=(g=n==null?void 0:n.defaultValue)!==null&&g!==void 0?g:[],o.wpsSetting=new T$(n==null?void 0:n.wpsSetting);var h;return o.revisionsMode=(h=n==null?void 0:n.revisionsMode)!==null&&h!==void 0?h:!1,o}return e}(M);ae(ar,"Rules",kue),ae(ar,"RuntimeRules",Due);function Lue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jue(t,e,n){return e=ha(e),Gue(t,l1()?Reflect.construct(e,n||[],ha(t).constructor):e.apply(t,n))}function Cue(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c1(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Vue(t,e,n){return e&&c1(t.prototype,e),n&&c1(t,n),t}function da(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ha(t){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ha(t)}function zue(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kh(t,e)}function Gue(t,e){return e&&(Yue(e)==="object"||typeof e=="function")?e:Lue(t)}function Kh(t,e){return Kh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kh(t,e)}function Yue(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function l1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l1=function(){return!!t})()}var fr=function(t){zue(e,t);function e(n){Cue(this,e);var o;return o=jue(this,e,[n]),da(o,"props",void 0),o.props=new ar(n==null?void 0:n.props),o}return Vue(e,null,[{key:"controlName",get:function(){return _.getMessage("WPS")}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),e}(A);da(fr,"controlEventKeys",["on_change","on_wps_open"]),da(fr,"controlFieldType",u.FieldTypes.FILE),da(fr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}]);function Hue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function que(t,e,n){return e=ba(e),Kue(t,_1()?Reflect.construct(e,n||[],ba(t).constructor):e.apply(t,n))}function xue(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a1(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Uue(t,e,n){return e&&a1(t.prototype,e),n&&a1(t,n),t}function f1(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ba(t){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ba(t)}function Wue(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xh(t,e)}function Kue(t,e){return e&&(Xue(e)==="object"||typeof e=="function")?e:Hue(t)}function Xh(t,e){return Xh=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xh(t,e)}function Xue(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_1=function(){return!!t})()}var y1=function(t){Wue(e,t);function e(n){xue(this,e);var o;return o=que(this,e,[n]),f1(o,"props",void 0),o.props=new ar(n==null?void 0:n.props),o}return Uue(e,null,[{key:"controlType",get:function(){return"wps"}}]),e}(N);f1(y1,"controlFieldType",u.FieldTypes.FILE);var s1={Designer:fr,Runtime:y1,Property:ar};function Jue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jh(t,e,n){return e=ga(e),Que(t,p1()?Reflect.construct(e,n||[],ga(t).constructor):e.apply(t,n))}function Qh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ga(t){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ga(t)}function Zh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eb(t,e)}function Que(t,e){return e&&(Zue(e)==="object"||typeof e=="function")?e:Jue(t)}function eb(t,e){return eb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},eb(t,e)}function Zue(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function p1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p1=function(){return!!t})()}var ece=function(t){Zh(e,t);function e(n){Qh(this,e);var o;return o=Jh(this,e,[n]),oe(o,"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),oe(o,"businessScope",{type:"any"}),Io.call(o,n,kt.controlCustomAttributes),n.businessType===u.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:_.getMessage("pleaseAssignBusiness")}),o}return e}(ee),tce=function(t){Zh(e,t);function e(n){Qh(this,e);var o;return o=Jh(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(L),_r=function(t){Zh(e,t);function e(n){Qh(this,e);var o;o=Jh(this,e,[n]),oe(o,"showType",void 0),oe(o,"range",void 0),oe(o,"defaultValueType",void 0),oe(o,"multiple",void 0),oe(o,"rangeOptions",void 0),oe(o,"defaultValue",void 0),oe(o,"displayLevel",void 0),oe(o,"showSubDept",void 0),oe(o,"multistageFilling",void 0),oe(o,"datasourceBind",void 0),oe(o,"datasourceType",void 0),oe(o,"businessType",void 0),oe(o,"businessScope",void 0),oe(o,"openMultistageFilling",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"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 f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var s;o.showSubDept=(s=n==null?void 0:n.showSubDept)!==null&&s!==void 0?s:!0;var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:kt.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:_.getMessage("pleaseSelectDept");var g;o.datasourceBind=new To((g=n==null?void 0:n.datasourceBind)!==null&&g!==void 0?g:{attributes:kt.controlCustomAttributes});var h;o.datasourceType=(h=n==null?void 0:n.datasourceType)!==null&&h!==void 0?h:u.DepartmentType.INTERNAL;var O;o.businessScope=(O=n==null?void 0:n.businessScope)!==null&&O!==void 0?O:[];var d;o.businessType=(d=n==null?void 0:n.businessType)!==null&&d!==void 0?d:u.AssignType.ALL;var m;return o.openMultistageFilling=(m=n==null?void 0:n.openMultistageFilling)!==null&&m!==void 0?m:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new ve($))})),o}return e}(M);oe(_r,"Rules",ece),oe(_r,"RuntimeRules",tce);function nce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oce(t,e,n){return e=qn(e),cce(t,d1()?Reflect.construct(e,n||[],qn(t).constructor):e.apply(t,n))}function rce(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v1(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ice(t,e,n){return e&&v1(t.prototype,e),n&&v1(t,n),t}function Oa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ma(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ma=Reflect.get:ma=function(r,i,c){var l=lce(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},ma(t,e,n||t)}function qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(t)}function uce(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tb(t,e)}function cce(t,e){return e&&(ace(e)==="object"||typeof e=="function")?e:nce(t)}function tb(t,e){return tb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},tb(t,e)}function lce(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=qn(t),t!==null););return t}function ace(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function d1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(d1=function(){return!!t})()}var kt=function(t){uce(e,t);function e(n){rce(this,e);var o;return o=oce(this,e,[n]),Oa(o,"props",void 0),o.props=new _r(n==null?void 0:n.props),o}return ice(e,[{key:"toDataBindModel",value:function(o){var r=ma(qn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,c=i.displayLevel,l=i.showSubDept;r.props.displayLevel=c,r.props.showSubDept=l}return r}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(A);Oa(kt,"controlName",_.getMessage("department")),Oa(kt,"controlFieldType",u.FieldTypes.DEPARTMENTS),Oa(kt,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function fce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _ce(t,e,n){return e=wa(e),vce(t,g1()?Reflect.construct(e,n||[],wa(t).constructor):e.apply(t,n))}function yce(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h1(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function sce(t,e,n){return e&&h1(t.prototype,e),n&&h1(t,n),t}function b1(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wa(t){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(t)}function pce(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nb(t,e)}function vce(t,e){return e&&(dce(e)==="object"||typeof e=="function")?e:fce(t)}function nb(t,e){return nb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nb(t,e)}function dce(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function g1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(g1=function(){return!!t})()}var O1=function(t){pce(e,t);function e(n){yce(this,e);var o;return o=_ce(this,e,[n]),b1(o,"props",void 0),o.props=new _r(n==null?void 0:n.props),o}return sce(e,null,[{key:"controlType",get:function(){return"department2"}}]),e}(N);b1(O1,"controlFieldType",u.FieldTypes.DEPARTMENTS);var m1={Designer:kt,Runtime:O1,Property:_r};function hce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ob(t,e,n){return e=$a(e),bce(t,w1()?Reflect.construct(e,n||[],$a(t).constructor):e.apply(t,n))}function rb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $a(t){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$a(t)}function ib(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ub(t,e)}function bce(t,e){return e&&(gce(e)==="object"||typeof e=="function")?e:hce(t)}function ub(t,e){return ub=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ub(t,e)}function gce(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function w1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(w1=function(){return!!t})()}var Oce=function(t){ib(e,t);function e(n){rb(this,e);var o;return o=ob(this,e,[n]),H(o,"datasourceBind",[{type:"object",message:_.getMessage("isNotObject")}]),H(o,"businessScope",{type:"any"}),Io.call(o,n,Un.controlCustomAttributes),n.businessType===u.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:_.getMessage("pleaseAssignBusiness")}),o}return e}(ee),mce=function(t){ib(e,t);function e(n){rb(this,e);var o;return o=ob(this,e,[n]),o[0]!==void 0&&(o[0].type="array"),o}return e}(L),yr=function(t){ib(e,t);function e(n){rb(this,e);var o;o=ob(this,e,[n]),H(o,"showType",void 0),H(o,"range",void 0),H(o,"defaultValueType",void 0),H(o,"multiple",void 0),H(o,"rangeOptions",void 0),H(o,"defaultValue",void 0),H(o,"displayLevel",void 0),H(o,"showSubDept",void 0),H(o,"multistageFilling",void 0),H(o,"datasourceBind",void 0),H(o,"listPageBind",void 0),H(o,"datasourceType",void 0),H(o,"businessType",void 0),H(o,"businessScope",void 0),H(o,"organizingFunction",void 0),H(o,"organizationView",void 0),H(o,"openMultistageFilling",void 0),H(o,"showSelectedDetail",void 0),H(o,"selectedContentConfig",void 0);var r;o.showType=(r=n==null?void 0:n.showType)!==null&&r!==void 0?r:"default";var i;o.multiple=(i=n==null?void 0:n.multiple)!==null&&i!==void 0?i:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all",o.listPageBind=new Gr(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 f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:[];var y;o.displayLevel=(y=n==null?void 0:n.displayLevel)!==null&&y!==void 0?y:1;var s;o.showSubDept=(s=n==null?void 0:n.showSubDept)!==null&&s!==void 0?s:!0;var v;o.caption=(v=n==null?void 0:n.caption)!==null&&v!==void 0?v:Un.controlName;var b;o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:_.getMessage("pleaseSelectOrg");var g;o.datasourceBind=new Vm((g=n==null?void 0:n.datasourceBind)!==null&&g!==void 0?g:{attributes:Un.controlCustomAttributes});var h;o.datasourceType=(h=n==null?void 0:n.datasourceType)!==null&&h!==void 0?h:u.DepartmentType.INTERNAL;var O;o.businessScope=(O=n==null?void 0:n.businessScope)!==null&&O!==void 0?O:[];var d;o.businessType=(d=n==null?void 0:n.businessType)!==null&&d!==void 0?d:u.AssignType.ALL;var m;o.organizingFunction=(m=n==null?void 0:n.organizingFunction)!==null&&m!==void 0?m:void 0;var $;o.organizationView=($=n==null?void 0:n.organizationView)!==null&&$!==void 0?$:void 0;var w;o.showSelectedDetail=(w=n==null?void 0:n.showSelectedDetail)!==null&&w!==void 0?w:!1,o.selectedContentConfig=new qr(n==null?void 0:n.selectedContentConfig);var E;return o.openMultistageFilling=(E=n==null?void 0:n.openMultistageFilling)!==null&&E!==void 0?E:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(T){var R;(R=o.multistageFilling)===null||R===void 0||R.push(new ve(T))})),o}return e}(M);H(yr,"Rules",Oce),H(yr,"RuntimeRules",mce);function wce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $ce(t,e,n){return e=xn(e),Sce(t,P1()?Reflect.construct(e,n||[],xn(t).constructor):e.apply(t,n))}function Pce(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $1(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Tce(t,e,n){return e&&$1(t.prototype,e),n&&$1(t,n),t}function cb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pa(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Pa=Reflect.get:Pa=function(r,i,c){var l=Rce(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},Pa(t,e,n||t)}function xn(t){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xn(t)}function Ece(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lb(t,e)}function Sce(t,e){return e&&(Bce(e)==="object"||typeof e=="function")?e:wce(t)}function lb(t,e){return lb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lb(t,e)}function Rce(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=xn(t),t!==null););return t}function Bce(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function P1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(P1=function(){return!!t})()}var Un=function(t){Ece(e,t);function e(n){Pce(this,e);var o;return o=$ce(this,e,[n]),cb(o,"props",void 0),o.props=new yr(n==null?void 0:n.props),o}return Tce(e,[{key:"toDataBindModel",value:function(o){var r=Pa(xn(e.prototype),"toDataBindModel",this).call(this,o);if(r&&!Array.isArray(r)){var i=this.props,c=i.displayLevel,l=i.showSubDept;r.props.displayLevel=c,r.props.showSubDept=l}return r}}],[{key:"controlName",get:function(){return _.getMessage("organizationSelection")}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(A);cb(Un,"controlFieldType",u.FieldTypes.DEPARTMENTS),cb(Un,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.REQUIRED,u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,u.COMMON_SETTING_TYPE.MULTIPLE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function Ice(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mce(t,e,n){return e=Ta(e),kce(t,S1()?Reflect.construct(e,n||[],Ta(t).constructor):e.apply(t,n))}function Ace(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T1(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Nce(t,e,n){return e&&T1(t.prototype,e),n&&T1(t,n),t}function E1(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ta(t){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ta(t)}function Fce(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ab(t,e)}function kce(t,e){return e&&(Dce(e)==="object"||typeof e=="function")?e:Ice(t)}function ab(t,e){return ab=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ab(t,e)}function Dce(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function S1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(S1=function(){return!!t})()}var R1=function(t){Fce(e,t);function e(n){Ace(this,e);var o;return o=Mce(this,e,[n]),E1(o,"props",void 0),o.props=new yr(n==null?void 0:n.props),o}return Nce(e,null,[{key:"controlType",get:function(){return"organization-selection"}}]),e}(N);E1(R1,"controlFieldType",u.FieldTypes.DEPARTMENTS);var B1={Designer:Un,Runtime:R1,Property:yr};function Lce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fb(t,e,n){return e=Ea(e),jce(t,I1()?Reflect.construct(e,n||[],Ea(t).constructor):e.apply(t,n))}function _b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ea(t){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ea(t)}function yb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sb(t,e)}function jce(t,e){return e&&(Cce(e)==="object"||typeof e=="function")?e:Lce(t)}function sb(t,e){return sb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sb(t,e)}function Cce(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function I1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(I1=function(){return!!t})()}var Vce=function(t){yb(e,t);function e(n){_b(this,e);var o;return o=fb(this,e,[n]),o.dataBind={type:"any"},o}return e}(ee),zce=function(t){yb(e,t);function e(n){_b(this,e);var o;return o=fb(this,e,[n]),o[0]!==void 0&&(o[0].type="any"),o}return e}(L),sr=function(t){yb(e,t);function e(n){_b(this,e);var o;o=fb(this,e,[n]),Wn(o,"controlExportName",void 0),Wn(o,"permissions",void 0),Wn(o,"defaultValue",void 0),Wn(o,"isInlineEdit",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:pr.controlName;var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";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 e}(M);Wn(sr,"Rules",Vce),Wn(sr,"RuntimeRules",zce);function Gce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yce(t,e,n){return e=Ra(e),Uce(t,A1()?Reflect.construct(e,n||[],Ra(t).constructor):e.apply(t,n))}function Hce(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function M1(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qce(t,e,n){return e&&M1(t.prototype,e),n&&M1(t,n),t}function Sa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ra(t){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ra(t)}function xce(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pb(t,e)}function Uce(t,e){return e&&(Wce(e)==="object"||typeof e=="function")?e:Gce(t)}function pb(t,e){return pb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pb(t,e)}function Wce(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function A1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(A1=function(){return!!t})()}var pr=function(t){xce(e,t);function e(n){Hce(this,e);var o;return o=Yce(this,e,[n]),Sa(o,"props",void 0),o.props=new sr(n==null?void 0:n.props),o}return qce(e,null,[{key:"controlName",get:function(){return _.getMessage("vuePage")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return u.CONTROL_TYPE.VUE_PAGE}}]),e}(A);Sa(pr,"controlFieldType",u.FieldTypes.ANY),Sa(pr,"controlEventKeys",[]),Sa(pr,"setting",[]);function Kce(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xce(t,e,n){return e=Ba(e),ele(t,k1()?Reflect.construct(e,n||[],Ba(t).constructor):e.apply(t,n))}function Jce(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N1(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Qce(t,e,n){return e&&N1(t.prototype,e),n&&N1(t,n),t}function F1(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ba(t){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(t)}function Zce(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vb(t,e)}function ele(t,e){return e&&(tle(e)==="object"||typeof e=="function")?e:Kce(t)}function vb(t,e){return vb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vb(t,e)}function tle(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function k1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(k1=function(){return!!t})()}var D1=function(t){Zce(e,t);function e(n){Jce(this,e);var o;return o=Xce(this,e,[n]),F1(o,"props",void 0),o.props=new sr(n==null?void 0:n.props),o}return Qce(e,null,[{key:"controlType",get:function(){return u.CONTROL_TYPE.VUE_PAGE}}]),e}(N);F1(D1,"controlFieldType",u.FieldTypes.ANY);var L1={Designer:pr,Runtime:D1,Property:sr},nle=Object.freeze({__proto__:null,Input:LE,Checkbox:qE,Radio:nS,Number:fS,DatePicker:bS,DateRange:BS,Textarea:LS,RichText:qS,Select:nR,SelectMultiple:fR,Employee:mR,Image:kR,Attachment:RR,Amount:YR,Score:JR,Address:lB,Department:gB,AutoNumber:SB,Calc:kB,SearchNumberRange:xB,SearchDateRange:o3,VueFormItem:_3,SelectRelation:w3,SearchInput:A3,Tree:V3,Employee2:W3,ElectronicSignature:i1,WPS:s1,Department2:m1,OrganizationSelection:B1,VuePage:L1});function ole(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rle(t,e,n){return e=Ia(e),ale(t,C1()?Reflect.construct(e,n||[],Ia(t).constructor):e.apply(t,n))}function ile(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j1(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ule(t,e,n){return e&&j1(t.prototype,e),n&&j1(t,n),t}function cle(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ia(t){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ia(t)}function lle(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&db(t,e)}function ale(t,e){return e&&(fle(e)==="object"||typeof e=="function")?e:ole(t)}function db(t,e){return db=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},db(t,e)}function fle(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function C1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C1=function(){return!!t})()}var V1=function(t){lle(e,t);function e(n){return ile(this,e),rle(this,e,[n])}return ule(e,null,[{key:"controlName",get:function(){return _.getMessage("grid")}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),e}(Y);cle(V1,"excludes",[u.CONTROL_TYPE.GRID]);function _le(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yle(t,e,n){return e=Ma(e),dle(t,G1()?Reflect.construct(e,n||[],Ma(t).constructor):e.apply(t,n))}function sle(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function z1(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ple(t,e,n){return e&&z1(t.prototype,e),n&&z1(t,n),t}function Ma(t){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ma(t)}function vle(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&hb(t,e)}function dle(t,e){return e&&(hle(e)==="object"||typeof e=="function")?e:_le(t)}function hb(t,e){return hb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},hb(t,e)}function hle(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function G1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(G1=function(){return!!t})()}var ble=function(t){vle(e,t);function e(n){return sle(this,e),yle(this,e,[n])}return ple(e,null,[{key:"controlType",get:function(){return"grid"}}]),e}(W),Y1={Designer:V1,Runtime:ble,Property:C};function gle(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ole(t,e,n){return e=Aa(e),$le(t,q1()?Reflect.construct(e,n||[],Aa(t).constructor):e.apply(t,n))}function mle(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H1(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Aa(t){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Aa(t)}function wle(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bb(t,e)}function $le(t,e){return e&&(Ple(e)==="object"||typeof e=="function")?e:gle(t)}function bb(t,e){return bb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bb(t,e)}function Ple(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function q1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(q1=function(){return!!t})()}var Tle=24,Dt=function(t){wle(e,t);function e(n){mle(this,e);var o;o=Ole(this,e,[n]),H1(o,"span",void 0),H1(o,"offset",void 0);var r;o.span=(r=n==null?void 0:n.span)!==null&&r!==void 0?r:Tle;var i;return o.offset=(i=n==null?void 0:n.offset)!==null&&i!==void 0?i:0,o}return e}(C);function Ele(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Sle(t,e,n){return e=Na(e),Mle(t,U1()?Reflect.construct(e,n||[],Na(t).constructor):e.apply(t,n))}function Rle(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function x1(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Ble(t,e,n){return e&&x1(t.prototype,e),n&&x1(t,n),t}function gb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Na(t){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Na(t)}function Ile(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ob(t,e)}function Mle(t,e){return e&&(Ale(e)==="object"||typeof e=="function")?e:Ele(t)}function Ob(t,e){return Ob=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ob(t,e)}function Ale(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function U1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(U1=function(){return!!t})()}var vr=function(t){Ile(e,t);function e(n){Rle(this,e);var o;return o=Sle(this,e,[n]),gb(o,"props",void 0),o.props=new Dt(n==null?void 0:n.props),o}return Ble(e,null,[{key:"controlName",get:function(){return _.getMessage("col")}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),e}(Y);gb(vr,"excludes",[u.CONTROL_TYPE.COL,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,u.CONTROL_TYPE.DIVIDER]),gb(vr,"childrenMaxLength",1);function Nle(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fle(t,e,n){return e=Fa(e),Cle(t,K1()?Reflect.construct(e,n||[],Fa(t).constructor):e.apply(t,n))}function kle(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function W1(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Dle(t,e,n){return e&&W1(t.prototype,e),n&&W1(t,n),t}function Lle(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fa(t){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(t)}function jle(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mb(t,e)}function Cle(t,e){return e&&(Vle(e)==="object"||typeof e=="function")?e:Nle(t)}function mb(t,e){return mb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mb(t,e)}function Vle(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function K1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(K1=function(){return!!t})()}var wb=function(t){jle(e,t);function e(n){kle(this,e);var o;return o=Fle(this,e,[n]),Lle(o,"props",void 0),o.props=new Dt(n==null?void 0:n.props),o}return Dle(e,null,[{key:"controlType",get:function(){return"col"}}]),e}(W),ka={Designer:vr,Runtime:wb,Property:Dt};function zle(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gle(t,e,n){return e=Da(e),qle(t,J1()?Reflect.construct(e,n||[],Da(t).constructor):e.apply(t,n))}function Yle(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X1(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Da(t){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Da(t)}function Hle(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$b(t,e)}function qle(t,e){return e&&(xle(e)==="object"||typeof e=="function")?e:zle(t)}function $b(t,e){return $b=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$b(t,e)}function xle(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function J1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(J1=function(){return!!t})()}var La=function(t){Hle(e,t);function e(n){Yle(this,e);var o;o=Gle(this,e,[n]),X1(o,"layoutMode",void 0),X1(o,"gutter",void 0);var r;o.layoutMode=(r=n==null?void 0:n.layoutMode)!==null&&r!==void 0?r:"select";var i;return o.gutter=(i=n==null?void 0:n.gutter)!==null&&i!==void 0?i:0,o}return e}(C);function Ule(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wle(t,e,n){return e=ja(e),Qle(t,Z1()?Reflect.construct(e,n||[],ja(t).constructor):e.apply(t,n))}function Kle(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q1(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Xle(t,e,n){return e&&Q1(t.prototype,e),n&&Q1(t,n),t}function Pb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ja(t){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ja(t)}function Jle(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tb(t,e)}function Qle(t,e){return e&&(Zle(e)==="object"||typeof e=="function")?e:Ule(t)}function Tb(t,e){return Tb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Tb(t,e)}function Zle(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Z1(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Z1=function(){return!!t})()}var Ca=function(t){Jle(e,t);function e(n){Kle(this,e);var o;return o=Wle(this,e,[n]),Pb(o,"props",void 0),o.props=new La(n==null?void 0:n.props),o}return Xle(e,null,[{key:"controlName",get:function(){return _.getMessage("row")}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),e}(Y);Pb(Ca,"excludes",[u.CONTROL_TYPE.ROW]),Pb(Ca,"setting",[{key:"col-setting",visible:!0}]);function eae(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tae(t,e,n){return e=Va(e),uae(t,tI()?Reflect.construct(e,n||[],Va(t).constructor):e.apply(t,n))}function nae(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eI(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function oae(t,e,n){return e&&eI(t.prototype,e),n&&eI(t,n),t}function rae(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Va(t){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Va(t)}function iae(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Eb(t,e)}function uae(t,e){return e&&(cae(e)==="object"||typeof e=="function")?e:eae(t)}function Eb(t,e){return Eb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Eb(t,e)}function cae(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tI=function(){return!!t})()}var nI=function(t){iae(e,t);function e(n){nae(this,e);var o;return o=tae(this,e,[n]),rae(o,"props",void 0),o.props=new La(n==null?void 0:n.props),o}return oae(e,null,[{key:"controlType",get:function(){return"row"}}]),e}(W),oI={Designer:Ca,Runtime:nI,Property:La};function lae(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aae(t,e,n){return e=za(e),sae(t,iI()?Reflect.construct(e,n||[],za(t).constructor):e.apply(t,n))}function fae(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rI(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _ae(t,e,n){return e&&rI(t.prototype,e),n&&rI(t,n),t}function Sb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function za(t){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},za(t)}function yae(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rb(t,e)}function sae(t,e){return e&&(pae(e)==="object"||typeof e=="function")?e:lae(t)}function Rb(t,e){return Rb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rb(t,e)}function pae(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iI=function(){return!!t})()}var vae=4,Ga=function(t){yae(e,t);function e(n){return fae(this,e),aae(this,e,[n])}return _ae(e,null,[{key:"controlName",get:function(){return _.getMessage("gridRow")}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),e}(Ca);Sb(Ga,"excludes",[u.CONTROL_TYPE.GRID_ROW]),Sb(Ga,"setting",[]),Sb(Ga,"childrenMaxLength",vae);function dae(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hae(t,e,n){return e=Ya(e),mae(t,cI()?Reflect.construct(e,n||[],Ya(t).constructor):e.apply(t,n))}function bae(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uI(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function gae(t,e,n){return e&&uI(t.prototype,e),n&&uI(t,n),t}function Ya(t){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ya(t)}function Oae(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bb(t,e)}function mae(t,e){return e&&(wae(e)==="object"||typeof e=="function")?e:dae(t)}function Bb(t,e){return Bb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bb(t,e)}function wae(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cI=function(){return!!t})()}var $ae=function(t){Oae(e,t);function e(n){return bae(this,e),hae(this,e,[n])}return gae(e,null,[{key:"controlType",get:function(){return"grid-row"}}]),e}(nI);function Pae(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tae(t,e,n){return e=Ha(e),Rae(t,lI()?Reflect.construct(e,n||[],Ha(t).constructor):e.apply(t,n))}function Eae(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ha(t){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ha(t)}function Sae(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ib(t,e)}function Rae(t,e){return e&&(Bae(e)==="object"||typeof e=="function")?e:Pae(t)}function Ib(t,e){return Ib=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ib(t,e)}function Bae(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lI=function(){return!!t})()}var Iae=function(t){Sae(e,t);function e(n){return Eae(this,e),Tae(this,e,[n])}return e}(La),Mb={Designer:Ga,Runtime:$ae,Property:Iae};function Mae(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function aI(t,e,n){return e=qa(e),Aae(t,yI()?Reflect.construct(e,n||[],qa(t).constructor):e.apply(t,n))}function fI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qa(t){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qa(t)}function _I(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ab(t,e)}function Aae(t,e){return e&&(Nae(e)==="object"||typeof e=="function")?e:Mae(t)}function Ab(t,e){return Ab=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ab(t,e)}function Nae(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yI=function(){return!!t})()}var Fae=function(t){_I(e,t);function e(){fI(this,e);var n;return n=aI(this,e,arguments),dr(n,"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),n}return e}(C.Rules),xa=function(t){_I(e,t);function e(n){fI(this,e);var o;o=aI(this,e,[n]),dr(o,"caption",void 0),dr(o,"isHideCaption",void 0),dr(o,"collapse",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:_.getMessage("cardGroup");var i;o.isHideCaption=(i=n==null?void 0:n.isHideCaption)!==null&&i!==void 0?i:!1;var c;return o.collapse=(c=n==null?void 0:n.collapse)!==null&&c!==void 0?c:"none",o}return e}(C);dr(xa,"Rules",Fae);function kae(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dae(t,e,n){return e=Ua(e),Vae(t,pI()?Reflect.construct(e,n||[],Ua(t).constructor):e.apply(t,n))}function Lae(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sI(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function jae(t,e,n){return e&&sI(t.prototype,e),n&&sI(t,n),t}function Nb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ua(t){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ua(t)}function Cae(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fb(t,e)}function Vae(t,e){return e&&(zae(e)==="object"||typeof e=="function")?e:kae(t)}function Fb(t,e){return Fb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fb(t,e)}function zae(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pI=function(){return!!t})()}var kb=function(t){Cae(e,t);function e(n){Lae(this,e);var o;return o=Dae(this,e,[n]),Nb(o,"props",void 0),o.props=new xa(n==null?void 0:n.props),o}return jae(e,null,[{key:"controlName",get:function(){return _.getMessage("cardGroup")}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),e}(Y);Nb(kb,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Nb(kb,"excludes",[u.CONTROL_TYPE.CARD_GROUP]);function Gae(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yae(t,e,n){return e=Wa(e),Wae(t,dI()?Reflect.construct(e,n||[],Wa(t).constructor):e.apply(t,n))}function Hae(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vI(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qae(t,e,n){return e&&vI(t.prototype,e),n&&vI(t,n),t}function xae(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wa(t){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wa(t)}function Uae(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Db(t,e)}function Wae(t,e){return e&&(Kae(e)==="object"||typeof e=="function")?e:Gae(t)}function Db(t,e){return Db=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Db(t,e)}function Kae(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(dI=function(){return!!t})()}var Xae=function(t){Uae(e,t);function e(n){Hae(this,e);var o;return o=Yae(this,e,[n]),xae(o,"props",void 0),o.props=new xa(n==null?void 0:n.props),o}return qae(e,null,[{key:"controlType",get:function(){return"card-group"}}]),e}(W),hI={Designer:kb,Runtime:Xae,Property:xa};function Jae(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bI(t,e,n){return e=Ka(e),Qae(t,mI()?Reflect.construct(e,n||[],Ka(t).constructor):e.apply(t,n))}function gI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Je(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ka(t){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ka(t)}function OI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lb(t,e)}function Qae(t,e){return e&&(Zae(e)==="object"||typeof e=="function")?e:Jae(t)}function Lb(t,e){return Lb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Lb(t,e)}function Zae(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mI=function(){return!!t})()}var efe=function(t){OI(e,t);function e(n){gI(this,e);var o;return o=bI(this,e,[n]),Je(o,"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),Je(o,"width",{type:"number",required:!1,message:_.getMessage("pleaseEnterColumnWidth")}),Je(o,"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return e}(J),Xa=function(t){OI(e,t);function e(n){gI(this,e);var o;o=bI(this,e,[n]),Je(o,"metaAutoWidth",void 0),Je(o,"caption",void 0),Je(o,"fixed",void 0),Je(o,"isShowCaptionTip",void 0),Je(o,"captionTip",void 0),Je(o,"isHideCaption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:"";var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!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 zy(n==null?void 0:n.metaAutoWidth),o}return e}(C);Je(Xa,"Rules",efe);function tfe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nfe(t,e,n){return e=Ja(e),ife(t,wI()?Reflect.construct(e,n||[],Ja(t).constructor):e.apply(t,n))}function ofe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ja(t){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ja(t)}function rfe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jb(t,e)}function ife(t,e){return e&&(ufe(e)==="object"||typeof e=="function")?e:tfe(t)}function jb(t,e){return jb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jb(t,e)}function ufe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wI=function(){return!!t})()}var qe=function(t){rfe(e,t);function e(n){ofe(this,e);var o;return o=nfe(this,e,[n]),Lt(o,"props",void 0),o.props=new Xa(n==null?void 0:n.props),o}return e}(Y);Lt(qe,"controlName",_.getMessage("subtableColumn")),Lt(qe,"controlType","subtable-column"),Lt(qe,"controlIcon","subtable-column"),Lt(qe,"childrenMaxLength",1),Lt(qe,"excludes",[u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT,u.CONTROL_TYPE.GRID_LAYOUT_CONTAINER]),Lt(qe,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",showItems:[u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function cfe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lfe(t,e,n){return e=Qa(e),_fe(t,PI()?Reflect.construct(e,n||[],Qa(t).constructor):e.apply(t,n))}function afe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $I(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qa(t){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qa(t)}function ffe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cb(t,e)}function _fe(t,e){return e&&(yfe(e)==="object"||typeof e=="function")?e:cfe(t)}function Cb(t,e){return Cb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Cb(t,e)}function yfe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function PI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(PI=function(){return!!t})()}var TI=function(t){ffe(e,t);function e(n){afe(this,e);var o;return o=lfe(this,e,[n]),$I(o,"props",void 0),o.props=new Xa(n==null?void 0:n.props),o}return e}(W);$I(TI,"controlType","subtable-column");var Vb={Designer:qe,Runtime:TI,Property:Xa};function sfe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pfe(t,e,n){return e=Za(e),hfe(t,EI()?Reflect.construct(e,n||[],Za(t).constructor):e.apply(t,n))}function vfe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Za(t){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Za(t)}function dfe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zb(t,e)}function hfe(t,e){return e&&(bfe(e)==="object"||typeof e=="function")?e:sfe(t)}function zb(t,e){return zb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},zb(t,e)}function bfe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(EI=function(){return!!t})()}var Gb=function(t){dfe(e,t);function e(n){return vfe(this,e),pfe(this,e,[n])}return e}(C);function gfe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ofe(t,e,n){return e=ef(e),$fe(t,SI()?Reflect.construct(e,n||[],ef(t).constructor):e.apply(t,n))}function mfe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ef(t){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ef(t)}function wfe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yb(t,e)}function $fe(t,e){return e&&(Pfe(e)==="object"||typeof e=="function")?e:gfe(t)}function Yb(t,e){return Yb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Yb(t,e)}function Pfe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SI=function(){return!!t})()}var Ct=function(t){wfe(e,t);function e(n){mfe(this,e);var o;return o=Ofe(this,e,[n]),jt(o,"props",void 0),o.props=new Gb(n==null?void 0:n.props),o}return e}(Y);jt(Ct,"controlName",_.getMessage("subtableRow")),jt(Ct,"controlType","subtable-row"),jt(Ct,"controlIcon","subtable-row"),jt(Ct,"childrenMaxLength",1),jt(Ct,"excludes",[u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.SUBTABLE_COLUMN,u.CONTROL_TYPE.SUBTABLE_ROW,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),jt(Ct,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0}]);function Tfe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Efe(t,e,n){return e=tf(e),Mfe(t,BI()?Reflect.construct(e,n||[],tf(t).constructor):e.apply(t,n))}function Sfe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function RI(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Rfe(t,e,n){return e&&RI(t.prototype,e),n&&RI(t,n),t}function Bfe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tf(t){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tf(t)}function Ife(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hb(t,e)}function Mfe(t,e){return e&&(Afe(e)==="object"||typeof e=="function")?e:Tfe(t)}function Hb(t,e){return Hb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Hb(t,e)}function Afe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BI=function(){return!!t})()}var Nfe=function(t){Ife(e,t);function e(n){Sfe(this,e);var o;return o=Efe(this,e,[n]),Bfe(o,"props",void 0),o.props=new Gb(n==null?void 0:n.props),o}return Rfe(e,null,[{key:"controlType",get:function(){return"subtable-row"}}]),e}(W),II={Designer:Ct,Runtime:Nfe,Property:Gb};function Ffe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kfe(t,e,n){return e=nf(e),jfe(t,MI()?Reflect.construct(e,n||[],nf(t).constructor):e.apply(t,n))}function Dfe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function je(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nf(t){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nf(t)}function Lfe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qb(t,e)}function jfe(t,e){return e&&(Cfe(e)==="object"||typeof e=="function")?e:Ffe(t)}function qb(t,e){return qb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qb(t,e)}function Cfe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MI=function(){return!!t})()}var xb=function(t){Lfe(e,t);function e(n){Dfe(this,e);var o;o=kfe(this,e,[n]),je(o,"widthType",void 0),je(o,"width",void 0),je(o,"caption",void 0),je(o,"fieldCode",void 0),je(o,"fieldType",void 0),je(o,"fieldName",void 0),je(o,"datasourceBind",void 0),je(o,"fixed",void 0),je(o,"textCleanFormart",void 0),je(o,"decimalKeepPrecision",void 0),je(o,"timestampDateType",void 0),je(o,"departmentDisplayLevel",void 0);var r;o.width=(r=n==null?void 0:n.width)!==null&&r!==void 0?r:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var a;o.fieldType=(a=n==null?void 0:n.fieldType)!==null&&a!==void 0?a:u.FieldTypes.VARCHAR;var f;o.fieldName=(f=n==null?void 0:n.fieldName)!==null&&f!==void 0?f:"",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var y;o.textCleanFormart=(y=n==null?void 0:n.textCleanFormart)!==null&&y!==void 0?y:!1;var s;o.decimalKeepPrecision=(s=n==null?void 0:n.decimalKeepPrecision)!==null&&s!==void 0?s:0;var v;o.timestampDateType=(v=n==null?void 0:n.timestampDateType)!==null&&v!==void 0?v:u.DateType.DATE;var b;return o.departmentDisplayLevel=(b=n==null?void 0:n.departmentDisplayLevel)!==null&&b!==void 0?b:1,o}return e}(C);function Vfe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zfe(t,e,n){return e=of(e),Hfe(t,AI()?Reflect.construct(e,n||[],of(t).constructor):e.apply(t,n))}function Gfe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function of(t){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},of(t)}function Yfe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ub(t,e)}function Hfe(t,e){return e&&(qfe(e)==="object"||typeof e=="function")?e:Vfe(t)}function Ub(t,e){return Ub=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ub(t,e)}function qfe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AI=function(){return!!t})()}var zt=function(t){Yfe(e,t);function e(n){Gfe(this,e);var o;return o=zfe(this,e,[n]),Vt(o,"props",void 0),o.props=new xb(n==null?void 0:n.props),o}return e}(Y);Vt(zt,"controlName","\u5217\u8868\u5355\u5143\u683C"),Vt(zt,"controlType","gridtable-column"),Vt(zt,"controlIcon","gridtable-column"),Vt(zt,"childrenMaxLength",1),Vt(zt,"excludes",[u.CONTROL_TYPE.GRID_TABLE,u.CONTROL_TYPE.GRID_TABLE_COLUMN,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.COL,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT]),Vt(zt,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function xfe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ufe(t,e,n){return e=rf(e),Xfe(t,FI()?Reflect.construct(e,n||[],rf(t).constructor):e.apply(t,n))}function Wfe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function NI(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rf(t){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rf(t)}function Kfe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wb(t,e)}function Xfe(t,e){return e&&(Jfe(e)==="object"||typeof e=="function")?e:xfe(t)}function Wb(t,e){return Wb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wb(t,e)}function Jfe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FI=function(){return!!t})()}var kI=function(t){Kfe(e,t);function e(n){Wfe(this,e);var o;return o=Ufe(this,e,[n]),NI(o,"props",void 0),o.props=new xb(n==null?void 0:n.props),o}return e}(W);NI(kI,"controlType","gridtable-column");var DI={Designer:zt,Runtime:kI,Property:xb};function Qfe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zfe(t,e,n){return e=uf(e),n_e(t,jI()?Reflect.construct(e,n||[],uf(t).constructor):e.apply(t,n))}function e_e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function LI(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function uf(t){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uf(t)}function t_e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kb(t,e)}function n_e(t,e){return e&&(o_e(e)==="object"||typeof e=="function")?e:Qfe(t)}function Kb(t,e){return Kb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Kb(t,e)}function o_e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jI=function(){return!!t})()}var Xb=function(t){t_e(e,t);function e(n){e_e(this,e);var o;o=Zfe(this,e,[n]),LI(o,"childMinWidth",void 0),LI(o,"colGap",void 0);var r;o.childMinWidth=(r=n==null?void 0:n.childMinWidth)!==null&&r!==void 0?r:230;var i;return o.colGap=(i=n==null?void 0:n.colGap)!==null&&i!==void 0?i:24,o}return e}(C);function r_e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i_e(t,e,n){return e=cf(e),a_e(t,VI()?Reflect.construct(e,n||[],cf(t).constructor):e.apply(t,n))}function u_e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CI(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function c_e(t,e,n){return e&&CI(t.prototype,e),n&&CI(t,n),t}function Jb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cf(t){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cf(t)}function l_e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qb(t,e)}function a_e(t,e){return e&&(f_e(e)==="object"||typeof e=="function")?e:r_e(t)}function Qb(t,e){return Qb=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qb(t,e)}function f_e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function VI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(VI=function(){return!!t})()}var Zb=function(t){l_e(e,t);function e(n){u_e(this,e);var o;return o=i_e(this,e,[n]),Jb(o,"props",void 0),o.props=new Xb(n==null?void 0:n.props),o}return c_e(e,null,[{key:"controlName",get:function(){return _.getMessage("gridLayoutContainer")}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),e}(Y);Jb(Zb,"excludes",[u.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,u.CONTROL_TYPE.CARD_GROUP,u.CONTROL_TYPE.TAB]),Jb(Zb,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function __e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y_e(t,e,n){return e=lf(e),h_e(t,GI()?Reflect.construct(e,n||[],lf(t).constructor):e.apply(t,n))}function s_e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zI(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function p_e(t,e,n){return e&&zI(t.prototype,e),n&&zI(t,n),t}function v_e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lf(t){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lf(t)}function d_e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&e0(t,e)}function h_e(t,e){return e&&(b_e(e)==="object"||typeof e=="function")?e:__e(t)}function e0(t,e){return e0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},e0(t,e)}function b_e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(GI=function(){return!!t})()}var g_e=function(t){d_e(e,t);function e(n){s_e(this,e);var o;return o=y_e(this,e,[n]),v_e(o,"props",void 0),o.props=new Xb(n==null?void 0:n.props),o}return p_e(e,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),e}(W),YI={Designer:Zb,Runtime:g_e,Property:Xb};function O_e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m_e(t,e,n){return e=af(e),T_e(t,HI()?Reflect.construct(e,n||[],af(t).constructor):e.apply(t,n))}function w_e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $_e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function af(t){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},af(t)}function P_e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&t0(t,e)}function T_e(t,e){return e&&(E_e(e)==="object"||typeof e=="function")?e:O_e(t)}function t0(t,e){return t0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},t0(t,e)}function E_e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HI=function(){return!!t})()}var n0=function(t){P_e(e,t);function e(n){w_e(this,e);var o;o=m_e(this,e,[n]),$_e(o,"mobileShowType",void 0);var r;return o.mobileShowType=(r=n==null?void 0:n.mobileShowType)!==null&&r!==void 0?r:"vertical",o}return e}(C);function S_e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qI(t,e,n){return e=ff(e),R_e(t,WI()?Reflect.construct(e,n||[],ff(t).constructor):e.apply(t,n))}function xI(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ff(t){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ff(t)}function UI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&r0(t,e)}function R_e(t,e){return e&&(B_e(e)==="object"||typeof e=="function")?e:S_e(t)}function r0(t,e){return r0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},r0(t,e)}function B_e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function WI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(WI=function(){return!!t})()}var I_e=function(t){UI(e,t);function e(n){xI(this,e);var o;return o=qI(this,e,[n]),o0(o,"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),o}return e}(J),_f=function(t){UI(e,t);function e(n){xI(this,e);var o;o=qI(this,e,[n]),o0(o,"caption",void 0);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:br.controlName,o}return e}(C);o0(_f,"Rules",I_e);function M_e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A_e(t,e,n){return e=yf(e),D_e(t,XI()?Reflect.construct(e,n||[],yf(t).constructor):e.apply(t,n))}function N_e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function KI(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function F_e(t,e,n){return e&&KI(t.prototype,e),n&&KI(t,n),t}function i0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yf(t){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yf(t)}function k_e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u0(t,e)}function D_e(t,e){return e&&(L_e(e)==="object"||typeof e=="function")?e:M_e(t)}function u0(t,e){return u0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},u0(t,e)}function L_e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XI=function(){return!!t})()}var hr=function(t){k_e(e,t);function e(n){N_e(this,e);var o;return o=A_e(this,e,[n]),i0(o,"props",void 0),o.props=new _f(n==null?void 0:n.props),o}return F_e(e,null,[{key:"controlName",get:function(){return _.getMessage("tabPane")}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),e}(Y);i0(hr,"excludes",[u.CONTROL_TYPE.TAB]),i0(hr,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function j_e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function C_e(t,e,n){return e=sf(e),H_e(t,QI()?Reflect.construct(e,n||[],sf(t).constructor):e.apply(t,n))}function V_e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function JI(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function z_e(t,e,n){return e&&JI(t.prototype,e),n&&JI(t,n),t}function G_e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sf(t){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sf(t)}function Y_e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c0(t,e)}function H_e(t,e){return e&&(q_e(e)==="object"||typeof e=="function")?e:j_e(t)}function c0(t,e){return c0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},c0(t,e)}function q_e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QI(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QI=function(){return!!t})()}var x_e=function(t){Y_e(e,t);function e(n){V_e(this,e);var o;return o=C_e(this,e,[n]),G_e(o,"props",void 0),o.props=new _f(n==null?void 0:n.props),o}return z_e(e,null,[{key:"controlType",get:function(){return"tab-pane"}}]),e}(W),ZI={Designer:hr,Runtime:x_e,Property:_f};function U_e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function W_e(t,e,n){return e=vf(e),Q_e(t,tM()?Reflect.construct(e,n||[],vf(t).constructor):e.apply(t,n))}function K_e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eM(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function X_e(t,e,n){return e&&eM(t.prototype,e),n&&eM(t,n),t}function pf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vf(t){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vf(t)}function J_e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l0(t,e)}function Q_e(t,e){return e&&(Z_e(e)==="object"||typeof e=="function")?e:U_e(t)}function l0(t,e){return l0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},l0(t,e)}function Z_e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tM=function(){return!!t})()}var br=function(t){J_e(e,t);function e(n){K_e(this,e);var o;o=W_e(this,e,[n]),pf(o,"props",void 0),o.props=new n0(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[new hr,new hr],o}return X_e(e,null,[{key:"controlName",get:function(){return _.getMessage("tab")}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),e}(Y);pf(br,"excludes",[u.CONTROL_TYPE.TAB]),pf(br,"controlEventKeys",["on_change_tab"]),pf(br,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function eye(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tye(t,e,n){return e=df(e),uye(t,oM()?Reflect.construct(e,n||[],df(t).constructor):e.apply(t,n))}function nye(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nM(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function oye(t,e,n){return e&&nM(t.prototype,e),n&&nM(t,n),t}function rye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function df(t){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},df(t)}function iye(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a0(t,e)}function uye(t,e){return e&&(cye(e)==="object"||typeof e=="function")?e:eye(t)}function a0(t,e){return a0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},a0(t,e)}function cye(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oM=function(){return!!t})()}var lye=function(t){iye(e,t);function e(n){nye(this,e);var o;return o=tye(this,e,[n]),rye(o,"props",void 0),o.props=new n0(n==null?void 0:n.props),o}return oye(e,null,[{key:"controlType",get:function(){return"tab"}}]),e}(W),rM={Designer:br,Runtime:lye,Property:n0};function aye(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fye(t,e,n){return e=hf(e),sye(t,iM()?Reflect.construct(e,n||[],hf(t).constructor):e.apply(t,n))}function _ye(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hf(t){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hf(t)}function yye(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f0(t,e)}function sye(t,e){return e&&(pye(e)==="object"||typeof e=="function")?e:aye(t)}function f0(t,e){return f0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},f0(t,e)}function pye(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iM=function(){return!!t})()}var uM=function(t){yye(e,t);function e(n){return _ye(this,e),fye(this,e,[n])}return e}(C);function vye(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dye(t,e,n){return e=bf(e),Oye(t,aM()?Reflect.construct(e,n||[],bf(t).constructor):e.apply(t,n))}function hye(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cM(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function bye(t,e,n){return e&&cM(t.prototype,e),n&&cM(t,n),t}function lM(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bf(t){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bf(t)}function gye(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_0(t,e)}function Oye(t,e){return e&&(mye(e)==="object"||typeof e=="function")?e:vye(t)}function _0(t,e){return _0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_0(t,e)}function mye(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aM=function(){return!!t})()}var fM=function(t){gye(e,t);function e(n){hye(this,e);var o;return o=dye(this,e,[n]),lM(o,"props",void 0),o.props=new uM({}),o.children=(n==null?void 0:n.children)||[new vr({props:new Dt({span:12})}),new vr({props:new Dt({span:12})})],o}return bye(e,null,[{key:"controlName",get:function(){return _.getMessage("toolbox")}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),e}(Y);lM(fM,"excludes",[u.CONTROL_TYPE.GRID_ROW,u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.GRID,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.TAB,u.CONTROL_TYPE.TOOLBOX]);function wye(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $ye(t,e,n){return e=gf(e),Sye(t,yM()?Reflect.construct(e,n||[],gf(t).constructor):e.apply(t,n))}function Pye(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _M(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Tye(t,e,n){return e&&_M(t.prototype,e),n&&_M(t,n),t}function gf(t){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gf(t)}function Eye(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y0(t,e)}function Sye(t,e){return e&&(Rye(e)==="object"||typeof e=="function")?e:wye(t)}function y0(t,e){return y0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},y0(t,e)}function Rye(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yM=function(){return!!t})()}var Bye=function(t){Eye(e,t);function e(n){Pye(this,e);var o;return o=$ye(this,e,[n]),o.children=(n==null?void 0:n.children)||[new wb({props:new Dt({span:12})}),new wb({props:new Dt({span:12})})],o}return Tye(e,null,[{key:"controlType",get:function(){return"toolbox"}}]),e}(W),sM={Designer:fM,Runtime:Bye,Property:uM};function Iye(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s0(t,e,n){return e=Of(e),Mye(t,pM()?Reflect.construct(e,n||[],Of(t).constructor):e.apply(t,n))}function p0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Of(t){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Of(t)}function v0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d0(t,e)}function Mye(t,e){return e&&(Aye(e)==="object"||typeof e=="function")?e:Iye(t)}function d0(t,e){return d0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},d0(t,e)}function Aye(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pM=function(){return!!t})()}var vM;(function(t){t[t.CLICK_ROW=1]="CLICK_ROW",t[t.CLICK_CELL=2]="CLICK_CELL"})(vM||(vM={}));var Nye=function(t){v0(e,t);function e(n){p0(this,e);var o;return o=s0(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}(vt),Fye=function(t){v0(e,t);function e(n){p0(this,e);var o;if(o=s0(this,e,[n]),q(o,"triggerFieldCode",{type:"any"}),q(o,"datasourceBind",{type:"any"}),q(o,"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:_.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:_.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:_.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:_.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:_.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:_.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:_.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:_.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:_.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Jr.call(o,{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var r=o.datasourceBind.find(function(i){return i.type==="object"&&i.fields});r&&(delete r.fields.valueFieldCode,delete r.fields.displayBoList)}return o}return e}(J),gr=function(t){v0(e,t);function e(n){p0(this,e);var o;o=s0(this,e,[n]),q(o,"datasourceBind",void 0),q(o,"isLoading",void 0),q(o,"isShowSubList",void 0),q(o,"triggerType",void 0),q(o,"triggerFieldCode",void 0),q(o,"sublistPage",void 0),q(o,"isShowJoinRelation",void 0),q(o,"joinRelation",void 0),q(o,"showType",void 0),q(o,"showFullScreen",void 0),q(o,"isFixedHeader",void 0),q(o,"selectionType",void 0),q(o,"isShowSelection",void 0),q(o,"isAllLoaded",void 0),q(o,"countType",void 0),q(o,"countLimit",void 0),q(o,"rowStyle",void 0),o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var r;o.isLoading=(r=n==null?void 0:n.isLoading)!==null&&r!==void 0?r:!1;var i;o.isShowSubList=(i=n==null?void 0:n.isShowSubList)!==null&&i!==void 0?i:!1;var c;o.triggerType=(c=n==null?void 0:n.triggerType)!==null&&c!==void 0?c:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new Dm(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 jm(n==null?void 0:n.joinRelation);var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"stretch";var y;o.showFullScreen=(y=n==null?void 0:n.showFullScreen)!==null&&y!==void 0?y:!1;var s;o.selectionType=(s=n==null?void 0:n.selectionType)!==null&&s!==void 0?s:"multiple";var v;o.isFixedHeader=(v=n==null?void 0:n.isFixedHeader)!==null&&v!==void 0?v:!1;var b;o.isShowSelection=(b=n==null?void 0:n.isShowSelection)!==null&&b!==void 0?b:!1;var g;o.isAllLoaded=(g=n==null?void 0:n.isAllLoaded)!==null&&g!==void 0?g:!0,o.countType=n==null?void 0:n.countType;var h;return o.countLimit=(h=n==null?void 0:n.countLimit)!==null&&h!==void 0?h:1e5,o.rowStyle=new tw(n==null?void 0:n.rowStyle),o}return e}(C);q(gr,"Rules",Fye),q(gr,"RuntimeRules",Nye);function kye(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dye(t,e,n){return e=mf(e),Vye(t,hM()?Reflect.construct(e,n||[],mf(t).constructor):e.apply(t,n))}function Lye(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dM(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function jye(t,e,n){return e&&dM(t.prototype,e),n&&dM(t,n),t}function Or(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mf(t){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mf(t)}function Cye(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h0(t,e)}function Vye(t,e){return e&&(zye(e)==="object"||typeof e=="function")?e:kye(t)}function h0(t,e){return h0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},h0(t,e)}function zye(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hM=function(){return!!t})()}var mr=function(t){Cye(e,t);function e(n){Lye(this,e);var o;return o=Dye(this,e,[n]),Or(o,"props",void 0),o.props=new gr(n==null?void 0:n.props),o}return jye(e,null,[{key:"controlName",get:function(){return _.getMessage("listView")}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),e}(Y);Or(mr,"slotPosition",{left:"list-view-left-slot"}),Or(mr,"excludes",[u.CONTROL_TYPE.ROW]),Or(mr,"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"]),Or(mr,"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 Gye(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yye(t,e,n){return e=wf(e),Wye(t,gM()?Reflect.construct(e,n||[],wf(t).constructor):e.apply(t,n))}function Hye(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bM(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function qye(t,e,n){return e&&bM(t.prototype,e),n&&bM(t,n),t}function xye(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wf(t){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wf(t)}function Uye(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b0(t,e)}function Wye(t,e){return e&&(Kye(e)==="object"||typeof e=="function")?e:Gye(t)}function b0(t,e){return b0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},b0(t,e)}function Kye(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gM=function(){return!!t})()}var Xye=function(t){Uye(e,t);function e(n){Hye(this,e);var o;return o=Yye(this,e,[n]),xye(o,"props",void 0),o.props=new gr(n==null?void 0:n.props),o}return qye(e,null,[{key:"controlType",get:function(){return"list-view"}}]),e}(W),g0={Designer:mr,Runtime:Xye,Property:gr};function Jye(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function OM(t,e,n){return e=$f(e),Qye(t,$M()?Reflect.construct(e,n||[],$f(t).constructor):e.apply(t,n))}function mM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $f(t){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$f(t)}function wM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O0(t,e)}function Qye(t,e){return e&&(Zye(e)==="object"||typeof e=="function")?e:Jye(t)}function O0(t,e){return O0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},O0(t,e)}function Zye(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $M(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($M=function(){return!!t})()}var ese=function(t){wM(e,t);function e(n){mM(this,e);var o;return o=OM(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}(vt),Pf=function(t){wM(e,t);function e(n){mM(this,e);var o;o=OM(this,e,[n]),Tt(o,"save",void 0),Tt(o,"cancel",void 0),Tt(o,"saveAs",void 0),Tt(o,"print",void 0),Tt(o,"custom",void 0),Tt(o,"isLoading",void 0),Tt(o,"datasourceBind",void 0);var r;o.save=new et((r=n==null?void 0:n.save)!==null&&r!==void 0?r:{content:_.getMessage("save"),type:"save",isShow:!1});var i;o.cancel=new et((i=n==null?void 0:n.cancel)!==null&&i!==void 0?i:{content:_.getMessage("cancel"),type:"cancel",isShow:!1});var c;o.saveAs=new et((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:_.getMessage("draft"),type:"saveAs",isShow:!1});var l;o.print=new et((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{content:_.getMessage("print"),type:"print",isShow:!1});var a;o.custom=((a=n==null?void 0:n.custom)!==null&&a!==void 0?a:[]).map(function(y){return new et(y)});var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o.datasourceBind=new Q(n==null?void 0:n.datasourceBind),o}return e}(C);Tt(Pf,"RuntimeRules",ese);function tse(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nse(t,e,n){return e=Tf(e),use(t,EM()?Reflect.construct(e,n||[],Tf(t).constructor):e.apply(t,n))}function ose(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function PM(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function rse(t,e,n){return e&&PM(t.prototype,e),n&&PM(t,n),t}function TM(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tf(t){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tf(t)}function ise(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m0(t,e)}function use(t,e){return e&&(cse(e)==="object"||typeof e=="function")?e:tse(t)}function m0(t,e){return m0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},m0(t,e)}function cse(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(EM=function(){return!!t})()}var SM=function(t){ise(e,t);function e(n){ose(this,e);var o;return o=nse(this,e,[n]),TM(o,"props",void 0),o.props=new Pf(n==null?void 0:n.props),o}return rse(e,null,[{key:"controlName",get:function(){return _.getMessage("dataView")}},{key:"controlType",get:function(){return"data-view"}}]),e}(Y);TM(SM,"excludes",[]);function lse(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ase(t,e,n){return e=Ef(e),pse(t,BM()?Reflect.construct(e,n||[],Ef(t).constructor):e.apply(t,n))}function fse(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function RM(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function _se(t,e,n){return e&&RM(t.prototype,e),n&&RM(t,n),t}function yse(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ef(t){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ef(t)}function sse(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w0(t,e)}function pse(t,e){return e&&(vse(e)==="object"||typeof e=="function")?e:lse(t)}function w0(t,e){return w0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},w0(t,e)}function vse(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function BM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(BM=function(){return!!t})()}var dse=function(t){sse(e,t);function e(n){fse(this,e);var o;return o=ase(this,e,[n]),yse(o,"props",void 0),o.props=new Pf(n==null?void 0:n.props),o}return _se(e,null,[{key:"controlType",get:function(){return"data-view"}}]),e}(W),$0={Designer:SM,Runtime:dse,Property:Pf};function hse(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bse(t,e,n){return e=Sf(e),wse(t,MM()?Reflect.construct(e,n||[],Sf(t).constructor):e.apply(t,n))}function gse(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function IM(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Ose(t,e,n){return e&&IM(t.prototype,e),n&&IM(t,n),t}function Sf(t){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sf(t)}function mse(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&P0(t,e)}function wse(t,e){return e&&($se(e)==="object"||typeof e=="function")?e:hse(t)}function P0(t,e){return P0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},P0(t,e)}function $se(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function MM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(MM=function(){return!!t})()}var Pse=function(t){mse(e,t);function e(n){return gse(this,e),bse(this,e,[n])}return Ose(e,null,[{key:"controlName",get:function(){return _.getMessage("page")}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),e}(Y);function Tse(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ese(t,e,n){return e=Rf(e),Ise(t,NM()?Reflect.construct(e,n||[],Rf(t).constructor):e.apply(t,n))}function Sse(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AM(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Rse(t,e,n){return e&&AM(t.prototype,e),n&&AM(t,n),t}function Rf(t){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rf(t)}function Bse(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&T0(t,e)}function Ise(t,e){return e&&(Mse(e)==="object"||typeof e=="function")?e:Tse(t)}function T0(t,e){return T0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},T0(t,e)}function Mse(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function NM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(NM=function(){return!!t})()}var Ase=function(t){Bse(e,t);function e(n){return Sse(this,e),Ese(this,e,[n])}return Rse(e,null,[{key:"controlType",get:function(){return"page"}}]),e}(W);function Nse(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fse(t,e,n){return e=Bf(e),Lse(t,FM()?Reflect.construct(e,n||[],Bf(t).constructor):e.apply(t,n))}function kse(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Bf(t){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bf(t)}function Dse(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E0(t,e)}function Lse(t,e){return e&&(jse(e)==="object"||typeof e=="function")?e:Nse(t)}function E0(t,e){return E0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},E0(t,e)}function jse(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FM=function(){return!!t})()}var Cse=function(t){Dse(e,t);function e(n){kse(this,e);var o;o=Fse(this,e,[n]),wr(o,"hideHeader",void 0),wr(o,"background","#fff"),wr(o,"minWidth",""),wr(o,"maxWidth",""),wr(o,"heightConfig","auto");var r;return o.hideHeader=(r=n==null?void 0:n.hideHeader)!==null&&r!==void 0?r:!1,o}return e}(C),kM={Designer:Pse,Runtime:Ase,Property:Cse};function Vse(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zse(t,e,n){return e=If(e),qse(t,LM()?Reflect.construct(e,n||[],If(t).constructor):e.apply(t,n))}function Gse(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DM(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Yse(t,e,n){return e&&DM(t.prototype,e),n&&DM(t,n),t}function If(t){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},If(t)}function Hse(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&S0(t,e)}function qse(t,e){return e&&(xse(e)==="object"||typeof e=="function")?e:Vse(t)}function S0(t,e){return S0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},S0(t,e)}function xse(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LM=function(){return!!t})()}var Use=function(t){Hse(e,t);function e(n){return Gse(this,e),zse(this,e,[n])}return Yse(e,null,[{key:"controlName",get:function(){return _.getMessage("advancedContainer")}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),e}(Y);function Wse(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kse(t,e,n){return e=Mf(e),Zse(t,CM()?Reflect.construct(e,n||[],Mf(t).constructor):e.apply(t,n))}function Xse(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jM(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Jse(t,e,n){return e&&jM(t.prototype,e),n&&jM(t,n),t}function Mf(t){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mf(t)}function Qse(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&R0(t,e)}function Zse(t,e){return e&&(epe(e)==="object"||typeof e=="function")?e:Wse(t)}function R0(t,e){return R0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},R0(t,e)}function epe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CM=function(){return!!t})()}var tpe=function(t){Qse(e,t);function e(n){return Xse(this,e),Kse(this,e,[n])}return Jse(e,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),e}(W);function npe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ope(t,e,n){return e=Af(e),upe(t,zM()?Reflect.construct(e,n||[],Af(t).constructor):e.apply(t,n))}function rpe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function VM(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Af(t){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Af(t)}function ipe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&B0(t,e)}function upe(t,e){return e&&(cpe(e)==="object"||typeof e=="function")?e:npe(t)}function B0(t,e){return B0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},B0(t,e)}function cpe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zM=function(){return!!t})()}var lpe=function(t){ipe(e,t);function e(n){rpe(this,e);var o;return o=ope(this,e,[n]),VM(o,"display",void 0),VM(o,"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new M$(n==null?void 0:n.flexConfig),o}return e}(C),GM={Designer:Use,Runtime:tpe,Property:lpe};function ape(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fpe(t,e,n){return e=Nf(e),ppe(t,HM()?Reflect.construct(e,n||[],Nf(t).constructor):e.apply(t,n))}function _pe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function YM(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ype(t,e,n){return e&&YM(t.prototype,e),n&&YM(t,n),t}function Nf(t){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nf(t)}function spe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&I0(t,e)}function ppe(t,e){return e&&(vpe(e)==="object"||typeof e=="function")?e:ape(t)}function I0(t,e){return I0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},I0(t,e)}function vpe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HM=function(){return!!t})()}var dpe=function(t){spe(e,t);function e(n){return _pe(this,e),fpe(this,e,[n])}return ype(e,null,[{key:"controlName",get:function(){return _.getMessage("positioningContainer")}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),e}(Y);function hpe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bpe(t,e,n){return e=Ff(e),wpe(t,xM()?Reflect.construct(e,n||[],Ff(t).constructor):e.apply(t,n))}function gpe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qM(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Ope(t,e,n){return e&&qM(t.prototype,e),n&&qM(t,n),t}function Ff(t){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ff(t)}function mpe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M0(t,e)}function wpe(t,e){return e&&($pe(e)==="object"||typeof e=="function")?e:hpe(t)}function M0(t,e){return M0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},M0(t,e)}function $pe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xM=function(){return!!t})()}var Ppe=function(t){mpe(e,t);function e(n){return gpe(this,e),bpe(this,e,[n])}return Ope(e,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),e}(W);function Tpe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Epe(t,e,n){return e=kf(e),Bpe(t,UM()?Reflect.construct(e,n||[],kf(t).constructor):e.apply(t,n))}function Spe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kf(t){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kf(t)}function Rpe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&A0(t,e)}function Bpe(t,e){return e&&(Ipe(e)==="object"||typeof e=="function")?e:Tpe(t)}function A0(t,e){return A0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},A0(t,e)}function Ipe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UM=function(){return!!t})()}var Mpe=function(t){Rpe(e,t);function e(n){return Spe(this,e),Epe(this,e,[n])}return e}(C),WM={Designer:dpe,Runtime:Ppe,Property:Mpe};function Ape(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Npe(t,e,n){return e=Df(e),Lpe(t,XM()?Reflect.construct(e,n||[],Df(t).constructor):e.apply(t,n))}function Fpe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function KM(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function kpe(t,e,n){return e&&KM(t.prototype,e),n&&KM(t,n),t}function Df(t){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Df(t)}function Dpe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&N0(t,e)}function Lpe(t,e){return e&&(jpe(e)==="object"||typeof e=="function")?e:Ape(t)}function N0(t,e){return N0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},N0(t,e)}function jpe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(XM=function(){return!!t})()}var Cpe=function(t){Dpe(e,t);function e(n){return Fpe(this,e),Npe(this,e,[n])}return kpe(e,null,[{key:"controlName",get:function(){return _.getMessage("position")}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),e}(Y);function Vpe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zpe(t,e,n){return e=Lf(e),qpe(t,QM()?Reflect.construct(e,n||[],Lf(t).constructor):e.apply(t,n))}function Gpe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function JM(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Ype(t,e,n){return e&&JM(t.prototype,e),n&&JM(t,n),t}function Lf(t){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lf(t)}function Hpe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&F0(t,e)}function qpe(t,e){return e&&(xpe(e)==="object"||typeof e=="function")?e:Vpe(t)}function F0(t,e){return F0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},F0(t,e)}function xpe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QM=function(){return!!t})()}var Upe=function(t){Hpe(e,t);function e(n){return Gpe(this,e),zpe(this,e,[n])}return Ype(e,null,[{key:"controlType",get:function(){return"position"}}]),e}(W);function Wpe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kpe(t,e,n){return e=Cf(e),Qpe(t,ZM()?Reflect.construct(e,n||[],Cf(t).constructor):e.apply(t,n))}function Xpe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cf(t){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cf(t)}function Jpe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&k0(t,e)}function Qpe(t,e){return e&&(Zpe(e)==="object"||typeof e=="function")?e:Wpe(t)}function k0(t,e){return k0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},k0(t,e)}function Zpe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ZM(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ZM=function(){return!!t})()}var eve=function(t){Jpe(e,t);function e(n){Xpe(this,e);var o;o=Kpe(this,e,[n]),jf(o,"widthSpan",void 0),jf(o,"heightSpan",void 0),jf(o,"left",void 0),jf(o,"top",void 0);var r;o.widthSpan=(r=n==null?void 0:n.widthSpan)!==null&&r!==void 0?r:12;var i;o.heightSpan=(i=n==null?void 0:n.heightSpan)!==null&&i!==void 0?i:12;var c;o.left=(c=n==null?void 0:n.left)!==null&&c!==void 0?c:0;var l;return o.top=(l=n==null?void 0:n.top)!==null&&l!==void 0?l:0,o}return e}(C),eA={Designer:Cpe,Runtime:Upe,Property:eve};function tve(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nve(t,e,n){return e=Vf(e),ive(t,tA()?Reflect.construct(e,n||[],Vf(t).constructor):e.apply(t,n))}function ove(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function D0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vf(t){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vf(t)}function rve(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&L0(t,e)}function ive(t,e){return e&&(uve(e)==="object"||typeof e=="function")?e:tve(t)}function L0(t,e){return L0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},L0(t,e)}function uve(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tA=function(){return!!t})()}var j0=function(t){rve(e,t);function e(n){ove(this,e);var o;o=nve(this,e,[n]),D0(o,"position",void 0),D0(o,"opacity",void 0),D0(o,"align",void 0);var r;o.position=(r=n==null?void 0:n.position)!==null&&r!==void 0?r:"bottom";var i;o.opacity=(i=n==null?void 0:n.opacity)!==null&&i!==void 0?i:!0;var c;return o.align=(c=n==null?void 0:n.align)!==null&&c!==void 0?c:"right",o}return e}(C);function cve(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lve(t,e,n){return e=Gf(e),yve(t,oA()?Reflect.construct(e,n||[],Gf(t).constructor):e.apply(t,n))}function ave(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nA(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function fve(t,e,n){return e&&nA(t.prototype,e),n&&nA(t,n),t}function zf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gf(t){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gf(t)}function _ve(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C0(t,e)}function yve(t,e){return e&&(sve(e)==="object"||typeof e=="function")?e:cve(t)}function C0(t,e){return C0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},C0(t,e)}function sve(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oA=function(){return!!t})()}var Yf=function(t){_ve(e,t);function e(n){ave(this,e);var o;o=lve(this,e,[n]),zf(o,"props",void 0);var r;return o.props=new j0((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return fve(e,null,[{key:"controlName",get:function(){return _.getMessage("actionBar")}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),e}(Y);zf(Yf,"slotPosition",{default:"action-bar-slot"}),zf(Yf,"excludes",[]),zf(Yf,"setting",[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function pve(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vve(t,e,n){return e=Hf(e),Ove(t,iA()?Reflect.construct(e,n||[],Hf(t).constructor):e.apply(t,n))}function dve(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rA(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function hve(t,e,n){return e&&rA(t.prototype,e),n&&rA(t,n),t}function bve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hf(t){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hf(t)}function gve(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&V0(t,e)}function Ove(t,e){return e&&(mve(e)==="object"||typeof e=="function")?e:pve(t)}function V0(t,e){return V0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},V0(t,e)}function mve(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function iA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(iA=function(){return!!t})()}var wve=function(t){gve(e,t);function e(n){dve(this,e);var o;o=vve(this,e,[n]),bve(o,"props",void 0);var r;return o.props=new j0((r=n==null?void 0:n.props)!==null&&r!==void 0?r:{}),o}return hve(e,null,[{key:"controlType",get:function(){return"action-bar"}}]),e}(W),uA={Designer:Yf,Runtime:wve,Property:j0},$ve=Object.freeze({__proto__:null,Grid:Y1,Col:ka,Row:oI,GridRow:Mb,CardGroup:hI,SubTableColumn:Vb,SubTableRow:II,GridTableColumn:DI,GridLayoutContainer:YI,Tab:rM,TabPane:ZI,Toolbox:sM,ListView:g0,DataView:$0,Page:kM,AdvancedContainer:GM,PositioningContainer:WM,Position:eA,ActionBar:uA});function Pve(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z0(t,e,n){return e=qf(e),Tve(t,cA()?Reflect.construct(e,n||[],qf(t).constructor):e.apply(t,n))}function G0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function qf(t){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qf(t)}function Y0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&H0(t,e)}function Tve(t,e){return e&&(Eve(e)==="object"||typeof e=="function")?e:Pve(t)}function H0(t,e){return H0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},H0(t,e)}function Eve(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(cA=function(){return!!t})()}var Sve=function(t){Y0(e,t);function e(n){G0(this,e);var o;return o=z0(this,e,[n]),B(o,"caption",{type:"string",required:!0,message:_.getMessage("pleaseEnterCaption")}),B(o,"limitRows",[{type:"number",required:!0,message:_.getMessage("isNotNumber")},{type:"number",min:0,message:_.getMessage("limitRowsCannotBeLessThan0")}]),B(o,"formKey",{type:"string",required:!1,message:_.getMessage("pleaseEnterForm")}),B(o,"maxHeight",{type:"number",required:!0,message:_.getMessage("pleaseEnterMaxHeight")}),B(o,"captionTip",{type:"string",required:!1,message:_.getMessage("pleaseEnterCaptionTip")}),B(o,"mobileRowCaption",{type:"string",required:!1,message:_.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return e}(J),Rve=function(t){Y0(e,t);function e(n){G0(this,e);var o;return o=z0(this,e,[n]),n.isHide||o.push({type:"array",required:n.limitRows>0,message:_.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(i,c,l){c.length<n.limitRows&&l(_.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),l()},message:_.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return e}(vt),$r=function(t){Y0(e,t);function e(n,o){G0(this,e);var r;r=z0(this,e,[n,o,e.mode]),B(r,"caption",void 0),B(r,"labelPosition",void 0),B(r,"isHideCaption",void 0),B(r,"isShowCaptionTip",void 0),B(r,"captionTip",void 0),B(r,"defaultState",void 0),B(r,"limitRows",void 0),B(r,"maxRows",void 0),B(r,"defaultRows",void 0),B(r,"datasourceBind",void 0),B(r,"printMode",void 0),B(r,"openType",void 0),B(r,"formKey",void 0),B(r,"useCustomHeight",void 0),B(r,"maxHeight",void 0),B(r,"canAdd",void 0),B(r,"canDelete",void 0),B(r,"canCheck",void 0),B(r,"canEdit",void 0),B(r,"canImport",void 0),B(r,"importConfig",void 0),B(r,"canExport",void 0),B(r,"exportConfig",void 0),B(r,"canClear",void 0),B(r,"isPaste",void 0),B(r,"mobileShowType",void 0),B(r,"mobileDefaultNum",void 0),B(r,"dataStorageDoc",void 0),B(r,"serverPagination",void 0),B(r,"fixedColumn",void 0),B(r,"mobileRowCaption",void 0),B(r,"mobileIsTile",void 0),B(r,"sortable",void 0),B(r,"sortKey",void 0);var i;r.caption=(i=o==null?void 0:o.caption)!==null&&i!==void 0?i:Pr.controlName;var c;r.isHideCaption=(c=o==null?void 0:o.isHideCaption)!==null&&c!==void 0?c:!1;var l;r.defaultState=(l=o==null?void 0:o.defaultState)!==null&&l!==void 0?l:"default";var a;r.labelPosition=(a=o==null?void 0:o.labelPosition)!==null&&a!==void 0?a:"top";var f;r.openType=(f=o==null?void 0:o.openType)!==null&&f!==void 0?f:"default";var y;r.formKey=(y=o==null?void 0:o.formKey)!==null&&y!==void 0?y:"";var s;r.useCustomHeight=(s=o==null?void 0:o.useCustomHeight)!==null&&s!==void 0?s:!1;var v;r.maxHeight=(v=o==null?void 0:o.maxHeight)!==null&&v!==void 0?v:B$;var b;r.printMode=(b=o==null?void 0:o.printMode)!==null&&b!==void 0?b:"row";var g;r.limitRows=(g=o==null?void 0:o.limitRows)!==null&&g!==void 0?g:1;var h;r.maxRows=(h=o==null?void 0:o.maxRows)!==null&&h!==void 0?h:null;var O;r.defaultRows=(O=o==null?void 0:o.defaultRows)!==null&&O!==void 0?O:1,r.datasourceBind=new Q(o==null?void 0:o.datasourceBind);var d;r.canAdd=(d=o==null?void 0:o.canAdd)!==null&&d!==void 0?d:!0;var m;r.canDelete=(m=o==null?void 0:o.canDelete)!==null&&m!==void 0?m:!0;var $;r.canCheck=($=o==null?void 0:o.canCheck)!==null&&$!==void 0?$:!1;var w;r.canEdit=(w=o==null?void 0:o.canEdit)!==null&&w!==void 0?w:!1;var E;r.canImport=(E=o==null?void 0:o.canImport)!==null&&E!==void 0?E:!1;var T;r.canExport=(T=o==null?void 0:o.canExport)!==null&&T!==void 0?T:!1;var R;r.canClear=(R=o==null?void 0:o.canClear)!==null&&R!==void 0?R:!0;var z;r.serverPagination=(z=o==null?void 0:o.serverPagination)!==null&&z!==void 0?z:!1;var Oe;r.isShowCaptionTip=(Oe=o==null?void 0:o.isShowCaptionTip)!==null&&Oe!==void 0?Oe:!1;var fe;r.captionTip=(fe=o==null?void 0:o.captionTip)!==null&&fe!==void 0?fe:"";var _e;r.mobileShowType=(_e=o==null?void 0:o.mobileShowType)!==null&&_e!==void 0?_e:"list";var ho;r.mobileDefaultNum=(ho=o==null?void 0:o.mobileDefaultNum)!==null&&ho!==void 0?ho:10;var cn;r.dataStorageDoc=(cn=o==null?void 0:o.dataStorageDoc)!==null&&cn!==void 0?cn:new Mm;var Qe;r.fixedColumn=(Qe=o==null?void 0:o.fixedColumn)!==null&&Qe!==void 0?Qe:[];var XO;r.mobileRowCaption=(XO=o==null?void 0:o.mobileRowCaption)!==null&&XO!==void 0?XO:_.getMessage("detailed");var JO;r.mobileIsTile=(JO=o==null?void 0:o.mobileIsTile)!==null&&JO!==void 0?JO:!1;var QO;r.isPaste=(QO=o==null?void 0:o.isPaste)!==null&&QO!==void 0?QO:!1;var ZO;r.pageSize=(ZO=o==null?void 0:o.pageSize)!==null&&ZO!==void 0?ZO:10;var em;r.pageSizeOptions=(em=o==null?void 0:o.pageSizeOptions)!==null&&em!==void 0?em:[10,20,50,100],r.importConfig=new S$(o==null?void 0:o.importConfig),r.exportConfig=new R$(o==null?void 0:o.exportConfig);var tm;r.sortable=(tm=o==null?void 0:o.sortable)!==null&&tm!==void 0?tm:!1;var nm;return r.sortKey=(nm=o==null?void 0:o.sortKey)!==null&&nm!==void 0?nm:{},r}return e}(Mo);B($r,"Rules",Sve),B($r,"RuntimeRules",Rve);function Bve(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ive(t,e,n){return e=Uf(e),Fve(t,aA()?Reflect.construct(e,n||[],Uf(t).constructor):e.apply(t,n))}function Mve(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lA(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Ave(t,e,n){return e&&lA(t.prototype,e),n&&lA(t,n),t}function xf(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Uf(t){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uf(t)}function Nve(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&q0(t,e)}function Fve(t,e){return e&&(kve(e)==="object"||typeof e=="function")?e:Bve(t)}function q0(t,e){return q0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},q0(t,e)}function kve(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aA=function(){return!!t})()}var Pr=function(t){Nve(e,t);function e(n){Mve(this,e);var o,r;return o=Ive(this,e,[n]),xf(o,"props",void 0),o.props=new $r(o,n==null?void 0:n.props),(n==null||(r=n.props)===null||r===void 0?void 0:r.headers)===void 0&&(o.props.headers=[new qe,new qe,new qe]),o}return Ave(e,[{key:"addColumn",value:function(o,r){var i=o!==void 0&&typeof o!="number"?o:new qe,c=typeof o=="number"?o:r;return c===void 0?this.props.headers.push(i):this.props.headers.splice(c,0,i),i}}],[{key:"controlName",get:function(){return _.getMessage("subTable")}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),e}(ai);xf(Pr,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),xf(Pr,"slotPosition",{toolbar:"subtable-toolbar-slot"}),xf(Pr,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION,u.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE,u.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,u.COMMON_SETTING_TYPE.IS_PASTE,u.COMMON_SETTING_TYPE.SERVER_PAGINATION,u.COMMON_SETTING_TYPE.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function Dve(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lve(t,e,n){return e=Wf(e),Gve(t,_A()?Reflect.construct(e,n||[],Wf(t).constructor):e.apply(t,n))}function jve(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fA(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Cve(t,e,n){return e&&fA(t.prototype,e),n&&fA(t,n),t}function Vve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wf(t){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wf(t)}function zve(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&x0(t,e)}function Gve(t,e){return e&&(Yve(e)==="object"||typeof e=="function")?e:Dve(t)}function x0(t,e){return x0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},x0(t,e)}function Yve(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _A(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_A=function(){return!!t})()}var Hve=function(t){zve(e,t);function e(n){jve(this,e);var o;return o=Lve(this,e,[n]),Vve(o,"props",void 0),o.props=new $r(o,n==null?void 0:n.props),o}return Cve(e,[{key:"getChildrenDataSourceBindLayout",value:function(){yt("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),e}(ms),yA={Designer:Pr,Runtime:Hve,Property:$r};function qve(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xve(t,e,n){return e=Kf(e),Kve(t,sA()?Reflect.construct(e,n||[],Kf(t).constructor):e.apply(t,n))}function Uve(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kf(t){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kf(t)}function Wve(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&U0(t,e)}function Kve(t,e){return e&&(Xve(e)==="object"||typeof e=="function")?e:qve(t)}function U0(t,e){return U0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},U0(t,e)}function Xve(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(sA=function(){return!!t})()}var W0=function(t){Wve(e,t);function e(n,o){Uve(this,e);var r;r=xve(this,e,[n,o]),Tr(r,"isFixedHeader",void 0),Tr(r,"selectionType",void 0),Tr(r,"isShowToolbar",void 0),Tr(r,"isShowSelection",void 0),Tr(r,"isShowCustomColumns",void 0);var i;r.isFixedHeader=(i=o==null?void 0:o.isFixedHeader)!==null&&i!==void 0?i:!1,r.selectionType=o==null?void 0:o.selectionType;var c;r.isShowToolbar=(c=o==null?void 0:o.isShowToolbar)!==null&&c!==void 0?c:!0;var l;r.isShowSelection=(l=o==null?void 0:o.isShowSelection)!==null&&l!==void 0?l:!1;var a;r.isShowCustomColumns=(a=o==null?void 0:o.isShowCustomColumns)!==null&&a!==void 0?a:!0;var f;return r.pageSizeOptions=(f=o==null?void 0:o.pageSizeOptions)!==null&&f!==void 0?f:[10,20,50,100,500],r}return e}(Mo);function Jve(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pA(t,e,n){return e=Xf(e),Zve(t,hA()?Reflect.construct(e,n||[],Xf(t).constructor):e.apply(t,n))}function vA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xf(t){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xf(t)}function dA(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&K0(t,e)}function Zve(t,e){return e&&(ede(e)==="object"||typeof e=="function")?e:Jve(t)}function K0(t,e){return K0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},K0(t,e)}function ede(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hA=function(){return!!t})()}var tde=function(t){dA(e,t);function e(n){vA(this,e);var o;return o=pA(this,e,[n]),o.caption.required=!1,o}return e}(Ve),Jf=function(t){dA(e,t);function e(n){vA(this,e);var o,r,i;o=pA(this,e,[n]);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"left";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Gt.controlName;var a;o.width=(a=n==null?void 0:n.width)!==null&&a!==void 0?a:60;var f;o.autoWidth.minWidth=(f=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&f!==void 0?f:60;var y;o.autoWidth.flex=(y=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.flex)!==null&&y!==void 0?y:.4;var s;return o.widthType=(s=n==null?void 0:n.widthType)!==null&&s!==void 0?s:"px",o}return e}(K);Qve(Jf,"Rules",tde);function nde(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ode(t,e,n){return e=Qf(e),ude(t,bA()?Reflect.construct(e,n||[],Qf(t).constructor):e.apply(t,n))}function rde(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Er(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qf(t){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qf(t)}function ide(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&X0(t,e)}function ude(t,e){return e&&(cde(e)==="object"||typeof e=="function")?e:nde(t)}function X0(t,e){return X0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},X0(t,e)}function cde(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bA=function(){return!!t})()}var Gt=function(t){ide(e,t);function e(n){rde(this,e);var o;return o=ode(this,e,[n]),Er(o,"props",void 0),o.props=new Jf(n==null?void 0:n.props),o}return e}(te);Er(Gt,"controlType","order-column"),Er(Gt,"controlName",_.getMessage("order")),Er(Gt,"controlIcon","order-column"),Er(Gt,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function lde(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ade(t,e,n){return e=Zf(e),yde(t,gA()?Reflect.construct(e,n||[],Zf(t).constructor):e.apply(t,n))}function fde(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function J0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zf(t){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zf(t)}function _de(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Q0(t,e)}function yde(t,e){return e&&(sde(e)==="object"||typeof e=="function")?e:lde(t)}function Q0(t,e){return Q0=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Q0(t,e)}function sde(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gA=function(){return!!t})()}var Z0=function(t){_de(e,t);function e(n){fde(this,e);var o;return o=ade(this,e,[n]),J0(o,"props",void 0),o.props=new Jf(n==null?void 0:n.props),o}return e}(ne);J0(Z0,"controlType","order-column"),J0(Z0,"controlFieldType",u.FieldTypes.DECIMAL);var OA={Designer:Gt,Runtime:Z0,Property:Jf};function pde(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vde(t,e,n){return e=e_(e),bde(t,wA()?Reflect.construct(e,n||[],e_(t).constructor):e.apply(t,n))}function dde(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mA(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function e_(t){return e_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},e_(t)}function hde(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eg(t,e)}function bde(t,e){return e&&(gde(e)==="object"||typeof e=="function")?e:pde(t)}function eg(t,e){return eg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},eg(t,e)}function gde(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wA=function(){return!!t})()}var tg=function(t){hde(e,t);function e(n){dde(this,e);var o,r;o=vde(this,e,[n]),mA(o,"showType",void 0),mA(o,"limit",void 0);var i;o.fixed=(i=n==null?void 0:n.fixed)!==null&&i!==void 0?i:"right",o.widthType="auto";var c;o.autoWidth.minWidth=(c=n==null||(r=n.autoWidth)===null||r===void 0?void 0:r.minWidth)!==null&&c!==void 0?c:84;var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Ht.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var f;return o.limit=(f=n==null?void 0:n.limit)!==null&&f!==void 0?f:3,o}return e}(K);function Ode(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $A(t,e,n,o,r,i,c){try{var l=t[i](c),a=l.value}catch(f){n(f);return}l.done?e(a):Promise.resolve(a).then(o,r)}function mde(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function c(a){$A(i,o,r,c,l,"next",a)}function l(a){$A(i,o,r,c,l,"throw",a)}c(void 0)})}}function wde(t,e,n){return e=Yt(e),Ede(t,TA()?Reflect.construct(e,n||[],Yt(t).constructor):e.apply(t,n))}function $de(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function PA(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Pde(t,e,n){return e&&PA(t.prototype,e),n&&PA(t,n),t}function Sr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Rr(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Rr=Reflect.get:Rr=function(r,i,c){var l=Sde(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},Rr(t,e,n||t)}function Yt(t){return Yt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yt(t)}function Tde(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ng(t,e)}function Ede(t,e){return e&&(Rde(e)==="object"||typeof e=="function")?e:Ode(t)}function ng(t,e){return ng=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ng(t,e)}function Sde(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Yt(t),t!==null););return t}function Rde(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(TA=function(){return!!t})()}function Bde(t,e){var n,o,r,i,c={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(f){return function(y){return a([f,y])}}function a(f){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,o&&(r=f[0]&2?o.return:f[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,f[1])).done)return r;switch(o=0,r&&(f=[f[0]&2,r.value]),f[0]){case 0:case 1:r=f;break;case 4:return c.label++,{value:f[1],done:!1};case 5:c.label++,o=f[1],f=[0];continue;case 7:f=c.ops.pop(),c.trys.pop();continue;default:if(r=c.trys,!(r=r.length>0&&r[r.length-1])&&(f[0]===6||f[0]===2)){c=0;continue}if(f[0]===3&&(!r||f[1]>r[0]&&f[1]<r[3])){c.label=f[1];break}if(f[0]===6&&c.label<r[1]){c.label=r[1],r=f;break}if(r&&c.label<r[2]){c.label=r[2],c.ops.push(f);break}r[2]&&c.ops.pop(),c.trys.pop();continue}f=e.call(t,c)}catch(y){f=[6,y],o=0}finally{n=r=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var Ht=function(t){Tde(e,t);function e(n){$de(this,e);var o;return o=wde(this,e,[n]),Sr(o,"props",void 0),o.props=new tg(n==null?void 0:n.props),o}return Pde(e,[{key:"toDataBindModel",value:function(){var o=Rr(Yt(e.prototype),"toDataBindModel",this).call(this);return this.children.map(function(r){if(r.type===nc.controlType){var i=r;o.props[i.props.command]=i.props}}),o}},{key:"validate",value:function(o,r){var i=this,c=this,l=function(){return Rr(Yt(e.prototype),"validate",i)};return mde(function(){return Bde(this,function(a){switch(a.label){case 0:return[4,l().call(c,o,r)];case 1:return a.sent(),[4,Promise.all(c.children.map(function(f){return f.validate(o,r)}))];case 2:return a.sent(),[2,!0]}})})()}}]),e}(te);Sr(Ht,"controlType","operation-column"),Sr(Ht,"controlName",_.getMessage("operation")),Sr(Ht,"controlIcon","operation-column"),Sr(Ht,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function Ide(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mde(t,e,n){return e=t_(e),Fde(t,EA()?Reflect.construct(e,n||[],t_(t).constructor):e.apply(t,n))}function Ade(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function og(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function t_(t){return t_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},t_(t)}function Nde(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rg(t,e)}function Fde(t,e){return e&&(kde(e)==="object"||typeof e=="function")?e:Ide(t)}function rg(t,e){return rg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rg(t,e)}function kde(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(EA=function(){return!!t})()}var ig=function(t){Nde(e,t);function e(n){Ade(this,e);var o;return o=Mde(this,e,[n]),og(o,"props",void 0),o.props=new tg(n==null?void 0:n.props),o}return e}(ne);og(ig,"controlType","operation-column"),og(ig,"controlFieldType",u.FieldTypes.FILE);var SA={Designer:Ht,Runtime:ig,Property:tg};function Dde(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RA(t,e,n,o,r,i,c){try{var l=t[i](c),a=l.value}catch(f){n(f);return}l.done?e(a):Promise.resolve(a).then(o,r)}function Lde(t){return function(){var e=this,n=arguments;return new Promise(function(o,r){var i=t.apply(e,n);function c(a){RA(i,o,r,c,l,"next",a)}function l(a){RA(i,o,r,c,l,"throw",a)}c(void 0)})}}function jde(t,e,n){return e=qt(e),xde(t,IA()?Reflect.construct(e,n||[],qt(t).constructor):e.apply(t,n))}function Cde(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function BA(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Vde(t,e,n){return e&&BA(t.prototype,e),n&&BA(t,n),t}function lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Br(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Br=Reflect.get:Br=function(r,i,c){var l=Ude(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},Br(t,e,n||t)}function qt(t){return qt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qt(t)}function zde(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ug(t,e)}function Gde(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Yde(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},o=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),o.forEach(function(r){lt(t,r,n[r])})}return t}function Hde(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function qde(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Hde(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function xde(t,e){return e&&(Wde(e)==="object"||typeof e=="function")?e:Dde(t)}function ug(t,e){return ug=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ug(t,e)}function Ude(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=qt(t),t!==null););return t}function Wde(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IA=function(){return!!t})()}function Kde(t,e){var n,o,r,i,c={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(f){return function(y){return a([f,y])}}function a(f){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,o&&(r=f[0]&2?o.return:f[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,f[1])).done)return r;switch(o=0,r&&(f=[f[0]&2,r.value]),f[0]){case 0:case 1:r=f;break;case 4:return c.label++,{value:f[1],done:!1};case 5:c.label++,o=f[1],f=[0];continue;case 7:f=c.ops.pop(),c.trys.pop();continue;default:if(r=c.trys,!(r=r.length>0&&r[r.length-1])&&(f[0]===6||f[0]===2)){c=0;continue}if(f[0]===3&&(!r||f[1]>r[0]&&f[1]<r[3])){c.label=f[1];break}if(f[0]===6&&c.label<r[1]){c.label=r[1],r=f;break}if(r&&c.label<r[2]){c.label=r[2],c.ops.push(f);break}r[2]&&c.ops.pop(),c.trys.pop();continue}f=e.call(t,c)}catch(y){f=[6,y],o=0}finally{n=r=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var Xde=1e4,Ir=function(e){zde(n,e);function n(o){Cde(this,n);var r;r=jde(this,n,[o]),lt(r,"props",void 0),lt(r,"children",void 0),lt(r,"excludes",void 0),lt(r,"childrenMaxLength",void 0);var i=Gde(this,n)?this.constructor:void 0,c=i.excludes,l=i.childrenMaxLength;return r.props=new W0(r,o==null?void 0:o.props),Ce(r,"children",o==null?void 0:o.children,void 0,"Designer"),(o==null?void 0:o.props.headers)===void 0&&(r.props.headers=[new Gt,new Ht]),r.excludes=Be(c),r.childrenMaxLength=l,r}return Vde(n,[{key:"judgeJoinChildren",value:function(r){var i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r);return i&&this.childrenMaxLength>this.children.length}},{key:"toSchema",value:function(){var r=Br(qt(n.prototype),"toSchema",this).call(this),i=this.children.map(function(c){return c.toSchema()});return qde(Yde({},r),{children:i})}},{key:"validate",value:function(r,i){var c=this,l=this,a=function(){return Br(qt(n.prototype),"validate",c)};return Lde(function(){return Kde(this,function(f){switch(f.label){case 0:return[4,a().call(l,r,i)];case 1:return f.sent(),[4,Promise.all(l.children.map(function(y){return y.validate(r,i)}))];case 2:return f.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return _.getMessage("gridTable")}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(ai);lt(Ir,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),lt(Ir,"setting",[{key:"list-fixed-header",visible:!0}]),lt(Ir,"excludes",[]),lt(Ir,"childrenMaxLength",Xde);function Jde(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qde(t,e,n){return e=n_(e),ohe(t,AA()?Reflect.construct(e,n||[],n_(t).constructor):e.apply(t,n))}function Zde(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function MA(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ehe(t,e,n){return e&&MA(t.prototype,e),n&&MA(t,n),t}function the(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function n_(t){return n_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},n_(t)}function nhe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&cg(t,e)}function ohe(t,e){return e&&(rhe(e)==="object"||typeof e=="function")?e:Jde(t)}function cg(t,e){return cg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},cg(t,e)}function rhe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AA=function(){return!!t})()}var ihe=function(t){nhe(e,t);function e(n){Zde(this,e);var o;return o=Qde(this,e,[n]),the(o,"props",void 0),o.props=new W0(o,n==null?void 0:n.props),o}return ehe(e,[{key:"getChildrenDataSourceBindLayout",value:function(){yt("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}},{key:"getCheckboxProps",value:function(o){return{}}}],[{key:"controlType",get:function(){return"grid-table"}}]),e}(ms),NA={Designer:Ir,Runtime:ihe,Property:W0},uhe=Object.freeze({__proto__:null,SubTable:yA,GridTable:NA});function che(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FA(t,e,n){return e=o_(e),lhe(t,LA()?Reflect.construct(e,n||[],o_(t).constructor):e.apply(t,n))}function kA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Et(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o_(t){return o_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},o_(t)}function DA(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lg(t,e)}function lhe(t,e){return e&&(ahe(e)==="object"||typeof e=="function")?e:che(t)}function lg(t,e){return lg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lg(t,e)}function ahe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function LA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(LA=function(){return!!t})()}var fhe=function(t){DA(e,t);function e(n){kA(this,e);var o;return o=FA(this,e,[n]),nt.call(o,n),o}return e}(Es),r_=function(t){DA(e,t);function e(n){kA(this,e);var o;o=FA(this,e,[n]),Et(o,"optionConfig",void 0),Et(o,"datasourceBind",void 0),Et(o,"showLinkOperation",void 0),Et(o,"linkOperationOption",void 0),Et(o,"options",void 0),Et(o,"lineEllipsis",void 0),Et(o,"dictionaryTagConfig",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:xt.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var c;o.options=We((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Ue(n==null?void 0:n.linkOperationOption);var a;o.lineEllipsis=(a=n==null?void 0:n.lineEllipsis)!==null&&a!==void 0?a:1;var f;return o.dictionaryTagConfig=(f=n==null?void 0:n.dictionaryTagConfig)!==null&&f!==void 0?f:{isTag:!1},o}return e}(K);Et(r_,"Rules",fhe);function _he(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yhe(t,e,n){return e=i_(e),vhe(t,jA()?Reflect.construct(e,n||[],i_(t).constructor):e.apply(t,n))}function she(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i_(t){return i_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},i_(t)}function phe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ag(t,e)}function vhe(t,e){return e&&(dhe(e)==="object"||typeof e=="function")?e:_he(t)}function ag(t,e){return ag=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},ag(t,e)}function dhe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jA=function(){return!!t})()}var xt=function(t){phe(e,t);function e(n){she(this,e);var o;return o=yhe(this,e,[n]),Kn(o,"props",void 0),o.props=new r_(n==null?void 0:n.props),o}return e}(te);Kn(xt,"controlType","varchar-column"),Kn(xt,"controlName",_.getMessage("varchar")),Kn(xt,"controlIcon","varchar-column"),Kn(xt,"controlFieldType",u.FieldTypes.VARCHAR),Kn(xt,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function hhe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bhe(t,e,n){return e=u_(e),mhe(t,CA()?Reflect.construct(e,n||[],u_(t).constructor):e.apply(t,n))}function ghe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u_(t){return u_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},u_(t)}function Ohe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_g(t,e)}function mhe(t,e){return e&&(whe(e)==="object"||typeof e=="function")?e:hhe(t)}function _g(t,e){return _g=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},_g(t,e)}function whe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function CA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(CA=function(){return!!t})()}var yg=function(t){Ohe(e,t);function e(n){ghe(this,e);var o;return o=bhe(this,e,[n]),fg(o,"props",void 0),o.props=new r_(n==null?void 0:n.props),o}return e}(ne);fg(yg,"controlType","varchar-column"),fg(yg,"controlFieldType",u.FieldTypes.VARCHAR);var VA={Designer:xt,Runtime:yg,Property:r_};function $he(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zA(t,e,n){return e=c_(e),Phe(t,HA()?Reflect.construct(e,n||[],c_(t).constructor):e.apply(t,n))}function GA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c_(t){return c_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},c_(t)}function YA(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&sg(t,e)}function Phe(t,e){return e&&(The(e)==="object"||typeof e=="function")?e:$he(t)}function sg(t,e){return sg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},sg(t,e)}function The(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function HA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(HA=function(){return!!t})()}var Ehe=function(t){YA(e,t);function e(n){GA(this,e);var o;return o=zA(this,e,[n]),nt.call(o,n),o}return e}(Ve),l_=function(t){YA(e,t);function e(n){GA(this,e);var o;o=zA(this,e,[n]),Mr(o,"escapeHTML",void 0),Mr(o,"showLinkOperation",void 0),Mr(o,"linkOperationOption",void 0),Mr(o,"lineEllipsis",void 0);var r;o.escapeHTML=(r=n==null?void 0:n.escapeHTML)!==null&&r!==void 0?r:!1;var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ut.controlName;var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var l;return o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Ue(n==null?void 0:n.linkOperationOption),o}return e}(K);Mr(l_,"Rules",Ehe);function She(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rhe(t,e,n){return e=Jn(e),Ahe(t,xA()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function Bhe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qA(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Ihe(t,e,n){return e&&qA(t.prototype,e),n&&qA(t,n),t}function Xn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a_(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?a_=Reflect.get:a_=function(r,i,c){var l=Nhe(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},a_(t,e,n||t)}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function Mhe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pg(t,e)}function Ahe(t,e){return e&&(Fhe(e)==="object"||typeof e=="function")?e:She(t)}function pg(t,e){return pg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},pg(t,e)}function Nhe(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Jn(t),t!==null););return t}function Fhe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function xA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xA=function(){return!!t})()}var Ut=function(t){Mhe(e,t);function e(n){Bhe(this,e);var o;return o=Rhe(this,e,[n]),Xn(o,"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return Ihe(e,[{key:"toDataBindModel",value:function(o){var r=a_(Jn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.escapeHTML;r.props.escapeHTML=i}return r}}]),e}(te);Xn(Ut,"controlType","text-column"),Xn(Ut,"controlName",_.getMessage("long")),Xn(Ut,"controlIcon","text-column"),Xn(Ut,"controlFieldType",u.FieldTypes.TEXT),Xn(Ut,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function khe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dhe(t,e,n){return e=f_(e),Che(t,UA()?Reflect.construct(e,n||[],f_(t).constructor):e.apply(t,n))}function Lhe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f_(t){return f_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},f_(t)}function jhe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dg(t,e)}function Che(t,e){return e&&(Vhe(e)==="object"||typeof e=="function")?e:khe(t)}function dg(t,e){return dg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dg(t,e)}function Vhe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(UA=function(){return!!t})()}var hg=function(t){jhe(e,t);function e(n){Lhe(this,e);var o;return o=Dhe(this,e,[n]),vg(o,"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return e}(ne);vg(hg,"controlType","text-column"),vg(hg,"controlFieldType",u.FieldTypes.TEXT);var WA={Designer:Ut,Runtime:hg,Property:l_};function zhe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KA(t,e,n){return e=__(e),Ghe(t,QA()?Reflect.construct(e,n||[],__(t).constructor):e.apply(t,n))}function XA(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function at(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function __(t){return __=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},__(t)}function JA(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bg(t,e)}function Ghe(t,e){return e&&(Yhe(e)==="object"||typeof e=="function")?e:zhe(t)}function bg(t,e){return bg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bg(t,e)}function Yhe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function QA(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(QA=function(){return!!t})()}var Hhe=function(t){JA(e,t);function e(n){XA(this,e);var o;return o=KA(this,e,[n]),nt.call(o,n),o}return e}(Ve),y_=function(t){JA(e,t);function e(n){XA(this,e);var o;o=KA(this,e,[n]),at(o,"optionConfig",void 0),at(o,"datasourceBind",void 0),at(o,"showLinkOperation",void 0),at(o,"linkOperationOption",void 0),at(o,"options",void 0),at(o,"precision",void 0),at(o,"micrometer",void 0),at(o,"percentageFormat",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Wt.controlName;var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var 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 Q(n==null?void 0:n.datasourceBind);var f;o.options=We((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]);var y;return o.showLinkOperation=(y=n==null?void 0:n.showLinkOperation)!==null&&y!==void 0?y:!1,o.linkOperationOption=new Ue(n==null?void 0:n.linkOperationOption),o}return e}(K);at(y_,"Rules",Hhe);function qhe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xhe(t,e,n){return e=Zn(e),Xhe(t,e2()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function Uhe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ZA(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Whe(t,e,n){return e&&ZA(t.prototype,e),n&&ZA(t,n),t}function Qn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s_(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?s_=Reflect.get:s_=function(r,i,c){var l=Jhe(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},s_(t,e,n||t)}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function Khe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gg(t,e)}function Xhe(t,e){return e&&(Qhe(e)==="object"||typeof e=="function")?e:qhe(t)}function gg(t,e){return gg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},gg(t,e)}function Jhe(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Zn(t),t!==null););return t}function Qhe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function e2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(e2=function(){return!!t})()}var Wt=function(t){Khe(e,t);function e(n){Uhe(this,e);var o;return o=xhe(this,e,[n]),Qn(o,"props",void 0),o.props=new y_(n==null?void 0:n.props),o}return Whe(e,[{key:"toDataBindModel",value:function(o){var r=s_(Zn(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props,c=i.precision,l=i.micrometer;c!==""&&(r.props.precision=c),r.props.micrometer=l}return r}}]),e}(te);Qn(Wt,"controlType","decimal-column"),Qn(Wt,"controlName",_.getMessage("decimal")),Qn(Wt,"controlIcon","decimal-column"),Qn(Wt,"controlFieldType",u.FieldTypes.DECIMAL),Qn(Wt,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[u.COMMON_SETTING_TYPE.MICROMETER,u.COMMON_SETTING_TYPE.PRECISION,u.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function Zhe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ebe(t,e,n){return e=p_(e),obe(t,t2()?Reflect.construct(e,n||[],p_(t).constructor):e.apply(t,n))}function tbe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Og(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p_(t){return p_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},p_(t)}function nbe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mg(t,e)}function obe(t,e){return e&&(rbe(e)==="object"||typeof e=="function")?e:Zhe(t)}function mg(t,e){return mg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mg(t,e)}function rbe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function t2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(t2=function(){return!!t})()}var wg=function(t){nbe(e,t);function e(n){tbe(this,e);var o;return o=ebe(this,e,[n]),Og(o,"props",void 0),o.props=new y_(n==null?void 0:n.props),o}return e}(ne);Og(wg,"controlType","decimal-column"),Og(wg,"controlFieldType",u.FieldTypes.DECIMAL);var n2={Designer:Wt,Runtime:wg,Property:y_};function ibe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o2(t,e,n){return e=d_(e),ube(t,u2()?Reflect.construct(e,n||[],d_(t).constructor):e.apply(t,n))}function r2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function d_(t){return d_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},d_(t)}function i2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$g(t,e)}function ube(t,e){return e&&(cbe(e)==="object"||typeof e=="function")?e:ibe(t)}function $g(t,e){return $g=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$g(t,e)}function cbe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function u2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(u2=function(){return!!t})()}var lbe=function(t){i2(e,t);function e(n){r2(this,e);var o;return o=o2(this,e,[n]),nt.call(o,n),o}return e}(Ve),h_=function(t){i2(e,t);function e(n){r2(this,e);var o;o=o2(this,e,[n]),v_(o,"dateType",void 0),v_(o,"showLinkOperation",void 0),v_(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:u.DateType.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Ue(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Kt.controlName,o}return e}(K);v_(h_,"Rules",lbe);function abe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fbe(t,e,n){return e=to(e),pbe(t,l2()?Reflect.construct(e,n||[],to(t).constructor):e.apply(t,n))}function _be(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c2(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ybe(t,e,n){return e&&c2(t.prototype,e),n&&c2(t,n),t}function eo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function b_(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?b_=Reflect.get:b_=function(r,i,c){var l=vbe(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},b_(t,e,n||t)}function to(t){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},to(t)}function sbe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pg(t,e)}function pbe(t,e){return e&&(dbe(e)==="object"||typeof e=="function")?e:abe(t)}function Pg(t,e){return Pg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Pg(t,e)}function vbe(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=to(t),t!==null););return t}function dbe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function l2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l2=function(){return!!t})()}var Kt=function(t){sbe(e,t);function e(n){_be(this,e);var o;return o=fbe(this,e,[n]),eo(o,"props",void 0),o.props=new h_(n==null?void 0:n.props),o}return ybe(e,[{key:"toDataBindModel",value:function(o){var r=b_(to(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),e}(te);eo(Kt,"controlType","timescope-column"),eo(Kt,"controlName",_.getMessage("timescope")),eo(Kt,"controlIcon","timescope-column"),eo(Kt,"controlFieldType",u.FieldTypes.TIMESCOPE),eo(Kt,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function hbe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bbe(t,e,n){return e=g_(e),mbe(t,a2()?Reflect.construct(e,n||[],g_(t).constructor):e.apply(t,n))}function gbe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function g_(t){return g_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},g_(t)}function Obe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Eg(t,e)}function mbe(t,e){return e&&(wbe(e)==="object"||typeof e=="function")?e:hbe(t)}function Eg(t,e){return Eg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Eg(t,e)}function wbe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function a2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(a2=function(){return!!t})()}var Sg=function(t){Obe(e,t);function e(n){gbe(this,e);var o;return o=bbe(this,e,[n]),Tg(o,"props",void 0),o.props=new h_(n==null?void 0:n.props),o}return e}(ne);Tg(Sg,"controlType","timescope-column"),Tg(Sg,"controlFieldType",u.FieldTypes.TIMESCOPE);var f2={Designer:Kt,Runtime:Sg,Property:h_};function $be(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _2(t,e,n){return e=m_(e),Pbe(t,p2()?Reflect.construct(e,n||[],m_(t).constructor):e.apply(t,n))}function y2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function m_(t){return m_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},m_(t)}function s2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Rg(t,e)}function Pbe(t,e){return e&&(Tbe(e)==="object"||typeof e=="function")?e:$be(t)}function Rg(t,e){return Rg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Rg(t,e)}function Tbe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function p2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p2=function(){return!!t})()}var Ebe=function(t){s2(e,t);function e(n){y2(this,e);var o;return o=_2(this,e,[n]),nt.call(o,n),o}return e}(Ve),w_=function(t){s2(e,t);function e(n){y2(this,e);var o;o=_2(this,e,[n]),O_(o,"dateType",void 0),O_(o,"showLinkOperation",void 0),O_(o,"linkOperationOption",void 0);var r;o.dateType=(r=n==null?void 0:n.dateType)!==null&&r!==void 0?r:u.DateType.DATE;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Ue(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Xt.controlName,o}return e}(K);O_(w_,"Rules",Ebe);function Sbe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rbe(t,e,n){return e=oo(e),Abe(t,d2()?Reflect.construct(e,n||[],oo(t).constructor):e.apply(t,n))}function Bbe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v2(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Ibe(t,e,n){return e&&v2(t.prototype,e),n&&v2(t,n),t}function no(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $_(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?$_=Reflect.get:$_=function(r,i,c){var l=Nbe(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},$_(t,e,n||t)}function oo(t){return oo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oo(t)}function Mbe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bg(t,e)}function Abe(t,e){return e&&(Fbe(e)==="object"||typeof e=="function")?e:Sbe(t)}function Bg(t,e){return Bg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Bg(t,e)}function Nbe(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=oo(t),t!==null););return t}function Fbe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function d2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(d2=function(){return!!t})()}var Xt=function(t){Mbe(e,t);function e(n){Bbe(this,e);var o;return o=Rbe(this,e,[n]),no(o,"props",void 0),o.props=new w_(n==null?void 0:n.props),o}return Ibe(e,[{key:"toDataBindModel",value:function(o){var r=$_(oo(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.dateType;r.props.dateType=i}return r}}]),e}(te);no(Xt,"controlType","timestamp-column"),no(Xt,"controlName",_.getMessage("timestamp")),no(Xt,"controlIcon","timestamp-column"),no(Xt,"controlFieldType",u.FieldTypes.TIMESTAMP),no(Xt,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function kbe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dbe(t,e,n){return e=P_(e),Cbe(t,h2()?Reflect.construct(e,n||[],P_(t).constructor):e.apply(t,n))}function Lbe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ig(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function P_(t){return P_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},P_(t)}function jbe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mg(t,e)}function Cbe(t,e){return e&&(Vbe(e)==="object"||typeof e=="function")?e:kbe(t)}function Mg(t,e){return Mg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Mg(t,e)}function Vbe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function h2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h2=function(){return!!t})()}var Ag=function(t){jbe(e,t);function e(n){Lbe(this,e);var o;return o=Dbe(this,e,[n]),Ig(o,"props",void 0),o.props=new w_(n==null?void 0:n.props),o}return e}(ne);Ig(Ag,"controlType","timestamp-column"),Ig(Ag,"controlFieldType",u.FieldTypes.TIMESTAMP);var b2={Designer:Xt,Runtime:Ag,Property:w_};function zbe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g2(t,e,n){return e=T_(e),Gbe(t,w2()?Reflect.construct(e,n||[],T_(t).constructor):e.apply(t,n))}function O2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ro(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function T_(t){return T_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},T_(t)}function m2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ng(t,e)}function Gbe(t,e){return e&&(Ybe(e)==="object"||typeof e=="function")?e:zbe(t)}function Ng(t,e){return Ng=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Ng(t,e)}function Ybe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function w2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(w2=function(){return!!t})()}var Hbe=function(t){m2(e,t);function e(n){O2(this,e);var o;return o=g2(this,e,[n]),nt.call(o,n),o}return e}(Es),E_=function(t){m2(e,t);function e(n){O2(this,e);var o;o=g2(this,e,[n]),ro(o,"optionConfig",void 0),ro(o,"datasourceBind",void 0),ro(o,"showLinkOperation",void 0),ro(o,"linkOperationOption",void 0),ro(o,"options",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Jt.controlName;var i;o.optionConfig=(i=n==null?void 0:n.optionConfig)!==null&&i!==void 0?i:"none",o.datasourceBind=new Q(n==null?void 0:n.datasourceBind);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Ue(n==null?void 0:n.linkOperationOption);var l;return o.options=We((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]),o}return e}(K);ro(E_,"Rules",Hbe);function qbe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xbe(t,e,n){return e=S_(e),Kbe(t,$2()?Reflect.construct(e,n||[],S_(t).constructor):e.apply(t,n))}function Ube(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function io(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function S_(t){return S_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},S_(t)}function Wbe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fg(t,e)}function Kbe(t,e){return e&&(Xbe(e)==="object"||typeof e=="function")?e:qbe(t)}function Fg(t,e){return Fg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Fg(t,e)}function Xbe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($2=function(){return!!t})()}var Jt=function(t){Wbe(e,t);function e(n){Ube(this,e);var o;return o=xbe(this,e,[n]),io(o,"props",void 0),o.props=new E_(n==null?void 0:n.props),o}return e}(te);io(Jt,"controlType","array-column"),io(Jt,"controlName",_.getMessage("array")),io(Jt,"controlIcon","array-column"),io(Jt,"controlFieldType",u.FieldTypes.ARRAY),io(Jt,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function Jbe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qbe(t,e,n){return e=R_(e),t0e(t,P2()?Reflect.construct(e,n||[],R_(t).constructor):e.apply(t,n))}function Zbe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function R_(t){return R_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},R_(t)}function e0e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Dg(t,e)}function t0e(t,e){return e&&(n0e(e)==="object"||typeof e=="function")?e:Jbe(t)}function Dg(t,e){return Dg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Dg(t,e)}function n0e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function P2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(P2=function(){return!!t})()}var Lg=function(t){e0e(e,t);function e(n){Zbe(this,e);var o;return o=Qbe(this,e,[n]),kg(o,"props",void 0),o.props=new E_(n==null?void 0:n.props),o}return e}(ne);kg(Lg,"controlType","array-column"),kg(Lg,"controlFieldType",u.FieldTypes.ARRAY);var T2={Designer:Jt,Runtime:Lg,Property:E_};function o0e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r0e(t,e,n){return e=B_(e),l0e(t,E2()?Reflect.construct(e,n||[],B_(t).constructor):e.apply(t,n))}function i0e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u0e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function B_(t){return B_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},B_(t)}function c0e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jg(t,e)}function l0e(t,e){return e&&(a0e(e)==="object"||typeof e=="function")?e:o0e(t)}function jg(t,e){return jg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},jg(t,e)}function a0e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function E2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(E2=function(){return!!t})()}var Cg=function(t){c0e(e,t);function e(n){i0e(this,e);var o;o=r0e(this,e,[n]),u0e(o,"displayLevel",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Qt.controlName;var i;return o.displayLevel=(i=n==null?void 0:n.displayLevel)!==null&&i!==void 0?i:1,o}return e}(K);function f0e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _0e(t,e,n){return e=co(e),v0e(t,R2()?Reflect.construct(e,n||[],co(t).constructor):e.apply(t,n))}function y0e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S2(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function s0e(t,e,n){return e&&S2(t.prototype,e),n&&S2(t,n),t}function uo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function I_(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?I_=Reflect.get:I_=function(r,i,c){var l=d0e(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},I_(t,e,n||t)}function co(t){return co=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},co(t)}function p0e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vg(t,e)}function v0e(t,e){return e&&(h0e(e)==="object"||typeof e=="function")?e:f0e(t)}function Vg(t,e){return Vg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Vg(t,e)}function d0e(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=co(t),t!==null););return t}function h0e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function R2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(R2=function(){return!!t})()}var Qt=function(t){p0e(e,t);function e(n){y0e(this,e);var o;return o=_0e(this,e,[n]),uo(o,"props",void 0),o.props=new Cg(n==null?void 0:n.props),o}return s0e(e,[{key:"toDataBindModel",value:function(o){var r=I_(co(e.prototype),"toDataBindModel",this).call(this,o);if(r){var i=this.props.displayLevel;r.props.displayLevel=i}return r}}]),e}(te);uo(Qt,"controlType","department-column"),uo(Qt,"controlName",_.getMessage("department")),uo(Qt,"controlIcon","department-column"),uo(Qt,"controlFieldType",u.FieldTypes.DEPARTMENTS),uo(Qt,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function b0e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g0e(t,e,n){return e=M_(e),w0e(t,B2()?Reflect.construct(e,n||[],M_(t).constructor):e.apply(t,n))}function O0e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function M_(t){return M_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},M_(t)}function m0e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gg(t,e)}function w0e(t,e){return e&&($0e(e)==="object"||typeof e=="function")?e:b0e(t)}function Gg(t,e){return Gg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Gg(t,e)}function $0e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function B2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(B2=function(){return!!t})()}var Yg=function(t){m0e(e,t);function e(n){O0e(this,e);var o;return o=g0e(this,e,[n]),zg(o,"props",void 0),o.props=new Cg(n==null?void 0:n.props),o}return e}(ne);zg(Yg,"controlType","department-column"),zg(Yg,"controlFieldType",u.FieldTypes.DEPARTMENTS);var I2={Designer:Qt,Runtime:Yg,Property:Cg};function P0e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M2(t,e,n){return e=A_(e),T0e(t,F2()?Reflect.construct(e,n||[],A_(t).constructor):e.apply(t,n))}function A2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function A_(t){return A_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},A_(t)}function N2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qg(t,e)}function T0e(t,e){return e&&(E0e(e)==="object"||typeof e=="function")?e:P0e(t)}function qg(t,e){return qg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},qg(t,e)}function E0e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function F2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(F2=function(){return!!t})()}var S0e=function(t){N2(e,t);function e(n){A2(this,e);var o;return o=M2(this,e,[n]),nt.call(o,n),o}return e}(Ve),N_=function(t){N2(e,t);function e(n){A2(this,e);var o;o=M2(this,e,[n]),Hg(o,"showLinkOperation",void 0),Hg(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:Zt.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Ue(n==null?void 0:n.linkOperationOption),o}return e}(K);Hg(N_,"Rules",S0e);function R0e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B0e(t,e,n){return e=F_(e),A0e(t,k2()?Reflect.construct(e,n||[],F_(t).constructor):e.apply(t,n))}function I0e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function F_(t){return F_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},F_(t)}function M0e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xg(t,e)}function A0e(t,e){return e&&(N0e(e)==="object"||typeof e=="function")?e:R0e(t)}function xg(t,e){return xg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},xg(t,e)}function N0e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function k2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(k2=function(){return!!t})()}var Zt=function(t){M0e(e,t);function e(n){I0e(this,e);var o;return o=B0e(this,e,[n]),lo(o,"props",void 0),o.props=new N_(n==null?void 0:n.props),o}return e}(te);lo(Zt,"controlType","auto-number-column"),lo(Zt,"controlName",_.getMessage("autoNumber")),lo(Zt,"controlIcon","auto-number-column"),lo(Zt,"controlFieldType",u.FieldTypes.AUTO_NUMBER),lo(Zt,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function F0e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function k0e(t,e,n){return e=k_(e),j0e(t,D2()?Reflect.construct(e,n||[],k_(t).constructor):e.apply(t,n))}function D0e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ug(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function k_(t){return k_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},k_(t)}function L0e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wg(t,e)}function j0e(t,e){return e&&(C0e(e)==="object"||typeof e=="function")?e:F0e(t)}function Wg(t,e){return Wg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Wg(t,e)}function C0e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function D2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(D2=function(){return!!t})()}var Kg=function(t){L0e(e,t);function e(n){D0e(this,e);var o;return o=k0e(this,e,[n]),Ug(o,"props",void 0),o.props=new N_(n==null?void 0:n.props),o}return e}(ne);Ug(Kg,"controlType","auto-number-column"),Ug(Kg,"controlFieldType",u.FieldTypes.AUTO_NUMBER);var L2={Designer:Zt,Runtime:Kg,Property:N_};function V0e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z0e(t,e,n){return e=D_(e),H0e(t,j2()?Reflect.construct(e,n||[],D_(t).constructor):e.apply(t,n))}function G0e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function D_(t){return D_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},D_(t)}function Y0e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xg(t,e)}function H0e(t,e){return e&&(q0e(e)==="object"||typeof e=="function")?e:V0e(t)}function Xg(t,e){return Xg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Xg(t,e)}function q0e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function j2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(j2=function(){return!!t})()}var Jg=function(t){Y0e(e,t);function e(n){G0e(this,e);var o;o=z0e(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:en.controlName,o}return e}(K);function x0e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U0e(t,e,n){return e=L_(e),X0e(t,C2()?Reflect.construct(e,n||[],L_(t).constructor):e.apply(t,n))}function W0e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ao(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function L_(t){return L_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},L_(t)}function K0e(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qg(t,e)}function X0e(t,e){return e&&(J0e(e)==="object"||typeof e=="function")?e:x0e(t)}function Qg(t,e){return Qg=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},Qg(t,e)}function J0e(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function C2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C2=function(){return!!t})()}var en=function(t){K0e(e,t);function e(n){W0e(this,e);var o;return o=U0e(this,e,[n]),ao(o,"props",void 0),o.props=new Jg(n==null?void 0:n.props),o}return e}(te);ao(en,"controlType","file-column"),ao(en,"controlName",_.getMessage("file")),ao(en,"controlIcon","file-column"),ao(en,"controlFieldType",u.FieldTypes.FILE),ao(en,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Q0e(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z0e(t,e,n){return e=j_(e),nge(t,V2()?Reflect.construct(e,n||[],j_(t).constructor):e.apply(t,n))}function ege(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function j_(t){return j_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},j_(t)}function tge(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&eO(t,e)}function nge(t,e){return e&&(oge(e)==="object"||typeof e=="function")?e:Q0e(t)}function eO(t,e){return eO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},eO(t,e)}function oge(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function V2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(V2=function(){return!!t})()}var tO=function(t){tge(e,t);function e(n){ege(this,e);var o;return o=Z0e(this,e,[n]),Zg(o,"props",void 0),o.props=new Jg(n==null?void 0:n.props),o}return e}(ne);Zg(tO,"controlType","file-column"),Zg(tO,"controlFieldType",u.FieldTypes.FILE);var z2={Designer:en,Runtime:tO,Property:Jg};function rge(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ige(t,e,n){return e=C_(e),lge(t,G2()?Reflect.construct(e,n||[],C_(t).constructor):e.apply(t,n))}function uge(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function C_(t){return C_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},C_(t)}function cge(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nO(t,e)}function lge(t,e){return e&&(age(e)==="object"||typeof e=="function")?e:rge(t)}function nO(t,e){return nO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},nO(t,e)}function age(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function G2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(G2=function(){return!!t})()}var oO=function(t){cge(e,t);function e(n){uge(this,e);var o;o=ige(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:tn.controlName,o}return e}(K);function fge(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _ge(t,e,n){return e=V_(e),pge(t,Y2()?Reflect.construct(e,n||[],V_(t).constructor):e.apply(t,n))}function yge(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function V_(t){return V_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},V_(t)}function sge(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rO(t,e)}function pge(t,e){return e&&(vge(e)==="object"||typeof e=="function")?e:fge(t)}function rO(t,e){return rO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},rO(t,e)}function vge(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Y2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Y2=function(){return!!t})()}var tn=function(t){sge(e,t);function e(n){yge(this,e);var o;return o=_ge(this,e,[n]),fo(o,"props",void 0),o.props=new oO(n==null?void 0:n.props),o}return e}(te);fo(tn,"controlType","image-column"),fo(tn,"controlName",_.getMessage("image")),fo(tn,"controlIcon","image-column"),fo(tn,"controlFieldType",u.FieldTypes.IMAGE),fo(tn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function dge(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hge(t,e,n){return e=z_(e),Oge(t,H2()?Reflect.construct(e,n||[],z_(t).constructor):e.apply(t,n))}function bge(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function iO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function z_(t){return z_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},z_(t)}function gge(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&uO(t,e)}function Oge(t,e){return e&&(mge(e)==="object"||typeof e=="function")?e:dge(t)}function uO(t,e){return uO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},uO(t,e)}function mge(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function H2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(H2=function(){return!!t})()}var cO=function(t){gge(e,t);function e(n){bge(this,e);var o;return o=hge(this,e,[n]),iO(o,"props",void 0),o.props=new oO(n==null?void 0:n.props),o}return e}(ne);iO(cO,"controlType","image-column"),iO(cO,"controlFieldType",u.FieldTypes.IMAGE);var q2={Designer:tn,Runtime:cO,Property:oO};function wge(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $ge(t,e,n){return e=G_(e),Ege(t,x2()?Reflect.construct(e,n||[],G_(t).constructor):e.apply(t,n))}function Pge(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function G_(t){return G_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},G_(t)}function Tge(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&lO(t,e)}function Ege(t,e){return e&&(Sge(e)==="object"||typeof e=="function")?e:wge(t)}function lO(t,e){return lO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},lO(t,e)}function Sge(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function x2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(x2=function(){return!!t})()}var aO=function(t){Tge(e,t);function e(n){Pge(this,e);var o;o=$ge(this,e,[n]);var r;return o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:nn.controlName,o}return e}(K);function Rge(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bge(t,e,n){return e=Y_(e),Age(t,U2()?Reflect.construct(e,n||[],Y_(t).constructor):e.apply(t,n))}function Ige(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Y_(t){return Y_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Y_(t)}function Mge(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fO(t,e)}function Age(t,e){return e&&(Nge(e)==="object"||typeof e=="function")?e:Rge(t)}function fO(t,e){return fO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},fO(t,e)}function Nge(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function U2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(U2=function(){return!!t})()}var nn=function(t){Mge(e,t);function e(n){Ige(this,e);var o;return o=Bge(this,e,[n]),_o(o,"props",void 0),o.props=new aO(n==null?void 0:n.props),o}return e}(te);_o(nn,"controlType","people-column"),_o(nn,"controlName",_.getMessage("people")),_o(nn,"controlIcon","people-column"),_o(nn,"controlFieldType",u.FieldTypes.EMPLOYEES),_o(nn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Fge(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kge(t,e,n){return e=H_(e),jge(t,W2()?Reflect.construct(e,n||[],H_(t).constructor):e.apply(t,n))}function Dge(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function H_(t){return H_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},H_(t)}function Lge(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yO(t,e)}function jge(t,e){return e&&(Cge(e)==="object"||typeof e=="function")?e:Fge(t)}function yO(t,e){return yO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},yO(t,e)}function Cge(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function W2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(W2=function(){return!!t})()}var sO=function(t){Lge(e,t);function e(n){Dge(this,e);var o;return o=kge(this,e,[n]),_O(o,"props",void 0),o.props=new aO(n==null?void 0:n.props),o}return e}(ne);_O(sO,"controlType","people-column"),_O(sO,"controlFieldType",u.FieldTypes.EMPLOYEES);var K2={Designer:nn,Runtime:sO,Property:aO};function Vge(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function X2(t,e,n){return e=q_(e),zge(t,Z2()?Reflect.construct(e,n||[],q_(t).constructor):e.apply(t,n))}function J2(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function q_(t){return q_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},q_(t)}function Q2(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&vO(t,e)}function zge(t,e){return e&&(Gge(e)==="object"||typeof e=="function")?e:Vge(t)}function vO(t,e){return vO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},vO(t,e)}function Gge(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Z2(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Z2=function(){return!!t})()}var Yge=function(t){Q2(e,t);function e(n){J2(this,e);var o;return o=X2(this,e,[n]),nt.call(o,n),o}return e}(Ve),x_=function(t){Q2(e,t);function e(n){J2(this,e);var o;o=X2(this,e,[n]),pO(o,"showLinkOperation",void 0),pO(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:on.controlName;var i;return o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Ue(n==null?void 0:n.linkOperationOption),o}return e}(K);pO(x_,"Rules",Yge);function Hge(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qge(t,e,n){return e=U_(e),Wge(t,eN()?Reflect.construct(e,n||[],U_(t).constructor):e.apply(t,n))}function xge(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function U_(t){return U_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},U_(t)}function Uge(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&dO(t,e)}function Wge(t,e){return e&&(Kge(e)==="object"||typeof e=="function")?e:Hge(t)}function dO(t,e){return dO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},dO(t,e)}function Kge(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eN=function(){return!!t})()}var on=function(t){Uge(e,t);function e(n){xge(this,e);var o;return o=qge(this,e,[n]),yo(o,"props",void 0),o.props=new x_(n==null?void 0:n.props),o}return e}(te);yo(on,"controlType","location-column"),yo(on,"controlName",_.getMessage("location")),yo(on,"controlIcon","location-column"),yo(on,"controlFieldType",u.FieldTypes.ADDRESS),yo(on,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function Xge(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jge(t,e,n){return e=W_(e),eOe(t,tN()?Reflect.construct(e,n||[],W_(t).constructor):e.apply(t,n))}function Qge(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function W_(t){return W_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},W_(t)}function Zge(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bO(t,e)}function eOe(t,e){return e&&(tOe(e)==="object"||typeof e=="function")?e:Xge(t)}function bO(t,e){return bO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},bO(t,e)}function tOe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tN=function(){return!!t})()}var gO=function(t){Zge(e,t);function e(n){Qge(this,e);var o;return o=Jge(this,e,[n]),hO(o,"props",void 0),o.props=new x_(n==null?void 0:n.props),o}return e}(ne);hO(gO,"controlType","location-column"),hO(gO,"controlFieldType",u.FieldTypes.ADDRESS);var nN={Designer:on,Runtime:gO,Property:x_};function nOe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oN(t,e,n){return e=X_(e),oOe(t,uN()?Reflect.construct(e,n||[],X_(t).constructor):e.apply(t,n))}function rN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function K_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function X_(t){return X_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},X_(t)}function iN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&OO(t,e)}function oOe(t,e){return e&&(rOe(e)==="object"||typeof e=="function")?e:nOe(t)}function OO(t,e){return OO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},OO(t,e)}function rOe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uN=function(){return!!t})()}var iOe=function(t){iN(e,t);function e(n){rN(this,e);var o;return o=oN(this,e,[n]),K_(o,"sortFieldCode",{type:"string",message:_.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return e}(Ve),J_=function(t){iN(e,t);function e(n){rN(this,e);var o;o=oN(this,e,[n]),K_(o,"fieldCodeList",void 0),K_(o,"sortFieldCode",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:ft.controlName;var i;o.fieldCodeList=(i=n==null?void 0:n.fieldCodeList)!==null&&i!==void 0?i:[];var c;return o.sortFieldCode=(c=n==null?void 0:n.sortFieldCode)!==null&&c!==void 0?c:"",o}return e}(K);K_(J_,"Rules",iOe);function uOe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cOe(t,e,n){return e=so(e),yOe(t,lN()?Reflect.construct(e,n||[],so(t).constructor):e.apply(t,n))}function lOe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cN(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function aOe(t,e,n){return e&&cN(t.prototype,e),n&&cN(t,n),t}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Q_(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Q_=Reflect.get:Q_=function(r,i,c){var l=sOe(r,i);if(!!l){var a=Object.getOwnPropertyDescriptor(l,i);return a.get?a.get.call(c||r):a.value}},Q_(t,e,n||t)}function so(t){return so=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},so(t)}function fOe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mO(t,e)}function _Oe(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function yOe(t,e){return e&&(pOe(e)==="object"||typeof e=="function")?e:uOe(t)}function mO(t,e){return mO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},mO(t,e)}function sOe(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=so(t),t!==null););return t}function pOe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lN=function(){return!!t})()}var vOe=1,ft=function(e){fOe(n,e);function n(o){lOe(this,n);var r;r=cOe(this,n,[o]),xe(r,"excludes",void 0),xe(r,"childrenMaxLength",void 0),xe(r,"props",void 0),xe(r,"children",void 0);var i=_Oe(this,n)?this.constructor:void 0,c=i.excludes,l=i.childrenMaxLength;return r.props=new J_(o==null?void 0:o.props),Ce(r,"children",o==null?void 0:o.children,void 0,"Designer"),r.excludes=Be(c),r.childrenMaxLength=l,r}return aOe(n,[{key:"judgeJoinChildren",value:function(r){var i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r);return i&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(r){var i=Q_(so(n.prototype),"toDataBindModel",this).call(this,r);if(i){var c=this.props.fieldCodeList;i.props.fieldCodeList=c}return i}}]),n}(te);xe(ft,"controlType","custom-column"),xe(ft,"controlName",_.getMessage("custom")),xe(ft,"controlIcon","custom-column"),xe(ft,"slots",["column-column-slot"]),xe(ft,"excludes",[]),xe(ft,"childrenMaxLength",vOe),xe(ft,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}]);function dOe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hOe(t,e,n){return e=Z_(e),OOe(t,aN()?Reflect.construct(e,n||[],Z_(t).constructor):e.apply(t,n))}function bOe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Z_(t){return Z_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Z_(t)}function gOe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$O(t,e)}function OOe(t,e){return e&&(mOe(e)==="object"||typeof e=="function")?e:dOe(t)}function $O(t,e){return $O=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},$O(t,e)}function mOe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(aN=function(){return!!t})()}var fN=function(t){gOe(e,t);function e(n){bOe(this,e);var o;return o=hOe(this,e,[n]),wO(o,"props",void 0),wO(o,"children",void 0),o.props=new J_(n==null?void 0:n.props),Ce(o,"children",n==null?void 0:n.children,void 0,"Runtime"),o}return e}(ne);wO(fN,"controlType","custom-column");var _N={Designer:ft,Runtime:fN,Property:J_};function wOe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $Oe(t,e,n){return e=ey(e),SOe(t,yN()?Reflect.construct(e,n||[],ey(t).constructor):e.apply(t,n))}function POe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function TOe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ey(t){return ey=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ey(t)}function EOe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&PO(t,e)}function SOe(t,e){return e&&(ROe(e)==="object"||typeof e=="function")?e:wOe(t)}function PO(t,e){return PO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},PO(t,e)}function ROe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yN=function(){return!!t})()}var TO=function(t){EOe(e,t);function e(n){POe(this,e);var o;o=$Oe(this,e,[n]),TOe(o,"datasourceBind",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:St.controlName;var i;return o.datasourceBind=new To((i=n==null?void 0:n.datasourceBind)!==null&&i!==void 0?i:{attributes:St.controlCustomAttributes}),o}return e}(K);function BOe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function IOe(t,e,n){return e=ty(e),FOe(t,pN()?Reflect.construct(e,n||[],ty(t).constructor):e.apply(t,n))}function MOe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sN(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function AOe(t,e,n){return e&&sN(t.prototype,e),n&&sN(t,n),t}function po(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ty(t){return ty=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ty(t)}function NOe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&EO(t,e)}function FOe(t,e){return e&&(kOe(e)==="object"||typeof e=="function")?e:BOe(t)}function EO(t,e){return EO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},EO(t,e)}function kOe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pN=function(){return!!t})()}var St=function(t){NOe(e,t);function e(n){MOe(this,e);var o;return o=IOe(this,e,[n]),po(o,"props",void 0),o.props=new TO(n==null?void 0:n.props),o}return AOe(e,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),e}(te);po(St,"controlType","employee-column"),po(St,"controlName",_.getMessage("employee")),po(St,"controlIcon","employee-column"),po(St,"controlFieldType",u.FieldTypes.EMPLOYEES),po(St,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function DOe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function LOe(t,e,n){return e=ny(e),VOe(t,vN()?Reflect.construct(e,n||[],ny(t).constructor):e.apply(t,n))}function jOe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function SO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ny(t){return ny=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ny(t)}function COe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&RO(t,e)}function VOe(t,e){return e&&(zOe(e)==="object"||typeof e=="function")?e:DOe(t)}function RO(t,e){return RO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},RO(t,e)}function zOe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vN=function(){return!!t})()}var BO=function(t){COe(e,t);function e(n){jOe(this,e);var o;return o=LOe(this,e,[n]),SO(o,"props",void 0),o.props=new TO(n==null?void 0:n.props),o}return e}(ne);SO(BO,"controlType","employee-column"),SO(BO,"controlFieldType",u.FieldTypes.EMPLOYEES);var dN={Designer:St,Runtime:BO,Property:TO};function GOe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function YOe(t,e,n){return e=oy(e),xOe(t,hN()?Reflect.construct(e,n||[],oy(t).constructor):e.apply(t,n))}function HOe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function IO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oy(t){return oy=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oy(t)}function qOe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&MO(t,e)}function xOe(t,e){return e&&(UOe(e)==="object"||typeof e=="function")?e:GOe(t)}function MO(t,e){return MO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},MO(t,e)}function UOe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function hN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(hN=function(){return!!t})()}var AO=function(t){qOe(e,t);function e(n){HOe(this,e);var o;o=YOe(this,e,[n]),IO(o,"lineEllipsis",void 0),IO(o,"showLinkOperation",void 0),IO(o,"linkOperationOption",void 0);var r;o.caption=(r=n==null?void 0:n.caption)!==null&&r!==void 0?r:un.controlName;var i;o.showLinkOperation=(i=n==null?void 0:n.showLinkOperation)!==null&&i!==void 0?i:!1,o.linkOperationOption=new Ue(n==null?void 0:n.linkOperationOption);var c;return o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1,o}return e}(K);function WOe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function KOe(t,e,n){return e=ry(e),QOe(t,bN()?Reflect.construct(e,n||[],ry(t).constructor):e.apply(t,n))}function XOe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ry(t){return ry=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ry(t)}function JOe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&NO(t,e)}function QOe(t,e){return e&&(ZOe(e)==="object"||typeof e=="function")?e:WOe(t)}function NO(t,e){return NO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},NO(t,e)}function ZOe(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bN=function(){return!!t})()}var un=function(t){JOe(e,t);function e(n){XOe(this,e);var o;return o=KOe(this,e,[n]),rn(o,"props",void 0),rn(o,"children",void 0),o.props=new AO(n==null?void 0:n.props),o}return e}(te);rn(un,"controlType","approval-status-column"),rn(un,"controlName",_.getMessage("approvalStatusColumn")),rn(un,"controlIcon","approval-status-column"),rn(un,"excludes",[]),rn(un,"setting",[{key:"caption",showItems:[u.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function eme(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tme(t,e,n){return e=iy(e),rme(t,gN()?Reflect.construct(e,n||[],iy(t).constructor):e.apply(t,n))}function nme(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function FO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function iy(t){return iy=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},iy(t)}function ome(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kO(t,e)}function rme(t,e){return e&&(ime(e)==="object"||typeof e=="function")?e:eme(t)}function kO(t,e){return kO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},kO(t,e)}function ime(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(gN=function(){return!!t})()}var ON=function(t){ome(e,t);function e(n){nme(this,e);var o;return o=tme(this,e,[n]),FO(o,"props",void 0),FO(o,"children",void 0),o.props=new AO(n==null?void 0:n.props),o}return e}(ne);FO(ON,"controlType","approval-status-column");var mN={Designer:un,Runtime:ON,Property:AO},ume=Object.freeze({__proto__:null,VarcharColumn:VA,TextColumn:WA,DecimalColumn:n2,TimescopeColumn:f2,TimestampColumn:b2,ArrayColumn:T2,DepartmentColumn:I2,AutoNumberColumn:L2,FileColumn:z2,ImageColumn:q2,PeopleColumn:K2,LocationColumn:nN,CustomColumn:_N,OrderColumn:OA,OperationColumn:SA,EmployeeColumn:dN,ApprovalStatusColumn:mN});function cme(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wN(t,e,n){return e=uy(e),lme(t,TN()?Reflect.construct(e,n||[],uy(t).constructor):e.apply(t,n))}function $N(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Se(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function uy(t){return uy=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uy(t)}function PN(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&DO(t,e)}function lme(t,e){return e&&(ame(e)==="object"||typeof e=="function")?e:cme(t)}function DO(t,e){return DO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},DO(t,e)}function ame(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(TN=function(){return!!t})()}var fme=function(t){PN(e,t);function e(n){$N(this,e);var o;return o=wN(this,e,[n]),o.push({type:"object",fields:{}}),o}return e}(vt),cy=function(t){PN(e,t);function e(n){$N(this,e);var o;o=wN(this,e,[n]),Se(o,"search",void 0),Se(o,"cancel",void 0),Se(o,"searchType",void 0),Se(o,"labelPosition",void 0),Se(o,"viewType",void 0),Se(o,"isLoading",void 0),Se(o,"custom",void 0),Se(o,"queryTypeMap",void 0),Se(o,"childMinWidth",void 0),Se(o,"colGap",void 0),Se(o,"viewConfig",void 0),Se(o,"simpleConfig",void 0);var r;o.searchType=(r=n==null?void 0:n.searchType)!==null&&r!==void 0?r:"model";var i;o.labelPosition=(i=n==null?void 0:n.labelPosition)!==null&&i!==void 0?i:"top";var c;o.viewType=(c=n==null?void 0:n.viewType)!==null&&c!==void 0?c:"mini";var l;o.search=new et((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:_.getMessage("query"),isShow:!0});var a;o.cancel=new et((a=n==null?void 0:n.cancel)!==null&&a!==void 0?a:{content:_.getMessage("reset"),isShow:!0});var f;o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1;var y;o.custom=((y=n==null?void 0:n.custom)!==null&&y!==void 0?y:[]).map(function(O){return new et(O)});var s;o.queryTypeMap=(s=n==null?void 0:n.queryTypeMap)!==null&&s!==void 0?s:[];var v;o.childMinWidth=(v=n==null?void 0:n.childMinWidth)!==null&&v!==void 0?v:230;var b;o.colGap=(b=n==null?void 0:n.colGap)!==null&&b!==void 0?b:24;var g;o.viewConfig=(g=n==null?void 0:n.viewConfig)!==null&&g!==void 0?g:[];var h;return o.simpleConfig=(h=n==null?void 0:n.simpleConfig)!==null&&h!==void 0?h:[],o}return e}(di);Se(cy,"RuntimeRules",fme);function _me(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yme(t,e,n){return e=ay(e),vme(t,EN()?Reflect.construct(e,n||[],ay(t).constructor):e.apply(t,n))}function sme(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ly(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ay(t){return ay=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ay(t)}function pme(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&LO(t,e)}function vme(t,e){return e&&(dme(e)==="object"||typeof e=="function")?e:_me(t)}function LO(t,e){return LO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},LO(t,e)}function dme(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(EN=function(){return!!t})()}var fy=function(t){pme(e,t);function e(n){sme(this,e);var o;return o=yme(this,e,[n]),ly(o,"props",void 0),o.props=new cy(n==null?void 0:n.props),o}return e}(Uw);ly(fy,"controlType","simple-search"),ly(fy,"slotPosition",{default:"search"}),ly(fy,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[u.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}]);function hme(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bme(t,e,n){return e=_y(e),mme(t,SN()?Reflect.construct(e,n||[],_y(t).constructor):e.apply(t,n))}function gme(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _y(t){return _y=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_y(t)}function Ome(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&CO(t,e)}function mme(t,e){return e&&(wme(e)==="object"||typeof e=="function")?e:hme(t)}function CO(t,e){return CO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},CO(t,e)}function wme(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function SN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(SN=function(){return!!t})()}var RN=function(t){Ome(e,t);function e(n){gme(this,e);var o;o=bme(this,e,[n]),jO(o,"props",void 0),jO(o,"children",void 0),o.props=new cy(n==null?void 0:n.props);var r;return o.children=(r=n==null?void 0:n.children)!==null&&r!==void 0?r:[],o}return e}(Xw);jO(RN,"controlType","simple-search");var BN={Designer:fy,Runtime:RN,Property:cy},$me=Object.freeze({__proto__:null,SimpleSearch:BN});function Pme(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tme(t,e,n){return e=yy(e),Bme(t,IN()?Reflect.construct(e,n||[],yy(t).constructor):e.apply(t,n))}function Eme(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sme(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yy(t){return yy=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yy(t)}function Rme(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&VO(t,e)}function Bme(t,e){return e&&(Ime(e)==="object"||typeof e=="function")?e:Pme(t)}function VO(t,e){return VO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},VO(t,e)}function Ime(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function IN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(IN=function(){return!!t})()}var zO=function(t){Rme(e,t);function e(n){Eme(this,e);var o;o=Tme(this,e,[n]),Sme(o,"wholeRow",void 0);var r;return o.wholeRow=(r=n==null?void 0:n.wholeRow)!==null&&r!==void 0?r:!1,o}return e}(Oi);function Mme(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ame(t,e,n){return e=sy(e),Lme(t,AN()?Reflect.construct(e,n||[],sy(t).constructor):e.apply(t,n))}function Nme(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function MN(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Fme(t,e,n){return e&&MN(t.prototype,e),n&&MN(t,n),t}function kme(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function sy(t){return sy=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sy(t)}function Dme(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&GO(t,e)}function Lme(t,e){return e&&(jme(e)==="object"||typeof e=="function")?e:Mme(t)}function GO(t,e){return GO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},GO(t,e)}function jme(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function AN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(AN=function(){return!!t})()}var Cme=function(t){Dme(e,t);function e(n){Nme(this,e);var o;return o=Ame(this,e,[n]),kme(o,"props",void 0),o.props=new zO(n==null?void 0:n.props),o}return Fme(e,null,[{key:"controlName",get:function(){return _.getMessage("gridLayoutWrap")}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"grid-layout-wrap"}}]),e}(e$);function Vme(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zme(t,e,n){return e=py(e),xme(t,FN()?Reflect.construct(e,n||[],py(t).constructor):e.apply(t,n))}function Gme(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function NN(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Yme(t,e,n){return e&&NN(t.prototype,e),n&&NN(t,n),t}function Hme(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function py(t){return py=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},py(t)}function qme(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&YO(t,e)}function xme(t,e){return e&&(Ume(e)==="object"||typeof e=="function")?e:Vme(t)}function YO(t,e){return YO=Object.setPrototypeOf||function(o,r){return o.__proto__=r,o},YO(t,e)}function Ume(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FN(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(FN=function(){return!!t})()}var Wme=function(t){qme(e,t);function e(n){Gme(this,e);var o;return o=zme(this,e,[n]),Hme(o,"props",void 0),o.props=new zO(n==null?void 0:n.props),o}return Yme(e,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),e}(o$);function D$e(t){return t}var Kme={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:_.getMessage("fullLine"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},kN={Designer:Cme,Runtime:Wme,Property:zO,Setting:Kme},Xme=Object.freeze({__proto__:null,GridLayoutWrap:kN});function HO(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function Jme(t){if(Array.isArray(t))return t}function Qme(t){if(Array.isArray(t))return HO(t)}function Zme(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ewe(t,e){var n=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var o=[],r=!0,i=!1,c,l;try{for(n=n.call(t);!(r=(c=n.next()).done)&&(o.push(c.value),!(e&&o.length===e));r=!0);}catch(a){i=!0,l=a}finally{try{!r&&n.return!=null&&n.return()}finally{if(i)throw l}}return o}}function twe(){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 nwe(){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 owe(t,e){return Jme(t)||ewe(t,e)||LN(t,e)||twe()}function DN(t){return Qme(t)||Zme(t)||LN(t)||nwe()}function LN(t,e){if(!!t){if(typeof t=="string")return HO(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return HO(t,e)}}var rwe=function(t,e){var n=Array.isArray(t),o=n?t:[t];dwe(e==null?void 0:e.events),fwe(o),_we(o);var r=awe(o),i=ywe(r,e),c=st(j(i,function(l){return lwe(l,e)}));return n?c:c[0]},iwe=[u.CONTROL_TYPE.DIVIDER,u.CONTROL_TYPE.TEXT,u.CONTROL_TYPE.TITLE,u.CONTROL_TYPE.LINK,u.CONTROL_TYPE.BUTTON,"list-btn-export-list","list-btn-export-record"],uwe=["subtable","grid-table"],cwe=["simple-search"];function lwe(t,e){var n,o,r,i=t;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":iwe.includes(i.type)?i.controlType="base":i.controlType="form",uwe.includes(i.type)&&(i.controlType="list"),cwe.includes(i.type)&&(i.controlType="search-view")),delete i.is_layout_control,t.props.lable_position&&(t.props.labelPosition=t.props.lable_position),t.props.select_mode&&(t.props.optionsFormat=t.props.select_mode),t.props.value&&(t.props.defaultValue=t.props.value),ye(t==null||(n=t.props)===null||n===void 0?void 0:n.caption)&&(i.props.caption=t.props.caption.zh),ye(t==null||(o=t.props)===null||o===void 0?void 0:o.placeholder)&&(i.props.placeholder=t.props.placeholder.zh),ye(t==null||(r=t.props)===null||r===void 0?void 0:r.placeholder_end)&&(i.props.placeholder_end=t.props.placeholder_end.zh),t.type==="department-search"&&(i.type="department",t.props.value.length&&(i.props.default_value=t.props.value),i.props.showType=t.props.show_tree?"tree":"default",i.props.rangeOptions=t.props.department_list),t.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=t.props.value),t.type==="file"){var c;i.type="attachment",i.props.attachmentAccept=(c=t.attachment_format)===null||c===void 0?void 0:c.split(","),i.props.showType=t.props.show_type==="title"?"default":"table"}if(t.type==="image"){var l;i.props.attachmentAccept=(l=t.attachment_format)===null||l===void 0?void 0:l.split(",")}if(t.type==="date-pick"&&(i.type="date-picker"),t.type==="rich-text"&&(ye(t.props.value)?i.props.defaultValue=t.props.value.zh:i.props.defaultValue=t.props.value),["link","text","button"].includes(t.type)&&(ye(t.props.value)?i.props.content=t.props.value.zh:i.props.content=t.props.value),t.type==="text"&&t.props.showState==="iconText"&&(i.props.showState="image"),t.type==="user-search"&&(i.type="employee",i.props.defaultValue=t.props.value),t.type==="address"&&(i.props.addressType=t.props.address_type_value),i.type==="subtable"){var a,f=i.props.entry_type||i.props.entryType;i.props.openType=f==="subpage"?"modal":"default",((a=i.children[0])===null||a===void 0?void 0:a.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function(T,R){var z=new Vb.Designer;z.props.caption=ye(T.field_name)?T.field_name.zh:T.field_name;var Oe=z.toSchema();Oe.id=T.header_id;var fe=i.children[0].children[R].children[0];return fe&&(Oe.children=[fe]),Oe}),i.children=[])}i.type==="subtable-cell"&&(i.type="subtable-column");var y=["radio","checkbox","select","select-multiple"];if(y.includes(t.type)&&(t.props.options.map(function(T){T.label=ye(T.text)?T.text.zh:T.text,T.id=T.id||T.opt_id||T.optId||T.data_id}),i=t),t.type==="grid-row"){var s=24/i.children.length;i.children=i.children.map(function(T){var R=new ka.Designer;R.props.span=s;var z=R.toSchema();return z.children.push(T),z})}if(t.type==="grid-layout-row"&&(i.type="row"),t.type==="grid-layout-col"&&(i.type="col"),t.type==="group-panel"&&(i.type="card-group",i.props.collapse=i.props.flod==="no"?"none":i.props.flod),t.type==="tabs-pane"&&(i.type="tab-pane"),t.type==="calc"){var v=i==null?void 0:i.children[0],b=i==null?void 0:i.children[1],g={};v&&(jN(i,e),g.result=v.props.data_bind,i.id=v.id,i.props=v.props,i.props.script_src=v.props.script_src,i.props.script_echo=v.props.script_echo,i.props.precision=v.props.precision,i.props.micrometer=v.props.is_show_money,i.props.showUpperCase=v.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(t.type==="amount-currency"){i.type="amount",i.controlType="form";var h=i==null?void 0:i.children[0],O=i==null?void 0:i.children[1],d={},m={};h&&(jN(i,e),i.id=h.id,d.amount=h.props.data_bind,i.props.range_min=At(h.props.range_min),i.props.range_max=At(h.props.range_max),m.amount=At(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=ye(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),O&&(d.currency=O.props.data_bind,m.currency=O.props.value,i.props.datasourceBind=O.props.datasource_bind,i.props.options=O.props.options.map(function(T){return{label:T.text,value:T.value}})),i.props.dataBind=d,i.props.defaultValue=m,delete i.children}if(t.type==="date-range"){i.controlType="form";var $=i==null?void 0:i.children[0],w=i==null?void 0:i.children[1];i.props.placeholderStart=ye(t.props.placeholder)?t.props.placeholder.zh:t.props.placeholder,i.props.caption=ye(t.props.caption)?t.props.caption.zh:t.props.caption;var E={};$&&(E.min=$.props.data_bind),w&&(E.max=w.props.data_bind),i.props.dataBind=E,delete i.children}return t.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(t.type)&&(i.props.defaultValue=ye(t.props.value)?t.props.value.zh:t.props.value),t.type==="number"&&(i.props.range_min=At(t.props.range_min),i.props.range_max=At(t.props.range_max),i.props.defaultValue=At(t.props.value)),t.type==="list-page-btn-custom-button"&&(t.type="button"),t.type==="button"&&t.props.button_type==="dashed"&&(i.props.buttonType="default"),hwe(i,e==null?void 0:e.control_events),i}function jN(t,e){if(!!e){var n=e.displayBoList,o=n===void 0?[]:n,r=e.behaviors,i=r===void 0?[]:r,c=t.id,l=t.children[0].id;o.forEach(function(a){a.id===c&&(a.id=l);var f=a.show_controls.findIndex(function(s){return s===c}),y=a.hide_controls.findIndex(function(s){return s===c});f>-1&&a.show_controls.splice(f,1,l),y>-1&&a.hide_controls.splice(y,1,l)}),i.forEach(function(a){a.ctrl_id===c&&(a.id=l)})}}function awe(t){if(!Array.isArray(t))return t;var e=t.find(function(r){return r.type==="grid"});if(!e)return t;var n=new $0.Designer,o=n.toSchema();return o.children=t,[o]}function fwe(t){t.forEach(function(e){e.children&&vwe(e.children)})}function _we(t){t.forEach(function(e){if(!!(e&&e.children))for(var n=e.children,o=0;o<n.length;o++){var r,i,c=n[o],l=(i=n[o])===null||i===void 0||(r=i.children)===null||r===void 0?void 0:r[0];c.type==="grid-row"&&l&&["group-panel","subtable","tab"].includes(l.type)&&n.splice(o,1,l)}})}function ywe(t,e){var n,o,r,i,c;if(!(Array.isArray(t)&&t.length===1))return t;var l=t[0];if(l.type!=="list-page")return t;var a=l.props,f=l.children,y=owe(f,3),s=y[0],v=y[1],b=y[2];swe(s),b.props.is_fixed_header=a==null||(n=a.source_config)===null||n===void 0?void 0:n.is_fixed_header,pwe(b,v);var g,h=(g=a==null||(o=a.source_config)===null||o===void 0?void 0:o.data_code)!==null&&g!==void 0?g:e==null?void 0:e.dataCode,O,d=((O=a==null||(r=a.source_config)===null||r===void 0?void 0:r.svc_code)!==null&&O!==void 0?O:h)?"".concat(h,"_selectMore"):void 0,m,$=(m=a==null||(i=a.source_config)===null||i===void 0?void 0:i.orders)!==null&&m!==void 0?m:[],w=new g0.Designer;w.props.datasourceBind=new Q({dataCode:h,svcCode:d,orders:dm($)}),w.props.isShowSubList=a.is_show_sublist,w.props.triggerType=a.timing_type,w.props.triggerFieldCode=a.ctrl_field_code,a==null||(c=a.sublist_page)===null||c===void 0||c.sublists.forEach(function(T){T.title=ye(T.title)?T.title.zh:T.title}),w.props.sublistPage=a.sublist_page;var E=w.toSchema();return E.children.push(s,b),[E]}function swe(t){t.type="simple-search",t.control_type="search-view",t.children.forEach(function(e){var n=ye(e.placeholder)?e.placeholder.zh:e.placeholder;if(e.type==="number-range"&&(e.type="search-number-range",e.placeholderStart=n,e.placeholderEnd=n),e.type==="date-pick"){var o,r;e.type="search-date-range",e.placeholderStart=n,e.placeholderEnd=n,e.dateType=(r=e.dateType)===null||r===void 0||(o=r.replace)===null||o===void 0?void 0:o.call(r,/range$/)}(e.type==="automatic-number"||e.type==="auto-number")&&(e.type="search-input",e.props.defaultValue="")})}function pwe(t,e){t.children=e.children.filter(function(n){return n.type!=="list-page-btn-custom-head"}),t.type="grid-table",t.props.sublist_page&&(t.props.sublist_page.form_bind={data_code:t.props.sublist_page.data_code,form_key:t.props.sublist_page.form_key}),Array.isArray(t.props.headers)&&(t.props.headers=t.props.headers.map(function(n){var o={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:ye(n.field_name)?n.field_name.zh:n.field_name}};if(o.props.caption=ye(n.field_name)?n.field_name.zh:n.field_name,o.props.filter_tags=n.is_filter_tags,o.props.fixed=n.fixed,o.props.display_bo_list=n.display_bo_list,o.props.date_type=n.date_type,o.props.optionConfig="none",n.header_width_config&&(o.props.widthType=n.header_width_config==="1"?"auto":"px"),o.props.widthType==="px"&&n.header_width&&(o.props.width=Number(n.header_width)),n.table_header_type==="order")o.type="order-column",o.props.fixed=!0;else if(n.table_header_type==="operation"){o.type="operation-column";var r;o.props.check=(r=n.check)!==null&&r!==void 0?r:{},o.props.check.openType="window";var i;o.props.delete=(i=n.delete)!==null&&i!==void 0?i:{},o.props.delete.openType="window";var c;o.props.edit=(c=n.edit)!==null&&c!==void 0?c:{},o.props.edit.openType="window",o.props.fixed=!0}else o.type=n.field_type+"-column",n.field_type==="auto_number"&&(o.type="auto-number-column"),n.field_type==="relation"&&(o.type="varchar-column");return n.convert_switch&&(o.props.optionConfig=n.convert_type===1?"datasource":"custom"),o.props.optionConfig==="datasource"?o.props.datasource_bind=new Q({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):o.props.optionConfig==="custom"&&(o.props.options=n.custom_match_bo_list),o}))}function vwe(t){for(var e=null,n=0;n<t.length;n++){var o,r=t[n];if(!!r){if(r.children&&((o=r.children[0])===null||o===void 0?void 0:o.type)==="group-panel"){e=r.children[0];continue}e&&(e.children.push(r),t.splice(n,1),n--)}}}function dwe(t){!t||(t.did_mount=t.did_mount.map(function(e){return e.name}),t.will_submit=t.will_submit.map(function(e){return e.name}),t.did_submit=t.did_submit.map(function(e){return e.name}))}function hwe(t,e){var n;if(!(!e||!t.props.events)){var o=Object.keys(t.props.events);if(!!o.length&&(o.forEach(function(i){var c;!t.props.events[i].length||(e[t.id]||(e[t.id]={}),e[t.id][i]||(e[t.id][i]=[]),(c=e[t.id][i]).push.apply(c,DN(t.props.events[i].map(function(l){return l.name}))))}),!((n=e[t.id])===null||n===void 0)&&n.on_blur)){var r;e[t.id].on_change||(e[t.id].on_change=[]),(r=e[t.id].on_change).push.apply(r,DN(e[t.id].on_blur))}}}var bwe=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=st(j(o,function(i){return gwe(i)}));return n?r:r[0]};function gwe(t,e){if(t.type===u.CONTROL_TYPE.LIST_VIEW){var n=t.children.find(function(o){return o.type===u.CONTROL_TYPE.GRID_TABLE});n.props.headers.forEach(function(o){!o.props.data_bind&&o.props.field_code&&(o.props.data_bind=new Ae({dataCode:t.props.datasource_bind.data_code,fieldCode:o.props.field_code}))})}return t}var Owe=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=st(j(o,function(i){return mwe(i)}));return n?r:r[0]};function mwe(t,e){return[u.CONTROL_TYPE.BUTTON,u.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,u.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,u.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,u.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,u.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,u.CONTROL_TYPE.EXPORT_LIST_BUTTON,u.CONTROL_TYPE.FORM_SELECT_BUTTON,u.CONTROL_TYPE.LIST_SELECT_BUTTON].includes(t.type)&&(t.props.button_type==="default"&&(t.props.button_type="secondary"),t.props.button_type==="danger"&&(t.props.button_type="secondary",t.props.color="danger"),t.props.icon||(t.props.icon="iconfenlei2")),t.type===u.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON&&(t.props.icon="iconshangchuan3"),t.type===u.CONTROL_TYPE.EXPORT_LIST_BUTTON&&(t.props.icon="iconxiazai1"),t}var wwe=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=st(j(o,function(i){return $we(i)}));return n?r:r[0]};function $we(t,e){if(t.props.icon){var n=t.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}t.props.icon=n}return t}var Pwe=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=st(j(o,function(i){return Ewe(i)}));return n?r:r[0]},Twe=[u.CONTROL_TYPE.ROW,u.CONTROL_TYPE.TAB,u.CONTROL_TYPE.SUBTABLE,u.CONTROL_TYPE.GRID_ROW,u.CONTROL_TYPE.CARD_GROUP];function Ewe(t,e){return t.type===u.CONTROL_TYPE.TAB_PANE&&(t.children=t.children.map(function(n){if(Twe.includes(n.type))return n;var o=new Mb.Designer,r=new ka.Designer;o.children.push(r);var i=o.toSchema();return i.children[0].children.push(n),i})),t}var Swe=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=st(j(o,function(i){return Rwe(i)}));return n?r:r[0]};function Rwe(t,e){return t.type===u.CONTROL_TYPE.GRID_TABLE&&t.props.headers.forEach(function(n){n.type===u.CONTROL_TYPE.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),t}var Bwe=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=j(o,function(i){return Iwe(i)});return n?r:r[0]};function Iwe(t,e){return t.type===u.CONTROL_TYPE.SUBTABLE&&(t.props.default_rows=t.props.limit_rows),t}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Mwe=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=j(o,function(i){return Awe(i)});return n?r:r[0]};function Rt(t,e){t.field_code&&(t.field_type=e)}function Awe(t,e){var n,o=(n={},V(n,u.CONTROL_TYPE.TITLE,u.FieldTypes.AUTO_NUMBER),V(n,u.CONTROL_TYPE.ADDRESS,u.FieldTypes.ADDRESS),V(n,u.CONTROL_TYPE.ATTACHMENT,u.FieldTypes.FILE),V(n,u.CONTROL_TYPE.AUTO_NUMBER,u.FieldTypes.AUTO_NUMBER),V(n,u.CONTROL_TYPE.CHECKBOX,u.FieldTypes.ARRAY),V(n,u.CONTROL_TYPE.DATE_PICKER,u.FieldTypes.TIMESTAMP),V(n,u.CONTROL_TYPE.DEPARTMENT,u.FieldTypes.DEPARTMENTS),V(n,u.CONTROL_TYPE.DEPARTMENT2,u.FieldTypes.DEPARTMENTS),V(n,u.CONTROL_TYPE.EMPLOYEE,u.FieldTypes.EMPLOYEES),V(n,u.CONTROL_TYPE.EMPLOYEE2,u.FieldTypes.EMPLOYEES),V(n,u.CONTROL_TYPE.IMAGE,u.FieldTypes.IMAGE),V(n,u.CONTROL_TYPE.INPUT,u.FieldTypes.VARCHAR),V(n,u.CONTROL_TYPE.NUMBER,u.FieldTypes.DECIMAL),V(n,u.CONTROL_TYPE.RADIO,u.FieldTypes.VARCHAR),V(n,u.CONTROL_TYPE.RICH_TEXT,u.FieldTypes.TEXT),V(n,u.CONTROL_TYPE.SCORE,u.FieldTypes.DECIMAL),V(n,u.CONTROL_TYPE.SELECT,u.FieldTypes.VARCHAR),V(n,u.CONTROL_TYPE.SELECT_MULTIPLE,u.FieldTypes.ARRAY),V(n,u.CONTROL_TYPE.SELECT_RELATION,u.FieldTypes.VARCHAR),V(n,u.CONTROL_TYPE.TEXTAREA,u.FieldTypes.TEXT),V(n,u.CONTROL_TYPE.TREE,u.FieldTypes.ARRAY),V(n,u.CONTROL_TYPE.SEARCH_DATE_RANGE,u.FieldTypes.ARRAY),V(n,u.CONTROL_TYPE.SEARCH_INPUT,u.FieldTypes.VARCHAR),V(n,u.CONTROL_TYPE.SEARCH_NUMBER_RANGE,u.FieldTypes.ARRAY),n);if(o.hasOwnProperty(t.type)&&Rt(t.props.data_bind,o[t.type]),t.type===u.CONTROL_TYPE.AMOUNT&&(Rt(t.props.data_bind.amount,u.FieldTypes.DECIMAL),Rt(t.props.data_bind.currency,u.FieldTypes.VARCHAR)),t.type===u.CONTROL_TYPE.CALC&&(Rt(t.props.data_bind.result,u.FieldTypes.DECIMAL),Rt(t.props.data_bind.unit,u.FieldTypes.VARCHAR)),t.type===u.CONTROL_TYPE.DATE_RANGE&&(Rt(t.props.data_bind.min,u.FieldTypes.TIMESTAMP),Rt(t.props.data_bind.max,u.FieldTypes.TIMESTAMP)),t.type===u.CONTROL_TYPE.VUE_FORM_ITEM){var r;Rt(t.props.data_bind,(r=t.field_type)!==null&&r!==void 0?r:u.FieldTypes.ANY)}return t}var Nwe=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=j(o,function(i){return Fwe(i)});return n?r:r[0]};function Fwe(t,e){return t.type===u.CONTROL_TYPE.GRID_TABLE&&t.props.headers.forEach(function(n){n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===u.CONTROL_TYPE.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),t}var kwe=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=j(o,function(i){return Dwe(i)});return n?r:r[0]};function Dwe(t,e){return t.type===u.CONTROL_TYPE.SIMPLE_SEARCH&&t.children.length&&(t.props.query_type_map||(t.props.query_type_map=[]),t.children.forEach(function(n){var o,r;[u.FieldTypes.VARCHAR,u.FieldTypes.TEXT,u.FieldTypes.AUTO_NUMBER].includes((r=n.props)===null||r===void 0||(o=r.data_bind)===null||o===void 0?void 0:o.field_type)&&t.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),t}var Lwe=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=j(o,function(i){return jwe(i)});return n?r:r[0]};function jwe(t,e){return[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===u.CONTROL_TYPE.SUBTABLE&&t.props.headers.forEach(function(n){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}var Cwe=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=j(o,function(i){return Vwe(i)});return n?r:r[0]};function Vwe(t,e){return[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===u.CONTROL_TYPE.SUBTABLE&&t.props.headers.forEach(function(n){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}var zwe=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=j(o,function(i){return Gwe(i)});return n?r:r[0]};function Gwe(t,e){return t.type===u.CONTROL_TYPE.TITLE&&t.props.config.push(u.TitleConfigEnum.ShowTitle),t.type===u.CONTROL_TYPE.GRID_TABLE&&t.props.headers.map(function(n){if(n.type===u.CONTROL_TYPE.OPERATION_COLUMN){var o,r,i;n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto";var c;if(n.children=(c=n==null?void 0:n.children)!==null&&c!==void 0?c:[],delete n.props.custom,((o=n.props)===null||o===void 0?void 0:o.check)!==void 0){var l,a,f,y,s,v,b=new jo.Designer;Object.defineProperty(b,"id",{value:"listPageCheckBtnId"}),b.props.code="view",b.props.icon="iconliulan1",b.props.command="view",b.props.content=(l=n.props)===null||l===void 0?void 0:l.check.content,b.props.priorityProcess=(a=n.props)===null||a===void 0?void 0:a.check.priority_process,b.props.openType=(f=n.props)===null||f===void 0?void 0:f.check.open_type,b.props.formKey=(y=n.props)===null||y===void 0?void 0:y.check.form_key,!((s=n.props)===null||s===void 0)&&s.check.is_show&&n.children.push(b.toSchema()),(v=n.props)===null||v===void 0||delete v.check}if(((r=n.props)===null||r===void 0?void 0:r.edit)!==void 0){var g,h,O,d,m,$,w=new jo.Designer;Object.defineProperty(w,"id",{value:"listPageEditBtnId"}),w.props.code="edit",w.props.icon="iconbianji1",w.props.command="edit",w.props.content=(g=n.props)===null||g===void 0?void 0:g.edit.content,w.props.priorityProcess=(h=n.props)===null||h===void 0?void 0:h.edit.priority_process,w.props.openType=(O=n.props)===null||O===void 0?void 0:O.edit.open_type,w.props.formKey=(d=n.props)===null||d===void 0?void 0:d.edit.form_key,!((m=n.props)===null||m===void 0)&&m.edit.is_show&&n.children.push(w.toSchema()),($=n.props)===null||$===void 0||delete $.edit}if(((i=n.props)===null||i===void 0?void 0:i.delete)!==void 0){var E,T,R,z,Oe,fe,_e=new jo.Designer;Object.defineProperty(_e,"id",{value:"listPageDeleteBtnId"}),_e.props.code="delete",_e.props.icon="iconlajitong",_e.props.command="delete",_e.props.content=(E=n.props)===null||E===void 0?void 0:E.delete.content,_e.props.priorityProcess=(T=n.props)===null||T===void 0?void 0:T.delete.priority_process,_e.props.openType=(R=n.props)===null||R===void 0?void 0:R.delete.open_type,_e.props.formKey=(z=n.props)===null||z===void 0?void 0:z.delete.form_key,_e.props.needConfirm=!0,_e.props.confirmMessage=_.getMessage("deleteConfirm"),!((Oe=n.props)===null||Oe===void 0)&&Oe.delete.is_show&&n.children.push(_e.toSchema()),(fe=n.props)===null||fe===void 0||delete fe.delete}}}),[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(t.type)&&t.props.open_multistage_filling===void 0&&(t.props.open_multistage_filling=!0),t.type===u.CONTROL_TYPE.SUBTABLE&&t.props.headers.forEach(function(n){[u.CONTROL_TYPE.SELECT,u.CONTROL_TYPE.SELECT_RELATION,u.CONTROL_TYPE.SELECT_MULTIPLE,u.CONTROL_TYPE.RADIO,u.CONTROL_TYPE.CHECKBOX,u.CONTROL_TYPE.TREE,u.CONTROL_TYPE.DEPARTMENT2,u.CONTROL_TYPE.EMPLOYEE2,u.CONTROL_TYPE.DEPARTMENT,u.CONTROL_TYPE.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),t}function Ar(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ywe=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=j(o,function(i){return Hwe(i,e)});return n?r:r[0]};function Hwe(t,e){t.type===u.CONTROL_TYPE.SUBTABLE&&t.props.headers.map(function(r){var i;r.props.meta_auto_width=new zy,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;var c=(i=r.children)===null||i===void 0?void 0:i[0];c&&c.type===u.CONTROL_TYPE.CALC&&c.props.calc_on_mounted===void 0&&(c.props.calc_on_mounted=!0)});var n,o=(n={},Ar(n,u.CONTROL_TYPE.SUBTABLE,[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}]),Ar(n,u.CONTROL_TYPE.GRID_TABLE,[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}]),Ar(n,u.CONTROL_TYPE.LIST_VIEW,[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}]),Ar(n,u.CONTROL_TYPE.SIMPLE_SEARCH,[{key:"col-gap",value:24},{key:"child-min-width",value:230}]),Ar(n,u.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,[{key:"template-type",value:"system"}]),n);return t.type in o&&o[t.type].forEach(function(r){t.props[r.key]===void 0&&(t.props[r.key]=r.value)}),t.type===u.CONTROL_TYPE.GRID_TABLE&&t.props.headers.forEach(function(r){r.type===u.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.limit===void 0&&(r.props.limit=3),r.props.show_type===void 0&&(r.props.show_type="icon")),r.props.flex===void 0&&(r.props.flex=1),r.props.auto_width===void 0&&(r.props.auto_width=new Vr)}),t.type===u.CONTROL_TYPE.CALC&&t.props.calc_on_mounted===void 0&&(t.props.calc_on_mounted=!0),qwe(e),t}function qwe(t){if(!(!t||!t.listeners)){if(Object.keys(t.listeners).forEach(function(n){var o,r,i;t.listeners[n].forEach(function(c,l){var a=c.event_key||c.eventKey;switch(a){case"on_click_finish":r=c,i=l;break;case"on_click":o=c;break}}),r&&(r.cases[0].handlers.unshift(qO()),o?(r.cases.forEach(function(c){o.cases[0].handlers.push(c)}),t.listeners[n].splice(i,1)):r.event_key="on_click")}),!t.listeners.form_submit)t.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[xwe()]}];else if(t.listeners.form_submit&&t.listeners.form_submit&&t.listeners.form_submit[0]&&t.listeners.form_submit[0].cases&&t.listeners.form_submit[0].cases[0]&&t.listeners.form_submit[0].cases[0].handlers){var e=!1;t.listeners.form_submit[0].cases[0].handlers.forEach(function(n){n.method==="actionOperate"&&(e=!0)}),e||t.listeners.form_submit[0].cases[0].handlers.push(qO())}}}function xwe(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[qO()]}}function qO(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}var Uwe=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=j(o,function(i){return Wwe(i,e)});return n?r:r[0]};function Wwe(t,e){if(t.type===u.CONTROL_TYPE.LIST_VIEW){if(t.props.is_show_selection===!1){var n=[u.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,u.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT,u.CONTROL_TYPE.BATCH_DELETE_LIST_BUTTON];t.children.forEach(function(o){if(o.type===u.CONTROL_TYPE.GRID_TABLE){var r=o.children.map(function(c){return c.type}),i=r.some(function(c){return n.includes(c)});i===!0&&(t.props.is_show_selection=!0,o.props.is_show_selection=!0)}})}t.props.caption===""&&(t.props.caption=e==null?void 0:e.formName),t.props.is_all_loaded===void 0&&(t.props.is_all_loaded=!0)}return t.type===u.CONTROL_TYPE.TEXTAREA&&t.props.auto_size===void 0&&(t.props.auto_size=!1),t.type===u.CONTROL_TYPE.SUBTABLE&&t.props.mobile_default_num===void 0&&(t.props.mobile_default_num=t.props.mobile_show_type==="tile"?5:10),t.type===u.CONTROL_TYPE.TREE&&t.props.default_display===void 0&&(t.props.default_display=!1),t.type===u.CONTROL_TYPE.GRID_TABLE&&t.props.is_show_toolbar===void 0&&(t.props.is_show_toolbar=!0),t.type===u.CONTROL_TYPE.NUMBER&&t.props.regular_rules===void 0&&(t.props.regular_rules=new xr),t}function Kwe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Xwe=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=j(o,function(i){return Jwe(i)});return n?r:r[0]};function Jwe(t,e){var n=Kwe({},u.CONTROL_TYPE.SUBTABLE,[{key:"import_config",value:{template_type:"system",template_list:[]}},{key:"export_config",value:{template_type:"system",template_list:[]}}]);t.type in n&&n[t.type].forEach(function(r){t.props[r.key]===void 0&&(t.props[r.key]=r.value)}),t.type==="card-group"&&t.props.isHideCaption===void 0&&(t.props.isHideCaption=!1);var o=[u.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT_RECORD,u.CONTROL_TYPE.EXPORT_LIST_BUTTON,u.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,u.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,u.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,u.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,u.CONTROL_TYPE.BATCH_DELETE_LIST_BUTTON,u.CONTROL_TYPE.BUTTON,u.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,u.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT];return o.includes(t.type)&&(t.control_type="base"),t.type===u.CONTROL_TYPE.SUBTABLE&&t.props.mobile_default_num===void 0&&(t.props.mobile_default_num=t.props.mobile_show_type==="tile"?5:10),t}function Qwe(t,e){if((e==null?void 0:e.formType)===1&&(e==null?void 0:e.events)!==void 0){var n,o,r=(o=e==null||(n=e.events)===null||n===void 0?void 0:n.did_mount)!==null&&o!==void 0?o:[];r.length>0&&(e.events.did_init=r,e.events.did_mount=[]),e.events.did_init===void 0&&(e.events.did_init=[])}}var Zwe=function(t,e){var n=Array.isArray(t),o=n?t:[t],r={},i=j(o,function(c){var l=e$e(c);return r[c.id]=c,l});return Qwe(r,e),n?i:i[0]};function e$e(t,e){if(t.type===u.CONTROL_TYPE.TEXTAREA){var n,o,r,i={rowHeightType:t.props.auto_size===!0?"auto":"fixed",minRows:(n=t.props.line_ellipsis)!==null&&n!==void 0?n:4,maxRows:(o=t.props.max_rows)!==null&&o!==void 0?o:20,fiexdRow:(r=t.props.line_ellipsis)!==null&&r!==void 0?r:4};if(t.props.row_height_setting=st(new Vy({pc:i,mobile:i})),t.type===u.CONTROL_TYPE.ORGANIZATION_SELECTION){var c=t.props.selected_content_config,l=c==null?void 0:c.display_bo_list;l&&l.forEach(function(a){a.value==="org_type_code"&&(a.label=_.getMessage("businessType")),a.value==="org_pattern_code"&&(a.label=_.getMessage("organizationalForm"))})}t.type===u.CONTROL_TYPE.LIST_SELECT_BUTTON&&t.props.disable_filling===void 0&&(t.props.disable_filling=!1)}return t}var t$e=function(t,e){var n=Array.isArray(t),o=n?t:[t],r={},i=j(o,function(c){var l=n$e(c);return r[c.id]=c,l});return o$e(r,e),n?i:i[0]};function n$e(t,e){return t}function o$e(t,e){(e==null?void 0:e.formType)===0&&(e==null?void 0:e.listeners)!==void 0&&Object.keys(e==null?void 0:e.listeners).map(function(n){var o=e==null?void 0:e.listeners[n],r=t[n];if((r==null?void 0:r.type)===u.CONTROL_TYPE.BUTTON){var i,c,l,a,f;["draft","form_submit","save"].includes((c=r.props)===null||c===void 0||(i=c.opt_obj)===null||i===void 0?void 0:i.opt_type)&&(o==null||o.map(function(y){var s,v,b,g;y==null||(s=y.cases)===null||s===void 0||s.map(function(h){var O;h==null||(O=h.handlers)===null||O===void 0||O.map(function(d){if((d==null?void 0:d.method)==="optPage"&&d.params.operation==="refresh"&&(d.params.operation="close"),(d==null?void 0:d.method)==="openPage"){var m,$,w,E;((E=d.params)===null||E===void 0||(w=E.options)===null||w===void 0||($=w.link)===null||$===void 0||(m=$.fx)===null||m===void 0?void 0:m.expression)==="GET_FORM_URL(GET_PAYLOAD_VAL('value').data_uid,{type:'edit'})"&&(d.id="optPage",d.method="optPage",d.params={operation:"close"})}})}),(y==null||(g=y.cases)===null||g===void 0||(b=g[0])===null||b===void 0||(v=b.handlers)===null||v===void 0?void 0:v.length)===1&&y.cases[0].handlers.push({id:"optPage",method:"optPage",params:{operation:"close"}})})),["form_submit"].includes((a=r.props)===null||a===void 0||(l=a.opt_obj)===null||l===void 0?void 0:l.opt_type)&&((f=e.dataModelExtend)===null||f===void 0?void 0:f.process_status_enum_type)==="business"&&(o==null||o.map(function(y){y.cases[0].handlers.map(function(s){(s==null?void 0:s.method)==="optPage"&&s.params.operation==="close"&&(s.params.operation="edit")})}))}})}var r$e=function(t,e){var n=Array.isArray(t),o=n?t:[t],r={},i=j(o,function(c){var l=i$e(c);return r[c.id]=c,l});return u$e(r,e),n?i:i[0]};function i$e(t,e){if(t.type===u.CONTROL_TYPE.ORGANIZATION_SELECTION){var n=t.props.selected_content_config,o=n==null?void 0:n.display_bo_list;o&&o.forEach(function(r){r.value==="org_type_code"&&(r.label=_.getMessage("businessType")),r.value==="org_pattern_code"&&(r.label=_.getMessage("organizationalForm"))})}return t}function u$e(t,e){if((e==null?void 0:e.formType)===1&&(e==null?void 0:e.events)!==void 0){var n,o,r=(o=e==null||(n=e.events)===null||n===void 0?void 0:n.did_mount)!==null&&o!==void 0?o:[];r.length>0&&(e.events.did_init=r,e.events.did_mount=[]),e.events.did_init===void 0&&(e.events.did_init=[])}}var c$e=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=j(o,function(i){return l$e(i)});return n?r:r[0]};function l$e(t,e){if(t.type===u.CONTROL_TYPE.SIMPLE_SEARCH){if(t.props.view_config===void 0){var n;t.props.view_config=(n=t.children)===null||n===void 0?void 0:n.map(function(c){var l;return(l=c.props)===null||l===void 0?void 0:l.data_bind})}if(t.props.simple_config===void 0){var o;t.props.simple_config=(o=t.children)===null||o===void 0?void 0:o.map(function(c){var l;return(l=c.props)===null||l===void 0?void 0:l.data_bind})}}if(t.type===u.CONTROL_TYPE.ORGANIZATION_SELECTION){var r=t.props.selected_content_config,i=r==null?void 0:r.display_bo_list;i&&i.forEach(function(c){c.value==="org_type_code"&&(c.label=_.getMessage("businessType")),c.value==="org_pattern_code"&&(c.label=_.getMessage("organizationalForm"))})}return t}var a$e=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=j(o,function(i){return f$e(i)});return v$e(r),_$e(r),n?r:r[0]};function f$e(t,e){return t.type===u.CONTROL_TYPE.SIMPLE_SEARCH&&t.children.forEach(function(n){if(n.type===u.CONTROL_TYPE.SELECT||n.type===u.CONTROL_TYPE.SELECT_MULTIPLE){var o=n;o.props.option_config==="datasource"&&(o.props.default_show_options=!1)}}),t}function _$e(t){if(t[0].type===u.CONTROL_TYPE.LIST_VIEW){var e=t[0].props,n,o,r={type:(n=e.row_style_type)!==null&&n!==void 0?n:"none",interval:{color:(o=e.row_style_bg_color)!==null&&o!==void 0?o:""},rules:[]};e.row_style_rules&&(e.row_style_rules.forEach(function(i){var c=i.id,l={color:i.color,type:"background",scope:"row",fieldCodes:["_row_"]},a;if(e.row_style_rules_script){var f=e.row_style_rules_script.find(function(y){return y.id===c});f&&(a=p$e(i.filters,f.script))}i.settings=[l],i.script=a,delete i.color}),r.rules=e.row_style_rules),e.row_style=r,delete e.row_style_type,delete e.row_style_bg_color,delete e.row_style_rules,delete e.row_style_rules_script}}function CN(t,e){return e||(e={}),t.forEach(function(n){if(n.children)CN(n.children,e);else{var o=n.left_variable_bo;switch(o.type){case"people":case"department":case"array":case"timestamp":var r=o.value;e[r]=o;break}}}),e}function y$e(t){t=t.replace(/\(|\)/g,"").replace(/(\|\|)|(&&)/g,"__split__");var e=t.split("__split__").map(function(n){return n.replace(/^\s+|\s+$/gm,"")});return e}function s$e(t){var e="",n="";if(t[0]==="!")e="is_empty";else{var o=t.match(/(===|!=|>|>=|<|<=)/);if(o){var r=o[0];switch(r){case"===":e="op_equal";break;case"!=":e="op_no_equal";break;case">":e="op_greater";break;case">=":e="op_greater_equal";break;case"<":e="op_less";break;case"<=":e="op_less_equal";break;default:e="is_not_empty";break}n=t.split(r)[1]||""}else e="is_not_empty"}return{operate:e,value:n}}function p$e(t,e){var n=CN(t),o=y$e(e);return o.forEach(function(r){Object.keys(n).forEach(function(i){var c=r.indexOf("params.data.data_value_map['".concat(i,"']"));if(c>-1){var l=n[i],a=l.type,f=s$e(r),y=f.operate,s=f.value,v="SpecialMatch(data, sys, '".concat(i,"', '").concat(a,"', '").concat(y,"', ").concat(s||"''",")");e=e.replace(r,v)}})}),e=e.replace(/params.data.data_value_map/g,"data"),e}function v$e(t){if(t[0].type===u.CONTROL_TYPE.LIST_VIEW){var e=t[0].children.find(function(i){return i.type===u.CONTROL_TYPE.GRID_TABLE});if(e){var n=e.props.headers,o=e.props.footers,r={};o&&o.length>0&&o.forEach(function(i){var c=i.id.replace("foot_",""),l=i.children;l&&l.length>0&&i.children[0].type!==u.CONTROL_TYPE.BUTTON&&(i.children[0].field_type=i.field_type||"varchar"),r[c]=i}),n.forEach(function(i){var c=r[i.id];if(c){var l=c.children;if(!l||l.length===0)return;var a=i.children||[];i.children=[].concat(a,l)}}),e.props.footers=[]}}return t}var d$e=function(t,e){var n=Array.isArray(t),o=n?t:[t],r=h$e(o,e);return n?r:r[0]};function h$e(t,e){var n=g$e(e);return n.length>0&&(b$e(n,e),VN(n,t)),t}function VN(t,e){if(e)for(var n=e.length,o=n-1;o>=0;o--){var r=e[o],i=r.id;t.indexOf(i)>-1?e.splice(o,1):VN(t,r.children)}}function b$e(t,e){for(var n=(e==null?void 0:e.permission_controls)||[],o=n.length-1;o>=0;o--){var r=n[o].control_id;t.indexOf(r)>-1&&n.splice(o,1)}}function g$e(t){var e=[],n=t==null?void 0:t.listeners;return n&&Object.keys(n).forEach(function(o){n[o].forEach(function(r){!r.cases||r.cases.forEach(function(i){!i.handlers||i.handlers.forEach(function(c){if(!!c&&c.method==="openPage"){var l,a=(l=c.params)===null||l===void 0?void 0:l.relation_control_id;a&&e.push(a)}})})})}),e}var zN={"v1.0":rwe,"v2.0":bwe,"v2.1":Owe,"v2.2":wwe,"v2.3":Pwe,"v2.4":Swe,"v2.5":Bwe,"v2.6":Mwe,"v2.7":Nwe,"v2.8":kwe,"v2.9":Lwe,"v2.10":Cwe,"v3.0":zwe,"v3.1":Ywe,"v3.2":Uwe,"v3.3":Xwe,"v3.4":Zwe,"v3.5":t$e,"v3.6":r$e,"v3.7":c$e,"v3.8":a$e,"v3.10":d$e,"v3.11":function(){}};const GN=(t,e)=>{const n=YN(t),o=YN(e),r=n.pop(),i=o.pop(),c=xN(n,o);return c!==0?c:r&&i?xN(r.split("."),i.split(".")):r||i?r?-1:1:0},vy=(t,e,n)=>{$$e(n);const o=GN(t,e);return UN[n].includes(o)},O$e=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,YN=t=>{if(typeof t!="string")throw new TypeError("Invalid argument expected string");const e=t.match(O$e);if(!e)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return e.shift(),e},HN=t=>t==="*"||t==="x"||t==="X",qN=t=>{const e=parseInt(t,10);return isNaN(e)?t:e},m$e=(t,e)=>typeof t!=typeof e?[String(t),String(e)]:[t,e],w$e=(t,e)=>{if(HN(t)||HN(e))return 0;const[n,o]=m$e(qN(t),qN(e));return n>o?1:n<o?-1:0},xN=(t,e)=>{for(let n=0;n<Math.max(t.length,e.length);n++){const o=w$e(t[n]||"0",e[n]||"0");if(o!==0)return o}return 0},UN={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},WN=Object.keys(UN),$$e=t=>{if(typeof t!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof t}`);if(WN.indexOf(t)===-1)throw new Error(`Invalid operator, expected one of ${WN.join("|")}`)};function P$e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function KN(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function T$e(t,e,n){return e&&KN(t.prototype,e),n&&KN(t,n),t}function XN(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xO(t){return t.replace(/^v/,"")}var vo=Object.keys(zN).map(function(t){return xO(t)}).sort(GN),Nr=vo[vo.length-1],E$e=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Nr;P$e(this,t),XN(this,"toVersion",void 0),XN(this,"schemaVersion",void 0),this.schemaVersion=e,this.toVersion=n,vy(n,Nr,">")?yt("Version Builder: The specified ".concat(n," is an undefined version, and the current latest version is ").concat(Nr)):(!vo.includes(xO(n))||!vo.includes(xO(e)))&&yt("Version Builder: Please give me a valid version number, The valid version is: ".concat(vo.join(","),", But give me a ").concat(e))}return T$e(t,[{key:"dataCleaner",value:function(n,o){var r=this;if(vy(this.toVersion,this.schemaVersion,"="))return n;var i=this.callDataCleanerKeys.reduce(function(c,l,a,f){var y,s=(y=f[a+1])!==null&&y!==void 0?y:r.toVersion;wo("Version Builder: current version: ".concat(l,", nextVersion: ").concat(s));var v=zN[l],b=c;if(typeof v=="function"){var g=v(c,o);g&&(b=g)}return b},n);return wo("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var n=this;return vo.filter(function(o){return vy(o,n.schemaVersion,">=")&&vy(o,n.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(n){return"v"+n})}},{key:"version",get:function(){return Nr}}],[{key:"version",get:function(){return Nr}}]),t}();const dy=[],UO={exports:{}};let WO=!1;const S$e=window.module,R$e=window.exports,B$e=window.require;function I$e(t){return WO||(window.module=UO,window.exports=UO.exports,window.require=function(e){return t[e]},WO=!0),function(){window.module=S$e,window.exports=R$e,window.require=B$e,WO=!1}}function M$e(t,e){const n=new Promise((o,r)=>{const i=document.createElement("script"),c=I$e(e);i.src=t,i.type="text/javascript";const l=()=>{document.head.removeChild(i);const a=dy.findIndex(f=>f===n);dy.splice(a,1),dy.length===0&&c()};i.onerror=function(a){l(),r(a)},i.onload=function(){o(UO.exports),l()},document.head.appendChild(i)});return dy.push(n),n}function KO(t){return fetch(t,{mode:"cors",cache:"no-cache",credentials:"same-origin"}).then(e=>{if(e.ok===!1)throw"not found resource:"+t;return e.text()})}function JN(t,e,n={fetch:KO}){return new Promise((o,r)=>{n.fetch(t).then(i=>{const c={exports:{}};new Function("module","exports","require",i)(c,c.exports,function(l){return e[l]}),o(c.exports)}).catch(i=>{r(i)})})}function hy(t,e){return JN(t,e)}function A$e(t,e){return Fr(this,null,function*(){return yield Promise.all(t.map(n=>hy(n,e)))})}function by(t,e,n){let o;e==="runtime"?o=class extends U{constructor(a){super(a),this.props={}}static get controlType(){return t}}:o=class extends k{constructor(a){super(a),this.props={}}static get controlType(){return t}};class r 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>${n}</div>`;return{Runtime:o,Designer:o,Property:r,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{error:{template:i}}},upgrade:l=>l}}function N$e(t,e,n,o){return Fr(this,null,function*(){const r=new Map;return t.length===0||(yield Promise.all(e.map(i=>Fr(this,null,function*(){let c=!0,l;try{c=!0;let a="";o.type==="runtime"?a=i.runtime:a=i.designer,a+="?v="+i.version,l=yield hy(a,n),o.type==="runtime"?l.Runtime.__is_control__:l.Designer.__is_control__}catch(a){c=!1,It("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,a),l=by(i.id,o.type,o.tipMessage)}if(c){let a="";if(o.type==="runtime"&&i.runtimecss!==void 0){const f=new RegExp(i.id+"-runtime-.*?$");a=i.runtime.replace(f,i.runtimecss)}else if(o.type==="designer"&&i.designercss!==void 0){const f=new RegExp(i.id+"-designer-.*?$");a=i.designer.replace(f,i.designercss)}if(a!==""){const f=document.createElement("link");f.href=a,f.rel="stylesheet",document.head.appendChild(f)}}QN(o.type,l,r,c,i)}))),t==null||t.map(i=>{const[c,l]=i.split(":");if(r.has(c)===!1){const f=by(c,o.type,o.tipMessage);QN(o.type,f,r,!1,{fieldType:"",id:c,name:"",runtime:"",designer:"",type:"",version:l})}})),r})}function QN(t,e,n,o,r){t==="runtime"?(n.has(e.Runtime.controlType)&&It(`repeat register ${e.Runtime.controlType}`),n.set(e.Runtime.controlType,{props:r,version:r.version,isLoaded:o,control:e})):(n.has(e.Designer.controlType)&&It(`repeat register ${e.Designer.controlType}`),n.set(e.Designer.controlType,{props:r,version:r.version,isLoaded:o,control:e}))}function F$e(t,e,n,o){const r=e.get(t.type);if(r&&r.control.upgrade){let i="";n==null||n.map(c=>{const[l,a]=c.split(":");r.props.id===l&&(i=a!=null?a:"")}),t=r.control.upgrade(t,r.version,i,o)}return t}function k$e(t,e){return Fr(this,null,function*(){let n=e.version;e.version==="random"&&(n=new Date().valueOf().toString());let o=new Map;const r=yield KO(`${t}/component.json?v=${n}`);let i=[];if(r!==void 0){i=JSON.parse(r);const c=yield hy(`${t}/${e.type}.js?v=${n}`,e.globalModules);i.map(l=>{let a=c.find(f=>e.type==="runtime"?f.Runtime.controlType===l.id:f.Designer.controlType===l.id);a===void 0&&(a=by(l.id,e.type,_.getMessage("loadCtrlError"))),o.set(l.id,{props:l,version:l.version,isLoaded:!0,control:a})})}return o})}u.ActionBar=uA,u.Address=lB,u.AddressValue=Um,u.AdvancedContainer=GM,u.Amount=YR,u.AmountDataBind=Ym,u.AmountValue=Hm,u.ApprovalStatusColumn=mN,u.ArrayColumn=T2,u.Attachment=RR,u.AutoNumber=SB,u.AutoNumberColumn=L2,u.AutoWidth=Vr,u.BaseControlProperty=M,u.BaseControlPropertyRules=ee,u.BaseControlPropertyRuntimeRules=L,u.BaseStyle=Jm,u.BatchDeleteButton=BE,u.BatchPrintListButton=aE,u.BatchPrintRecordListButton=vE,u.BatchSubmissionListButton=sP,u.Button=$$,u.Calc=kB,u.CalcDataBind=Wm,u.CalcScriptEchoItem=Q7,u.CalcValue=Km,u.CardGroup=hI,u.Checkbox=qE,u.Col=ka,u.ColumnControlProperty=K,u.ColumnControlPropertyRules=Ve,u.ColumnOptionAndDataSourcePropertyRules=Es,u.CreateFormListButton=rP,u.CustomAttributeItem=Hy,u.CustomColumn=_N,u.CustomPermissionItem=Q8,u.DEFAULT_LOCALE=om,u.DESIGNER_SLOT=$y,u.Dashboard=TT,u.DataBind=Ae,u.DataSourceBind=Q,u.DataSourceDataSetValue=Cm,u.DataSourceOrderItem=Gy,u.DataSourceParamItem=K8,u.DataStorageDoc=Mm,u.DataView=$0,u.DatePicker=bS,u.DateRange=BS,u.DecimalColumn=n2,u.Department=gB,u.Department2=m1,u.DepartmentColumn=I2,u.DepartmentEntity=gy,u.DesignerColumnControl=te,u.DesignerControl=k,u.DesignerFormControl=A,u.DesignerLayoutControl=Y,u.DesignerListControl=ai,u.DesignerSearchControl=Uw,u.DesignerWrapControl=e$,u.DisplayBoListItem=Hr,u.Divider=V$,u.ElectronicSignature=i1,u.ElectronicSignatureConfig=P$,u.Employee=mR,u.Employee2=W3,u.EmployeeColumn=dN,u.EventLogic=wm,u.Explain=Fi,u.ExportConfig=R$,u.ExportListButton=EP,u.ExportRecordListButton=AP,u.ExportTemplate=Ao,u.FieldBindItem=Fm,u.FieldFilterCondition=Po,u.FieldFilterConditions=Yr,u.FileColumn=z2,u.FillBackBind=Uy,u.FillPayloadBind=xy,u.FlexStyleConfig=M$,u.FormBind=Nt,u.FormSelectBind=Am,u.FormSelectButton=KP,u.Grid=Y1,u.GridLayoutContainer=YI,u.GridLayoutWrap=kN,u.GridRow=Mb,u.GridTable=NA,u.GridTableColumn=DI,u.Image=kR,u.ImageColumn=q2,u.ImageOptionSetting=Gm,u.ImportConfig=S$,u.ImportListBind=E$,u.ImportRecordListButton=CP,u.Input=LE,u.InvoiceCheckButton=eE,u.JSONCopy=Be,u.JoinRelation=jm,u.Language=X8,u.LayoutControlProperty=C,u.LeftVariable=Lm,u.LimitDate=Ni,u.Link=h$,u.LinkOperationOption=Ue,u.ListBind=Gr,u.ListControlProperty=Mo,u.ListSelectButton=iT,u.ListView=g0,u.ListViewSelect=DT,u.LocationColumn=nN,u.MetaAutoWidth=zy,u.MetaRowHeight=Vy,u.MetaWidth=zr,u.MultistageFillingItem=ve,u.Number=fS,u.ObjectDataBind=Ur,u.OperationButton=jo,u.OperationColumn=SA,u.OperationItem=et,u.OptObject=Qm,u.OptionAndDataSourcePropertyRules=Ft,u.OptionDisplayConfigItem=W8,u.OptionSetting=Wy,u.OrderColumn=OA,u.OrganizationDataSourceBind=Vm,u.OrganizationSelection=B1,u.Page=kM,u.Pagination=pT,u.PeopleColumn=K2,u.Position=eA,u.PositioningContainer=WM,u.PrintTemplate=I$,u.Property=x,u.PropertyRules=J,u.PropertyRuntimeRules=vt,u.Radio=nS,u.RangeDataBind=qm,u.RangeDateValue=xm,u.RegisterControls=$o,u.RegularRules=xr,u.RichText=qS,u.RightVariable=an,u.Row=oI,u.RowHeight=Cy,u.RowStyle=tw,u.RowStyleRule=Zm,u.RowStyleSettings=ew,u.RulesMessage=_,u.RuntimeColumnControl=ne,u.RuntimeControl=U,u.RuntimeFormControl=N,u.RuntimeLayoutControl=W,u.RuntimeListControl=ms,u.RuntimeSearchControl=Xw,u.RuntimeWrapControl=o$,u.SUBTABLE_DEFAULT_MAX_HEIGHT=B$,u.Score=JR,u.SearchControlProperty=di,u.SearchDateRange=o3,u.SearchInput=A3,u.SearchNumberRange=xB,u.Select=nR,u.SelectMultiple=fR,u.SelectRelation=w3,u.SelectedContentConfig=qr,u.SimpleSearch=BN,u.SubListItem=km,u.SubListPageConfig=Dm,u.SubTable=yA,u.SubTableColumn=Vb,u.SubTableRow=II,u.SubmissionRecordListButton=gP,u.SuperDataSourceBind=To,u.Tab=rM,u.TabPane=ZI,u.Text=_$,u.TextColumn=WA,u.TextOcrButton=qT,u.Textarea=LS,u.TimescopeColumn=f2,u.TimestampColumn=b2,u.Title=K$,u.Toolbox=sM,u.Tree=V3,u.TreeDataSourceBind=qy,u.UndersignedPerson=Xs,u.UserEntity=Oy,u.VarcharColumn=VA,u.VersionBuilder=E$e,u.ViewOperationItem=Xm,u.VueFormItem=_3,u.VuePage=L1,u.WPS=s1,u.WPSSetting=T$,u.Watcher=Om,u.WpsOperationItem=Js,u.WrapControlProperty=Oi,u.baseControls=GX,u.camelizeKeys=dm,u.columnControls=ume,u.controlHooksEmitter=aw,u.createValidator=lw,u.debounce=P8,u.decamelizeKeys=st,u.defineArrayParent=Pm,u.defineControlArrayToProperty=Ce,u.defineParent=Ly,u.error=yt,u.formControls=nle,u.genNonDuplicateId=Re,u.getHackerControl=by,u.getNotRepeatItems=vm,u.initExpression=No,u.initImageOptions=J8,u.initLinkOperationRules=nt,u.initOptionAndDataSourceRules=Jr,u.initOptions=We,u.initSuperDataSourceRules=Io,u.isArray=Mt,u.isBuiltInControls=E8,u.isDataBind=mw,u.isFunction=b8,u.isJSONArray=w8,u.isJSONObject=$8,u.isLanguageObject=ye,u.isNumber=Ny,u.isNumberAndEmptyStringArray=m8,u.isNumberArray=O8,u.isObject=h8,u.isPlainObject=Ay,u.isString=pm,u.isStringArray=g8,u.layoutControls=$ve,u.listControls=uhe,u.loadRemoteControl=hy,u.loadRemoteControls=A$e,u.loadScriptFromFetch=JN,u.loadScriptFromTag=M$e,u.log=wo,u.logerror=am,u.loop=j,u.loopFormSchema=Lr,u.nativeFetch=KO,u.noop=Z7,u.referenceError=By,u.registerByteluckControls=k$e,u.registerCustomControls=N$e,u.searchControls=$me,u.setPropertyDontEnum=jr,u.toNumberOrEmpty=At,u.updateValueFromKeys=_m,u.upgradeCustomControlSchema=F$e,u.wait=T8,u.warn=It,u.wrapControls=Xme,Object.defineProperty(u,"__esModule",{value:!0})});