@byteluck-fe/model-driven-core-all 2.21.0-beta.0 → 2.21.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/esm/getHackerControl.js +4 -4
- package/dist/esm/index.js +9 -9
- package/dist/esm/loadRemoteScripts.js +7 -7
- package/dist/esm/registerByteluckControls.js +5 -5
- package/dist/esm/registerCustomControls.js +28 -22
- package/dist/esm/upgradeCustomControlSchema.js +3 -3
- package/dist/index.umd.js +1 -1
- package/package.json +6 -6
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var Gi=(c,On,Kt)=>new Promise((xy,Yi)=>{var F=Nt=>{try{mo(Kt.next(Nt))}catch(Oo){Yi(Oo)}},Vy=Nt=>{try{mo(Kt.throw(Nt))}catch(Oo){Yi(Oo)}},mo=Nt=>Nt.done?xy(Nt.value):Promise.resolve(Nt.value).then(F,Vy);mo((Kt=Kt.apply(c,On)).next())});(function(c,On){typeof exports=="object"&&typeof module!="undefined"?On(exports):typeof define=="function"&&define.amd?define(["exports"],On):(c=typeof globalThis!="undefined"?globalThis:c||self,On(c.modelDrivenCoreAll={}))})(this,function(c){"use strict";function On(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var xy=function e(){On(this,e),Kt(this,"department_en_name",void 0),Kt(this,"department_id",void 0),Kt(this,"department_name",void 0)};function Yi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Vy=function e(){Yi(this,e),F(this,"avatar_big",void 0),F(this,"avatar_small",void 0),F(this,"avatar_url",void 0),F(this,"belong_dept_en_name",void 0),F(this,"belong_dept_id_list",void 0),F(this,"belong_dept_ids",void 0),F(this,"belong_dept_name",void 0),F(this,"cookie_language_enum",void 0),F(this,"department_id",void 0),F(this,"department_name",void 0),F(this,"email",void 0),F(this,"employee_card",void 0),F(this,"employee_en_name",void 0),F(this,"employee_id",void 0),F(this,"employee_name",void 0),F(this,"external_user",void 0),F(this,"gender",void 0),F(this,"is_show_chat_group",void 0),F(this,"manage_dept_en_name",void 0),F(this,"manage_dept_ids",void 0),F(this,"manage_dept_name",void 0),F(this,"msg_relation_type",void 0),F(this,"sequence",void 0),F(this,"telephone",void 0),F(this,"tenant_id",void 0)},mo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Nt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Oo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",pk="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",vk="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",hk="{caption}\u5FC5\u586B",bk="\u8BF7\u8F93\u5165\u6807\u9898",gk="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",mk="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Ok="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",wk="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Pk="\u8BF7\u7ED1\u5B9A\u8868\u5355",$k="\u8BF7\u7ED1\u5B9A\u5217\u8868",Rk="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Tk="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Sk="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Ek="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Ik="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Bk="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Nk="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Ak="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Mk="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",kk="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Dk="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Lk="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",jk="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Fk="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ck="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",xk="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Vk="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",zk="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Gk="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Yk="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Hk="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",qk="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Uk="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Wk="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Kk="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Xk="\u8BF7\u9009\u62E9\u7701",Jk="\u8BF7\u9009\u62E9\u5E02",Qk="\u8BF7\u9009\u62E9\u533A",Zk="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",e2="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",t2="\u8BF7\u8F93\u5165\u5217\u5BBD",n2="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",r2="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",o2="\u8BF7\u9009\u62E9\u63A7\u4EF6",i2="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",u2="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",c2="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",l2="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",f2="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",a2="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",s2="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",_2="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",y2="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",d2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",p2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",v2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",h2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",b2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",g2="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",m2="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",O2="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",w2="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",P2="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",$2="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",R2="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",T2="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",S2="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",E2="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",I2="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",B2="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",N2="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",A2={isNotNumber:mo,isNotString:Nt,isNotObject:Oo,isNotArray:pk,isNotBoolean:vk,runtimeRequired:hk,pleaseEnterCaption:bk,pleaseEnterCaptionTip:gk,pleaseEnterRowCaption:mk,pleaseEnterPlaceholder:Ok,pleaseEnterFieldCode:wk,pleaseEnterForm:Pk,pleaseEnterList:$k,pleaseEnterProcess:Rk,pleaseEnterLabel:Tk,pleaseEnterValue:Sk,bizKeyNotBindFiled:Ek,pleaseSelectOneField:Ik,pleaseEnterNumberRange:Bk,pleaseEnterAValueGreaterThanMin:Nk,pleaseEnterAValueLessThanMax:Ak,numberRangeSetError:Mk,stringRangeError:kk,attachmentMaxSize:Dk,pleaseEnterTotalScoreSetting:Lk,theTotalScoreMustNotBeLessThan1:jk,scoreDefaultValueRange:Fk,attachmentLimitError:Ck,PleaseReselectTheOptionalQuantity:xk,TheMaximumLengthIsGreaterThanTheMinimumLength:Vk,TheMinimumLengthIsGreaterThanTheMaximumLength:zk,PleaseSelectTheCorrectOptionSettings:Gk,optionIdIsRepeat:Yk,optionIsRequired:Hk,pleaseEnterDataCode:qk,pleaseEnterValueFieldCode:Uk,pleaseEnterSvcCode:Wk,pleaseBindAtLeastOneDisplayValue:Kk,pleaseSelectProvince:Xk,pleaseSelectCity:Jk,pleaseSelectDistrict:Qk,limitRowsCannotBeLessThan0:Zk,TheNumberOfRowsCannotBeLessThanMinRows:e2,pleaseEnterColumnWidth:t2,pleaseSetTheLogicalRelationshipOfAllRuleConditions:n2,pleaseCompleteAllRulesAndConditions:r2,pleaseSelectControl:o2,pleaseSelectAtLeastOneColumn:i2,pleaseSelectFillBackMode:u2,pleaseSelectDashboard:c2,rootNodeIsRequired:l2,theViewNameCannotBeEmpty:f2,pleaseSelectOcrType:a2,pleaseSelectAtLeastOneFieldToFillIn:s2,pleaseChooseAtLeastOne:_2,pleaseEnterButtonContent:y2,pleaseEnterDataCodeInDataSetting:d2,pleaseEnterValueFieldCodeInDataSetting:p2,pleaseEnterSvcCodeInDataSetting:v2,pleaseBindAtLeastOneDisplayValueInDataSetting:h2,rootNodeIsRequiredInDataSetting:b2,pleaseEnterMaxHeight:g2,pleaseEnter:m2,pleaseEnterWatermark:O2,pleaseEnterFileName:w2,pleaseUploadAtLeastOnePrintTemplate:P2,pleaseAssignBusiness:$2,pleaseAssignExternal:R2,pleaseEnterAliasCode:T2,pleaseSelectDataCode:S2,pleaseSelectSvcCode:E2,pleaseSelectJoinFieldCode:I2,pleaseSelectMainFieldCode:B2,pleaseSelectSortFieldCode:N2},M2="Please enter a number",k2="Please enter a string",D2="Please enter an object",L2="Please enter an array",j2="Please enter a boolean",F2="{caption} Required",C2="Please enter the title",x2="Please enter the bubble prompt",V2="Please enter the row title",z2="Please enter the prompt text",G2="Please bind data items",Y2="Please bind the form",H2="Please bind the list",q2="Please bind the process",U2="Please enter the displayed value",W2="Please enter the stored value",K2="The document number is not bound to the data item",X2="Please select at least one display field",J2="Please enter a value greater than or equal to {min} and less than or equal to {max}",Q2="Please enter a value greater than or equal to {min}",Z2="Please enter a value less than or equal to {max}",eD="The value range is set incorrectly",tD="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",nD="The attachment size must be between 0MB and 1000MB",rD="Please fill in the total score setting",oD="The total score cannot be less than 1",iD="The default value must be between {min} and {max}",uD="The number of attachments uploaded must be between {min} and {max}",cD="Please re-select the optional quantity",lD="The maximum length of the control must be greater than the minimum length",fD="The minimum length of the control must be less than the maximum length",aD="Please select the correct option setting",sD="Option ID cannot be repeated",_D="Please enter at least one option",yD="Please bind the data source",dD="Please bind the stored value",pD="Please bind the service",vD="At least one display value must be bound",hD="Please select a province",bD="Please select a city",gD="Please select a district",mD="The minimum number of lines to fill in cannot be less than 0",OD="The number of rows cannot be less than {min} rows",wD="Please enter the column width",PD="Please set the logical relationship of all rule conditions",$D="Please complete all rules and conditions",RD="please select control",TD="Please select the dashboard",SD="View name cannot be empty",ED="Please select recognition type",ID="Please select at least one field to fill in",BD="Please select at least one",ND="Please enter the button title",AD="Please bind the business model in the data settings",MD="Please bind storage values in data settings",kD="Please bind the service in the data settings",DD="Please bind at least one display value in the data settings",LD="Please select the root node in the data settings",jD="Please enter the maximum height",FD="The input content cannot be empty",CD="Watermark cannot be empty",xD="File name cannot be empty",VD="Please upload at least one printing template!\uFF01",zD="Please select a specific business department",GD="Please select a specified external organization",YD="Please enter a sub table alias",HD="Please select the associated table to set the business model",qD="Please select the association table to set the binding service",UD="Select associated sub table fields",WD="Please select the associated main table field",KD="Please select the sort field",XD={isNotNumber:M2,isNotString:k2,isNotObject:D2,isNotArray:L2,isNotBoolean:j2,runtimeRequired:F2,pleaseEnterCaption:C2,pleaseEnterCaptionTip:x2,pleaseEnterRowCaption:V2,pleaseEnterPlaceholder:z2,pleaseEnterFieldCode:G2,pleaseEnterForm:Y2,pleaseEnterList:H2,pleaseEnterProcess:q2,pleaseEnterLabel:U2,pleaseEnterValue:W2,bizKeyNotBindFiled:K2,pleaseSelectOneField:X2,pleaseEnterNumberRange:J2,pleaseEnterAValueGreaterThanMin:Q2,pleaseEnterAValueLessThanMax:Z2,numberRangeSetError:eD,stringRangeError:tD,attachmentMaxSize:nD,pleaseEnterTotalScoreSetting:rD,theTotalScoreMustNotBeLessThan1:oD,scoreDefaultValueRange:iD,attachmentLimitError:uD,PleaseReselectTheOptionalQuantity:cD,TheMaximumLengthIsGreaterThanTheMinimumLength:lD,TheMinimumLengthIsGreaterThanTheMaximumLength:fD,PleaseSelectTheCorrectOptionSettings:aD,optionIdIsRepeat:sD,optionIsRequired:_D,pleaseEnterDataCode:yD,pleaseEnterValueFieldCode:dD,pleaseEnterSvcCode:pD,pleaseBindAtLeastOneDisplayValue:vD,pleaseSelectProvince:hD,pleaseSelectCity:bD,pleaseSelectDistrict:gD,limitRowsCannotBeLessThan0:mD,TheNumberOfRowsCannotBeLessThanMinRows:OD,pleaseEnterColumnWidth:wD,pleaseSetTheLogicalRelationshipOfAllRuleConditions:PD,pleaseCompleteAllRulesAndConditions:$D,pleaseSelectControl:RD,pleaseSelectDashboard:TD,theViewNameCannotBeEmpty:SD,pleaseSelectOcrType:ED,pleaseSelectAtLeastOneFieldToFillIn:ID,pleaseChooseAtLeastOne:BD,pleaseEnterButtonContent:ND,pleaseEnterDataCodeInDataSetting:AD,pleaseEnterValueFieldCodeInDataSetting:MD,pleaseEnterSvcCodeInDataSetting:kD,pleaseBindAtLeastOneDisplayValueInDataSetting:DD,rootNodeIsRequiredInDataSetting:LD,pleaseEnterMaxHeight:jD,pleaseEnter:FD,pleaseEnterWatermark:CD,pleaseEnterFileName:xD,pleaseUploadAtLeastOnePrintTemplate:VD,pleaseAssignBusiness:zD,pleaseAssignExternal:GD,pleaseEnterAliasCode:YD,pleaseSelectDataCode:HD,pleaseSelectSvcCode:qD,pleaseSelectJoinFieldCode:UD,pleaseSelectMainFieldCode:WD,pleaseSelectSortFieldCode:KD},JD="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",QD="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ZD="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",eL="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",tL="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nL="{caption}\u5FC5\u9808",rL="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oL="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",iL="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",uL="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cL="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lL="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fL="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",aL="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sL="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_L="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yL="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",dL="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",pL="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vL="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",hL="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bL="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",gL="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mL="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",OL="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",wL="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",PL="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",$L="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",RL="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",TL="\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",SL="\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",EL="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",IL="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",BL="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",NL="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",AL="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ML="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kL="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",DL="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",LL="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",jL="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",FL="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",CL="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",xL="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VL="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",zL="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",GL="please select control",YL="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",HL="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",qL="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",UL="\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",WL="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",KL="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",XL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",JL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",QL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",ZL="\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",ej="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",tj="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nj="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",rj="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",oj="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ij="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",uj="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",cj="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",lj="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",fj="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",aj="\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",sj="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",_j="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",yj="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",dj={isNotNumber:JD,isNotString:QD,isNotObject:ZD,isNotArray:eL,isNotBoolean:tL,runtimeRequired:nL,pleaseEnterCaption:rL,pleaseEnterCaptionTip:oL,pleaseEnterRowCaption:iL,pleaseEnterPlaceholder:uL,pleaseEnterFieldCode:cL,pleaseEnterForm:lL,pleaseEnterList:fL,pleaseEnterProcess:aL,pleaseEnterLabel:sL,pleaseEnterValue:_L,bizKeyNotBindFiled:yL,pleaseSelectOneField:dL,pleaseEnterNumberRange:pL,pleaseEnterAValueGreaterThanMin:vL,pleaseEnterAValueLessThanMax:hL,numberRangeSetError:bL,stringRangeError:gL,attachmentMaxSize:mL,pleaseEnterTotalScoreSetting:OL,theTotalScoreMustNotBeLessThan1:wL,scoreDefaultValueRange:PL,attachmentLimitError:$L,PleaseReselectTheOptionalQuantity:RL,TheMaximumLengthIsGreaterThanTheMinimumLength:TL,TheMinimumLengthIsGreaterThanTheMaximumLength:SL,PleaseSelectTheCorrectOptionSettings:EL,optionIdIsRepeat:IL,optionIsRequired:BL,pleaseEnterDataCode:NL,pleaseEnterValueFieldCode:AL,pleaseEnterSvcCode:ML,pleaseBindAtLeastOneDisplayValue:kL,pleaseSelectProvince:DL,pleaseSelectCity:LL,pleaseSelectDistrict:jL,limitRowsCannotBeLessThan0:FL,TheNumberOfRowsCannotBeLessThanMinRows:CL,pleaseEnterColumnWidth:xL,pleaseSetTheLogicalRelationshipOfAllRuleConditions:VL,pleaseCompleteAllRulesAndConditions:zL,pleaseSelectControl:GL,pleaseSelectDashboard:YL,theViewNameCannotBeEmpty:HL,pleaseSelectOcrType:qL,pleaseSelectAtLeastOneFieldToFillIn:UL,pleaseChooseAtLeastOne:WL,pleaseEnterButtonContent:KL,pleaseEnterDataCodeInDataSetting:XL,pleaseEnterValueFieldCodeInDataSetting:JL,pleaseEnterSvcCodeInDataSetting:QL,pleaseBindAtLeastOneDisplayValueInDataSetting:ZL,rootNodeIsRequiredInDataSetting:ej,pleaseEnterMaxHeight:tj,pleaseEnter:nj,pleaseEnterWatermark:rj,pleaseEnterFileName:oj,pleaseUploadAtLeastOnePrintTemplate:ij,pleaseAssignBusiness:uj,pleaseAssignExternal:cj,pleaseEnterAliasCode:lj,pleaseSelectDataCode:fj,pleaseSelectSvcCode:aj,pleaseSelectJoinFieldCode:sj,pleaseSelectMainFieldCode:_j,pleaseSelectSortFieldCode:yj},pj={zhCN:A2,enUS:XD,jaJP:dj};function vj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.CALC_TOKEN_TYPE=void 0,function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"}(c.CALC_TOKEN_TYPE||(c.CALC_TOKEN_TYPE={})),c.CALC_AGGREGATE_TYPE=void 0,function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"}(c.CALC_AGGREGATE_TYPE||(c.CALC_AGGREGATE_TYPE={}));var hj=function e(t){vj(this,e),ur(this,"name",void 0),ur(this,"id",void 0),ur(this,"type",void 0),ur(this,"subTableId",void 0),ur(this,"subTableName",void 0),ur(this,"aggregateType",void 0);var r;this.name=(r=t==null?void 0:t.name)!==null&&r!==void 0?r:"";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:"";var o;this.type=(o=t==null?void 0:t.type)!==null&&o!==void 0?o:"Number";var i;this.subTableId=(i=t==null?void 0:t.subTableId)!==null&&i!==void 0?i:void 0;var u;this.subTableName=(u=t==null?void 0:t.subTableId)!==null&&u!==void 0?u:void 0;var l;this.aggregateType=(l=t==null?void 0:t.aggregateType)!==null&&l!==void 0?l:void 0},zw="zh-CN",bj=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.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 zy={DEFAULT:"default"},Gw="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",gj=Gw+"0123456789";function Fe(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Gw:gj,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function Gy(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 mj(e){if(Array.isArray(e))return Gy(e)}function Oj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hi(e,t,r){return Uw()?Hi=Reflect.construct:Hi=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},Hi.apply(null,arguments)}function wo(e){return wo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wo(e)}function Hw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Po(e,t)}function wj(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Pj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $j(){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 Rj(e,t){return t&&(Tj(t)==="object"||typeof t=="function")?t:Oj(e)}function Po(e,t){return Po=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Po(e,t)}function qw(e){return mj(e)||Pj(e)||Sj(e)||$j()}function Tj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sj(e,t){if(!!e){if(typeof e=="string")return Gy(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 Gy(e,t)}}function Yy(e){var t=typeof Map=="function"?new Map:void 0;return Yy=function(n){if(n===null||!wj(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return Hi(n,arguments,wo(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Po(o,n)},Yy(e)}function Uw(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ww(e){var t=Uw();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 Rj(this,o)}}var Hy=console;function wn(){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=Hy).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(qw(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=Hy).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(qw(o)))}function Ej(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var qy=function(e){Hw(r,e);var t=Ww(r);function r(n){Yw(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?Ej(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Yy(Error)),Ij=function(e){Hw(r,e);var t=Ww(r);function r(n){Yw(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(qy);function Xt(e){throw new qy(e)}function Uy(e){throw new Ij(e)}function Kw(e){Hy.error(new qy(e))}function qi(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":qi(r==null?void 0:r.children,t);break;case"wrap":qi(r==null?void 0:r.children,t);break;case"search":qi(r==null?void 0:r.children,t);break;case"form":t(r)}})}var Bj=Object.prototype.toString;function Xw(e,t){return Bj.call(e)==="[object "+t+"]"}function Nj(e){return Xw(e,"String")}function Aj(e){return Xw(e,"Promise")}var Mj=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();Aj(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&&!Nj(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 kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jw(e,t){for(var r=0;r<t.length;r++){var 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&&Jw(e.prototype,t),r&&Jw(e,r),e}function Lj(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(){function e(){kj(this,e)}return Dj(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(r,"",n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:zw;return new Mj({locale:r,messages:pj})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();Lj(h,"$i18n",h.resetI18n());function Qw(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)){wn("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 jj=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Wy={exports:{}};(function(e){(function(t){var r=function(y,O,P){if(!a(O)||_(O)||p(O)||b(O)||f(O))return O;var w,$=0,R=0;if(s(O))for(w=[],R=O.length;$<R;$++)w.push(r(y,O[$],P));else{w={};for(var S in O)Object.prototype.hasOwnProperty.call(O,S)&&(w[y(S,P)]=r(y,O[S],P))}return w},n=function(y,O){O=O||{};var P=O.separator||"_",w=O.split||/(?=[A-Z])/;return y.split(w).join(P)},o=function(y){return g(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(O,P){return P?P.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},i=function(y){var O=o(y);return O.substr(0,1).toUpperCase()+O.substr(1)},u=function(y,O){return n(y,O).toLowerCase()},l=Object.prototype.toString,f=function(y){return typeof y=="function"},a=function(y){return y===Object(y)},s=function(y){return l.call(y)=="[object Array]"},_=function(y){return l.call(y)=="[object Date]"},p=function(y){return l.call(y)=="[object RegExp]"},b=function(y){return l.call(y)=="[object Boolean]"},g=function(y){return y=y-0,y===y},v=function(y,O){var P=O&&"process"in O?O.process:O;return typeof P!="function"?y:function(w,$){return P(w,y,$)}},m={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(y,O){return r(v(o,O),y)},decamelizeKeys:function(y,O){return r(v(u,O),y,O)},pascalizeKeys:function(y,O){return r(v(i,O),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=m:t.humps=m})(jj)})(Wy);var Zw={};Object.defineProperty(Zw,"__esModule",{value:!0});function Ky(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Ky(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Ky(n)}return t}}var Fj=Zw.default=Ky;function Xe(e){if(e!==void 0)return typeof e=="object"?Fj(e):e}function ge(e){return Xy(e)&&"zh"in e}function Xy(e){return Object.prototype.toString.call(e)==="[object Object]"}function Cj(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function Pn(e){return Array.isArray(e)}function eP(e){return typeof e=="string"}function Jy(e){return typeof e=="number"}function xj(e){return typeof e=="function"}function Vj(e){return Pn(e)&&e.every(function(t){return eP(t)})}function zj(e){return Pn(e)&&e.every(function(t){return Jy(t)})}function Gj(e){return Pn(e)&&e.every(function(t){return Jy(t)||t===""})}function Yj(e){return/^\[.*?]$/.test(e)}function Hj(e){return/^{.*?}$/.test(e)}function $n(e){return isNaN(parseFloat(e))?"":Number(e)}function tP(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function qj(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 Uj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function G(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=G(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=G(n.footers,t)),t(o)})),r}function nP(e){return Wy.exports.camelizeKeys(e)}function Jt(e){return Wy.exports.decamelizeKeys(e)}function Wj(e){return Object.values(c.CONTROL_TYPE).includes(e)}function Qy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Kj(e){if(Array.isArray(e))return Qy(e)}function rP(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 Xj(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){rP(i,n,o,u,l,"next",f)}function l(f){rP(i,n,o,u,l,"throw",f)}u(void 0)})}}function Jj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qj(e,t,r){return t&&oP(e.prototype,t),r&&oP(e,r),e}function iP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function eF(){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 Zy(e){return Kj(e)||Zj(e)||tF(e)||eF()}function tF(e,t){if(!!e){if(typeof e=="string")return Qy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qy(e,t)}}function nF(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 uP=function(){function e(){Jj(this,e),iP(this,"_events",new Map),iP(this,"debug",!1)}return Qj(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 Xj(function(){var l,f,a,s,_,p,b,g,v,m,y,O;return nF(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(Zy(o))),[4,v.apply(null,Zy(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(Zy(o),[m])),f.push(m),m===!1?[3,7]:[3,6];case 5:return y=P.sent(),Kw(String(y)+":"+String(y.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 rF(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 oF(e,t,r){return t&&cP(e.prototype,t),r&&cP(e,r),e}function iF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var uF=[{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"}],lP=function(){function e(){rF(this,e)}return oF(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}();iF(lP,"events",uF);function ed(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 cF(e){if(Array.isArray(e))return ed(e)}function lF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fF(){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 fP(e){return cF(e)||lF(e)||aF(e)||fF()}function aF(e,t){if(!!e){if(typeof e=="string")return ed(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 ed(e,t)}}function Ui(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function td(e,t,r){r==="Designer"&&(e.parent=t,Ui(e,"parent"))}function aP(e,t,r){e.forEach(function(n){td(n,t,r)})}var sP=Symbol("targetKey");function _P(e){var t;return(t=e[sP])!==null&&t!==void 0?t:e}function yP(e,t,r){return aP(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===sP?o:(a=Reflect).get.apply(a,[o,i].concat(fP(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(Pn(e)&&i==="length"&&u===e.length)return!0;var _=(s=Reflect).set.apply(s,[o,i,u].concat(fP(f)));return Xy(u)&&td(u,t,r),_}})}function lt(e,t,r,n,o){var i=n!=null?n:e,u=yP(_P(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(f){u=yP(_P(f),i,o)},enumerable:!0})}function sF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _F(e,t,r){return t&&dP(e.prototype,t),r&&dP(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}var pP=[],Ro=function(){function e(t){sF(this,e),Qt(this,"registeredControlTypes",new Set),Qt(this,"controlConfigMap",new Map),Qt(this,"_controls",[]),Qt(this,"_type",void 0),this._type=t,this._initControls(t)}return _F(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__||Xt("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(wn("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===c.CONTROL_BASE_TYPE.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(s){return o.createControl(s,n)});if(r.children&&(r.children=r.children.map(function(s){return o.createControl(s,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(s){return o.createControl(s,n)})),i.footers&&(i.footers=i.footers.map(function(s){var _;return s&&(_=o.createControl(s,n)),_}))}var u=this.getControlFormType(r.type);if(u){var l=r;if(typeof n=="function"){var f=n(l);f&&(l=f)}var a;return u.mode==="Runtime"?(a=l,a.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new u(l),a}else Xt("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}}),Ui(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}}}}),Ui(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__)&&Xt("".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&&(wn("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}();Qt(Ro,"staticControlsRuntimeRules",new Map),Qt(Ro,"staticControls",pP),Qt(Ro,"staticRegisteredTypes",new Set(pP.map(function(e){return e.Designer.controlType}))),Qt(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 T(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 Wi(e){return Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wi(e)}function Je(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nd(e,t)}function yF(e,t){return t&&(dF(t)==="object"||typeof t=="function")?t:C(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nd(e,t)}function dF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qe(e){var t=pF();return function(){var n=Wi(e),o;if(t){var i=Wi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yF(this,o)}}var Ze=function e(t){T(this,e),d(this,"dataCode",void 0),d(this,"fieldCode",void 0),d(this,"fieldType",void 0),d(this,"aliasCode",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},rd=function e(t){T(this,e),d(this,"minWidth",void 0),d(this,"maxWidth",void 0),d(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},od=function e(t){T(this,e),d(this,"rowHeightType",void 0),d(this,"minRows",void 0),d(this,"maxRows",void 0),d(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},id=function e(t){T(this,e),d(this,"pc",void 0),d(this,"mobile",void 0),this.pc=new od(t==null?void 0:t.pc),this.mobile=new od(t==null?void 0:t.mobile)},Ki=function(e){Je(r,e);var t=Qe(r);function r(n){T(this,r);var o;o=t.call(this,n),d(C(o),"width",void 0),d(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}(rd),ud=function e(t){T(this,e),d(this,"pc",void 0),d(this,"mobile",void 0),this.pc=new Ki(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Ki(t==null?void 0:t.mobile):new Ki({width:130,minWidth:180})},vP=function e(t){T(this,e),d(this,"type",void 0),d(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},Rn=function e(t){T(this,e),d(this,"dataCode",void 0),d(this,"formKey",void 0),d(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},hP=function(e){Je(r,e);var t=Qe(r);function r(n){T(this,r);var o;o=t.call(this,n),d(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}(Rn),bP=function e(t){T(this,e),d(this,"fieldCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:""},Xi=function e(t){T(this,e);var r;d(this,"appId",void 0),d(this,"formKey",void 0),d(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new bP(u)}))!==null&&i!==void 0?i:[]},gP=function e(t){T(this,e),d(this,"fieldName",void 0),d(this,"fieldCode",void 0),d(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:c.FieldTypes.VARCHAR},mP=function(e){Je(r,e);var t=Qe(r);function r(n){T(this,r);var o;o=t.call(this,n),d(C(o),"title",void 0),d(C(o),"svcCode",void 0),d(C(o),"isOpenFilter",void 0),d(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}(Rn),OP=function e(t){T(this,e);var r,n;d(this,"type","sublist-page"),d(this,"formBind",void 0),d(this,"displayFields",void 0),d(this,"sublists",void 0),this.formBind=new Rn(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new gP(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 mP(u)}))!==null&&i!==void 0?i:[]},wP=function e(t){T(this,e),d(this,"type",void 0),d(this,"value",void 0),d(this,"dataCode",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode},cr=function e(t){T(this,e),d(this,"type",void 0),d(this,"value",void 0),d(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},Ji=function e(t){var r=this;T(this,e),d(this,"id",void 0),d(this,"ruleId",void 0),d(this,"type","conditions"),d(this,"level",void 0),d(this,"value",void 0),d(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Fe();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){T(this,e),d(this,"id",void 0),d(this,"ruleId",void 0),d(this,"type","condition"),d(this,"symbol",void 0),d(this,"checked",void 0),d(this,"describe",void 0),d(this,"leftVariableBo",void 0),d(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Fe();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 wP(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new cr(t==null?void 0:t.rightVariableBo)},PP=function e(t){T(this,e),d(this,"aliasCode",void 0),d(this,"datasourceBind",void 0),d(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new oe(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},Re=function e(t){T(this,e),d(this,"controlId",void 0),d(this,"fieldCode",void 0),d(this,"fieldType",void 0),d(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},Qi=function e(t){T(this,e),d(this,"type",void 0),d(this,"value",void 0),d(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},cd=function e(t){T(this,e),d(this,"columnName",void 0),d(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1},$P=function e(t){T(this,e),d(this,"code",void 0),d(this,"value",void 0),d(this,"field_type",void 0);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY},vF=function e(t){T(this,e);var r,n;d(this,"id",void 0),d(this,"limit",void 0),d(this,"orders",void 0),d(this,"formKey",void 0),d(this,"dataSet",void 0);var o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var u;this.formKey=(u=t.formKey)!==null&&u!==void 0?u:"";var l;this.orders=(l=(r=t.orders)===null||r===void 0?void 0:r.map(function(a){return new cd(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 $P(a)}))!==null&&f!==void 0?f:[]};function ld(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 Ji(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 Ji(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 cd(l)}))!==null&&u!==void 0?u:[]}var oe=function e(t){var r=this;T(this,e),d(this,"dataCode",void 0),d(this,"valueFieldCode",void 0),d(this,"displayBoList",void 0),d(this,"keywordMapping",void 0),d(this,"svcCode",void 0),d(this,"appId",void 0),d(this,"filters",void 0),d(this,"viewFilters",void 0),d(this,"isOpenViewFilters",void 0),d(this,"orders",void 0),d(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(s){var _;(_=r.displayBoList)===null||_===void 0||_.push(new Qi(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:"",ld.call(this,t)},Zi=function e(t){T(this,e),d(this,"dataCode",void 0),d(this,"displayBoList",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},ht=function e(t){T(this,e),d(this,"code",void 0),d(this,"color",void 0),d(this,"command",void 0),d(this,"confirmMessage",void 0),d(this,"defaultState",void 0),d(this,"formKey",void 0),d(this,"formType",void 0),d(this,"icon",void 0),d(this,"needConfirm",void 0),d(this,"openType",void 0),d(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var 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},fd=function e(t){T(this,e);var r;d(this,"name",void 0),d(this,"key",void 0),d(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new Qi(u)}))!==null&&i!==void 0?i:[]},So=function(e){Je(r,e);var t=Qe(r);function r(n){T(this,r);var o,i;o=t.call(this,n),d(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 fd(l)}))!==null&&u!==void 0?u:[],o}return r}(oe),RP=function(e){Je(r,e);var t=Qe(r);function r(n){T(this,r);var o,i;o=t.call(this,n),d(C(o),"attributes",void 0),d(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 fd(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),ad=function(e){Je(r,e);var t=Qe(r);function r(n){T(this,r);var o;o=t.call(this,n),d(C(o),"rootNode",void 0),d(C(o),"filterCode",void 0),o.rootNode=new cr(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(So),TP=function e(t){T(this,e);var r;d(this,"dataCode",void 0),d(this,"appId",void 0),d(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new Re(u)}))!==null&&i!==void 0?i:[]},sd=function(e){Je(r,e);var t=Qe(r);function r(n){T(this,r);var o;return o=t.call(this,n),d(C(o),"filters",void 0),d(C(o),"viewFilters",void 0),d(C(o),"orders",void 0),ld.call(C(o),n),o}return r}(TP),_d=function(e){Je(r,e);var t=Qe(r);function r(n){T(this,r);var o;o=t.call(this,n),d(C(o),"mode",void 0),d(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}(TP),hF=function e(t){T(this,e),d(this,"zh",void 0),d(this,"en",void 0),d(this,"ja",void 0);var r;this.zh=(r=t==null?void 0:t.zh)!==null&&r!==void 0?r:"";var n;this.en=(n=t==null?void 0:t.en)!==null&&n!==void 0?n:"";var o;this.ja=(o=t==null?void 0:t.ja)!==null&&o!==void 0?o:""},yd=function e(t){T(this,e),d(this,"stencilName",void 0),d(this,"expression",void 0),d(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},dd=function e(t){T(this,e),d(this,"id",void 0),d(this,"label",void 0),d(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Fe(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},SP=function(e){Je(r,e);var t=Qe(r);function r(n){T(this,r);var o;o=t.call(this,n),d(C(o),"image",void 0),d(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}(dd);function bt(e){var t;return(t=e==null?void 0:e.map(function(r){return new dd(r)}))!==null&&t!==void 0?t:[]}function bF(e){var t;return(t=e==null?void 0:e.map(function(r){return new SP(r)}))!==null&&t!==void 0?t:[]}var eu=function e(){T(this,e)},EP=function(e){Je(r,e);var t=Qe(r);function r(n){T(this,r);var o;return o=t.call(this),d(C(o),"amount",void 0),d(C(o),"currency",void 0),o.amount=new Ze(n==null?void 0:n.amount),o.currency=new Ze(n==null?void 0:n.currency),o}return r}(eu),IP=function e(t){T(this,e),d(this,"amount",void 0),d(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:"CNY"},BP=function(e){Je(r,e);var t=Qe(r);function r(n){T(this,r);var o;return o=t.call(this),d(C(o),"min",void 0),d(C(o),"max",void 0),o.min=new Ze(n==null?void 0:n.min),o.max=new Ze(n==null?void 0:n.max),o}return r}(eu),NP=function e(t){T(this,e),d(this,"min",void 0),d(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},AP=function e(t){T(this,e),d(this,"city",void 0),d(this,"cityDisplay",void 0),d(this,"district",void 0),d(this,"districtDisplay",void 0),d(this,"province",void 0),d(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var l;this.provinceDisplay=(l=t==null?void 0:t.provinceDisplay)!==null&&l!==void 0?l:""},MP=function(e){Je(r,e);var t=Qe(r);function r(n){T(this,r);var o;return o=t.call(this),d(C(o),"result",void 0),d(C(o),"unit",void 0),o.result=new Ze(n==null?void 0:n.result),o.unit=new Ze(n==null?void 0:n.unit),o}return r}(eu),kP=function e(t){T(this,e),d(this,"result",void 0),d(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""};c.AMOUNT_TYPE=void 0,function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"}(c.AMOUNT_TYPE||(c.AMOUNT_TYPE={})),c.COMMON_SETTING_TYPE=void 0,function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",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 At=function e(t){T(this,e),d(this,"isShow",void 0),d(this,"priorityProcess",void 0),d(this,"formKey",void 0),d(this,"content",void 0),d(this,"openType",void 0),d(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var l;this.priorityProcess=(l=t==null?void 0:t.priorityProcess)!==null&&l!==void 0?l:!1},DP=function e(t){T(this,e);var r;d(this,"id",void 0),d(this,"title",void 0),d(this,"filters",void 0),d(this,"viewFilters",void 0),d(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Fe(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 bP(u)}))!==null&&i!==void 0?i:[],ld.call(this,t)},gF=function e(t){T(this,e),d(this,"key",void 0),d(this,"caption",void 0);var r;this.key=(r=t.key)!==null&&r!==void 0?r:Fe(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},LP=function e(t){T(this,e),d(this,"width",void 0),d(this,"height",void 0),d(this,"widthConfig",void 0),d(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},jP=function e(t){T(this,e),d(this,"optCode",void 0),d(this,"optType",void 0);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""},FP=function e(t){T(this,e);var r;d(this,"id",void 0),d(this,"name",void 0),d(this,"color",void 0),d(this,"filters",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Fe();var o;this.name=(o=t==null?void 0:t.name)!==null&&o!==void 0?o:"";var i;this.color=(i=t==null?void 0:t.color)!==null&&i!==void 0?i:"theme";var u;this.filters=(u=t==null||(r=t.filters)===null||r===void 0?void 0:r.map(function(l){return l.children!==void 0?new Ji(l):new To(l)}))!==null&&u!==void 0?u:[]},CP=function e(t){T(this,e),d(this,"id",void 0),d(this,"script",void 0),d(this,"color",void 0);var r;this.id=(r=t.id)!==null&&r!==void 0?r:Fe();var n;this.script=(n=t.script)!==null&&n!==void 0?n:"";var o;this.color=(o=t.color)!==null&&o!==void 0?o:"theme"};function mF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tu(e,t,r){return xP()?tu=Reflect.construct:tu=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},tu.apply(null,arguments)}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 Eo(e){return Eo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Eo(e)}function OF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function PF(e,t){return t&&($F(t)==="object"||typeof t=="function")?t:mF(e)}function Io(e,t){return Io=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Io(e,t)}function $F(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vd(e){var t=typeof Map=="function"?new Map:void 0;return vd=function(n){if(n===null||!wF(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 tu(n,arguments,Eo(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Io(o,n)},vd(e)}function xP(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RF(e){var t=xP();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 PF(this,o)}}var re=function e(t){pd(this,e),Zt(this,"isHide",{type:"boolean"})},en=function(e){OF(r,e);var t=RF(r);function r(n){return pd(this,r),t.call(this)}return r}(vd(Array)),J=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";pd(this,e),Zt(this,"isHide",void 0),Zt(this,"className",void 0),Zt(this,"style",void 0),Zt(this,"caption",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new LP(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};Zt(J,"mode",void 0),Zt(J,"Rules",re),Zt(J,"RuntimeRules",en);function gt(){return gt=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},gt.apply(this,arguments)}function TF(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function hd(e){return hd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hd(e)}function nu(e,t){return nu=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nu(e,t)}function SF(){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 ru(e,t,r){return SF()?ru=Reflect.construct:ru=function(o,i,u){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(o,l),a=new f;return u&&nu(a,u.prototype),a},ru.apply(null,arguments)}function EF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function bd(e){var t=typeof Map=="function"?new Map:void 0;return bd=function(n){if(n===null||!EF(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 ru(n,arguments,hd(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),nu(o,n)},bd(e)}var IF=/%[sdj%]/g,VP=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(VP=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function gd(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 Ce(){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(IF,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 BF(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||BF(t)&&typeof e=="string"&&!e)}function NF(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 zP(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 AF(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var GP=function(e){TF(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}(bd(Error));function MF(e,t,r,n){if(t.first){var o=new Promise(function(_,p){var b=function(m){return n(m),m.length?p(new GP(m,gd(m))):_()},g=AF(e);zP(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 GP(a,gd(a))):_()};u.length||(n(a),_()),u.forEach(function(g){var v=e[g];i.indexOf(g)!==-1?zP(v,r,b):NF(v,r,b)})});return s.catch(function(_){return _}),s}function YP(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function HP(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]=gt(gt({},e[r]),n):e[r]=n}}return e}function qP(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||ie(t,i||e.type))&&n.push(Ce(o.messages.required,e.fullField))}function kF(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(Ce(o.messages.whitespace,e.fullField))}var md={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(md.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(md.url)},hex:function(t){return typeof t=="string"&&!!t.match(md.hex)}};function DF(e,t,r,n,o){if(e.required&&t===void 0){qP(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(Ce(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(Ce(o.messages.types[u],e.fullField,e.type))}function LF(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(Ce(o.messages[s].len,e.fullField,e.len)):u&&!l&&a<e.min?n.push(Ce(o.messages[s].min,e.fullField,e.min)):l&&!u&&a>e.max?n.push(Ce(o.messages[s].max,e.fullField,e.max)):u&&l&&(a<e.min||a>e.max)&&n.push(Ce(o.messages[s].range,e.fullField,e.min,e.max))}var lr="enum";function jF(e,t,r,n,o){e[lr]=Array.isArray(e[lr])?e[lr]:[],e[lr].indexOf(t)===-1&&n.push(Ce(o.messages[lr],e.fullField,e[lr].join(", ")))}function FF(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(Ce(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(Ce(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var N={required:qP,whitespace:kF,type:DF,range:LF,enum:jF,pattern:FF};function CF(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 xF(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 VF(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 zF(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 GF(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 YF(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 HF(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 qF(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 UF(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 WF="enum";function KF(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[WF](e,t,n,i,o)}r(i)}function XF(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 JF(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 QF(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 Od(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 ZF(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:CF,method:xF,number:VF,boolean:zF,regexp:GF,integer:YF,float:HF,array:qF,object:UF,enum:KF,pattern:XF,date:JF,url:Od,hex:Od,email:Od,required:QF,any:ZF};function wd(){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 Pd=wd();function tn(e){this.rules=null,this._messages=Pd,this.define(e)}tn.prototype={messages:function(t){return t&&(this._messages=HP(wd(),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,y=[],O={};function P(w){if(Array.isArray(w)){var $;y=($=y).concat.apply($,w)}else y.push(w)}for(m=0;m<v.length;m++)P(v[m]);y.length?O=gd(y):(y=null,O=null),l(y,O)}if(u.messages){var a=this.messages();a===Pd&&(a=wd()),HP(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 y=m;typeof y.transform=="function"&&(i===t&&(i=gt({},i)),_=i[v]=y.transform(_)),typeof y=="function"?y={validator:y}:y=gt({},y),y.validator=o.getValidationMethod(y),y.field=v,y.fullField=y.fullField||v,y.type=o.getType(y),y.validator&&(p[v]=p[v]||[],p[v].push({rule:y,value:_,source:i,field:v}))})});var g={};return MF(p,u,function(v,m){var y=v.rule,O=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");O=O&&(y.required||!y.required&&v.value),y.field=v.field;function P(R,S){return gt(gt({},S),{},{fullField:y.fullField+"."+R})}function w(R){R===void 0&&(R=[]);var S=R;if(Array.isArray(S)||(S=[S]),!u.suppressWarning&&S.length&&tn.warning("async-validator:",S),S.length&&y.message!==void 0&&(S=[].concat(y.message)),S=S.map(YP(y)),u.first&&S.length)return g[y.field]=1,m(S);if(!O)m(S);else{if(y.required&&!v.value)return y.message!==void 0?S=[].concat(y.message).map(YP(y)):u.error&&(S=[u.error(y,Ce(u.messages.required,y.field))]),m(S);var D={};if(y.defaultField)for(var je in v.value)v.value.hasOwnProperty(je)&&(D[je]=y.defaultField);D=gt(gt({},D),v.rule.fields);for(var he in D)if(D.hasOwnProperty(he)){var be=Array.isArray(D[he])?D[he]:[D[he]];D[he]=be.map(P.bind(null,he))}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(ir){var Bt=[];S&&S.length&&Bt.push.apply(Bt,S),ir&&ir.length&&Bt.push.apply(Bt,ir),m(Bt.length?Bt:null)})}}var $;y.asyncValidator?$=y.asyncValidator(y,v.value,w,v.source,u):y.validator&&($=y.validator(y,v.value,w,v.source,u),$===!0?w():$===!1?w(y.message||y.field+" fails"):$ instanceof Array?w($):$ instanceof Error&&w($.message)),$&&$.then&&$.then(function(){return w()},function(R){return w(R)})},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(Ce("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=VP,tn.messages=Pd,tn.validators=No;var e4={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 UP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new tn(e);return r.messages(Object.assign(e4,t)),r}var WP=new uP;function $d(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function t4(e){if(Array.isArray(e))return e}function n4(e){if(Array.isArray(e))return $d(e)}function KP(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function XP(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){KP(i,n,o,u,l,"next",f)}function l(f){KP(i,n,o,u,l,"throw",f)}u(void 0)})}}function r4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o4(e,t,r){return t&&JP(e.prototype,t),r&&JP(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 QP(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ZP(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function i4(){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 u4(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e$(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 c4(e){return t4(e)||ZP(e)||t$(e)||i4()}function Rd(e){return n4(e)||ZP(e)||t$(e)||u4()}function t$(e,t){if(!!e){if(typeof e=="string")return $d(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 $d(e,t)}}function n$(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 j=function(){function t(r){var n=this;r4(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",o$),L(this,"removeSetting",r$),this._callControlHooks("preInstance",r);var o=QP(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||Uy("The ".concat(_," controlName,controlIcon,controlType is not define"));var v;this.id=(v=r==null?void 0:r.id)!==null&&v!==void 0?v:Fe(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,(QP(this,t)?this.constructor:void 0).controlName);var y;this.controlType=(y=r==null?void 0:r.controlType)!==null&&y!==void 0?y:"base",this.setting=Xe(p);var O;this.fieldType=(O=r==null?void 0:r.fieldType)!==null&&O!==void 0?O:f,this.eventKeys=Xe(a),this.customEvents=Xe(s),this.slots=Xe(b),this.slotPosition=Xe(g),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return o4(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=c4(o),f=l[0],a=l.slice(1);return(u=WP).emit.apply(u,[f,this].concat(Rd(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),Qw(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return XP(function(){var o,i,u;return n$(this,function(l){switch(l.label){case 0:return o=e$({},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 XP(function(){var u,l,f,a;return n$(this,function(s){switch(s.label){case 0:return[4,i.preValidate()];case 1:u=s.sent(),l=u!==void 0?u:e$({},i.rules),Array.isArray(o)&&o.forEach(function(_){l.hasOwnProperty(_)&&delete l[_]}),f=UP(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 y={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(f&&(y.dataBind=f),s){case"datasource":case void 0:a&&(y.datasourceBind=a);break;case"custom":y.props.options=g;break}return p!==void 0&&(y.required=p),b!==void 0&&(y.maxLength=b),v!==void 0&&(y.encrypted=v),m!==void 0&&(y.encryptedMode=m),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Xe(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,Rd(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();L(j,"mode","Designer"),L(j,"slots",void 0),L(j,"slotPosition",void 0),L(j,"controlName","\u63A7\u4EF6"),L(j,"controlIcon","icon"),L(j,"controlType","control"),L(j,"controlFieldType",void 0),L(j,"controlEventKeys",[]),L(j,"controlCustomEvents",[]),L(j,"setting",[]),L(j,"__is_control__",!0),L(j,"removeSettingItem",r$),L(j,"updateSettingItem",o$);function r$(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 o$(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(a){return a.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,l=(u=t.type)!==null&&u!==void 0?u:"replace";if(l==="replace")i.showItems=t.showItems;else{var f;(f=i.showItems).push.apply(f,Rd(t.showItems))}}}})}function l4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f4(e,t,r){return t&&i$(e.prototype,t),r&&i$(e,r),e}function xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a4(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Q=function(){function t(r){l4(this,t),xe(this,"id",void 0),xe(this,"type",void 0),xe(this,"controlType",void 0),xe(this,"props",void 0),xe(this,"fieldType",void 0),xe(this,"customEvents",[]),xe(this,"pageStatus",void 0),xe(this,"parent",null);var n=a4(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,l=n.controlCustomEvents;o||Uy("The ".concat(u," controlType is not define"));var f;this.id=(f=r==null?void 0:r.id)!==null&&f!==void 0?f:Fe(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 f4(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}();xe(Q,"mode","Runtime"),xe(Q,"controlType","control"),xe(Q,"controlFieldType",void 0),xe(Q,"__is_control__",!0),xe(Q,"controlCustomEvents",[]);function ou(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=tP(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 u$(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function q(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function cu(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Td(e,t)}function s4(e,t){return t&&(_4(t)==="object"||typeof t=="function")?t:q(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Td(e,t)}function _4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function y4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=y4();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 s4(this,o)}}var ue=function(e){cu(r,e);var t=lu(r);function r(n){iu(this,r);var o;o=t.call(this,n),U(q(o),"dataBind",{}),U(q(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),U(q(o),"isHideCaption",{type:"boolean"}),U(q(o),"labelPosition",{type:"enum",enum:["top","left"]}),U(q(o),"defaultState",{type:"enum",enum:["default","readonly"]}),U(q(o),"required",{type:"boolean"}),U(q(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}};if(u$(n.dataBind))o.dataBind={type:"object",required:!0,fields:Xe(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:Xe(i),message:h.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(re),x=function(e){cu(r,e);var t=lu(r);function r(n){iu(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){cu(r,e);var t=lu(r);function r(n){iu(this,r);var o;o=t.call(this,n),U(q(o),"caption",void 0),U(q(o),"isHideCaption",void 0),U(q(o),"isShowCaptionTip",void 0),U(q(o),"captionTip",void 0),U(q(o),"labelPosition",void 0),U(q(o),"dataBind",void 0),U(q(o),"defaultValue",void 0),U(q(o),"placeholder",void 0),U(q(o),"defaultState",void 0),U(q(o),"required",void 0),U(q(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var f;o.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"default";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var 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 Ze(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);U(A,"Rules",ue),U(A,"RuntimeRules",x);var Tn=function(e){cu(r,e);var t=lu(r);function r(n){iu(this,r);var o;return o=t.call(this,n),U(q(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),U(q(o),"options",[{type:"array",message:h.getMessage("isNotArray")}]),U(q(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),ou.call(q(o),n),o}return r}(ue);function Sd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fu(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 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&&Ed(e,t)}function v4(e,t){return t&&(h4(t)==="object"||typeof t=="function")?t:Sd(e)}function Ed(e,t){return Ed=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ed(e,t)}function h4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g4(e){var t=b4();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v4(this,o)}}var M=function(e){p4(r,e);var t=g4(r);function r(n){d4(this,r);var o;return o=t.call(this,n),fu(Sd(o),"controlType","form"),fu(Sd(o),"props",void 0),o.props=new A(n==null?void 0:n.props),o}return r}(j);fu(M,"controlEventKeys",["on_change","on_focus","on_blur"]),fu(M,"controlCustomAttributes",void 0);function su(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Id(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_u(e)}function O4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bd(e,t)}function w4(e,t){return t&&(P4(t)==="object"||typeof t=="function")?t:su(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function P4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R4(e){var t=$4();return function(){var n=_u(e),o;if(t){var i=_u(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w4(this,o)}}var k=function(e){O4(r,e);var t=R4(r);function r(n){m4(this,r);var o;return o=t.call(this,n),Id(su(o),"controlType","form"),Id(su(o),"props",void 0),Id(su(o),"value",void 0),o.props=new A(n==null?void 0:n.props),o}return r}(Q);function T4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yu(e){return yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yu(e)}function E4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nd(e,t)}function I4(e,t){return t&&(B4(t)==="object"||typeof t=="function")?t:T4(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nd(e,t)}function B4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A4(e){var t=N4();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 I4(this,o)}}var Y=function(e){E4(r,e);var t=A4(r);function r(n){return S4(this,r),t.call(this,n)}return r}(J);function Ad(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 M4(e){if(Array.isArray(e))return Ad(e)}function Sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c$(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 k4(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){c$(i,n,o,u,l,"next",f)}function l(f){c$(i,n,o,u,l,"throw",f)}u(void 0)})}}function D4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L4(e,t,r){return t&&l$(e.prototype,t),r&&l$(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 fr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?fr=Reflect.get:fr=function(o,i,u){var l=H4(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 rn(e){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rn(e)}function j4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Md(e,t)}function F4(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function C4(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function x4(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function V4(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 z4(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 G4(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):z4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Y4(e,t){return t&&(q4(t)==="object"||typeof t=="function")?t:Sn(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Md(e,t)}function H4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=rn(e),e!==null););return e}function f$(e){return M4(e)||C4(e)||U4(e)||x4()}function q4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U4(e,t){if(!!e){if(typeof e=="string")return Ad(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 Ad(e,t)}}function W4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K4(e){var t=W4();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 Y4(this,o)}}function X4(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 J4=1e4,W=function(t){j4(n,t);var r=K4(n);function n(o){D4(this,n);var i;i=r.call(this,o),nn(Sn(i),"controlType","layout"),nn(Sn(i),"children",void 0),nn(Sn(i),"excludes",void 0),nn(Sn(i),"childrenMaxLength",void 0),nn(Sn(i),"props",void 0);var u=F4(this,n)?this.constructor:void 0,l=u.excludes,f=u.childrenMaxLength;return i.props=new Y(o==null?void 0:o.props),lt(Sn(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Xe(l),i.childrenMaxLength=f,i}return L4(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var l=this,f=this,a=function(){return fr(rn(n.prototype),"validate",l)};return k4(function(){return X4(this,function(s){switch(s.label){case 0:return[4,a().call(f,i,u)];case 1:return s.sent(),[4,Promise.all(f.children.map(function(_){return _.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=fr(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 f$(f).concat(f$(_))}return s&&f.push(s),f},l)}},{key:"toSchema",value:function(){var i=fr(rn(n.prototype),"toSchema",this).call(this),u=this.children.map(function(l){var f=l.toSchema();return f});return G4(V4({},i),{children:u})}}]),n}(j);nn(W,"excludes",!1),nn(W,"childrenMaxLength",J4);function Mo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function Z4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eC(e,t){return t&&(tC(t)==="object"||typeof t=="function")?t:Mo(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dd(e,t)}function tC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rC(e){var t=nC();return function(){var n=du(e),o;if(t){var i=du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eC(this,o)}}var Z=function(e){Z4(r,e);var t=rC(r);function r(n){Q4(this,r);var o;return o=t.call(this,n),kd(Mo(o),"controlType","layout"),kd(Mo(o),"children",void 0),kd(Mo(o),"props",void 0),o.props=new Y(n==null?void 0:n.props),lt(Mo(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(Q);function Mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pu(e)}function iC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function uC(e,t){return t&&(cC(t)==="object"||typeof t=="function")?t:Mt(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}function cC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fC(e){var t=lC();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 uC(this,o)}}var ko=function(e){iC(r,e);var t=fC(r);function r(n,o,i){oC(this,r);var u;u=t.call(this,o),ar(Mt(u),"headers",void 0),ar(Mt(u),"footers",void 0),ar(Mt(u),"pageIndex",void 0),ar(Mt(u),"pageSize",void 0),ar(Mt(u),"pageSizeOptions",void 0),ar(Mt(u),"totalCount",void 0),lt(Mt(u),"headers",o==null?void 0:o.headers,n,i),lt(Mt(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 jd(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 aC(e){if(Array.isArray(e))return jd(e)}function vu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a$(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 sC(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){a$(i,n,o,u,l,"next",f)}function l(f){a$(i,n,o,u,l,"throw",f)}u(void 0)})}}function _C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yC(e,t,r){return t&&s$(e.prototype,t),r&&s$(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 sr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?sr=Reflect.get:sr=function(o,i,u){var l=gC(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},sr(e,t,r||e)}function on(e){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},on(e)}function dC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function pC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vC(){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 _$(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){hu(e,o,r[o])})}return e}function hC(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 y$(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):hC(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function bC(e,t){return t&&(mC(t)==="object"||typeof t=="function")?t:vu(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}function gC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=on(e),e!==null););return e}function d$(e){return aC(e)||pC(e)||OC(e)||vC()}function mC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OC(e,t){if(!!e){if(typeof e=="string")return jd(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 jd(e,t)}}function wC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PC(e){var t=wC();return function(){var n=on(e),o;if(t){var i=on(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bC(this,o)}}function $C(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 bu=function(e){dC(r,e);var t=PC(r);function r(n){_C(this,r);var o;return o=t.call(this,n),hu(vu(o),"controlType","list"),hu(vu(o),"props",void 0),o.props=new ko(vu(o),n==null?void 0:n.props,"Designer"),o}return yC(r,[{key:"validate",value:function(o,i){var u=this,l=this,f=function(){return sr(on(r.prototype),"validate",u)};return sC(function(){return $C(this,function(a){switch(a.label){case 0:return[4,f().call(l,o)];case 1:return a.sent(),[4,Promise.all(l.props.headers.map(function(s){return s.validate(o,i)}))];case 2:return a.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=sr(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 d$(l).concat(d$(s))}return a&&l.push(a),l},i)}},{key:"toSchema",value:function(){var o,i,u=sr(on(r.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(a){return a.toSchema()}),f=(i=this.props)===null||i===void 0||(o=i.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return y$(_$({},u),{props:y$(_$({},this.props),{headers:l,footers:f})})}}]),r}(j);hu(bu,"controlFieldType",c.FieldTypes.LIST);function _r(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RC(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 TC(e,t,r){return t&&p$(e.prototype,t),r&&p$(e,r),e}function Cd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function SC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xd(e,t)}function EC(e,t){return t&&(IC(t)==="object"||typeof t=="function")?t:_r(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xd(e,t)}function IC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NC(e){var t=BC();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 EC(this,o)}}var Vd=function(e){SC(r,e);var t=NC(r);function r(n){RC(this,r);var o;return o=t.call(this,n),Cd(_r(o),"controlType","list"),Cd(_r(o),"children",void 0),Cd(_r(o),"props",void 0),o.props=new ko(_r(o),n==null?void 0:n.props,"Runtime"),lt(_r(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return TC(r,[{key:"length",get:function(){return this.children.length}}]),r}(Q);function se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mu(e)}function Gd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yd(e,t)}function AC(e,t){return t&&(MC(t)==="object"||typeof t=="function")?t:se(e)}function Yd(e,t){return Yd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yd(e,t)}function MC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hd(e){var t=kC();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 AC(this,o)}}var ft=function(e){Gd(r,e);var t=Hd(r);function r(n){zd(this,r);var o;return o=t.call(this,n),me(se(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),me(se(o),"width",{type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(re),ee=function(e){Gd(r,e);var t=Hd(r);function r(n){zd(this,r);var o;o=t.call(this,n),me(se(o),"widthType",void 0),me(se(o),"width",void 0),me(se(o),"caption",void 0),me(se(o),"dataBind",void 0),me(se(o),"autoWidth",void 0),me(se(o),"fixed",void 0),me(se(o),"sort",void 0),me(se(o),"align",void 0),me(se(o),"colSpan",void 0),me(se(o),"autoHeight",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var l;o.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",o.autoWidth=new rd(n==null?void 0:n.autoWidth),o.dataBind=new Ze(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);me(ee,"Rules",ft);var qd=function(e){Gd(r,e);var t=Hd(r);function r(n){zd(this,r);var o;return o=t.call(this,n),me(se(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),me(se(o),"options",[{type:"array",message:h.getMessage("isNotArray")}]),me(se(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),ou.call(se(o),n),o}return r}(ft);function Ud(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ou(e)}function LC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wd(e,t)}function jC(e,t){return t&&(FC(t)==="object"||typeof t=="function")?t:Ud(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function FC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xC(e){var t=CC();return function(){var n=Ou(e),o;if(t){var i=Ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jC(this,o)}}var ce=function(e){LC(r,e);var t=xC(r);function r(n){DC(this,r);var o;return o=t.call(this,n),v$(Ud(o),"controlType","column"),v$(Ud(o),"props",void 0),o.props=new ee(n==null?void 0:n.props),o}return r}(j);function Kd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wu(e){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wu(e)}function zC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function GC(e,t){return t&&(YC(t)==="object"||typeof t=="function")?t:Kd(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function YC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qC(e){var t=HC();return function(){var n=wu(e),o;if(t){var i=wu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GC(this,o)}}var le=function(e){zC(r,e);var t=qC(r);function r(n){VC(this,r);var o;return o=t.call(this,n),h$(Kd(o),"controlType","column"),h$(Kd(o),"props",void 0),o.props=new ee(n==null?void 0:n.props),o}return r}(Q);function b$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WC(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 KC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XC(e,t){return t&&(JC(t)==="object"||typeof t=="function")?t:b$(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}function JC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZC(e){var t=QC();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 XC(this,o)}}var $u=function(e){KC(r,e);var t=ZC(r);function r(n){UC(this,r);var o;return o=t.call(this,n),WC(b$(o),"dataBind",void 0),o.dataBind=new Ze(n==null?void 0:n.dataBind),o}return r}(Y);function Qd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ru(e)}function t5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zd(e,t)}function n5(e,t){return t&&(r5(t)==="object"||typeof t=="function")?t:Qd(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}function r5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i5(e){var t=o5();return function(){var n=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return n5(this,o)}}var m$=function(e){t5(r,e);var t=i5(r);function r(n){e5(this,r);var o;return o=t.call(this,n),g$(Qd(o),"controlType","search"),g$(Qd(o),"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return r}(W);function ep(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Tu(e){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tu(e)}function c5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tp(e,t)}function l5(e,t){return t&&(f5(t)==="object"||typeof t=="function")?t:ep(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}function f5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s5(e){var t=a5();return function(){var n=Tu(e),o;if(t){var i=Tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l5(this,o)}}var w$=function(e){c5(r,e);var t=s5(r);function r(n){u5(this,r);var o;return o=t.call(this,n),O$(ep(o),"controlType","search"),O$(ep(o),"props",void 0),o.props=new $u(n==null?void 0:n.props),o}return r}(Z);function _5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function d5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 p5(e,t){return t&&(v5(t)==="object"||typeof t=="function")?t:_5(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}function v5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b5(e){var t=h5();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 p5(this,o)}}var Eu=function(e){d5(r,e);var t=b5(r);function r(n){return y5(this,r),t.call(this,n)}return r}(Y);function rp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iu(e)}function m5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&op(e,t)}function O5(e,t){return t&&(w5(t)==="object"||typeof t=="function")?t:rp(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}function w5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $5(e){var t=P5();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 O5(this,o)}}var $$=function(e){m5(r,e);var t=$5(r);function r(n){g5(this,r);var o;return o=t.call(this,n),P$(rp(o),"controlType","wrap"),P$(rp(o),"props",void 0),o.props=new Eu(n==null?void 0:n.props),o}return r}(W);function ip(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R5(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 Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function T5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&up(e,t)}function S5(e,t){return t&&(E5(t)==="object"||typeof t=="function")?t:ip(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}function E5(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 B5(e){var t=I5();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 S5(this,o)}}var T$=function(e){T5(r,e);var t=B5(r);function r(n){R5(this,r);var o;return o=t.call(this,n),R$(ip(o),"controlType","wrap"),R$(ip(o),"props",void 0),o.props=new Eu(n==null?void 0:n.props),o}return r}(Z);function kt(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}}}])}function En(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function A5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cp(e,t)}function M5(e,t){return t&&(k5(t)==="object"||typeof t=="function")?t:En(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cp(e,t)}function k5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L5(e){var t=D5();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 M5(this,o)}}var lp=function(e){A5(r,e);var t=L5(r);function r(n){N5(this,r);var o;o=t.call(this,n),yr(En(o),"content",void 0),yr(En(o),"fontSize",void 0),yr(En(o),"color",void 0),yr(En(o),"icon",void 0),yr(En(o),"align",void 0),yr(En(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var 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 S$(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 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 F5(e,t,r){return t&&E$(e.prototype,t),r&&E$(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 Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function C5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 x5(e,t){return t&&(V5(t)==="object"||typeof t=="function")?t:S$(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}function V5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G5(e){var t=z5();return function(){var n=Au(e),o;if(t){var i=Au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return x5(this,o)}}var B$=function(e){C5(r,e);var t=G5(r);function r(n){j5(this,r);var o;return o=t.call(this,n),I$(S$(o),"props",void 0),o.props=new lp(n==null?void 0:n.props),o}return F5(r,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(j);I$(B$,"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 N$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function H5(e,t,r){return t&&A$(e.prototype,t),r&&A$(e,r),e}function q5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mu(e){return Mu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mu(e)}function U5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ap(e,t)}function W5(e,t){return t&&(K5(t)==="object"||typeof t=="function")?t:N$(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}function K5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J5(e){var t=X5();return function(){var n=Mu(e),o;if(t){var i=Mu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W5(this,o)}}var Q5=function(e){U5(r,e);var t=J5(r);function r(n){Y5(this,r);var o;return o=t.call(this,n),q5(N$(o),"props",void 0),o.props=new lp(n==null?void 0:n.props),o}return H5(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(Q),M$={Designer:B$,Runtime:Q5,Property:lp};function ku(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(e)}function e6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_p(e,t)}function t6(e,t){return t&&(n6(t)==="object"||typeof t=="function")?t:ku(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}function n6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o6(e){var t=r6();return function(){var n=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t6(this,o)}}var yp=function(e){e6(r,e);var t=o6(r);function r(n){Z5(this,r);var o;o=t.call(this,n),sp(ku(o),"content",void 0),sp(ku(o),"url",void 0),sp(ku(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 k$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 u6(e,t,r){return t&&D$(e.prototype,t),r&&D$(e,r),e}function dp(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 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&&pp(e,t)}function l6(e,t){return t&&(f6(t)==="object"||typeof t=="function")?t:k$(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(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=Lu(e),o;if(t){var i=Lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return l6(this,o)}}var vp=function(e){c6(r,e);var t=s6(r);function r(n){i6(this,r);var o;return o=t.call(this,n),dp(k$(o),"props",void 0),o.props=new yp(n==null?void 0:n.props),o}return u6(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(j);dp(vp,"controlEventKeys",["on_click"]),dp(vp,"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 L$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _6(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 y6(e,t,r){return t&&j$(e.prototype,t),r&&j$(e,r),e}function d6(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 p6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function v6(e,t){return t&&(h6(t)==="object"||typeof t=="function")?t:L$(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}function h6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g6(e){var t=b6();return function(){var n=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v6(this,o)}}var m6=function(e){p6(r,e);var t=g6(r);function r(n){_6(this,r);var o;return o=t.call(this,n),d6(L$(o),"props",void 0),o.props=new yp(n==null?void 0:n.props),o}return y6(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(Q),F$={Designer:vp,Runtime:m6,Property:yp};function mt(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 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 Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(e)}function w6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bp(e,t)}function P6(e,t){return t&&($6(t)==="object"||typeof t=="function")?t:mt(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}function $6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T6(e){var t=R6();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 P6(this,o)}}var Te=function(e){w6(r,e);var t=T6(r);function r(n){O6(this,r);var o;o=t.call(this,n),Dt(mt(o),"content",void 0),Dt(mt(o),"buttonType",void 0),Dt(mt(o),"showType",void 0),Dt(mt(o),"color",void 0),Dt(mt(o),"icon",void 0),Dt(mt(o),"defaultState",void 0),Dt(mt(o),"command",void 0),Dt(mt(o),"isLoading",void 0),Dt(mt(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 jP((b=n==null?void 0:n.optObj)!==null&&b!==void 0?b:{}),o}return r}(J);function C$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 E6(e,t,r){return t&&x$(e.prototype,t),r&&x$(e,r),e}function Cu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(e)}function 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&&gp(e,t)}function B6(e,t){return t&&(N6(t)==="object"||typeof t=="function")?t:C$(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gp(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=xu(e),o;if(t){var i=xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return B6(this,o)}}var Oe=function(e){I6(r,e);var t=M6(r);function r(n){S6(this,r);var o;return o=t.call(this,n),Cu(C$(o),"props",void 0),o.props=new Te(n==null?void 0:n.props),o}return E6(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(j);Cu(Oe,"slots",["grid-table-toolbar-slot","action-bar-slot",zy.DEFAULT]),Cu(Oe,"controlEventKeys",["on_click"]),Cu(Oe,"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 V$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D6(e,t,r){return t&&z$(e.prototype,t),r&&z$(e,r),e}function L6(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 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&&mp(e,t)}function F6(e,t){return t&&(C6(t)==="object"||typeof t=="function")?t:V$(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}function C6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V6(e){var t=x6();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 F6(this,o)}}var Ve=function(e){j6(r,e);var t=V6(r);function r(n){k6(this,r);var o;return o=t.call(this,n),L6(V$(o),"props",void 0),o.props=new Te(n==null?void 0:n.props),o}return D6(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(Q),G$={Designer:Oe,Runtime:Ve,Property:Te};function et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}c.TitleConfigEnum=void 0,function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"}(c.TitleConfigEnum||(c.TitleConfigEnum={})),c.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(c.DATE_CONFIG_TYPE||(c.DATE_CONFIG_TYPE={})),c.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(c.DATE_LIMIT_TYPE||(c.DATE_LIMIT_TYPE={}));var zu=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Fe(8),value:["",""]};et(this,e),E(this,"dateConfigType",void 0),E(this,"dateLimitType",void 0),E(this,"id",void 0),E(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};c.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(c.SCORE_TYPE||(c.SCORE_TYPE={}));var Gu=function e(t){et(this,e),E(this,"id",void 0),E(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Fe();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 Op=function e(t){et(this,e),E(this,"type",void 0),E(this,"person",void 0),E(this,"signatureType",void 0),E(this,"telephone",void 0),E(this,"company",void 0),E(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new cr((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new cr((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var l,f;this.company=(f=t==null?void 0:t.company)!==null&&f!==void 0?f:new cr((l=t==null?void 0:t.company)!==null&&l!==void 0?l:{type:"form"});var a;this.remark=(a=t==null?void 0:t.remark)!==null&&a!==void 0?a:""},Y$=function e(t){et(this,e);var r;E(this,"fileControl",void 0),E(this,"undersignedList",void 0),E(this,"statusControl",void 0),E(this,"completeControl",void 0),E(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(f){return new Op(f)}))!==null&&o!==void 0?o:[new Op];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:""},Do=function e(t){et(this,e),E(this,"id",void 0),E(this,"appId",void 0),E(this,"dataCode",void 0),E(this,"svcCode",void 0),E(this,"name",void 0),E(this,"fieldList",void 0),E(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Fe(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},wp=function e(t){et(this,e),E(this,"active",void 0),E(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},H$=function e(t){et(this,e),E(this,"types",void 0),E(this,"history",void 0),E(this,"collaborativeRecord",void 0),E(this,"logicToDelete",void 0),E(this,"watermark",void 0),E(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new wp(t==null?void 0:t.watermark),this.autoRename=new wp(t==null?void 0:t.autoRename)},q$=function e(t){et(this,e),E(this,"dataCode",void 0),this.dataCode=t.dataCode},U$=function e(t){et(this,e);var r;E(this,"templateType",void 0),E(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new q$(i)}))!==null&&o!==void 0?o:[]},W$=function e(t){et(this,e);var r;E(this,"templateType",void 0),E(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new Do(i)}))!==null&&o!==void 0?o:[new Do({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},K$=480;function Lo(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var X$=function e(t){et(this,e),E(this,"fileId",void 0),E(this,"fileName",void 0),E(this,"ruleName",void 0),E(this,"isDefault",void 0),E(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},J$=function e(t){et(this,e),E(this,"direction",void 0),E(this,"justifyContent",void 0),E(this,"alignItems",void 0);var r;this.direction=(r=t==null?void 0:t.direction)!==null&&r!==void 0?r:"row";var n;this.justifyContent=(n=t==null?void 0:t.justifyContent)!==null&&n!==void 0?n:"flex-start";var o;this.alignItems=(o=t==null?void 0:t.alignItems)!==null&&o!==void 0?o:"flex-start"};c.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(c.EncryptTypeEnum||(c.EncryptTypeEnum={})),c.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(c.OrganizeType||(c.OrganizeType={})),c.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(c.DepartmentType||(c.DepartmentType={})),c.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(c.AssignType||(c.AssignType={})),c.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(c.InternalType||(c.InternalType={}));function Pp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yu(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&&$p(e,t)}function Y6(e,t){return t&&(H6(t)==="object"||typeof t=="function")?t:Pp(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(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=Yu(e),o;if(t){var i=Yu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y6(this,o)}}var Rp=function(e){G6(r,e);var t=U6(r);function r(n){z6(this,r);var o;o=t.call(this,n),Q$(Pp(o),"color",void 0),Q$(Pp(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 Z$(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 eR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K6(e,t,r){return t&&eR(e.prototype,t),r&&eR(e,r),e}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 Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function X6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}function J6(e,t){return t&&(Q6(t)==="object"||typeof t=="function")?t:Z$(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}function Q6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ex(e){var t=Z6();return function(){var n=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J6(this,o)}}var nR=function(e){X6(r,e);var t=ex(r);function r(n){W6(this,r);var o;return o=t.call(this,n),tR(Z$(o),"props",void 0),o.props=new Rp(n==null?void 0:n.props),o}return K6(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(j);tR(nR,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}]);function rR(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 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 nx(e,t,r){return t&&oR(e.prototype,t),r&&oR(e,r),e}function rx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function ox(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sp(e,t)}function ix(e,t){return t&&(ux(t)==="object"||typeof t=="function")?t:rR(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}function ux(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lx(e){var t=cx();return function(){var n=qu(e),o;if(t){var i=qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ix(this,o)}}var fx=function(e){ox(r,e);var t=lx(r);function r(n){tx(this,r);var o;return o=t.call(this,n),rx(rR(o),"props",void 0),o.props=new Rp(n==null?void 0:n.props),o}return nx(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(Q),iR={Designer:nR,Runtime:fx,Property:Rp};function un(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uR(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 Uu(e){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uu(e)}function cR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ax(e,t){return t&&(sx(t)==="object"||typeof t=="function")?t:un(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}function sx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lR(e){var t=_x();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 ax(this,o)}}var yx=function(e){cR(r,e);var t=lR(r);function r(n){uR(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),Wu=function(e){cR(r,e);var t=lR(r);function r(n){uR(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 Ze(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:dr==null?void 0:dr.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(Wu,"Rules",yx);function fR(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 aR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function px(e,t,r){return t&&aR(e.prototype,t),r&&aR(e,r),e}function Ip(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(e)}function vx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bp(e,t)}function hx(e,t){return t&&(bx(t)==="object"||typeof t=="function")?t:fR(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bp(e,t)}function bx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mx(e){var t=gx();return function(){var n=Ku(e),o;if(t){var i=Ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hx(this,o)}}var dr=function(e){vx(r,e);var t=mx(r);function r(n){dx(this,r);var o;return o=t.call(this,n),Ip(fR(o),"props",void 0),o.props=new Wu(n==null?void 0:n.props),o}return px(r,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(j);Ip(dr,"controlFieldType",c.FieldTypes.AUTO_NUMBER),Ip(dr,"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 sR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ox(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wx(e,t,r){return t&&_R(e.prototype,t),r&&_R(e,r),e}function Px(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function $x(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Np(e,t)}function Rx(e,t){return t&&(Tx(t)==="object"||typeof t=="function")?t:sR(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}function Tx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ex(e){var t=Sx();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rx(this,o)}}var Ix=function(e){$x(r,e);var t=Ex(r);function r(n){Ox(this,r);var o;return o=t.call(this,n),Px(sR(o),"props",void 0),o.props=new Wu(n==null?void 0:n.props),o}return wx(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(Q),yR={Designer:dr,Runtime:Ix,Property:Wu};function Ju(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qu(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 pR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bx(e,t){return t&&(Nx(t)==="object"||typeof t=="function")?t:Ju(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}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 vR(e){var t=Ax();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 Bx(this,o)}}var Mx=function(e){pR(r,e);var t=vR(r);function r(n){dR(this,r);var o;return o=t.call(this,n),Qu(Ju(o),"formKey",{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}),o}return r}(re),ec=function(e){pR(r,e);var t=vR(r);function r(n){dR(this,r);var o;o=t.call(this,n),Qu(Ju(o),"formKey",void 0),Qu(Ju(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:pr.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:pr.controlName;var l;o.formKey=(l=n==null?void 0:n.formKey)!==null&&l!==void 0?l:"";var f;return o.openType=(f=n==null?void 0:n.openType)!==null&&f!==void 0?f:"modal",o}return r}(Te);Qu(ec,"Rules",Mx);function hR(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 bR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dx(e,t,r){return t&&bR(e.prototype,t),r&&bR(e,r),e}function tc(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 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&&Mp(e,t)}function jx(e,t){return t&&(Fx(t)==="object"||typeof t=="function")?t:hR(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mp(e,t)}function Fx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xx(e){var t=Cx();return function(){var n=nc(e),o;if(t){var i=nc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jx(this,o)}}var pr=function(e){Lx(r,e);var t=xx(r);function r(n){kx(this,r);var o;return o=t.call(this,n),tc(hR(o),"props",void 0),o.props=new ec(n==null?void 0:n.props),o}return Dx(r,null,[{key:"controlName",get:function(){return"\u521B\u5EFA\u5355\u636E"}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Oe);tc(pr,"slots",["grid-table-toolbar-slot"]),tc(pr,"controlEventKeys",["on_click","on_click_finish"]),tc(pr,"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 gR(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 mR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zx(e,t,r){return t&&mR(e.prototype,t),r&&mR(e,r),e}function Gx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rc(e)}function Yx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kp(e,t)}function Hx(e,t){return t&&(qx(t)==="object"||typeof t=="function")?t:gR(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 Ux(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wx(e){var t=Ux();return function(){var n=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hx(this,o)}}var Kx=function(e){Yx(r,e);var t=Wx(r);function r(n){Vx(this,r);var o;return o=t.call(this,n),Gx(gR(o),"props",void 0),o.props=new ec(n==null?void 0:n.props),o}return zx(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Ve),OR={Designer:pr,Runtime:Kx,Property:ec};function vr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function PR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xx(e,t){return t&&(Jx(t)==="object"||typeof t=="function")?t:vr(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}function Jx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $R(e){var t=Qx();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 Xx(this,o)}}var Zx=function(e){PR(r,e);var t=$R(r);function r(n){wR(this,r);var o;return o=t.call(this,n),hr(vr(o),"processKey",[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterProcess")}]),o}return r}(re),ic=function(e){PR(r,e);var t=$R(r);function r(n){wR(this,r);var o;o=t.call(this,n),hr(vr(o),"processKey",void 0),hr(vr(o),"initiatorMode",void 0),hr(vr(o),"fieldCode",void 0),hr(vr(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:br.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:br.controlName;var l;o.initiatorMode=(l=n==null?void 0:n.initiatorMode)!==null&&l!==void 0?l:"currentInitiator";var f;o.processKey=(f=n==null?void 0:n.processKey)!==null&&f!==void 0?f:"";var a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var s;return o.employeeId=(s=n==null?void 0:n.employeeId)!==null&&s!==void 0?s:"",o}return r}(Te);hr(ic,"Rules",Zx);function RR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tV(e,t,r){return t&&TR(e.prototype,t),r&&TR(e,r),e}function uc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function nV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lp(e,t)}function rV(e,t){return t&&(oV(t)==="object"||typeof t=="function")?t:RR(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}function oV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uV(e){var t=iV();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 rV(this,o)}}var br=function(e){nV(r,e);var t=uV(r);function r(n){eV(this,r);var o;return o=t.call(this,n),uc(RR(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return tV(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}(Oe);uc(br,"slots",["grid-table-toolbar-slot"]),uc(br,"controlEventKeys",["on_click","on_click_finish"]),uc(br,"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 SR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ER(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lV(e,t,r){return t&&ER(e.prototype,t),r&&ER(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 lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(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&&jp(e,t)}function sV(e,t){return t&&(_V(t)==="object"||typeof t=="function")?t:SR(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}function _V(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dV(e){var t=yV();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 sV(this,o)}}var pV=function(e){aV(r,e);var t=dV(r);function r(n){cV(this,r);var o;return o=t.call(this,n),fV(SR(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return lV(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Ve),IR={Designer:br,Runtime:pV,Property:ic};function vV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function bV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gV(e,t){return t&&(mV(t)==="object"||typeof t=="function")?t:vV(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function mV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wV(e){var t=OV();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 gV(this,o)}}var Cp=function(e){bV(r,e);var t=wV(r);function r(n){hV(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:gr.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:gr.controlIcon,o}return r}(Te);function BR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PV(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 $V(e,t,r){return t&&NR(e.prototype,t),r&&NR(e,r),e}function ac(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sc(e)}function RV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xp(e,t)}function TV(e,t){return t&&(SV(t)==="object"||typeof t=="function")?t:BR(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}function SV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IV(e){var t=EV();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 TV(this,o)}}var gr=function(e){RV(r,e);var t=IV(r);function r(n){PV(this,r);var o;return o=t.call(this,n),ac(BR(o),"props",void 0),o.props=new Cp(n==null?void 0:n.props),o}return $V(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}(Oe);ac(gr,"slots",["grid-table-toolbar-slot"]),ac(gr,"controlEventKeys",["on_click"]),ac(gr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function AR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NV(e,t,r){return t&&MR(e.prototype,t),r&&MR(e,r),e}function AV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_c(e)}function MV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vp(e,t)}function kV(e,t){return t&&(DV(t)==="object"||typeof t=="function")?t:AR(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}function DV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jV(e){var t=LV();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 kV(this,o)}}var FV=function(e){MV(r,e);var t=jV(r);function r(n){BV(this,r);var o;return o=t.call(this,n),AV(AR(o),"props",void 0),o.props=new Cp(n==null?void 0:n.props),o}return NV(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Ve),kR={Designer:gr,Runtime:FV,Property:Cp};function zp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(e)}function xV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gp(e,t)}function VV(e,t){return t&&(zV(t)==="object"||typeof t=="function")?t:zp(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}function zV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YV(e){var t=GV();return function(){var n=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VV(this,o)}}var Yp=function(e){xV(r,e);var t=YV(r);function r(n){CV(this,r);var o,i;o=t.call(this,n),DR(zp(o),"templateList",void 0),DR(zp(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:mr.controlIcon;var l;o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:mr.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 Do(s)}))!==null&&a!==void 0?a:[new Do({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Te);function LR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HV(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 qV(e,t,r){return t&&jR(e.prototype,t),r&&jR(e,r),e}function dc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pc(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&&Hp(e,t)}function WV(e,t){return t&&(KV(t)==="object"||typeof t=="function")?t:LR(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(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=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WV(this,o)}}var mr=function(e){UV(r,e);var t=JV(r);function r(n){HV(this,r);var o;return o=t.call(this,n),dc(LR(o),"props",void 0),o.props=new Yp(n==null?void 0:n.props),o}return qV(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}(Oe);dc(mr,"slots",["grid-table-toolbar-slot"]),dc(mr,"controlEventKeys",["on_click","on_click_finish"]),dc(mr,"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 FR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ZV(e,t,r){return t&&CR(e.prototype,t),r&&CR(e,r),e}function ez(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 tz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function nz(e,t){return t&&(rz(t)==="object"||typeof t=="function")?t:FR(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}function rz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iz(e){var t=oz();return function(){var n=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nz(this,o)}}var uz=function(e){tz(r,e);var t=iz(r);function r(n){QV(this,r);var o;return o=t.call(this,n),ez(FR(o),"props",void 0),o.props=new Yp(n==null?void 0:n.props),o}return ZV(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Ve),xR={Designer:mr,Runtime:uz,Property:Yp};function cz(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 hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(e)}function fz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function az(e,t){return t&&(sz(t)==="object"||typeof t=="function")?t:cz(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}function sz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yz(e){var t=_z();return function(){var n=hc(e),o;if(t){var i=hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return az(this,o)}}var Wp=function(e){fz(r,e);var t=yz(r);function r(n){lz(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:Or.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Or.controlIcon,o}return r}(Te);function VR(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 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 pz(e,t,r){return t&&zR(e.prototype,t),r&&zR(e,r),e}function bc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gc(e){return gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gc(e)}function 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&&Kp(e,t)}function hz(e,t){return t&&(bz(t)==="object"||typeof t=="function")?t:VR(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}function bz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mz(e){var t=gz();return function(){var n=gc(e),o;if(t){var i=gc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hz(this,o)}}var Or=function(e){vz(r,e);var t=mz(r);function r(n){dz(this,r);var o;return o=t.call(this,n),bc(VR(o),"props",void 0),o.props=new Wp(n==null?void 0:n.props),o}return pz(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}(Oe);bc(Or,"slots",["grid-table-toolbar-slot"]),bc(Or,"controlEventKeys",["on_click"]),bc(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:"super-setting",visible:!0}]);function GR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oz(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 wz(e,t,r){return t&&YR(e.prototype,t),r&&YR(e,r),e}function Pz(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}function $z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xp(e,t)}function Rz(e,t){return t&&(Tz(t)==="object"||typeof t=="function")?t:GR(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}function Tz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ez(e){var t=Sz();return function(){var n=mc(e),o;if(t){var i=mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rz(this,o)}}var Iz=function(e){$z(r,e);var t=Ez(r);function r(n){Oz(this,r);var o;return o=t.call(this,n),Pz(GR(o),"props",void 0),o.props=new Wp(n==null?void 0:n.props),o}return wz(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Ve),HR={Designer:Or,Runtime:Iz,Property:Wp};function Jp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oc(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&&Zp(e,t)}function Nz(e,t){return t&&(Az(t)==="object"||typeof t=="function")?t:Jp(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(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=Oc(e),o;if(t){var i=Oc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nz(this,o)}}var Dz=function e(t){qR(this,e),Qp(this,"dataCode",void 0),this.dataCode=t.dataCode},ev=function(e){Bz(r,e);var t=kz(r);function r(n){qR(this,r);var o,i;o=t.call(this,n),Qp(Jp(o),"canImportList",void 0),Qp(Jp(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:wr.controlName;var l;o.icon=(l=n==null?void 0:n.icon)!==null&&l!==void 0?l:wr.controlIcon;var f;o.canImportList=(f=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(s){return new Dz(s)}))!==null&&f!==void 0?f:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return r}(Te);function UR(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 WR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jz(e,t,r){return t&&WR(e.prototype,t),r&&WR(e,r),e}function wc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pc(e){return Pc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pc(e)}function Fz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function Cz(e,t){return t&&(xz(t)==="object"||typeof t=="function")?t:UR(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(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=Pc(e),o;if(t){var i=Pc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cz(this,o)}}var wr=function(e){Fz(r,e);var t=zz(r);function r(n){Lz(this,r);var o;return o=t.call(this,n),wc(UR(o),"props",void 0),o.props=new ev(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}(Oe);wc(wr,"slots",["grid-table-toolbar-slot"]),wc(wr,"controlEventKeys",["on_click","on_click_finish"]),wc(wr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function KR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gz(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 Yz(e,t,r){return t&&XR(e.prototype,t),r&&XR(e,r),e}function Hz(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 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 Uz(e,t){return t&&(Wz(t)==="object"||typeof t=="function")?t:KR(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}function Wz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xz(e){var t=Kz();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 Uz(this,o)}}var Jz=function(e){qz(r,e);var t=Xz(r);function r(n){Gz(this,r);var o;return o=t.call(this,n),Hz(KR(o),"props",void 0),o.props=new ev(n==null?void 0:n.props),o}return Yz(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Ve),JR={Designer:wr,Runtime:Jz,Property:ev};function Rc(){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 QR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(e)}function ZR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eT(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Lt(e,o,r[o])})}return e}function Qz(e,t){return t&&(Zz(t)==="object"||typeof t=="function")?t:ln(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function Zz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tT(e){var t=e7();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 Qz(this,o)}}var t7=function(e){ZR(r,e);var t=tT(r);function r(n){QR(this,r);var o;return o=t.call(this,n),Lt(ln(o),"fillPayload",{type:"object",fields:eT({},Rc())}),Lt(ln(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}}}),Lt(ln(o),"fillBack",{type:"object",fields:eT({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Rc())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}),o}return r}(re),Sc=function(e){ZR(r,e);var t=tT(r);function r(n){QR(this,r);var o;o=t.call(this,n),Lt(ln(o),"fillPayload",void 0),Lt(ln(o),"formBind",void 0),Lt(ln(o),"fillBack",void 0),Lt(ln(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:jo.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:jo.controlIcon;var l;return o.command=(l=n==null?void 0:n.command)!==null&&l!==void 0?l:"create",o.fillPayload=new sd(n==null?void 0:n.fillPayload),o.formBind=new hP(n==null?void 0:n.formBind),o.fillBack=new _d(n==null?void 0:n.fillBack),o}return r}(Te);Lt(Sc,"Rules",t7);function nT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 r7(e,t,r){return t&&rT(e.prototype,t),r&&rT(e,r),e}function ov(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(e)}function o7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iv(e,t)}function i7(e,t){return t&&(u7(t)==="object"||typeof t=="function")?t:nT(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(e,t)}function u7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l7(e){var t=c7();return function(){var n=Ec(e),o;if(t){var i=Ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return i7(this,o)}}var jo=function(e){o7(r,e);var t=l7(r);function r(n){n7(this,r);var o;return o=t.call(this,n),ov(nT(o),"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return r7(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}(Oe);ov(jo,"controlEventKeys",["on_click","on_click_finish"]),ov(jo,"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 oT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a7(e,t,r){return t&&iT(e.prototype,t),r&&iT(e,r),e}function s7(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 _7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}function y7(e,t){return t&&(d7(t)==="object"||typeof t=="function")?t:oT(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function d7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v7(e){var t=p7();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 y7(this,o)}}var h7=function(e){_7(r,e);var t=v7(r);function r(n){f7(this,r);var o;return o=t.call(this,n),s7(oT(o),"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return a7(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(Ve),uT={Designer:jo,Runtime:h7,Property:Sc};function jt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function lT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fT(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){Ot(e,o,r[o])})}return e}function b7(e,t){return t&&(g7(t)==="object"||typeof t=="function")?t:jt(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}function g7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aT(e){var t=m7();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 b7(this,o)}}var O7=function(e){lT(r,e);var t=aT(r);function r(n){cT(this,r);var o;return o=t.call(this,n),Ot(jt(o),"fillPayload",{type:"object",fields:fT({},Rc())}),Ot(jt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}),Ot(jt(o),"fillBack",{type:"object",fields:fT({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Rc())}),o}return r}(re),Nc=function(e){lT(r,e);var t=aT(r);function r(n){cT(this,r);var o;o=t.call(this,n),Ot(jt(o),"fillPayload",void 0),Ot(jt(o),"listPageBind",void 0),Ot(jt(o),"fillBack",void 0),Ot(jt(o),"showSelectedDetail",void 0),Ot(jt(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Fo.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Fo.controlIcon,o.fillPayload=new sd(n==null?void 0:n.fillPayload),o.listPageBind=new Xi(n==null?void 0:n.listPageBind),o.fillBack=new _d(n==null?void 0:n.fillBack);var l;return o.showSelectedDetail=(l=n==null?void 0:n.showSelectedDetail)!==null&&l!==void 0?l:!1,o.selectedContentConfig=new Zi(n==null?void 0:n.selectedContentConfig),o}return r}(Te);Ot(Nc,"Rules",O7);function sT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w7(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 P7(e,t,r){return t&&_T(e.prototype,t),r&&_T(e,r),e}function lv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ac(e)}function $7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function R7(e,t){return t&&(T7(t)==="object"||typeof t=="function")?t:sT(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function T7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E7(e){var t=S7();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 R7(this,o)}}var Fo=function(e){$7(r,e);var t=E7(r);function r(n){w7(this,r);var o;return o=t.call(this,n),lv(sT(o),"props",void 0),o.props=new Nc(n==null?void 0:n.props),o}return P7(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}(Oe);lv(Fo,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),lv(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:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",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 I7(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 B7(e,t,r){return t&&dT(e.prototype,t),r&&dT(e,r),e}function N7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function A7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function M7(e,t){return t&&(k7(t)==="object"||typeof t=="function")?t:yT(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}function k7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L7(e){var t=D7();return function(){var n=Mc(e),o;if(t){var i=Mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return M7(this,o)}}var j7=function(e){A7(r,e);var t=L7(r);function r(n){I7(this,r);var o;return o=t.call(this,n),N7(yT(o),"props",void 0),o.props=new Nc(n==null?void 0:n.props),o}return B7(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(Ve),pT={Designer:Fo,Runtime:j7,Property:Nc};function F7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(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&&yv(e,t)}function C7(e,t){return t&&(x7(t)==="object"||typeof t=="function")?t:F7(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(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 dv(e){var t=V7();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 C7(this,o)}}var z7=function(e){_v(r,e);var t=dv(r);function r(n){return sv(this,r),t.call(this,n)}return r}(re),G7=function(e){_v(r,e);var t=dv(r);function r(n){return sv(this,r),t.call(this,n)}return r}(en),Co=function(e){_v(r,e);var t=dv(r);function r(n){return sv(this,r),t.call(this,n)}return r}(J);vT(Co,"Rules",z7),vT(Co,"RuntimeRules",G7);function hT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function H7(e,t,r){return t&&bT(e.prototype,t),r&&bT(e,r),e}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 Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(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&&pv(e,t)}function U7(e,t){return t&&(W7(t)==="object"||typeof t=="function")?t:hT(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(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=Dc(e),o;if(t){var i=Dc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U7(this,o)}}var mT=function(e){q7(r,e);var t=X7(r);function r(n){Y7(this,r);var o;return o=t.call(this,n),gT(hT(o),"props",void 0),o.props=new Co(n==null?void 0:n.props),o}return H7(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(j);gT(mT,"setting",[]);function OT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Q7(e,t,r){return t&&wT(e.prototype,t),r&&wT(e,r),e}function Z7(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 e8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function t8(e,t){return t&&(n8(t)==="object"||typeof t=="function")?t:OT(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function n8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o8(e){var t=r8();return function(){var n=Lc(e),o;if(t){var i=Lc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t8(this,o)}}var i8=function(e){e8(r,e);var t=o8(r);function r(n){J7(this,r);var o;return o=t.call(this,n),Z7(OT(o),"props",void 0),o.props=new Co(n==null?void 0:n.props),o}return Q7(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(Q),PT={Designer:mT,Runtime:i8,Property:Co};function tt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jc(e)}function RT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hv(e,t)}function u8(e,t){return t&&(c8(t)==="object"||typeof t=="function")?t:tt(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}function c8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TT(e){var t=l8();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 u8(this,o)}}var f8=function(e){RT(r,e);var t=TT(r);function r(n){$T(this,r);var o;return o=t.call(this,n),nt(tt(o),"dashboardKey",{type:"string",required:!0,message:h.getMessage("pleaseSelectDashboard")}),nt(tt(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),nt(tt(o),"isHideCaption",{type:"boolean"}),nt(tt(o),"labelPosition",{type:"enum",enum:["top","left"]}),nt(tt(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(re),Fc=function(e){RT(r,e);var t=TT(r);function r(n){$T(this,r);var o;o=t.call(this,n),nt(tt(o),"dashboardKey",void 0),nt(tt(o),"caption",void 0),nt(tt(o),"isHideCaption",void 0),nt(tt(o),"isShowCaptionTip",void 0),nt(tt(o),"captionTip",void 0),nt(tt(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);nt(Fc,"Rules",f8);function ST(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ET(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s8(e,t,r){return t&&ET(e.prototype,t),r&&ET(e,r),e}function IT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function _8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function y8(e,t){return t&&(d8(t)==="object"||typeof t=="function")?t:ST(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(e,t)}function d8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v8(e){var t=p8();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 y8(this,o)}}var BT=function(e){_8(r,e);var t=v8(r);function r(n){a8(this,r);var o;return o=t.call(this,n),IT(ST(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return s8(r,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(j);IT(BT,"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 NT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b8(e,t,r){return t&&AT(e.prototype,t),r&&AT(e,r),e}function g8(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 m8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function O8(e,t){return t&&(w8(t)==="object"||typeof t=="function")?t:NT(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}function w8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $8(e){var t=P8();return function(){var n=xc(e),o;if(t){var i=xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O8(this,o)}}var R8=function(e){m8(r,e);var t=$8(r);function r(n){h8(this,r);var o;return o=t.call(this,n),g8(NT(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return b8(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(Q),MT={Designer:BT,Runtime:R8,Property:Fc};function xo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function DT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mv(e,t)}function T8(e,t){return t&&(S8(t)==="object"||typeof t=="function")?t:xo(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}function S8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LT(e){var t=E8();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 T8(this,o)}}var I8=function(e){DT(r,e);var t=LT(r);function r(n){kT(this,r);var o;return o=t.call(this,n),Vo(xo(o),"showType",{type:"enum",enum:["select","tabs"]}),Vo(xo(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),zc=function(e){DT(r,e);var t=LT(r);function r(n){kT(this,r);var o,i;o=t.call(this,n),Vo(xo(o),"showType",void 0),Vo(xo(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 DP(f)}))!==null&&l!==void 0?l:[],o}return r}(J);Vo(zc,"Rules",I8);function jT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function N8(e,t,r){return t&&FT(e.prototype,t),r&&FT(e,r),e}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 Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gc(e)}function A8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 M8(e,t){return t&&(k8(t)==="object"||typeof t=="function")?t:jT(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}function k8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function D8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L8(e){var t=D8();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 xT=function(e){A8(r,e);var t=L8(r);function r(n){B8(this,r);var o;return o=t.call(this,n),CT(jT(o),"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return N8(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}(j);CT(xT,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",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 j8(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 F8(e,t,r){return t&&zT(e.prototype,t),r&&zT(e,r),e}function C8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(e)}function x8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function V8(e,t){return t&&(z8(t)==="object"||typeof t=="function")?t:VT(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}function z8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y8(e){var t=G8();return function(){var n=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V8(this,o)}}var H8=function(e){x8(r,e);var t=Y8(r);function r(n){j8(this,r);var o;return o=t.call(this,n),C8(VT(o),"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return F8(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(Q),GT={Designer:xT,Runtime:H8,Property:zc};function Me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YT(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 Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function HT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pv(e,t)}function q8(e,t){return t&&(U8(t)==="object"||typeof t=="function")?t:Me(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function U8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qT(e){var t=W8();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 q8(this,o)}}var K8=function(e){HT(r,e);var t=qT(r);function r(n){YT(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){HT(r,e);var t=qT(r);function r(n){YT(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: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.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 Re(v)}))!==null&&g!==void 0?g:[],o}return r}(Te);ke(qc,"Rules",K8);function UT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function J8(e,t,r){return t&&WT(e.prototype,t),r&&WT(e,r),e}function $v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uc(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&&Rv(e,t)}function Z8(e,t){return t&&(e9(t)==="object"||typeof t=="function")?t:UT(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}function e9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n9(e){var t=t9();return function(){var n=Uc(e),o;if(t){var i=Uc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Z8(this,o)}}var Pr=function(e){Q8(r,e);var t=n9(r);function r(n){X8(this,r);var o;return o=t.call(this,n),$v(UT(o),"props",void 0),o.props=new qc(n==null?void 0:n.props),o}return J8(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}(Oe);$v(Pr,"controlEventKeys",["on_click","on_click_finish"]),$v(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 KT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o9(e,t,r){return t&&XT(e.prototype,t),r&&XT(e,r),e}function i9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function u9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tv(e,t)}function c9(e,t){return t&&(l9(t)==="object"||typeof t=="function")?t:KT(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}function l9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a9(e){var t=f9();return function(){var n=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c9(this,o)}}var s9=function(e){u9(r,e);var t=a9(r);function r(n){r9(this,r);var o;return o=t.call(this,n),i9(KT(o),"props",void 0),o.props=new qc(n==null?void 0:n.props),o}return o9(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Ve),JT={Designer:Pr,Runtime:s9,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 QT(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 Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function ZT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _9(e,t){return t&&(y9(t)==="object"||typeof t=="function")?t:De(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}function y9(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 eS(e){var t=d9();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 _9(this,o)}}var p9=function(e){ZT(r,e);var t=eS(r);function r(n){QT(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),Xc=function(e){ZT(r,e);var t=eS(r);function r(n){QT(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:$r.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?_:$r.controlName;var p;o.icon=(p=n==null?void 0:n.icon)!==null&&p!==void 0?p:$r.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 Re(v)}))!==null&&g!==void 0?g:[],o}return r}(Te);Le(Xc,"Rules",p9);function tS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h9(e,t,r){return t&&nS(e.prototype,t),r&&nS(e,r),e}function Ev(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jc(e)}function b9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iv(e,t)}function g9(e,t){return t&&(m9(t)==="object"||typeof t=="function")?t:tS(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(e,t)}function m9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w9(e){var t=O9();return function(){var n=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g9(this,o)}}var $r=function(e){b9(r,e);var t=w9(r);function r(n){v9(this,r);var o;return o=t.call(this,n),Ev(tS(o),"props",void 0),o.props=new Xc(n==null?void 0:n.props),o}return h9(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}(Oe);Ev($r,"controlEventKeys",["on_click","on_click_finish"]),Ev($r,"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 rS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $9(e,t,r){return t&&oS(e.prototype,t),r&&oS(e,r),e}function R9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(e)}function T9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function S9(e,t){return t&&(E9(t)==="object"||typeof t=="function")?t:rS(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}function E9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B9(e){var t=I9();return function(){var n=Qc(e),o;if(t){var i=Qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S9(this,o)}}var N9=function(e){T9(r,e);var t=B9(r);function r(n){P9(this,r);var o;return o=t.call(this,n),R9(rS(o),"props",void 0),o.props=new Xc(n==null?void 0:n.props),o}return $9(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Ve),iS={Designer:$r,Runtime:N9,Property:Xc};function Zc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function el(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tl(e)}function cS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 A9(e,t){return t&&(M9(t)==="object"||typeof t=="function")?t:Zc(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}function M9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lS(e){var t=k9();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 A9(this,o)}}var D9=function(e){cS(r,e);var t=lS(r);function r(){uS(this,r);var n;return n=t.apply(this,arguments),el(Zc(n),"printTemplates",{type:"array",min:1,required:!0,message:h.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(re),nl=function(e){cS(r,e);var t=lS(r);function r(n){uS(this,r);var o,i;o=t.call(this,n),el(Zc(o),"printTemplates",void 0),el(Zc(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Rr.controlIcon;var l;o.content=(l=n==null?void 0:n.content)!==null&&l!==void 0?l:Rr.controlName;var f;o.printTemplates=(f=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new X$(s)}))!==null&&f!==void 0?f:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return r}(Te);el(nl,"Rules",D9);function fS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 j9(e,t,r){return t&&aS(e.prototype,t),r&&aS(e,r),e}function rl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ol(e){return ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ol(e)}function F9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function C9(e,t){return t&&(x9(t)==="object"||typeof t=="function")?t:fS(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}function x9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z9(e){var t=V9();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 C9(this,o)}}var Rr=function(e){F9(r,e);var t=z9(r);function r(n){L9(this,r);var o;return o=t.call(this,n),rl(fS(o),"props",void 0),o.props=new nl(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}(Oe);rl(Rr,"slots",["grid-table-toolbar-slot"]),rl(Rr,"controlEventKeys",["on_click","on_click_finish"]),rl(Rr,"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 sS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y9(e,t,r){return t&&_S(e.prototype,t),r&&_S(e,r),e}function H9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},il(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 U9(e,t){return t&&(W9(t)==="object"||typeof t=="function")?t:sS(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}function W9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X9(e){var t=K9();return function(){var n=il(e),o;if(t){var i=il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return U9(this,o)}}var J9=function(e){q9(r,e);var t=X9(r);function r(n){G9(this,r);var o;return o=t.call(this,n),H9(sS(o),"props",void 0),o.props=new nl(n==null?void 0:n.props),o}return Y9(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Ve),yS={Designer:Rr,Runtime:J9,Property:nl};function Q9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(e)}function eG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kv(e,t)}function tG(e,t){return t&&(nG(t)==="object"||typeof t=="function")?t:Q9(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}function nG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oG(e){var t=rG();return function(){var n=ul(e),o;if(t){var i=ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tG(this,o)}}var Dv=function(e){eG(r,e);var t=oG(r);function r(n){Z9(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:Tr.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Tr.controlIcon,o}return r}(Te);function dS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uG(e,t,r){return t&&pS(e.prototype,t),r&&pS(e,r),e}function 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 ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ll(e)}function cG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lv(e,t)}function lG(e,t){return t&&(fG(t)==="object"||typeof t=="function")?t:dS(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}function fG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sG(e){var t=aG();return function(){var n=ll(e),o;if(t){var i=ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lG(this,o)}}var Tr=function(e){cG(r,e);var t=sG(r);function r(n){iG(this,r);var o;return o=t.call(this,n),cl(dS(o),"props",void 0),o.props=new Dv(n==null?void 0:n.props),o}return uG(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}(Oe);cl(Tr,"slots",["grid-table-toolbar-slot"]),cl(Tr,"controlEventKeys",["on_click"]),cl(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:"super-setting",visible:!0}]);function vS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _G(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yG(e,t,r){return t&&hS(e.prototype,t),r&&hS(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 fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fl(e)}function pG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vG(e,t){return t&&(hG(t)==="object"||typeof t=="function")?t:vS(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}function hG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gG(e){var t=bG();return function(){var n=fl(e),o;if(t){var i=fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vG(this,o)}}var mG=function(e){pG(r,e);var t=gG(r);function r(n){_G(this,r);var o;return o=t.call(this,n),dG(vS(o),"props",void 0),o.props=new Dv(n==null?void 0:n.props),o}return yG(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Ve),bS={Designer:Tr,Runtime:mG,Property:Dv};function Se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(e)}function mS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OG(e,t){return t&&(wG(t)==="object"||typeof t=="function")?t:Se(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}function wG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OS(e){var t=PG();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 OG(this,o)}}var $G=function(e){mS(r,e);var t=OS(r);function r(n){gS(this,r);var o;return o=t.call(this,n),Ee(Se(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),sl=function(e){mS(r,e);var t=OS(r);function r(n){gS(this,r);var o;o=t.call(this,n),Ee(Se(o),"content",void 0),Ee(Se(o),"code",void 0),Ee(Se(o),"command",void 0),Ee(Se(o),"color",void 0),Ee(Se(o),"icon",void 0),Ee(Se(o),"formKey",void 0),Ee(Se(o),"openType",void 0),Ee(Se(o),"needConfirm",void 0),Ee(Se(o),"confirmMessage",void 0),Ee(Se(o),"options",void 0),Ee(Se(o),"defaultState",void 0),Ee(Se(o),"priorityProcess",void 0),Ee(Se(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);Ee(sl,"Rules",$G);function wS(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 TG(e,t,r){return t&&PS(e.prototype,t),r&&PS(e,r),e}function Cv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_l(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&&xv(e,t)}function EG(e,t){return t&&(IG(t)==="object"||typeof t=="function")?t:wS(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}function IG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NG(e){var t=BG();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 EG(this,o)}}var yl=function(e){SG(r,e);var t=NG(r);function r(n){RG(this,r);var o;return o=t.call(this,n),Cv(wS(o),"props",void 0),o.props=new sl(n==null?void 0:n.props),o}return TG(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}(j);Cv(yl,"controlEventKeys",["on_click"]),Cv(yl,"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 $S(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 RS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MG(e,t,r){return t&&RS(e.prototype,t),r&&RS(e,r),e}function kG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(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&&Vv(e,t)}function LG(e,t){return t&&(jG(t)==="object"||typeof t=="function")?t:$S(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(e,t)}function jG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CG(e){var t=FG();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 LG(this,o)}}var xG=function(e){DG(r,e);var t=CG(r);function r(n){AG(this,r);var o;return o=t.call(this,n),kG($S(o),"props",void 0),o.props=new sl(n==null?void 0:n.props),o}return MG(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Q),zo={Designer:yl,Runtime:xG,Property:sl};function Ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pl(e)}function zG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zv(e,t)}function GG(e,t){return t&&(YG(t)==="object"||typeof t=="function")?t:Ft(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}function YG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qG(e){var t=HG();return function(){var n=pl(e),o;if(t){var i=pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GG(this,o)}}var Gv=function(e){zG(r,e);var t=qG(r);function r(n){VG(this,r);var o;o=t.call(this,n),fn(Ft(o),"content",void 0),fn(Ft(o),"buttonType",void 0),fn(Ft(o),"showType",void 0),fn(Ft(o),"color",void 0),fn(Ft(o),"icon",void 0),fn(Ft(o),"defaultState",void 0),fn(Ft(o),"command",void 0),fn(Ft(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Sr.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Sr.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 TS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WG(e,t,r){return t&&SS(e.prototype,t),r&&SS(e,r),e}function vl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function 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&&Yv(e,t)}function XG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:TS(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}function 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=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XG(this,o)}}var Sr=function(e){KG(r,e);var t=ZG(r);function r(n){UG(this,r);var o;return o=t.call(this,n),vl(TS(o),"props",void 0),o.props=new Gv(n==null?void 0:n.props),o}return WG(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}(j);vl(Sr,"slots",["grid-table-toolbar-slot"]),vl(Sr,"controlEventKeys",["on_click"]),vl(Sr,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function ES(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eY(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 tY(e,t,r){return t&&IS(e.prototype,t),r&&IS(e,r),e}function nY(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 rY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function oY(e,t){return t&&(iY(t)==="object"||typeof t=="function")?t:ES(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}function iY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cY(e){var t=uY();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 oY(this,o)}}var lY=function(e){rY(r,e);var t=cY(r);function r(n){eY(this,r);var o;return o=t.call(this,n),nY(ES(o),"props",void 0),o.props=new Gv(n==null?void 0:n.props),o}return tY(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(Q),BS={Designer:Sr,Runtime:lY,Property:Gv},fY=Object.freeze({__proto__:null,Text:M$,Link:F$,Button:G$,Divider:iR,Title:yR,CreateFormListButton:OR,BatchSubmissionListButton:IR,SubmissionRecordListButton:kR,ExportListButton:xR,ExportRecordListButton:HR,ImportRecordListButton:JR,FormSelectButton:uT,ListSelectButton:pT,Pagination:PT,Dashboard:MT,ListViewSelect:GT,TextOcrButton:JT,InvoiceCheckButton:iS,BatchPrintListButton:yS,BatchPrintRecordListButton:bS,OperationButton:zo,BatchDeleteButton:BS});function wt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gl(e)}function Uv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wv(e,t)}function aY(e,t){return t&&(sY(t)==="object"||typeof t=="function")?t:wt(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(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 Kv(e){var t=_Y();return function(){var n=gl(e),o;if(t){var i=gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aY(this,o)}}var yY=function(e){Uv(r,e);var t=Kv(r);function r(n){qv(this,r);var o;return o=t.call(this,n),at(wt(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),at(wt(o),"minLength",{type:"number",max:200,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),at(wt(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=Lo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ue),dY=function(e){Uv(r,e);var t=Kv(r);function r(n){qv(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:Lo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(x),Er=function(e){Uv(r,e);var t=Kv(r);function r(n){qv(this,r);var o;o=t.call(this,n),at(wt(o),"maxLength",void 0),at(wt(o),"minLength",void 0),at(wt(o),"regularRules",void 0),at(wt(o),"defaultValue",void 0),at(wt(o),"encrypted",void 0),at(wt(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 yd(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:Ir.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);at(Er,"Rules",yY),at(Er,"RuntimeRules",dY);function NS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vY(e,t,r){return t&&AS(e.prototype,t),r&&AS(e,r),e}function ml(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function 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&&Xv(e,t)}function bY(e,t){return t&&(gY(t)==="object"||typeof t=="function")?t:NS(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(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=Ol(e),o;if(t){var i=Ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bY(this,o)}}var Ir=function(e){hY(r,e);var t=OY(r);function r(n){pY(this,r);var o;return o=t.call(this,n),ml(NS(o),"props",void 0),o.props=new Er(n==null?void 0:n.props),o}return vY(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);ml(Ir,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ml(Ir,"controlFieldType",c.FieldTypes.VARCHAR),ml(Ir,"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 MS(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 kS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PY(e,t,r){return t&&kS(e.prototype,t),r&&kS(e,r),e}function DS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function $Y(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jv(e,t)}function RY(e,t){return t&&(TY(t)==="object"||typeof t=="function")?t:MS(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function TY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EY(e){var t=SY();return function(){var n=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RY(this,o)}}var LS=function(e){$Y(r,e);var t=EY(r);function r(n){wY(this,r);var o;return o=t.call(this,n),DS(MS(o),"props",void 0),o.props=new Er(n==null?void 0:n.props),o}return PY(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(k);DS(LS,"controlFieldType",c.FieldTypes.VARCHAR);var jS={Designer:Ir,Runtime:LS,Property:Er};function we(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function Zv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function IY(e,t){return t&&(BY(t)==="object"||typeof t=="function")?t:we(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}function BY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function th(e){var t=NY();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 IY(this,o)}}var AY=function(e){Zv(r,e);var t=th(r);function r(n){Qv(this,r);var o;o=t.call(this,n),_e(we(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}(Tn),MY=function(e){Zv(r,e);var t=th(r);function r(n){Qv(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),Go=function(e){Zv(r,e);var t=th(r);function r(n){Qv(this,r);var o;o=t.call(this,n),_e(we(o),"checkboxMode",void 0),_e(we(o),"options",void 0),_e(we(o),"optionsOrder",void 0),_e(we(o),"limitMax",void 0),_e(we(o),"limitMin",void 0),_e(we(o),"otherOption",void 0),_e(we(o),"optionConfig",void 0),_e(we(o),"optionsFormat",void 0),_e(we(o),"defaultShowOptions",void 0),_e(we(o),"datasourceBind",void 0),_e(we(o),"multistageFilling",void 0),_e(we(o),"interreaction",void 0),_e(we(o),"defaultValue",void 0),_e(we(o),"openMultistageFilling",void 0);var i;o.options=bt((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:Yo.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 y;return o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var P;(P=o.multistageFilling)===null||P===void 0||P.push(new Re(O))})),o}return r}(A);_e(Go,"Rules",AY),_e(Go,"RuntimeRules",MY);function FS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kY(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 DY(e,t,r){return t&&CS(e.prototype,t),r&&CS(e,r),e}function $l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rl(e)}function LY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function jY(e,t){return t&&(FY(t)==="object"||typeof t=="function")?t:FS(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}function FY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xY(e){var t=CY();return function(){var n=Rl(e),o;if(t){var i=Rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jY(this,o)}}var Yo=function(e){LY(r,e);var t=xY(r);function r(n){kY(this,r);var o;return o=t.call(this,n),$l(FS(o),"props",void 0),o.props=new Go(n==null?void 0:n.props),o}return DY(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(M);$l(Yo,"controlEventKeys",["on_change","on_click"]),$l(Yo,"controlFieldType",c.FieldTypes.ARRAY),$l(Yo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 xS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zY(e,t,r){return t&&VS(e.prototype,t),r&&VS(e,r),e}function zS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(e)}function GY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rh(e,t)}function YY(e,t){return t&&(HY(t)==="object"||typeof t=="function")?t:xS(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}function HY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UY(e){var t=qY();return function(){var n=Tl(e),o;if(t){var i=Tl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YY(this,o)}}var GS=function(e){GY(r,e);var t=UY(r);function r(n){VY(this,r);var o;return o=t.call(this,n),zS(xS(o),"props",void 0),o.props=new Go(n==null?void 0:n.props),o}return zY(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(k);zS(GS,"controlFieldType",c.FieldTypes.ARRAY);var YS={Designer:Yo,Runtime:GS,Property:Go};function ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function qS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oh(e,t)}function WY(e,t){return t&&(KY(t)==="object"||typeof t=="function")?t:ze(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}function KY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function US(e){var t=XY();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 WY(this,o)}}var JY=function(e){qS(r,e);var t=US(r);function r(n){return HS(this,r),t.call(this,n)}return r}(Tn),El=function(e){qS(r,e);var t=US(r);function r(n){HS(this,r);var o;o=t.call(this,n),Ge(ze(o),"radioMode",void 0),Ge(ze(o),"options",void 0),Ge(ze(o),"optionConfig",void 0),Ge(ze(o),"optionsFormat",void 0),Ge(ze(o),"defaultShowOptions",void 0),Ge(ze(o),"otherOption",void 0),Ge(ze(o),"optionsOrder",void 0),Ge(ze(o),"datasourceBind",void 0),Ge(ze(o),"multistageFilling",void 0),Ge(ze(o),"interreaction",void 0),Ge(ze(o),"defaultValue",void 0),Ge(ze(o),"openMultistageFilling",void 0);var i;o.options=bt((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:Ho.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 y;(y=o.multistageFilling)===null||y===void 0||y.push(new Re(m))})),o}return r}(A);Ge(El,"Rules",JY);function WS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZY(e,t,r){return t&&KS(e.prototype,t),r&&KS(e,r),e}function Il(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bl(e)}function 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&&ih(e,t)}function tH(e,t){return t&&(nH(t)==="object"||typeof t=="function")?t:WS(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function nH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oH(e){var t=rH();return function(){var n=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tH(this,o)}}var Ho=function(e){eH(r,e);var t=oH(r);function r(n){QY(this,r);var o;return o=t.call(this,n),Il(WS(o),"props",void 0),o.props=new El(n==null?void 0:n.props),o}return ZY(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(M);Il(Ho,"controlEventKeys",["on_change","on_click"]),Il(Ho,"controlFieldType",c.FieldTypes.VARCHAR),Il(Ho,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 XS(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 JS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uH(e,t,r){return t&&JS(e.prototype,t),r&&JS(e,r),e}function QS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function cH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uh(e,t)}function lH(e,t){return t&&(fH(t)==="object"||typeof t=="function")?t:XS(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}function fH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sH(e){var t=aH();return function(){var n=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lH(this,o)}}var ZS=function(e){cH(r,e);var t=sH(r);function r(n){iH(this,r);var o;return o=t.call(this,n),QS(XS(o),"props",void 0),o.props=new El(n==null?void 0:n.props),o}return uH(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(k);QS(ZS,"controlFieldType",c.FieldTypes.VARCHAR);var eE={Designer:Ho,Runtime:ZS,Property:El};function Ie(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 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 Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Al(e)}function lh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function _H(e,t){return t&&(yH(t)==="object"||typeof t=="function")?t:Ie(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function yH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ah(e){var t=dH();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 _H(this,o)}}var pH=function(e){lh(r,e);var t=ah(r);function r(n){ch(this,r);var o;o=t.call(this,n),Pe(Ie(o),"defaultValue",[{type:"number",min:0,max:200,message:h.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),Pe(Ie(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=Lo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ue),vH=function(e){lh(r,e);var t=ah(r);function r(n){ch(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:Lo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(x),qo=function(e){lh(r,e);var t=ah(r);function r(n){ch(this,r);var o;o=t.call(this,n),Pe(Ie(o),"rangeMin",void 0),Pe(Ie(o),"rangeMax",void 0),Pe(Ie(o),"numberType",void 0),Pe(Ie(o),"percentageFormat",void 0),Pe(Ie(o),"micrometer",void 0),Pe(Ie(o),"precision",void 0),Pe(Ie(o),"showUpperCase",void 0),Pe(Ie(o),"isShowUnit",void 0),Pe(Ie(o),"unitPosition",void 0),Pe(Ie(o),"unit",void 0),Pe(Ie(o),"defaultValue",void 0),Pe(Ie(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:Uo.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u8F93\u5165";var y;return o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"",o.regularRules=new yd(n==null?void 0:n.regularRules),o}return r}(A);Pe(qo,"Rules",pH),Pe(qo,"RuntimeRules",vH);function tE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 bH(e,t,r){return t&&nE(e.prototype,t),r&&nE(e,r),e}function Ml(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?kl=Reflect.get:kl=function(o,i,u){var l=OH(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},kl(e,t,r||e)}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Br(e)}function gH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function mH(e,t){return t&&(wH(t)==="object"||typeof t=="function")?t:tE(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}function OH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Br(e),e!==null););return e}function wH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $H(e){var t=PH();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 mH(this,o)}}var Uo=function(e){gH(r,e);var t=$H(r);function r(n){hH(this,r);var o;return o=t.call(this,n),Ml(tE(o),"props",void 0),o.props=new qo(n==null?void 0:n.props),o}return bH(r,[{key:"toDataBindModel",value:function(o){var i=kl(Br(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);Ml(Uo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ml(Uo,"controlFieldType",c.FieldTypes.DECIMAL),Ml(Uo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 rE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TH(e,t,r){return t&&oE(e.prototype,t),r&&oE(e,r),e}function iE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dl(e)}function SH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function EH(e,t){return t&&(IH(t)==="object"||typeof t=="function")?t:rE(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}function IH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=BH();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 EH(this,o)}}var uE=function(e){SH(r,e);var t=NH(r);function r(n){RH(this,r);var o;return o=t.call(this,n),iE(rE(o),"props",void 0),o.props=new qo(n==null?void 0:n.props),o}return TH(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(k);iE(uE,"controlFieldType",c.FieldTypes.DECIMAL);var cE={Designer:Uo,Runtime:uE,Property:qo};function Ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(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&&yh(e,t)}function kH(e,t){return t&&(DH(t)==="object"||typeof t=="function")?t:Ct(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}function DH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jH(e){var t=LH();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 kH(this,o)}}var dh=function(e){MH(r,e);var t=jH(r);function r(n){AH(this,r);var o,i;o=t.call(this,n),an(Ct(o),"dateType",void 0),an(Ct(o),"dateFormat",void 0),an(Ct(o),"commonTimeSetting",void 0),an(Ct(o),"setValueType",void 0),an(Ct(o),"defaultValue",void 0),an(Ct(o),"limitDateList",void 0),an(Ct(o),"allowDateRange",void 0),an(Ct(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var 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:Fl.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 zu(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 lE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CH(e,t,r){return t&&fE(e.prototype,t),r&&fE(e,r),e}function ph(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?jl=Reflect.get:jl=function(o,i,u){var l=zH(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},jl(e,t,r||e)}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(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 VH(e,t){return t&&(GH(t)==="object"||typeof t=="function")?t:lE(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}function zH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Nr(e),e!==null););return e}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=Nr(e),o;if(t){var i=Nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VH(this,o)}}var Fl=function(e){xH(r,e);var t=HH(r);function r(n){FH(this,r);var o;return o=t.call(this,n),ph(lE(o),"props",void 0),o.props=new dh(n==null?void 0:n.props),o}return CH(r,[{key:"toDataBindModel",value:function(o){var i=jl(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"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(M);ph(Fl,"controlFieldType",c.FieldTypes.TIMESTAMP),ph(Fl,"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 aE(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 sE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UH(e,t,r){return t&&sE(e.prototype,t),r&&sE(e,r),e}function _E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cl(e)}function WH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hh(e,t)}function KH(e,t){return t&&(XH(t)==="object"||typeof t=="function")?t:aE(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(e,t)}function XH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QH(e){var t=JH();return function(){var n=Cl(e),o;if(t){var i=Cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KH(this,o)}}var yE=function(e){WH(r,e);var t=QH(r);function r(n){qH(this,r);var o;return o=t.call(this,n),_E(aE(o),"props",void 0),o.props=new dh(n==null?void 0:n.props),o}return UH(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(k);_E(yE,"controlFieldType",c.FieldTypes.TIMESTAMP);var dE={Designer:Fl,Runtime:yE,Property:dh};function rt(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 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 xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function vE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bh(e,t)}function ZH(e,t){return t&&(eq(t)==="object"||typeof t=="function")?t:rt(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(e,t)}function eq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function 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 hE(e){var t=tq();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 ZH(this,o)}}var nq=function(e){vE(r,e);var t=hE(r);function r(n){pE(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),Vl=function(e){vE(r,e);var t=hE(r);function r(n){pE(this,r);var o,i;o=t.call(this,n),ot(rt(o),"dataBind",void 0),ot(rt(o),"rangeMin",void 0),ot(rt(o),"rangeMax",void 0),ot(rt(o),"placeholderStart",void 0),ot(rt(o),"placeholderEnd",void 0),ot(rt(o),"dateFormat",void 0),ot(rt(o),"commonTimeSetting",void 0),ot(rt(o),"dateType",void 0),ot(rt(o),"setValueType",void 0),ot(rt(o),"defaultValue",void 0),ot(rt(o),"limitDateList",void 0),o.dataBind=new BP(n==null?void 0:n.dataBind),o.defaultValue=new NP(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:Gl.controlName;var v;return o.limitDateList=(v=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(m){return new zu(m)}))!==null&&v!==void 0?v:[],o}return r}(A);ot(Vl,"RuntimeRules",nq);function bE(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 gE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oq(e,t,r){return t&&gE(e.prototype,t),r&&gE(e,r),e}function gh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?zl=Reflect.get:zl=function(o,i,u){var l=cq(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},zl(e,t,r||e)}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ar(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&&mh(e,t)}function uq(e,t){return t&&(lq(t)==="object"||typeof t=="function")?t:bE(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}function cq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ar(e),e!==null););return e}function lq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aq(e){var t=fq();return function(){var n=Ar(e),o;if(t){var i=Ar(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uq(this,o)}}var Gl=function(e){iq(r,e);var t=aq(r);function r(n){rq(this,r);var o;return o=t.call(this,n),gh(bE(o),"props",void 0),o.props=new Vl(n==null?void 0:n.props),o}return oq(r,[{key:"toDataBindModel",value:function(o){var i=zl(Ar(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);gh(Gl,"controlFieldType",c.FieldTypes.TIMESCOPE),gh(Gl,"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 mE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _q(e,t,r){return t&&OE(e.prototype,t),r&&OE(e,r),e}function wE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function yq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function dq(e,t){return t&&(pq(t)==="object"||typeof t=="function")?t:mE(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(e,t)}function pq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hq(e){var t=vq();return function(){var n=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dq(this,o)}}var PE=function(e){yq(r,e);var t=hq(r);function r(n){sq(this,r);var o;return o=t.call(this,n),wE(mE(o),"props",void 0),o.props=new Vl(n==null?void 0:n.props),o}return _q(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(k);wE(PE,"controlFieldType",c.FieldTypes.TIMESCOPE);var $E={Designer:Gl,Runtime:PE,Property:Vl};function sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function Ph(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$h(e,t)}function bq(e,t){return t&&(gq(t)==="object"||typeof t=="function")?t:sn(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(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 Rh(e){var t=mq();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 bq(this,o)}}var Oq=function(e){Ph(r,e);var t=Rh(r);function r(n){wh(this,r);var o;return o=t.call(this,n),xt(sn(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),xt(sn(o),"minLength",{type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),xt(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),wq=function(e){Ph(r,e);var t=Rh(r);function r(n){wh(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),Wo=function(e){Ph(r,e);var t=Rh(r);function r(n){wh(this,r);var o;o=t.call(this,n),xt(sn(o),"maxLength",void 0),xt(sn(o),"minLength",void 0),xt(sn(o),"defaultValue",void 0),xt(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:Ko.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o.rowHeightSetting=new id(n==null?void 0:n.rowHeightSetting),o}return r}(A);xt(Wo,"Rules",Oq),xt(Wo,"RuntimeRules",wq);function RE(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 TE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $q(e,t,r){return t&&TE(e.prototype,t),r&&TE(e,r),e}function ql(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ul(e)}function Rq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Th(e,t)}function Tq(e,t){return t&&(Sq(t)==="object"||typeof t=="function")?t:RE(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}function Sq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iq(e){var t=Eq();return function(){var n=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tq(this,o)}}var Ko=function(e){Rq(r,e);var t=Iq(r);function r(n){Pq(this,r);var o;return o=t.call(this,n),ql(RE(o),"props",void 0),o.props=new Wo(n==null?void 0:n.props),o}return $q(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(Ko,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),ql(Ko,"controlFieldType",c.FieldTypes.TEXT),ql(Ko,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}]);function SE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bq(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 Nq(e,t,r){return t&&EE(e.prototype,t),r&&EE(e,r),e}function IE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wl(e)}function Aq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sh(e,t)}function Mq(e,t){return t&&(kq(t)==="object"||typeof t=="function")?t:SE(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}function kq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lq(e){var t=Dq();return function(){var n=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mq(this,o)}}var BE=function(e){Aq(r,e);var t=Lq(r);function r(n){Bq(this,r);var o;return o=t.call(this,n),IE(SE(o),"props",void 0),o.props=new Wo(n==null?void 0:n.props),o}return Nq(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(k);IE(BE,"controlFieldType",c.FieldTypes.TEXT);var NE={Designer:Ko,Runtime:BE,Property:Wo};function In(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(e)}function Ih(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bh(e,t)}function jq(e,t){return t&&(Fq(t)==="object"||typeof t=="function")?t:In(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bh(e,t)}function Fq(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 Nh(e){var t=Cq();return function(){var n=Kl(e),o;if(t){var i=Kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jq(this,o)}}var xq=function(e){Ih(r,e);var t=Nh(r);function r(n){Eh(this,r);var o;return o=t.call(this,n),_n(In(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),_n(In(o),"minLength",{type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),_n(In(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),Vq=function(e){Ih(r,e);var t=Nh(r);function r(n){Eh(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){Ih(r,e);var t=Nh(r);function r(n){Eh(this,r);var o;o=t.call(this,n),_n(In(o),"maxLength",void 0),_n(In(o),"minLength",void 0),_n(In(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var l;o.defaultValue=(l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:"";var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:Jo.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(Xo,"Rules",xq),_n(Xo,"RuntimeRules",Vq);function AE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ME(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gq(e,t,r){return t&&ME(e.prototype,t),r&&ME(e,r),e}function Xl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jl(e)}function Yq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ah(e,t)}function Hq(e,t){return t&&(qq(t)==="object"||typeof t=="function")?t:AE(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}function qq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wq(e){var t=Uq();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 Hq(this,o)}}var Jo=function(e){Yq(r,e);var t=Wq(r);function r(n){zq(this,r);var o;return o=t.call(this,n),Xl(AE(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return Gq(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);Xl(Jo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Xl(Jo,"controlFieldType",c.FieldTypes.TEXT),Xl(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:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function kE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kq(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 Xq(e,t,r){return t&&DE(e.prototype,t),r&&DE(e,r),e}function LE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ql(e)}function Jq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function Qq(e,t){return t&&(Zq(t)==="object"||typeof t=="function")?t:kE(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}function Zq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tU(e){var t=eU();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 Qq(this,o)}}var jE=function(e){Jq(r,e);var t=tU(r);function r(n){Kq(this,r);var o;return o=t.call(this,n),LE(kE(o),"props",void 0),o.props=new Xo(n==null?void 0:n.props),o}return Xq(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(k);LE(jE,"controlFieldType",c.FieldTypes.TEXT);var FE={Designer:Jo,Runtime:jE,Property:Xo};function Ye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(e)}function xE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kh(e,t)}function nU(e,t){return t&&(rU(t)==="object"||typeof t=="function")?t:Ye(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}function rU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VE(e){var t=oU();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 nU(this,o)}}var iU=function(e){xE(r,e);var t=VE(r);function r(n){CE(this,r);var o;return o=t.call(this,n),He(Ye(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Tn),ef=function(e){xE(r,e);var t=VE(r);function r(n){CE(this,r);var o;o=t.call(this,n),He(Ye(o),"options",void 0),He(Ye(o),"defaultShowOptions",void 0),He(Ye(o),"optionConfig",void 0),He(Ye(o),"defaultValue",void 0),He(Ye(o),"datasourceBind",void 0),He(Ye(o),"multistageFilling",void 0),He(Ye(o),"allowCopyOptions",void 0),He(Ye(o),"openMultistageFilling",void 0),He(Ye(o),"viewFormModelType",void 0),He(Ye(o),"canViewForm",void 0),He(Ye(o),"formBind",void 0);var i;o.options=bt((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:nf.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var _;o.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 Re(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 Rn(n==null?void 0:n.formBind),o}return r}(A);He(ef,"Rules",iU);function zE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cU(e,t,r){return t&&GE(e.prototype,t),r&&GE(e,r),e}function Dh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(e)}function lU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lh(e,t)}function fU(e,t){return t&&(aU(t)==="object"||typeof t=="function")?t:zE(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}function aU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _U(e){var t=sU();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 fU(this,o)}}var nf=function(e){lU(r,e);var t=_U(r);function r(n){uU(this,r);var o;return o=t.call(this,n),Dh(zE(o),"props",void 0),o.props=new ef(n==null?void 0:n.props),o}return cU(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);Dh(nf,"controlFieldType",c.FieldTypes.VARCHAR),Dh(nf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,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 YE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dU(e,t,r){return t&&HE(e.prototype,t),r&&HE(e,r),e}function qE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function pU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jh(e,t)}function vU(e,t){return t&&(hU(t)==="object"||typeof t=="function")?t:YE(e)}function jh(e,t){return jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jh(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 gU(e){var t=bU();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 vU(this,o)}}var UE=function(e){pU(r,e);var t=gU(r);function r(n){yU(this,r);var o;return o=t.call(this,n),qE(YE(o),"props",void 0),o.props=new ef(n==null?void 0:n.props),o}return dU(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(k);qE(UE,"controlFieldType",c.FieldTypes.VARCHAR);var WE={Designer:nf,Runtime:UE,Property:ef};function it(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function Ch(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xh(e,t)}function mU(e,t){return t&&(OU(t)==="object"||typeof t=="function")?t:it(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}function OU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vh(e){var t=wU();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 mU(this,o)}}var PU=function(e){Ch(r,e);var t=Vh(r);function r(n){Fh(this,r);var o;return o=t.call(this,n),qe(it(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Tn),$U=function(e){Ch(r,e);var t=Vh(r);function r(n){Fh(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),Qo=function(e){Ch(r,e);var t=Vh(r);function r(n){Fh(this,r);var o;o=t.call(this,n),qe(it(o),"options",void 0),qe(it(o),"defaultShowOptions",void 0),qe(it(o),"optionConfig",void 0),qe(it(o),"defaultValue",void 0),qe(it(o),"datasourceBind",void 0),qe(it(o),"multistageFilling",void 0),qe(it(o),"openMultistageFilling",void 0),qe(it(o),"viewFormModelType",void 0),qe(it(o),"canViewForm",void 0),qe(it(o),"formBind",void 0);var i;o.options=bt((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:cf.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Re(g))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Rn(n==null?void 0:n.formBind),o}return r}(A);qe(Qo,"Rules",PU),qe(Qo,"RuntimeRules",$U);function KE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TU(e,t,r){return t&&XE(e.prototype,t),r&&XE(e,r),e}function zh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uf(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&&Gh(e,t)}function EU(e,t){return t&&(IU(t)==="object"||typeof t=="function")?t:KE(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}function IU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NU(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 EU(this,o)}}var cf=function(e){SU(r,e);var t=NU(r);function r(n){RU(this,r);var o;return o=t.call(this,n),zh(KE(o),"props",void 0),o.props=new Qo(n==null?void 0:n.props),o}return TU(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);zh(cf,"controlFieldType",c.FieldTypes.ARRAY),zh(cf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function JE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AU(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 MU(e,t,r){return t&&QE(e.prototype,t),r&&QE(e,r),e}function ZE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lf(e)}function kU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DU(e,t){return t&&(LU(t)==="object"||typeof t=="function")?t:JE(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}function LU(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 FU(e){var t=jU();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 DU(this,o)}}var eI=function(e){kU(r,e);var t=FU(r);function r(n){AU(this,r);var o;return o=t.call(this,n),ZE(JE(o),"props",void 0),o.props=new Qo(n==null?void 0:n.props),o}return MU(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(k);ZE(eI,"controlFieldType",c.FieldTypes.ARRAY);var tI={Designer:cf,Runtime:eI,Property:Qo};function Vt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function rI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 CU(e,t){return t&&(xU(t)==="object"||typeof t=="function")?t:Vt(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 VU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oI(e){var t=VU();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 CU(this,o)}}var zU=function(e){rI(r,e);var t=oI(r);function r(n){nI(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),af=function(e){rI(r,e);var t=oI(r);function r(n){nI(this,r);var o;o=t.call(this,n),zt(Vt(o),"showType",void 0),zt(Vt(o),"range",void 0),zt(Vt(o),"rangeOptions",void 0),zt(Vt(o),"multiple",void 0),zt(Vt(o),"defaultValueType",void 0),zt(Vt(o),"defaultValue",void 0),zt(Vt(o),"multistageFilling",void 0),zt(Vt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:_f.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 Re(g))})),o}return r}(A);zt(af,"RuntimeRules",zU);function iI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YU(e,t,r){return t&&uI(e.prototype,t),r&&uI(e,r),e}function qh(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 HU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uh(e,t)}function qU(e,t){return t&&(UU(t)==="object"||typeof t=="function")?t:iI(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}function UU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KU(e){var t=WU();return function(){var n=sf(e),o;if(t){var i=sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qU(this,o)}}var _f=function(e){HU(r,e);var t=KU(r);function r(n){GU(this,r);var o;return o=t.call(this,n),qh(iI(o),"props",void 0),o.props=new af(n==null?void 0:n.props),o}return YU(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(M);qh(_f,"controlFieldType",c.FieldTypes.EMPLOYEES),qh(_f,"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 cI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JU(e,t,r){return t&&lI(e.prototype,t),r&&lI(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 yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function QU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wh(e,t)}function ZU(e,t){return t&&(eW(t)==="object"||typeof t=="function")?t:cI(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}function eW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nW(e){var t=tW();return function(){var n=yf(e),o;if(t){var i=yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZU(this,o)}}var aI=function(e){QU(r,e);var t=nW(r);function r(n){XU(this,r);var o;return o=t.call(this,n),fI(cI(o),"props",void 0),o.props=new af(n==null?void 0:n.props),o}return JU(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(k);fI(aI,"controlFieldType",c.FieldTypes.EMPLOYEES);var sI={Designer:_f,Runtime:aI,Property:af};function Gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(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&&Jh(e,t)}function rW(e,t){return t&&(oW(t)==="object"||typeof t=="function")?t:Gt(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}function oW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qh(e){var t=iW();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 rW(this,o)}}var uW=10485760,cW=104857600,lW=1048576e3,fW=function(e){Xh(r,e);var t=Qh(r);function r(n){Kh(this,r);var o;return o=t.call(this,n),Pt(Gt(o),"maxSize",{type:"number",min:0,max:lW,message:h.getMessage("attachmentMaxSize")}),o}return r}(ue),aW=function(e){Xh(r,e);var t=Qh(r);function r(n){Kh(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:h.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(x),Mr=function(e){Xh(r,e);var t=Qh(r);function r(n){Kh(this,r);var o;o=t.call(this,n),Pt(Gt(o),"defaultValue",void 0),Pt(Gt(o),"showType",void 0),Pt(Gt(o),"resultShowType",void 0),Pt(Gt(o),"attachmentAccept",void 0),Pt(Gt(o),"maxLimit",void 0),Pt(Gt(o),"minLimit",void 0),Pt(Gt(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var 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?_:cW;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:kr.controlName;var b;return o.placeholder=(b=n==null?void 0:n.placeholder)!==null&&b!==void 0?b:"\u4E0A\u4F20\u9644\u4EF6",o}return r}(A);Pt(Mr,"Rules",fW),Pt(Mr,"RuntimeRules",aW);function _I(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _W(e,t,r){return t&&yI(e.prototype,t),r&&yI(e,r),e}function pf(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 yW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zh(e,t)}function dW(e,t){return t&&(pW(t)==="object"||typeof t=="function")?t:_I(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}function pW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hW(e){var t=vW();return function(){var n=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dW(this,o)}}var kr=function(e){yW(r,e);var t=hW(r);function r(n){sW(this,r);var o;return o=t.call(this,n),pf(_I(o),"props",void 0),o.props=new Mr(n==null?void 0:n.props),o}return _W(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(M);pf(kr,"controlEventKeys",["on_change"]),pf(kr,"controlFieldType",c.FieldTypes.FILE),pf(kr,"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 dI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gW(e,t,r){return t&&pI(e.prototype,t),r&&pI(e,r),e}function vI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function mW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eb(e,t)}function OW(e,t){return t&&(wW(t)==="object"||typeof t=="function")?t:dI(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}function wW(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 $W(e){var t=PW();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 OW(this,o)}}var tb=function(e){mW(r,e);var t=$W(r);function r(n){bW(this,r);var o;return o=t.call(this,n),vI(dI(o),"props",void 0),o.props=new Mr(n==null?void 0:n.props),o}return gW(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(k);vI(tb,"controlFieldType",c.FieldTypes.FILE);var hI={Designer:kr,Runtime:tb,Property:Mr};function RW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 SW(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 bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(e)}function EW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nb(e,t)}function IW(e,t){return t&&(BW(t)==="object"||typeof t=="function")?t:RW(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}function BW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AW(e){var t=NW();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 IW(this,o)}}var rb=function(e){EW(r,e);var t=AW(r);function r(n){TW(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 SW(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(kr);gI(rb,"controlFieldType",c.FieldTypes.IMAGE),gI(rb,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function MW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kW(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 DW(e,t,r){return t&&mI(e.prototype,t),r&&mI(e,r),e}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function LW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ob(e,t)}function jW(e,t){return t&&(FW(t)==="object"||typeof t=="function")?t:MW(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function FW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=CW();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 jW(this,o)}}var VW=function(e){LW(r,e);var t=xW(r);function r(n){kW(this,r);var o,i,u,l;o=t.call(this,n),o.props.showType="image";var f;o.props.maxLimit=(f=n==null||(i=n.props)===null||i===void 0?void 0:i.maxLimit)!==null&&f!==void 0?f:9;var a;o.props.caption=(a=n==null||(u=n.props)===null||u===void 0?void 0:u.caption)!==null&&a!==void 0?a:"\u56FE\u7247";var s;return o.props.placeholder=(s=n==null||(l=n.props)===null||l===void 0?void 0:l.placeholder)!==null&&s!==void 0?s:"\u4E0A\u4F20\u56FE\u7247",o}return DW(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(tb);function zW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mf(e)}function YW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ib(e,t)}function HW(e,t){return t&&(qW(t)==="object"||typeof t=="function")?t:zW(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 UW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WW(e){var t=UW();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 KW=function(e){YW(r,e);var t=WW(r);function r(n){return GW(this,r),t.call(this,n)}return r}(Mr),OI={Designer:rb,Runtime:VW,Property:KW};function Be(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 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 Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function cb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XW(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){ye(e,o,r[o])})}return e}function JW(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 QW(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):JW(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function ZW(e,t){return t&&(eK(t)==="object"||typeof t=="function")?t:Be(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function eK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fb(e){var t=tK();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ZW(this,o)}}var nK=function(e){cb(r,e);var t=fb(r);function r(n){ub(this,r);var o;o=t.call(this,n),ye(Be(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:h.getMessage("pleaseEnterNumberRange")}]}}),ye(Be(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}(Tn),rK=function(e){cb(r,e);var t=fb(r);function r(n){ub(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:[QW(XW({},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),Zo=function(e){cb(r,e);var t=fb(r);function r(n){ub(this,r);var o;o=t.call(this,n),ye(Be(o),"rangeMin",void 0),ye(Be(o),"rangeMax",void 0),ye(Be(o),"showUpperCase",void 0),ye(Be(o),"submitSelectCurrency",void 0),ye(Be(o),"micrometer",void 0),ye(Be(o),"precision",void 0),ye(Be(o),"unitPosition",void 0),ye(Be(o),"optionConfig",void 0),ye(Be(o),"dataBind",void 0),ye(Be(o),"datasourceBind",void 0),ye(Be(o),"defaultValue",void 0),ye(Be(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 EP(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 Qi({value:"name"})]});var _;o.defaultValue=new IP((_=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=bt(n==null?void 0:n.options);var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:ei.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\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);ye(Zo,"Rules",nK),ye(Zo,"RuntimeRules",rK);function wI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iK(e,t,r){return t&&PI(e.prototype,t),r&&PI(e,r),e}function wf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Pf=Reflect.get:Pf=function(o,i,u){var l=lK(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Pf(e,t,r||e)}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(e)}function uK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ab(e,t)}function cK(e,t){return t&&(fK(t)==="object"||typeof t=="function")?t:wI(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}function lK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Dr(e),e!==null););return e}function fK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sK(e){var t=aK();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 cK(this,o)}}var ei=function(e){uK(r,e);var t=sK(r);function r(n){oK(this,r);var o;return o=t.call(this,n),wf(wI(o),"props",void 0),o.props=new Zo(n==null?void 0:n.props),o}return iK(r,[{key:"toDataBindModel",value:function(o){var i=Pf(Dr(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);wf(ei,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),wf(ei,"controlFieldType",c.FieldTypes.MONEY),wf(ei,"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 $I(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _K(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yK(e,t,r){return t&&RI(e.prototype,t),r&&RI(e,r),e}function TI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function dK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sb(e,t)}function pK(e,t){return t&&(vK(t)==="object"||typeof t=="function")?t:$I(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function vK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bK(e){var t=hK();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 pK(this,o)}}var SI=function(e){dK(r,e);var t=bK(r);function r(n){_K(this,r);var o;return o=t.call(this,n),TI($I(o),"props",void 0),o.props=new Zo(n==null?void 0:n.props),o}return yK(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(k);TI(SI,"controlFieldType",c.FieldTypes.MONEY);var EI={Designer:ei,Runtime:SI,Property:Zo};function yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function yb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&db(e,t)}function gK(e,t){return t&&(mK(t)==="object"||typeof t=="function")?t:yn(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}function mK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pb(e){var t=OK();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 gK(this,o)}}var wK=function(e){yb(r,e);var t=pb(r);function r(n){_b(this,r);var o;return o=t.call(this,n),Yt(yn(o),"totalScore",[{type:"number",required:!0,message:h.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:h.getMessage("theTotalScoreMustNotBeLessThan1")}]),Yt(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),PK=function(e){yb(r,e);var t=pb(r);function r(n){_b(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),ti=function(e){yb(r,e);var t=pb(r);function r(n){_b(this,r);var o,i;o=t.call(this,n),Yt(yn(o),"totalScore",void 0),Yt(yn(o),"scoreType",void 0),Yt(yn(o),"isShowExplain",void 0),Yt(yn(o),"explain",void 0),Yt(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 Gu(p)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new Gu});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?_:ni.controlName,o}return r}(A);Yt(ti,"Rules",wK),Yt(ti,"RuntimeRules",PK);function vb(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 $K(e){if(Array.isArray(e))return vb(e)}function II(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 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 TK(e,t,r){return t&&BI(e.prototype,t),r&&BI(e,r),e}function Tf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Sf=Reflect.get:Sf=function(o,i,u){var l=NK(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Sf(e,t,r||e)}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lr(e)}function SK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hb(e,t)}function EK(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function IK(){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 BK(e,t){return t&&(MK(t)==="object"||typeof t=="function")?t:II(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(e,t)}function NK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Lr(e),e!==null););return e}function AK(e){return $K(e)||EK(e)||kK(e)||IK()}function MK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kK(e,t){if(!!e){if(typeof e=="string")return vb(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 vb(e,t)}}function DK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LK(e){var t=DK();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 BK(this,o)}}var ni=function(e){SK(r,e);var t=LK(r);function r(n){RK(this,r);var o;return o=t.call(this,n),Tf(II(o),"props",void 0),o.props=new ti(n==null?void 0:n.props),o}return TK(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 Gu});(u=this.props.explain).push.apply(u,AK(f))}}Sf(Lr(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);Tf(ni,"controlEventKeys",["on_change","on_click"]),Tf(ni,"controlFieldType",c.FieldTypes.DECIMAL),Tf(ni,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 NI(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 AI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FK(e,t,r){return t&&AI(e.prototype,t),r&&AI(e,r),e}function MI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ef(e){return Ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ef(e)}function CK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bb(e,t)}function xK(e,t){return t&&(VK(t)==="object"||typeof t=="function")?t:NI(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function VK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GK(e){var t=zK();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 xK(this,o)}}var kI=function(e){CK(r,e);var t=GK(r);function r(n){jK(this,r);var o;return o=t.call(this,n),MI(NI(o),"props",void 0),o.props=new ti(n==null?void 0:n.props),o}return FK(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(k);MI(kI,"controlFieldType",c.FieldTypes.DECIMAL);var DI={Designer:ni,Runtime:kI,Property:ti};function If(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function jI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YK(e,t){return t&&(HK(t)==="object"||typeof t=="function")?t:If(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(e,t)}function HK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FI(e){var t=qK();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 YK(this,o)}}var UK=function(e){jI(r,e);var t=FI(r);function r(n){LI(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),Af=function(e){jI(r,e);var t=FI(r);function r(n){LI(this,r);var o;o=t.call(this,n),Bf(If(o),"defaultValueType",void 0),Bf(If(o),"defaultValue",void 0),Bf(If(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:kf.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 AP((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);Bf(Af,"RuntimeRules",UK);function CI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KK(e,t,r){return t&&xI(e.prototype,t),r&&xI(e,r),e}function mb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function XK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ob(e,t)}function JK(e,t){return t&&(QK(t)==="object"||typeof t=="function")?t:CI(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function QK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eX(e){var t=ZK();return function(){var n=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JK(this,o)}}var kf=function(e){XK(r,e);var t=eX(r);function r(n){WK(this,r);var o;return o=t.call(this,n),mb(CI(o),"props",void 0),o.props=new Af(n==null?void 0:n.props),o}return KK(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(M);mb(kf,"controlFieldType",c.FieldTypes.ADDRESS),mb(kf,"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 VI(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 nX(e,t,r){return t&&zI(e.prototype,t),r&&zI(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 Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(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&&wb(e,t)}function oX(e,t){return t&&(iX(t)==="object"||typeof t=="function")?t:VI(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(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=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oX(this,o)}}var YI=function(e){rX(r,e);var t=cX(r);function r(n){tX(this,r);var o;return o=t.call(this,n),GI(VI(o),"props",void 0),o.props=new Af(n==null?void 0:n.props),o}return nX(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(k);GI(YI,"controlFieldType",c.FieldTypes.ADDRESS);var HI={Designer:kf,Runtime:YI,Property:Af};function st(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qI(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 Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(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&&Pb(e,t)}function lX(e,t){return t&&(fX(t)==="object"||typeof t=="function")?t:st(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function fX(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 WI(e){var t=aX();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 lX(this,o)}}var sX=function(e){UI(r,e);var t=WI(r);function r(n){qI(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),jf=function(e){UI(r,e);var t=WI(r);function r(n){qI(this,r);var o;o=t.call(this,n),_t(st(o),"showType",void 0),_t(st(o),"range",void 0),_t(st(o),"defaultValueType",void 0),_t(st(o),"multiple",void 0),_t(st(o),"rangeOptions",void 0),_t(st(o),"defaultValue",void 0),_t(st(o),"displayLevel",void 0),_t(st(o),"showSubDept",void 0),_t(st(o),"multistageFilling",void 0),_t(st(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:ri.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 y;(y=o.multistageFilling)===null||y===void 0||y.push(new Re(m))})),o}return r}(A);_t(jf,"RuntimeRules",sX);function KI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yX(e,t,r){return t&&XI(e.prototype,t),r&&XI(e,r),e}function Ff(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Cf=Reflect.get:Cf=function(o,i,u){var l=vX(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Cf(e,t,r||e)}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jr(e)}function dX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$b(e,t)}function pX(e,t){return t&&(hX(t)==="object"||typeof t=="function")?t:KI(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}function vX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=jr(e),e!==null););return e}function hX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gX(e){var t=bX();return function(){var n=jr(e),o;if(t){var i=jr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pX(this,o)}}var ri=function(e){dX(r,e);var t=gX(r);function r(n){_X(this,r);var o;return o=t.call(this,n),Ff(KI(o),"props",void 0),o.props=new jf(n==null?void 0:n.props),o}return yX(r,[{key:"toDataBindModel",value:function(o){var i=Cf(jr(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);Ff(ri,"controlName","\u90E8\u95E8"),Ff(ri,"controlFieldType",c.FieldTypes.DEPARTMENTS),Ff(ri,"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 JI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OX(e,t,r){return t&&QI(e.prototype,t),r&&QI(e,r),e}function ZI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function wX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rb(e,t)}function PX(e,t){return t&&($X(t)==="object"||typeof t=="function")?t:JI(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(e,t)}function $X(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TX(e){var t=RX();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 PX(this,o)}}var eB=function(e){wX(r,e);var t=TX(r);function r(n){mX(this,r);var o;return o=t.call(this,n),ZI(JI(o),"props",void 0),o.props=new jf(n==null?void 0:n.props),o}return OX(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(k);ZI(eB,"controlFieldType",c.FieldTypes.DEPARTMENTS);var tB={Designer:ri,Runtime:eB,Property:jf};function nB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function IX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tb(e,t)}function BX(e,t){return t&&(NX(t)==="object"||typeof t=="function")?t:nB(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(e,t)}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=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 Sb=function(e){IX(r,e);var t=MX(r);function r(n){SX(this,r);var o;o=t.call(this,n),EX(nB(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:oi.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 rB(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 oB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DX(e,t,r){return t&&oB(e.prototype,t),r&&oB(e,r),e}function zf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function 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&&Eb(e,t)}function jX(e,t){return t&&(FX(t)==="object"||typeof t=="function")?t:rB(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}function FX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xX(e){var t=CX();return function(){var n=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jX(this,o)}}var oi=function(e){LX(r,e);var t=xX(r);function r(n){kX(this,r);var o;return o=t.call(this,n),zf(rB(o),"props",void 0),o.props=new Sb(n==null?void 0:n.props),o}return DX(r,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(M);zf(oi,"controlEventKeys",["on_change"]),zf(oi,"controlFieldType",c.FieldTypes.AUTO_NUMBER),zf(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:"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 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 uB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zX(e,t,r){return t&&uB(e.prototype,t),r&&uB(e,r),e}function cB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function GX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ib(e,t)}function YX(e,t){return t&&(HX(t)==="object"||typeof t=="function")?t:iB(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}function HX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UX(e){var t=qX();return function(){var n=Yf(e),o;if(t){var i=Yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YX(this,o)}}var lB=function(e){GX(r,e);var t=UX(r);function r(n){VX(this,r);var o;return o=t.call(this,n),cB(iB(o),"props",void 0),o.props=new Sb(n==null?void 0:n.props),o}return zX(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(k);cB(lB,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var fB={Designer:oi,Runtime:lB,Property:Sb};function $t(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 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 Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(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&&Ab(e,t)}function WX(e,t){return t&&(KX(t)==="object"||typeof t=="function")?t:$t(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function KX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mb(e){var t=XX();return function(){var n=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WX(this,o)}}var JX=function(e){Nb(r,e);var t=Mb(r);function r(n){Bb(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),QX=function(e){Nb(r,e);var t=Mb(r);function r(n){Bb(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),ii=function(e){Nb(r,e);var t=Mb(r);function r(n){Bb(this,r);var o;o=t.call(this,n),yt($t(o),"precision",void 0),yt($t(o),"micrometer",void 0),yt($t(o),"showUpperCase",void 0),yt($t(o),"scriptSrc",void 0),yt($t(o),"scriptEcho",void 0),yt($t(o),"dataBind",void 0),yt($t(o),"defaultValue",void 0),yt($t(o),"unitPosition",void 0),yt($t(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 MP(n==null?void 0:n.dataBind),o.defaultValue=new kP(n==null?void 0:n.defaultValue);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:ui.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);yt(ii,"Rules",JX),yt(ii,"RuntimeRules",QX);function aB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eJ(e,t,r){return t&&sB(e.prototype,t),r&&sB(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 Uf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Uf=Reflect.get:Uf=function(o,i,u){var l=rJ(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Uf(e,t,r||e)}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fr(e)}function tJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function nJ(e,t){return t&&(oJ(t)==="object"||typeof t=="function")?t:aB(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}function rJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Fr(e),e!==null););return e}function oJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uJ(e){var t=iJ();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 nJ(this,o)}}var ui=function(e){tJ(r,e);var t=uJ(r);function r(n){ZX(this,r);var o;return o=t.call(this,n),qf(aB(o),"props",void 0),o.props=new ii(n==null?void 0:n.props),o}return eJ(r,[{key:"toDataBindModel",value:function(o){var i=Uf(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(ui,"controlEventKeys",["on_change"]),qf(ui,"controlFieldType",c.FieldTypes.CALC),qf(ui,"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 _B(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 yB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lJ(e,t,r){return t&&yB(e.prototype,t),r&&yB(e,r),e}function dB(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 fJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Db(e,t)}function aJ(e,t){return t&&(sJ(t)==="object"||typeof t=="function")?t:_B(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function sJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _J(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yJ(e){var t=_J();return function(){var n=Wf(e),o;if(t){var i=Wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aJ(this,o)}}var pB=function(e){fJ(r,e);var t=yJ(r);function r(n){cJ(this,r);var o;return o=t.call(this,n),dB(_B(o),"props",void 0),o.props=new ii(n==null?void 0:n.props),o}return lJ(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(k);dB(pB,"controlFieldType",c.FieldTypes.CALC);var vB={Designer:ui,Runtime:pB,Property:ii};function Cr(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 Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function bB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lb(e,t)}function dJ(e,t){return t&&(pJ(t)==="object"||typeof t=="function")?t:Cr(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}function pJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gB(e){var t=vJ();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 dJ(this,o)}}var hJ=function(e){bB(r,e);var t=gB(r);function r(n){hB(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),Xf=function(e){bB(r,e);var t=gB(r);function r(n){hB(this,r);var o;o=t.call(this,n),xr(Cr(o),"rangeMin",void 0),xr(Cr(o),"rangeMax",void 0),xr(Cr(o),"placeholderStart",void 0),xr(Cr(o),"placeholderEnd",void 0),xr(Cr(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:Qf.controlName,o}return r}(A);xr(Xf,"RuntimeRules",hJ);function mB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gJ(e,t,r){return t&&OB(e.prototype,t),r&&OB(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 Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jf(e)}function mJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fb(e,t)}function OJ(e,t){return t&&(wJ(t)==="object"||typeof t=="function")?t:mB(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function wJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $J(e){var t=PJ();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 OJ(this,o)}}var Qf=function(e){mJ(r,e);var t=$J(r);function r(n){bJ(this,r);var o;return o=t.call(this,n),jb(mB(o),"props",void 0),o.props=new Xf(n==null?void 0:n.props),o}return gJ(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(Qf,"controlFieldType",c.FieldTypes.DECIMAL_RANGE),jb(Qf,"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 wB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TJ(e,t,r){return t&&PB(e.prototype,t),r&&PB(e,r),e}function $B(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zf(e){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zf(e)}function SJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EJ(e,t){return t&&(IJ(t)==="object"||typeof t=="function")?t:wB(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(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 NJ(e){var t=BJ();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 EJ(this,o)}}var RB=function(e){SJ(r,e);var t=NJ(r);function r(n){RJ(this,r);var o;return o=t.call(this,n),$B(wB(o),"props",void 0),o.props=new Xf(n==null?void 0:n.props),o}return TJ(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(k);$B(RB,"controlFieldType",c.FieldTypes.DECIMAL_RANGE);var TB={Designer:Qf,Runtime:RB,Property:Xf};function dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SB(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 ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function EB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xb(e,t)}function AJ(e,t){return t&&(MJ(t)==="object"||typeof t=="function")?t:dt(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}function MJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IB(e){var t=kJ();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 AJ(this,o)}}var DJ=function(e){EB(r,e);var t=IB(r);function r(n){SB(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),ta=function(e){EB(r,e);var t=IB(r);function r(n){SB(this,r);var o,i;o=t.call(this,n),pt(dt(o),"rangeMin",void 0),pt(dt(o),"rangeMax",void 0),pt(dt(o),"placeholderStart",void 0),pt(dt(o),"placeholderEnd",void 0),pt(dt(o),"dateType",void 0),pt(dt(o),"dateFormat",void 0),pt(dt(o),"commonTimeSetting",void 0),pt(dt(o),"setValueType",void 0),pt(dt(o),"defaultValue",void 0),pt(dt(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var l;o.dateType=(l=n==null?void 0:n.dateType)!==null&&l!==void 0?l:c.DateType.DATE;var f;o.dateFormat=(f=n==null?void 0:n.dateFormat)!==null&&f!==void 0?f:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];var s;o.setValueType=(s=n==null?void 0:n.setValueType)!==null&&s!==void 0?s:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var 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:ra.controlName;var m;return o.limitDateList=(m=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(y){return new zu(y)}))!==null&&m!==void 0?m:[],o}return r}(A);pt(ta,"RuntimeRules",DJ);function BB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jJ(e,t,r){return t&&NB(e.prototype,t),r&&NB(e,r),e}function Vb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function FJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zb(e,t)}function CJ(e,t){return t&&(xJ(t)==="object"||typeof t=="function")?t:BB(e)}function zb(e,t){return zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zb(e,t)}function xJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zJ(e){var t=VJ();return function(){var n=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CJ(this,o)}}var ra=function(e){FJ(r,e);var t=zJ(r);function r(n){LJ(this,r);var o;return o=t.call(this,n),Vb(BB(o),"props",void 0),o.props=new ta(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);Vb(ra,"controlFieldType",c.FieldTypes.ARRAY),Vb(ra,"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 AB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YJ(e,t,r){return t&&MB(e.prototype,t),r&&MB(e,r),e}function kB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oa(e)}function HJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qJ(e,t){return t&&(UJ(t)==="object"||typeof t=="function")?t:AB(e)}function Gb(e,t){return Gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gb(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 KJ(e){var t=WJ();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 qJ(this,o)}}var DB=function(e){HJ(r,e);var t=KJ(r);function r(n){GJ(this,r);var o;return o=t.call(this,n),kB(AB(o),"props",void 0),o.props=new ta(n==null?void 0:n.props),o}return YJ(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(k);kB(DB,"controlFieldType",c.FieldTypes.ARRAY);var LB={Designer:ra,Runtime:DB,Property:ta};function ci(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 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 ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function Hb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XJ(e,t){return t&&(JJ(t)==="object"||typeof t=="function")?t:ci(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}function JJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ub(e){var t=QJ();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 XJ(this,o)}}var ZJ=function(e){Hb(r,e);var t=Ub(r);function r(n){Yb(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ue),eQ=function(e){Hb(r,e);var t=Ub(r);function r(n){Yb(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(x),li=function(e){Hb(r,e);var t=Ub(r);function r(n){Yb(this,r);var o;o=t.call(this,n),Vr(ci(o),"controlExportName",void 0),Vr(ci(o),"permissions",void 0),Vr(ci(o),"defaultValue",void 0),Vr(ci(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:zr.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);Vr(li,"Rules",ZJ),Vr(li,"RuntimeRules",eQ);function jB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 nQ(e,t,r){return t&&FB(e.prototype,t),r&&FB(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 ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ua(e)}function rQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wb(e,t)}function oQ(e,t){return t&&(iQ(t)==="object"||typeof t=="function")?t:jB(e)}function Wb(e,t){return Wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wb(e,t)}function iQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cQ(e){var t=uQ();return function(){var n=ua(e),o;if(t){var i=ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oQ(this,o)}}var zr=function(e){rQ(r,e);var t=cQ(r);function r(n){tQ(this,r);var o;return o=t.call(this,n),fi(jB(o),"props",void 0),o.props=new li(n==null?void 0:n.props),o}return nQ(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);fi(zr,"controlFieldType",c.FieldTypes.ANY),fi(zr,"controlEventKeys",[]),fi(zr,"slots",["grid-table-toolbar-slot",zy.DEFAULT]),fi(zr,"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 CB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fQ(e,t,r){return t&&xB(e.prototype,t),r&&xB(e,r),e}function VB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(e)}function aQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kb(e,t)}function sQ(e,t){return t&&(_Q(t)==="object"||typeof t=="function")?t:CB(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}function _Q(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dQ(e){var t=yQ();return function(){var n=ca(e),o;if(t){var i=ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sQ(this,o)}}var zB=function(e){aQ(r,e);var t=dQ(r);function r(n){lQ(this,r);var o;return o=t.call(this,n),VB(CB(o),"props",void 0),o.props=new li(n==null?void 0:n.props),o}return fQ(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(k);VB(zB,"controlFieldType",c.FieldTypes.ANY);var GB={Designer:zr,Runtime:zB,Property:li};function Ne(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 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 la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},la(e)}function HB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pQ(e,t){return t&&(vQ(t)==="object"||typeof t=="function")?t:Ne(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}function vQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qB(e){var t=hQ();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 pQ(this,o)}}var bQ=function(e){HB(r,e);var t=qB(r);function r(n){YB(this,r);var o;return o=t.call(this,n),Ae(Ne(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")}]}}]),Ae(Ne(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(Tn),fa=function(e){HB(r,e);var t=qB(r);function r(n){YB(this,r);var o;o=t.call(this,n),Ae(Ne(o),"options",void 0),Ae(Ne(o),"optionConfig",void 0),Ae(Ne(o),"defaultValue",void 0),Ae(Ne(o),"listPageBind",void 0),Ae(Ne(o),"datasourceBind",void 0),Ae(Ne(o),"multistageFilling",void 0),Ae(Ne(o),"viewFormModelType",void 0),Ae(Ne(o),"canViewForm",void 0),Ae(Ne(o),"formBind",void 0),Ae(Ne(o),"openMultistageFilling",void 0),Ae(Ne(o),"showSelectedDetail",void 0),Ae(Ne(o),"selectedContentConfig",void 0);var i;o.options=bt((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 Xi(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:ai.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 Zi(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(g){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new Re(g))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new Rn(n==null?void 0:n.formBind),o}return r}(A);Ae(fa,"Rules",bQ);function UB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mQ(e,t,r){return t&&WB(e.prototype,t),r&&WB(e,r),e}function aa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sa(e)}function OQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jb(e,t)}function wQ(e,t){return t&&(PQ(t)==="object"||typeof t=="function")?t:UB(e)}function Jb(e,t){return Jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jb(e,t)}function PQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $Q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RQ(e){var t=$Q();return function(){var n=sa(e),o;if(t){var i=sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wQ(this,o)}}var ai=function(e){OQ(r,e);var t=RQ(r);function r(n){gQ(this,r);var o;return o=t.call(this,n),aa(UB(o),"props",void 0),o.props=new fa(n==null?void 0:n.props),o}return mQ(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(M);aa(ai,"controlFieldType",c.FieldTypes.VARCHAR),aa(ai,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]),aa(ai,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function KB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SQ(e,t,r){return t&&XB(e.prototype,t),r&&XB(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 _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(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&&Qb(e,t)}function IQ(e,t){return t&&(BQ(t)==="object"||typeof t=="function")?t:KB(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(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 AQ(e){var t=NQ();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 IQ(this,o)}}var QB=function(e){EQ(r,e);var t=AQ(r);function r(n){TQ(this,r);var o;return o=t.call(this,n),JB(KB(o),"props",void 0),o.props=new fa(n==null?void 0:n.props),o}return SQ(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(k);JB(QB,"controlFieldType",c.FieldTypes.VARCHAR);var ZB={Designer:ai,Runtime:QB,Property:fa};function MQ(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 ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(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&&Zb(e,t)}function LQ(e,t){return t&&(jQ(t)==="object"||typeof t=="function")?t:MQ(e)}function Zb(e,t){return Zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zb(e,t)}function jQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CQ(e){var t=FQ();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 LQ(this,o)}}var eg=function(e){DQ(r,e);var t=CQ(r);function r(n){return kQ(this,r),t.call(this,n)}return r}(Er);function eN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function VQ(e,t,r){return t&&tN(e.prototype,t),r&&tN(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 da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},da(e)}function zQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tg(e,t)}function GQ(e,t){return t&&(YQ(t)==="object"||typeof t=="function")?t:eN(e)}function tg(e,t){return tg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tg(e,t)}function YQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qQ(e){var t=HQ();return function(){var n=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GQ(this,o)}}var rN=function(e){zQ(r,e);var t=qQ(r);function r(n){xQ(this,r);var o;return o=t.call(this,n),nN(eN(o),"props",void 0),o.props=new eg(n==null?void 0:n.props),o}return VQ(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(Ir);nN(rN,"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 oN(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 iN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function WQ(e,t,r){return t&&iN(e.prototype,t),r&&iN(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 pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pa(e)}function KQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ng(e,t)}function XQ(e,t){return t&&(JQ(t)==="object"||typeof t=="function")?t:oN(e)}function ng(e,t){return ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ng(e,t)}function JQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZQ(e){var t=QQ();return function(){var n=pa(e),o;if(t){var i=pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XQ(this,o)}}var cN=function(e){KQ(r,e);var t=ZQ(r);function r(n){UQ(this,r);var o;return o=t.call(this,n),uN(oN(o),"props",void 0),o.props=new eg(n==null?void 0:n.props),o}return WQ(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(k);uN(cN,"controlFieldType",c.FieldTypes.VARCHAR);var lN={Designer:rN,Runtime:cN,Property:eg};function te(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 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 va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function og(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ig(e,t)}function eZ(e,t){return t&&(tZ(t)==="object"||typeof t=="function")?t:te(e)}function ig(e,t){return ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ig(e,t)}function tZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ug(e){var t=nZ();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 eZ(this,o)}}var rZ=function(e){og(r,e);var t=ug(r);function r(n){rg(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),oZ=function(e){og(r,e);var t=ug(r);function r(n){rg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),si=function(e){og(r,e);var t=ug(r);function r(n){rg(this,r);var o,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 y;o.defaultCollapseLevel=(y=n==null?void 0:n.defaultCollapseLevel)!==null&&y!==void 0?y:1;var O;o.datasourceBind=new ad((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:dn.controlCustomAttributes});var P;o.filterItemDatasourceBind=new ad((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 $;o.defaultDisplay=($=n==null?void 0:n.defaultDisplay)!==null&&$!==void 0?$:!1;var R;o.multistageFilling=(R=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(D){return new Re(D)}))!==null&&R!==void 0?R:[];var S;return o.defaultValue=(S=n==null?void 0:n.defaultValue)!==null&&S!==void 0?S:[],o}return r}(A);ne(si,"Rules",rZ),ne(si,"RuntimeRules",oZ);function fN(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 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 uZ(e,t,r){return t&&aN(e.prototype,t),r&&aN(e,r),e}function ha(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(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&&cg(e,t)}function lZ(e,t){return t&&(fZ(t)==="object"||typeof t=="function")?t:fN(e)}function cg(e,t){return cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cg(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=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lZ(this,o)}}var dn=function(e){cZ(r,e);var t=sZ(r);function r(n){iZ(this,r);var o;return o=t.call(this,n),ha(fN(o),"props",void 0),o.props=new si(n==null?void 0:n.props),o}return uZ(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);ha(dn,"controlEventKeys",["on_change","on_click"]),ha(dn,"controlFieldType",c.FieldTypes.ARRAY),ha(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 sN(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 _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 yZ(e,t,r){return t&&_N(e.prototype,t),r&&_N(e,r),e}function yN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function dZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lg(e,t)}function pZ(e,t){return t&&(vZ(t)==="object"||typeof t=="function")?t:sN(e)}function lg(e,t){return lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lg(e,t)}function vZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function 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 bZ(e){var t=hZ();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 pZ(this,o)}}var dN=function(e){dZ(r,e);var t=bZ(r);function r(n){_Z(this,r);var o;return o=t.call(this,n),yN(sN(o),"props",void 0),o.props=new si(n==null?void 0:n.props),o}return yZ(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(k);yN(dN,"controlFieldType",c.FieldTypes.ARRAY);var pN={Designer:dn,Runtime:dN,Property:si};function de(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function ag(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sg(e,t)}function gZ(e,t){return t&&(mZ(t)==="object"||typeof t=="function")?t:de(e)}function sg(e,t){return sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sg(e,t)}function mZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _g(e){var t=OZ();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 gZ(this,o)}}var wZ=function(e){ag(r,e);var t=_g(r);function r(n){fg(this,r);var o;return o=t.call(this,n),pe(de(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),pe(de(o),"externalScope",{type:"any"}),Ao.call(de(o),n,Gr.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:h.getMessage("pleaseAssignExternal")}),o}return r}(ue),PZ=function(e){ag(r,e);var t=_g(r);function r(n){fg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),_i=function(e){ag(r,e);var t=_g(r);function r(n){fg(this,r);var o;o=t.call(this,n),pe(de(o),"showType",void 0),pe(de(o),"range",void 0),pe(de(o),"rangeOptions",void 0),pe(de(o),"multiple",void 0),pe(de(o),"defaultValueType",void 0),pe(de(o),"defaultValue",void 0),pe(de(o),"multistageFilling",void 0),pe(de(o),"datasourceBind",void 0),pe(de(o),"datasourceType",void 0),pe(de(o),"insideType",void 0),pe(de(o),"externalType",void 0),pe(de(o),"externalScope",void 0),pe(de(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var l;o.rangeOptions=(l=n==null?void 0:n.rangeOptions)!==null&&l!==void 0?l:[];var f;o.multiple=(f=n==null?void 0:n.multiple)!==null&&f!==void 0?f:!1;var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_: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 y;o.externalScope=(y=n==null?void 0:n.externalScope)!==null&&y!==void 0?y:[];var O;return o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var w;(w=o.multistageFilling)===null||w===void 0||w.push(new Re(P))})),o}return r}(A);pe(_i,"Rules",wZ),pe(_i,"RuntimeRules",PZ);function vN(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 hN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RZ(e,t,r){return t&&hN(e.prototype,t),r&&hN(e,r),e}function yg(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 TZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dg(e,t)}function SZ(e,t){return t&&(EZ(t)==="object"||typeof t=="function")?t:vN(e)}function dg(e,t){return dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dg(e,t)}function EZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BZ(e){var t=IZ();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 Gr=function(e){TZ(r,e);var t=BZ(r);function r(n){$Z(this,r);var o;return o=t.call(this,n),yg(vN(o),"props",void 0),o.props=new _i(n==null?void 0:n.props),o}return RZ(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);yg(Gr,"controlFieldType",c.FieldTypes.EMPLOYEES),yg(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 bN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AZ(e,t,r){return t&&gN(e.prototype,t),r&&gN(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 wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wa(e)}function MZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pg(e,t)}function kZ(e,t){return t&&(DZ(t)==="object"||typeof t=="function")?t:bN(e)}function pg(e,t){return pg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pg(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 jZ(e){var t=LZ();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 kZ(this,o)}}var ON=function(e){MZ(r,e);var t=jZ(r);function r(n){NZ(this,r);var o;return o=t.call(this,n),mN(bN(o),"props",void 0),o.props=new _i(n==null?void 0:n.props),o}return AZ(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(k);mN(ON,"controlFieldType",c.FieldTypes.EMPLOYEES);var wN={Designer:Gr,Runtime:ON,Property:_i};function Rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function $N(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vg(e,t)}function FZ(e,t){return t&&(CZ(t)==="object"||typeof t=="function")?t:Rt(e)}function vg(e,t){return vg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vg(e,t)}function CZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RN(e){var t=xZ();return function(){var n=Pa(e),o;if(t){var i=Pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FZ(this,o)}}var VZ=function(e){$N(r,e);var t=RN(r);function r(n){PN(this,r);var o;return o=t.call(this,n),Tt(Rt(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"&&Pn(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")&&Pn(s.value)&&s.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},i},{})}}},o}return r}(ue),$a=function(e){$N(r,e);var t=RN(r);function r(n){PN(this,r);var o;o=t.call(this,n),Tt(Rt(o),"buttonType",void 0),Tt(Rt(o),"content",void 0),Tt(Rt(o),"showType",void 0),Tt(Rt(o),"color",void 0),Tt(Rt(o),"icon",void 0),Tt(Rt(o),"command",""),Tt(Rt(o),"isLoading",!1),Tt(Rt(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:yi.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\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 Y$(n==null?void 0:n.signatureConfig),o}return r}(A);Tt($a,"Rules",VZ);function TN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GZ(e,t,r){return t&&SN(e.prototype,t),r&&SN(e,r),e}function Ra(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ta(e)}function 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&&hg(e,t)}function HZ(e,t){return t&&(qZ(t)==="object"||typeof t=="function")?t:TN(e)}function hg(e,t){return hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hg(e,t)}function qZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function 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=Ta(e),o;if(t){var i=Ta(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HZ(this,o)}}var yi=function(e){YZ(r,e);var t=WZ(r);function r(n){zZ(this,r);var o;return o=t.call(this,n),Ra(TN(o),"props",void 0),o.props=new $a(n==null?void 0:n.props),o}return GZ(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);Ra(yi,"controlEventKeys",["on_click","on_click_finish"]),Ra(yi,"controlFieldType",c.FieldTypes.VARCHAR),Ra(yi,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.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 EN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XZ(e,t,r){return t&&IN(e.prototype,t),r&&IN(e,r),e}function BN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(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&&bg(e,t)}function QZ(e,t){return t&&(ZZ(t)==="object"||typeof t=="function")?t:EN(e)}function bg(e,t){return bg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bg(e,t)}function ZZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tee(e){var t=eee();return function(){var n=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QZ(this,o)}}var NN=function(e){JZ(r,e);var t=tee(r);function r(n){KZ(this,r);var o;return o=t.call(this,n),BN(EN(o),"props",void 0),o.props=new $a(n==null?void 0:n.props),o}return XZ(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(k);BN(NN,"controlFieldType",c.FieldTypes.VARCHAR);var AN={Designer:yi,Runtime:NN,Property:$a};function $e(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 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 Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(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&&Og(e,t)}function nee(e,t){return t&&(ree(t)==="object"||typeof t=="function")?t:$e(e)}function Og(e,t){return Og=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Og(e,t)}function ree(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wg(e){var t=oee();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 nee(this,o)}}var iee=function(e){mg(r,e);var t=wg(r);function r(n){gg(this,r);var o;return o=t.call(this,n),ve($e(o),"content",{type:"string",required:!0,message:h.getMessage("pleaseEnterButtonContent")}),ve($e(o),"canAdd",void 0),ve($e(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),uee=function(e){mg(r,e);var t=wg(r);function r(n){gg(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){mg(r,e);var t=wg(r);function r(n){gg(this,r);var o;o=t.call(this,n),ve($e(o),"content",void 0),ve($e(o),"canAdd",void 0),ve($e(o),"addLocal",void 0),ve($e(o),"addOnline",void 0),ve($e(o),"canDownload",void 0),ve($e(o),"canEdit",void 0),ve($e(o),"canExport",void 0),ve($e(o),"canDelete",void 0),ve($e(o),"wpsSetting",void 0),ve($e(o),"maxSize",void 0),ve($e(o),"defaultValue",void 0),ve($e(o),"revisionsMode",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:"\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:uW;var v;o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:[],o.wpsSetting=new H$(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);ve(di,"Rules",iee),ve(di,"RuntimeRules",uee);function MN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lee(e,t,r){return t&&kN(e.prototype,t),r&&kN(e,r),e}function Ia(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(e)}function fee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pg(e,t)}function aee(e,t){return t&&(see(t)==="object"||typeof t=="function")?t:MN(e)}function Pg(e,t){return Pg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pg(e,t)}function see(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yee(e){var t=_ee();return function(){var n=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aee(this,o)}}var pi=function(e){fee(r,e);var t=yee(r);function r(n){cee(this,r);var o;return o=t.call(this,n),Ia(MN(o),"props",void 0),o.props=new di(n==null?void 0:n.props),o}return lee(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);Ia(pi,"controlEventKeys",["on_change","on_wps_open"]),Ia(pi,"controlFieldType",c.FieldTypes.FILE),Ia(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.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 DN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dee(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 pee(e,t,r){return t&&LN(e.prototype,t),r&&LN(e,r),e}function jN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function vee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$g(e,t)}function hee(e,t){return t&&(bee(t)==="object"||typeof t=="function")?t:DN(e)}function $g(e,t){return $g=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$g(e,t)}function bee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mee(e){var t=gee();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hee(this,o)}}var FN=function(e){vee(r,e);var t=mee(r);function r(n){dee(this,r);var o;return o=t.call(this,n),jN(DN(o),"props",void 0),o.props=new di(n==null?void 0:n.props),o}return pee(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(k);jN(FN,"controlFieldType",c.FieldTypes.FILE);var CN={Designer:pi,Runtime:FN,Property:di};function fe(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 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 Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function Tg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sg(e,t)}function Oee(e,t){return t&&(wee(t)==="object"||typeof t=="function")?t:fe(e)}function Sg(e,t){return Sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sg(e,t)}function wee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eg(e){var t=Pee();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 Oee(this,o)}}var $ee=function(e){Tg(r,e);var t=Eg(r);function r(n){Rg(this,r);var o;return o=t.call(this,n),ae(fe(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),ae(fe(o),"businessScope",{type:"any"}),Ao.call(fe(o),n,Bn.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(ue),Ree=function(e){Tg(r,e);var t=Eg(r);function r(n){Rg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),vi=function(e){Tg(r,e);var t=Eg(r);function r(n){Rg(this,r);var o;o=t.call(this,n),ae(fe(o),"showType",void 0),ae(fe(o),"range",void 0),ae(fe(o),"defaultValueType",void 0),ae(fe(o),"multiple",void 0),ae(fe(o),"rangeOptions",void 0),ae(fe(o),"defaultValue",void 0),ae(fe(o),"displayLevel",void 0),ae(fe(o),"showSubDept",void 0),ae(fe(o),"multistageFilling",void 0),ae(fe(o),"datasourceBind",void 0),ae(fe(o),"datasourceType",void 0),ae(fe(o),"businessType",void 0),ae(fe(o),"businessScope",void 0),ae(fe(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var l;o.range=(l=n==null?void 0:n.range)!==null&&l!==void 0?l:"all";var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Bn.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u90E8\u95E8";var v;o.datasourceBind=new So((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 y;o.businessScope=(y=n==null?void 0:n.businessScope)!==null&&y!==void 0?y:[];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 $;($=o.multistageFilling)===null||$===void 0||$.push(new Re(w))})),o}return r}(A);ae(vi,"Rules",$ee),ae(vi,"RuntimeRules",Ree);function xN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function See(e,t,r){return t&&VN(e.prototype,t),r&&VN(e,r),e}function Ma(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ka(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ka=Reflect.get:ka=function(o,i,u){var l=Bee(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},ka(e,t,r||e)}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(e)}function Eee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ig(e,t)}function Iee(e,t){return t&&(Nee(t)==="object"||typeof t=="function")?t:xN(e)}function Ig(e,t){return Ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ig(e,t)}function Bee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yr(e),e!==null););return e}function Nee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Aee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mee(e){var t=Aee();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 Iee(this,o)}}var Bn=function(e){Eee(r,e);var t=Mee(r);function r(n){Tee(this,r);var o;return o=t.call(this,n),Ma(xN(o),"props",void 0),o.props=new vi(n==null?void 0:n.props),o}return See(r,[{key:"toDataBindModel",value:function(o){var i=ka(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);Ma(Bn,"controlName","\u90E8\u95E8"),Ma(Bn,"controlFieldType",c.FieldTypes.DEPARTMENTS),Ma(Bn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function zN(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 GN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dee(e,t,r){return t&&GN(e.prototype,t),r&&GN(e,r),e}function YN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(e){return Da=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Da(e)}function Lee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bg(e,t)}function jee(e,t){return t&&(Fee(t)==="object"||typeof t=="function")?t:zN(e)}function Bg(e,t){return Bg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bg(e,t)}function Fee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xee(e){var t=Cee();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jee(this,o)}}var HN=function(e){Lee(r,e);var t=xee(r);function r(n){kee(this,r);var o;return o=t.call(this,n),YN(zN(o),"props",void 0),o.props=new vi(n==null?void 0:n.props),o}return Dee(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(k);YN(HN,"controlFieldType",c.FieldTypes.DEPARTMENTS);var qN={Designer:Bn,Runtime:HN,Property:vi};function K(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ng(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function Ag(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mg(e,t)}function Vee(e,t){return t&&(zee(t)==="object"||typeof t=="function")?t:K(e)}function Mg(e,t){return Mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mg(e,t)}function zee(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 kg(e){var t=Gee();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 Vee(this,o)}}var Yee=function(e){Ag(r,e);var t=kg(r);function r(n){Ng(this,r);var o;return o=t.call(this,n),X(K(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),X(K(o),"businessScope",{type:"any"}),Ao.call(K(o),n,Nn.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(ue),Hee=function(e){Ag(r,e);var t=kg(r);function r(n){Ng(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),hi=function(e){Ag(r,e);var t=kg(r);function r(n){Ng(this,r);var o;o=t.call(this,n),X(K(o),"showType",void 0),X(K(o),"range",void 0),X(K(o),"defaultValueType",void 0),X(K(o),"multiple",void 0),X(K(o),"rangeOptions",void 0),X(K(o),"defaultValue",void 0),X(K(o),"displayLevel",void 0),X(K(o),"showSubDept",void 0),X(K(o),"multistageFilling",void 0),X(K(o),"datasourceBind",void 0),X(K(o),"listPageBind",void 0),X(K(o),"datasourceType",void 0),X(K(o),"businessType",void 0),X(K(o),"businessScope",void 0),X(K(o),"organizingFunction",void 0),X(K(o),"organizationView",void 0),X(K(o),"openMultistageFilling",void 0),X(K(o),"showSelectedDetail",void 0),X(K(o),"selectedContentConfig",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var l;o.range=(l=n==null?void 0:n.range)!==null&&l!==void 0?l:"all",o.listPageBind=new Xi(n==null?void 0:n.listPageBind);var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Nn.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var v;o.datasourceBind=new RP((v=n==null?void 0:n.datasourceBind)!==null&&v!==void 0?v:{attributes:Nn.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:c.DepartmentType.INTERNAL;var y;o.businessScope=(y=n==null?void 0:n.businessScope)!==null&&y!==void 0?y:[];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 $;o.showSelectedDetail=($=n==null?void 0:n.showSelectedDetail)!==null&&$!==void 0?$:!1,o.selectedContentConfig=new Zi(n==null?void 0:n.selectedContentConfig);var R;return o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(S){var D;(D=o.multistageFilling)===null||D===void 0||D.push(new Re(S))})),o}return r}(A);X(hi,"Rules",Yee),X(hi,"RuntimeRules",Hee);function UN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Uee(e,t,r){return t&&WN(e.prototype,t),r&&WN(e,r),e}function ja(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Fa=Reflect.get:Fa=function(o,i,u){var l=Xee(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Fa(e,t,r||e)}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hr(e)}function Wee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dg(e,t)}function Kee(e,t){return t&&(Jee(t)==="object"||typeof t=="function")?t:UN(e)}function Dg(e,t){return Dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dg(e,t)}function Xee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hr(e),e!==null););return e}function Jee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zee(e){var t=Qee();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 Kee(this,o)}}var Nn=function(e){Wee(r,e);var t=Zee(r);function r(n){qee(this,r);var o;return o=t.call(this,n),ja(UN(o),"props",void 0),o.props=new hi(n==null?void 0:n.props),o}return Uee(r,[{key:"toDataBindModel",value:function(o){var i=Fa(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);ja(Nn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),ja(Nn,"controlFieldType",c.FieldTypes.DEPARTMENTS),ja(Nn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function KN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ete(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tte(e,t,r){return t&&XN(e.prototype,t),r&&XN(e,r),e}function JN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function nte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rte(e,t){return t&&(ote(t)==="object"||typeof t=="function")?t:KN(e)}function Lg(e,t){return Lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lg(e,t)}function ote(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ite(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ute(e){var t=ite();return function(){var n=Ca(e),o;if(t){var i=Ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rte(this,o)}}var QN=function(e){nte(r,e);var t=ute(r);function r(n){ete(this,r);var o;return o=t.call(this,n),JN(KN(o),"props",void 0),o.props=new hi(n==null?void 0:n.props),o}return tte(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(k);JN(QN,"controlFieldType",c.FieldTypes.DEPARTMENTS);var ZN={Designer:Nn,Runtime:QN,Property:hi};function bi(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 xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function Fg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cg(e,t)}function cte(e,t){return t&&(lte(t)==="object"||typeof t=="function")?t:bi(e)}function Cg(e,t){return Cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cg(e,t)}function lte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xg(e){var t=fte();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 cte(this,o)}}var ate=function(e){Fg(r,e);var t=xg(r);function r(n){jg(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ue),ste=function(e){Fg(r,e);var t=xg(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),gi=function(e){Fg(r,e);var t=xg(r);function r(n){jg(this,r);var o;o=t.call(this,n),qr(bi(o),"controlExportName",void 0),qr(bi(o),"permissions",void 0),qr(bi(o),"defaultValue",void 0),qr(bi(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:mi.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(gi,"Rules",ate),qr(gi,"RuntimeRules",ste);function e3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yte(e,t,r){return t&&t3(e.prototype,t),r&&t3(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 za(e){return za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},za(e)}function dte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vg(e,t)}function pte(e,t){return t&&(vte(t)==="object"||typeof t=="function")?t:e3(e)}function Vg(e,t){return Vg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vg(e,t)}function vte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bte(e){var t=hte();return function(){var n=za(e),o;if(t){var i=za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pte(this,o)}}var mi=function(e){dte(r,e);var t=bte(r);function r(n){_te(this,r);var o;return o=t.call(this,n),Va(e3(o),"props",void 0),o.props=new gi(n==null?void 0:n.props),o}return yte(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);Va(mi,"controlFieldType",c.FieldTypes.ANY),Va(mi,"controlEventKeys",[]),Va(mi,"setting",[]);function n3(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 r3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mte(e,t,r){return t&&r3(e.prototype,t),r&&r3(e,r),e}function o3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(e)}function Ote(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zg(e,t)}function wte(e,t){return t&&(Pte(t)==="object"||typeof t=="function")?t:n3(e)}function zg(e,t){return zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zg(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 Rte(e){var t=$te();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 wte(this,o)}}var i3=function(e){Ote(r,e);var t=Rte(r);function r(n){gte(this,r);var o;return o=t.call(this,n),o3(n3(o),"props",void 0),o.props=new gi(n==null?void 0:n.props),o}return mte(r,null,[{key:"controlType",get:function(){return c.CONTROL_TYPE.VUE_PAGE}}]),r}(k);o3(i3,"controlFieldType",c.FieldTypes.ANY);var u3={Designer:mi,Runtime:i3,Property:gi},Tte=Object.freeze({__proto__:null,Input:jS,Checkbox:YS,Radio:eE,Number:cE,DatePicker:dE,DateRange:$E,Textarea:NE,RichText:FE,Select:WE,SelectMultiple:tI,Employee:sI,Image:OI,Attachment:hI,Amount:EI,Score:DI,Address:HI,Department:tB,AutoNumber:fB,Calc:vB,SearchNumberRange:TB,SearchDateRange:LB,VueFormItem:GB,SelectRelation:ZB,SearchInput:lN,Tree:pN,Employee2:wN,ElectronicSignature:AN,WPS:CN,Department2:qN,OrganizationSelection:ZN,VuePage:u3});function Ste(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ete(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ite(e,t,r){return t&&c3(e.prototype,t),r&&c3(e,r),e}function Bte(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 Nte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ate(e,t){return t&&(Mte(t)==="object"||typeof t=="function")?t:Ste(e)}function Gg(e,t){return Gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gg(e,t)}function Mte(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 Dte(e){var t=kte();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 Ate(this,o)}}var l3=function(e){Nte(r,e);var t=Dte(r);function r(n){return Ete(this,r),t.call(this,n)}return Ite(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(W);Bte(l3,"excludes",[c.CONTROL_TYPE.GRID]);function Lte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fte(e,t,r){return t&&f3(e.prototype,t),r&&f3(e,r),e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(e)}function Cte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yg(e,t)}function xte(e,t){return t&&(Vte(t)==="object"||typeof t=="function")?t:Lte(e)}function Yg(e,t){return Yg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yg(e,t)}function Vte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gte(e){var t=zte();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 xte(this,o)}}var Yte=function(e){Cte(r,e);var t=Gte(r);function r(n){return jte(this,r),t.call(this,n)}return Fte(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(Z),a3={Designer:l3,Runtime:Yte,Property:Y};function Hg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qa(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&&qg(e,t)}function Ute(e,t){return t&&(Wte(t)==="object"||typeof t=="function")?t:Hg(e)}function qg(e,t){return qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qg(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=qa(e),o;if(t){var i=qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ute(this,o)}}var Jte=24,An=function(e){qte(r,e);var t=Xte(r);function r(n){Hte(this,r);var o;o=t.call(this,n),s3(Hg(o),"span",void 0),s3(Hg(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:Jte;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(Y);function _3(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 y3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zte(e,t,r){return t&&y3(e.prototype,t),r&&y3(e,r),e}function Ug(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(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&&Wg(e,t)}function tne(e,t){return t&&(nne(t)==="object"||typeof t=="function")?t:_3(e)}function Wg(e,t){return Wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wg(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=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tne(this,o)}}var Oi=function(e){ene(r,e);var t=one(r);function r(n){Qte(this,r);var o;return o=t.call(this,n),Ug(_3(o),"props",void 0),o.props=new An(n==null?void 0:n.props),o}return Zte(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(W);Ug(Oi,"excludes",[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.DIVIDER]),Ug(Oi,"childrenMaxLength",1);function d3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ine(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 une(e,t,r){return t&&p3(e.prototype,t),r&&p3(e,r),e}function cne(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 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&&Kg(e,t)}function fne(e,t){return t&&(ane(t)==="object"||typeof t=="function")?t:d3(e)}function Kg(e,t){return Kg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kg(e,t)}function ane(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ne(e){var t=sne();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 fne(this,o)}}var Xg=function(e){lne(r,e);var t=_ne(r);function r(n){ine(this,r);var o;return o=t.call(this,n),cne(d3(o),"props",void 0),o.props=new An(n==null?void 0:n.props),o}return une(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Z),Ka={Designer:Oi,Runtime:Xg,Property:An};function Jg(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,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 dne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qg(e,t)}function pne(e,t){return t&&(vne(t)==="object"||typeof t=="function")?t:Jg(e)}function Qg(e,t){return Qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qg(e,t)}function vne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bne(e){var t=hne();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 pne(this,o)}}var Ja=function(e){dne(r,e);var t=bne(r);function r(n){yne(this,r);var o;o=t.call(this,n),v3(Jg(o),"layoutMode",void 0),v3(Jg(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(Y);function h3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gne(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 mne(e,t,r){return t&&b3(e.prototype,t),r&&b3(e,r),e}function Zg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(e)}function One(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e0(e,t)}function wne(e,t){return t&&(Pne(t)==="object"||typeof t=="function")?t:h3(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e0(e,t)}function Pne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $ne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rne(e){var t=$ne();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 wne(this,o)}}var Za=function(e){One(r,e);var t=Rne(r);function r(n){gne(this,r);var o;return o=t.call(this,n),Zg(h3(o),"props",void 0),o.props=new Ja(n==null?void 0:n.props),o}return mne(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(W);Zg(Za,"excludes",[c.CONTROL_TYPE.ROW]),Zg(Za,"setting",[{key:"col-setting",visible:!0}]);function g3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sne(e,t,r){return t&&m3(e.prototype,t),r&&m3(e,r),e}function Ene(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 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&&t0(e,t)}function Bne(e,t){return t&&(Nne(t)==="object"||typeof t=="function")?t:g3(e)}function t0(e,t){return t0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t0(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=es(e),o;if(t){var i=es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bne(this,o)}}var O3=function(e){Ine(r,e);var t=Mne(r);function r(n){Tne(this,r);var o;return o=t.call(this,n),Ene(g3(o),"props",void 0),o.props=new Ja(n==null?void 0:n.props),o}return Sne(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Z),w3={Designer:Za,Runtime:O3,Property:Ja};function kne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dne(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 Lne(e,t,r){return t&&P3(e.prototype,t),r&&P3(e,r),e}function n0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ts(e){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ts(e)}function jne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r0(e,t)}function Fne(e,t){return t&&(Cne(t)==="object"||typeof t=="function")?t:kne(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r0(e,t)}function Cne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vne(e){var t=xne();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 Fne(this,o)}}var zne=4,ns=function(e){jne(r,e);var t=Vne(r);function r(n){return Dne(this,r),t.call(this,n)}return Lne(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}(Za);n0(ns,"excludes",[c.CONTROL_TYPE.GRID_ROW]),n0(ns,"setting",[]),n0(ns,"childrenMaxLength",zne);function Gne(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 $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 Hne(e,t,r){return t&&$3(e.prototype,t),r&&$3(e,r),e}function rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rs(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 Une(e,t){return t&&(Wne(t)==="object"||typeof t=="function")?t:Gne(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o0(e,t)}function Wne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xne(e){var t=Kne();return function(){var n=rs(e),o;if(t){var i=rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Une(this,o)}}var Jne=function(e){qne(r,e);var t=Xne(r);function r(n){return Yne(this,r),t.call(this,n)}return Hne(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(O3);function Qne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(e)}function ere(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tre(e,t){return t&&(nre(t)==="object"||typeof t=="function")?t:Qne(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function nre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ore(e){var t=rre();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 tre(this,o)}}var ire=function(e){ere(r,e);var t=ore(r);function r(n){return Zne(this,r),t.call(this,n)}return r}(Ja),u0={Designer:ns,Runtime:Jne,Property:ire};function wi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function is(e){return is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},is(e)}function T3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ure(e,t){return t&&(cre(t)==="object"||typeof t=="function")?t:wi(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c0(e,t)}function cre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S3(e){var t=lre();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 ure(this,o)}}var fre=function(e){T3(r,e);var t=S3(r);function r(){R3(this,r);var n;return n=t.apply(this,arguments),Pi(wi(n),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),n}return r}(Y.Rules),us=function(e){T3(r,e);var t=S3(r);function r(n){R3(this,r);var o;o=t.call(this,n),Pi(wi(o),"caption",void 0),Pi(wi(o),"isHideCaption",void 0),Pi(wi(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}(Y);Pi(us,"Rules",fre);function E3(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 I3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function sre(e,t,r){return t&&I3(e.prototype,t),r&&I3(e,r),e}function l0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cs(e){return cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cs(e)}function _re(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f0(e,t)}function yre(e,t){return t&&(dre(t)==="object"||typeof t=="function")?t:E3(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}function dre(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 vre(e){var t=pre();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 yre(this,o)}}var a0=function(e){_re(r,e);var t=vre(r);function r(n){are(this,r);var o;return o=t.call(this,n),l0(E3(o),"props",void 0),o.props=new us(n==null?void 0:n.props),o}return sre(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(W);l0(a0,"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}]),l0(a0,"excludes",[c.CONTROL_TYPE.CARD_GROUP]);function B3(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 N3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bre(e,t,r){return t&&N3(e.prototype,t),r&&N3(e,r),e}function gre(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ls(e)}function mre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s0(e,t)}function Ore(e,t){return t&&(wre(t)==="object"||typeof t=="function")?t:B3(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s0(e,t)}function wre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $re(e){var t=Pre();return function(){var n=ls(e),o;if(t){var i=ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ore(this,o)}}var Rre=function(e){mre(r,e);var t=$re(r);function r(n){hre(this,r);var o;return o=t.call(this,n),gre(B3(o),"props",void 0),o.props=new us(n==null?void 0:n.props),o}return bre(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(Z),A3={Designer:a0,Runtime:Rre,Property:us};function St(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M3(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 fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fs(e)}function k3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_0(e,t)}function Tre(e,t){return t&&(Sre(t)==="object"||typeof t=="function")?t:St(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_0(e,t)}function Sre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ere(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D3(e){var t=Ere();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 Tre(this,o)}}var Ire=function(e){k3(r,e);var t=D3(r);function r(n){M3(this,r);var o;return o=t.call(this,n),Et(St(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Et(St(o),"width",{type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")}),Et(St(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(re),as=function(e){k3(r,e);var t=D3(r);function r(n){M3(this,r);var o;o=t.call(this,n),Et(St(o),"metaAutoWidth",void 0),Et(St(o),"caption",void 0),Et(St(o),"fixed",void 0),Et(St(o),"isShowCaptionTip",void 0),Et(St(o),"captionTip",void 0),Et(St(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 ud(n==null?void 0:n.metaAutoWidth),o}return r}(Y);Et(as,"Rules",Ire);function L3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bre(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 ss(e){return ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ss(e)}function Nre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y0(e,t)}function Are(e,t){return t&&(Mre(t)==="object"||typeof t=="function")?t:L3(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}function Mre(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 Dre(e){var t=kre();return function(){var n=ss(e),o;if(t){var i=ss(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Are(this,o)}}var vt=function(e){Nre(r,e);var t=Dre(r);function r(n){Bre(this,r);var o;return o=t.call(this,n),Mn(L3(o),"props",void 0),o.props=new as(n==null?void 0:n.props),o}return r}(W);Mn(vt,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Mn(vt,"controlType","subtable-column"),Mn(vt,"controlIcon","subtable-column"),Mn(vt,"childrenMaxLength",1),Mn(vt,"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]),Mn(vt,"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 j3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_s(e)}function jre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d0(e,t)}function Fre(e,t){return t&&(Cre(t)==="object"||typeof t=="function")?t:j3(e)}function d0(e,t){return d0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d0(e,t)}function Cre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vre(e){var t=xre();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 Fre(this,o)}}var C3=function(e){jre(r,e);var t=Vre(r);function r(n){Lre(this,r);var o;return o=t.call(this,n),F3(j3(o),"props",void 0),o.props=new as(n==null?void 0:n.props),o}return r}(Z);F3(C3,"controlType","subtable-column");var p0={Designer:vt,Runtime:C3,Property:as};function zre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ys(e){return ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ys(e)}function Yre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v0(e,t)}function Hre(e,t){return t&&(qre(t)==="object"||typeof t=="function")?t:zre(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v0(e,t)}function qre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ure(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wre(e){var t=Ure();return function(){var n=ys(e),o;if(t){var i=ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hre(this,o)}}var h0=function(e){Yre(r,e);var t=Wre(r);function r(n){return Gre(this,r),t.call(this,n)}return r}(Y);function x3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function Xre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b0(e,t)}function Jre(e,t){return t&&(Qre(t)==="object"||typeof t=="function")?t:x3(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b0(e,t)}function Qre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eoe(e){var t=Zre();return function(){var n=ds(e),o;if(t){var i=ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jre(this,o)}}var Dn=function(e){Xre(r,e);var t=eoe(r);function r(n){Kre(this,r);var o;return o=t.call(this,n),kn(x3(o),"props",void 0),o.props=new h0(n==null?void 0:n.props),o}return r}(W);kn(Dn,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),kn(Dn,"controlType","subtable-row"),kn(Dn,"controlIcon","subtable-row"),kn(Dn,"childrenMaxLength",1),kn(Dn,"excludes",[c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.SUBTABLE_ROW,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT]),kn(Dn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0}]);function V3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function toe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function noe(e,t,r){return t&&z3(e.prototype,t),r&&z3(e,r),e}function roe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ps(e){return ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ps(e)}function ooe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g0(e,t)}function ioe(e,t){return t&&(uoe(t)==="object"||typeof t=="function")?t:V3(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g0(e,t)}function uoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function coe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function loe(e){var t=coe();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 ioe(this,o)}}var foe=function(e){ooe(r,e);var t=loe(r);function r(n){toe(this,r);var o;return o=t.call(this,n),roe(V3(o),"props",void 0),o.props=new h0(n==null?void 0:n.props),o}return noe(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(Z),G3={Designer:Dn,Runtime:foe,Property:h0};function Ue(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 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 vs(e){return vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vs(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&&m0(e,t)}function _oe(e,t){return t&&(yoe(t)==="object"||typeof t=="function")?t:Ue(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m0(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=vs(e),o;if(t){var i=vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _oe(this,o)}}var O0=function(e){soe(r,e);var t=poe(r);function r(n){aoe(this,r);var o;o=t.call(this,n),ut(Ue(o),"widthType",void 0),ut(Ue(o),"width",void 0),ut(Ue(o),"caption",void 0),ut(Ue(o),"fieldCode",void 0),ut(Ue(o),"fieldType",void 0),ut(Ue(o),"fieldName",void 0),ut(Ue(o),"datasourceBind",void 0),ut(Ue(o),"fixed",void 0),ut(Ue(o),"textCleanFormart",void 0),ut(Ue(o),"decimalKeepPrecision",void 0),ut(Ue(o),"timestampDateType",void 0),ut(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}(Y);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 Ln(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function hoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w0(e,t)}function boe(e,t){return t&&(goe(t)==="object"||typeof t=="function")?t:Y3(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(e,t)}function goe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function moe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ooe(e){var t=moe();return function(){var n=hs(e),o;if(t){var i=hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return boe(this,o)}}var jn=function(e){hoe(r,e);var t=Ooe(r);function r(n){voe(this,r);var o;return o=t.call(this,n),Ln(Y3(o),"props",void 0),o.props=new O0(n==null?void 0:n.props),o}return r}(W);Ln(jn,"controlName","\u5217\u8868\u5355\u5143\u683C"),Ln(jn,"controlType","gridtable-column"),Ln(jn,"controlIcon","gridtable-column"),Ln(jn,"childrenMaxLength",1),Ln(jn,"excludes",[c.CONTROL_TYPE.GRID_TABLE,c.CONTROL_TYPE.GRID_TABLE_COLUMN,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT]),Ln(jn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function H3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function woe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 bs(e){return bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bs(e)}function Poe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P0(e,t)}function $oe(e,t){return t&&(Roe(t)==="object"||typeof t=="function")?t:H3(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}function Roe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Toe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Soe(e){var t=Toe();return function(){var n=bs(e),o;if(t){var i=bs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $oe(this,o)}}var U3=function(e){Poe(r,e);var t=Soe(r);function r(n){woe(this,r);var o;return o=t.call(this,n),q3(H3(o),"props",void 0),o.props=new O0(n==null?void 0:n.props),o}return r}(Z);q3(U3,"controlType","gridtable-column");var W3={Designer:jn,Runtime:U3,Property:O0};function $0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eoe(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 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&&R0(e,t)}function Boe(e,t){return t&&(Noe(t)==="object"||typeof t=="function")?t:$0(e)}function R0(e,t){return R0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R0(e,t)}function Noe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Aoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Moe(e){var t=Aoe();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 Boe(this,o)}}var T0=function(e){Ioe(r,e);var t=Moe(r);function r(n){Eoe(this,r);var o;o=t.call(this,n),K3($0(o),"childMinWidth",void 0),K3($0(o),"colGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var u;return o.colGap=(u=n==null?void 0:n.colGap)!==null&&u!==void 0?u:24,o}return r}(Y);function X3(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 J3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Doe(e,t,r){return t&&J3(e.prototype,t),r&&J3(e,r),e}function S0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ms(e)}function Loe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E0(e,t)}function joe(e,t){return t&&(Foe(t)==="object"||typeof t=="function")?t:X3(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E0(e,t)}function Foe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Coe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xoe(e){var t=Coe();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 joe(this,o)}}var I0=function(e){Loe(r,e);var t=xoe(r);function r(n){koe(this,r);var o;return o=t.call(this,n),S0(X3(o),"props",void 0),o.props=new T0(n==null?void 0:n.props),o}return Doe(r,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668"}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),r}(W);S0(I0,"excludes",[c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.TAB]),S0(I0,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function Q3(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 Z3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zoe(e,t,r){return t&&Z3(e.prototype,t),r&&Z3(e,r),e}function Goe(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 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&&B0(e,t)}function Hoe(e,t){return t&&(qoe(t)==="object"||typeof t=="function")?t:Q3(e)}function B0(e,t){return B0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B0(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=Os(e),o;if(t){var i=Os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hoe(this,o)}}var Koe=function(e){Yoe(r,e);var t=Woe(r);function r(n){Voe(this,r);var o;return o=t.call(this,n),Goe(Q3(o),"props",void 0),o.props=new T0(n==null?void 0:n.props),o}return zoe(r,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),r}(Z),e1={Designer:I0,Runtime:Koe,Property:T0};function t1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Joe(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 Qoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N0(e,t)}function Zoe(e,t){return t&&(eie(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 eie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nie(e){var t=tie();return function(){var n=ws(e),o;if(t){var i=ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zoe(this,o)}}var A0=function(e){Qoe(r,e);var t=nie(r);function r(n){Xoe(this,r);var o;o=t.call(this,n),Joe(t1(o),"mobileShowType",void 0);var i;return o.mobileShowType=(i=n==null?void 0:n.mobileShowType)!==null&&i!==void 0?i:"vertical",o}return r}(Y);function M0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k0(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 r1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D0(e,t)}function rie(e,t){return t&&(oie(t)==="object"||typeof t=="function")?t:M0(e)}function D0(e,t){return D0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D0(e,t)}function oie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o1(e){var t=iie();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 rie(this,o)}}var uie=function(e){r1(r,e);var t=o1(r);function r(n){n1(this,r);var o;return o=t.call(this,n),k0(M0(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),o}return r}(re),$s=function(e){r1(r,e);var t=o1(r);function r(n){n1(this,r);var o;o=t.call(this,n),k0(M0(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ri.controlName,o}return r}(Y);k0($s,"Rules",uie);function i1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 lie(e,t,r){return t&&u1(e.prototype,t),r&&u1(e,r),e}function L0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rs(e){return Rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rs(e)}function fie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j0(e,t)}function aie(e,t){return t&&(sie(t)==="object"||typeof t=="function")?t:i1(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(e,t)}function sie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yie(e){var t=_ie();return function(){var n=Rs(e),o;if(t){var i=Rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aie(this,o)}}var $i=function(e){fie(r,e);var t=yie(r);function r(n){cie(this,r);var o;return o=t.call(this,n),L0(i1(o),"props",void 0),o.props=new $s(n==null?void 0:n.props),o}return lie(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(W);L0($i,"excludes",[c.CONTROL_TYPE.TAB]),L0($i,"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 c1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function die(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pie(e,t,r){return t&&l1(e.prototype,t),r&&l1(e,r),e}function vie(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 hie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F0(e,t)}function bie(e,t){return t&&(gie(t)==="object"||typeof t=="function")?t:c1(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function gie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oie(e){var t=mie();return function(){var n=Ts(e),o;if(t){var i=Ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bie(this,o)}}var wie=function(e){hie(r,e);var t=Oie(r);function r(n){die(this,r);var o;return o=t.call(this,n),vie(c1(o),"props",void 0),o.props=new $s(n==null?void 0:n.props),o}return pie(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(Z),f1={Designer:$i,Runtime:wie,Property:$s};function a1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $ie(e,t,r){return t&&s1(e.prototype,t),r&&s1(e,r),e}function Ss(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Es(e){return Es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Es(e)}function Rie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tie(e,t){return t&&(Sie(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 Sie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iie(e){var t=Eie();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 Tie(this,o)}}var Ri=function(e){Rie(r,e);var t=Iie(r);function r(n){Pie(this,r);var o;o=t.call(this,n),Ss(a1(o),"props",void 0),o.props=new A0(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new $i,new $i],o}return $ie(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(W);Ss(Ri,"excludes",[c.CONTROL_TYPE.TAB]),Ss(Ri,"controlEventKeys",["on_change_tab"]),Ss(Ri,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function _1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nie(e,t,r){return t&&y1(e.prototype,t),r&&y1(e,r),e}function Aie(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 Mie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x0(e,t)}function kie(e,t){return t&&(Die(t)==="object"||typeof t=="function")?t:_1(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x0(e,t)}function Die(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 jie(e){var t=Lie();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 kie(this,o)}}var Fie=function(e){Mie(r,e);var t=jie(r);function r(n){Bie(this,r);var o;return o=t.call(this,n),Aie(_1(o),"props",void 0),o.props=new A0(n==null?void 0:n.props),o}return Nie(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(Z),d1={Designer:Ri,Runtime:Fie,Property:A0};function Cie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bs(e){return Bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bs(e)}function Vie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V0(e,t)}function zie(e,t){return t&&(Gie(t)==="object"||typeof t=="function")?t:Cie(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function Gie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hie(e){var t=Yie();return function(){var n=Bs(e),o;if(t){var i=Bs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zie(this,o)}}var p1=function(e){Vie(r,e);var t=Hie(r);function r(n){return xie(this,r),t.call(this,n)}return r}(Y);function v1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uie(e,t,r){return t&&h1(e.prototype,t),r&&h1(e,r),e}function b1(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 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&&z0(e,t)}function Kie(e,t){return t&&(Xie(t)==="object"||typeof t=="function")?t:v1(e)}function z0(e,t){return z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z0(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=Ns(e),o;if(t){var i=Ns(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kie(this,o)}}var g1=function(e){Wie(r,e);var t=Qie(r);function r(n){qie(this,r);var o;return o=t.call(this,n),b1(v1(o),"props",void 0),o.props=new p1({}),o.children=(n==null?void 0:n.children)||[new Oi({props:new An({span:12})}),new Oi({props:new An({span:12})})],o}return Uie(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(W);b1(g1,"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 Zie(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 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 tue(e,t,r){return t&&m1(e.prototype,t),r&&m1(e,r),e}function As(e){return As=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},As(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&&G0(e,t)}function rue(e,t){return t&&(oue(t)==="object"||typeof t=="function")?t:Zie(e)}function G0(e,t){return G0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G0(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=As(e),o;if(t){var i=As(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rue(this,o)}}var cue=function(e){nue(r,e);var t=uue(r);function r(n){eue(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new Xg({props:new An({span:12})}),new Xg({props:new An({span:12})})],o}return tue(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(Z),O1={Designer:g1,Runtime:cue,Property:p1};function V(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ms(e){return Ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ms(e)}function H0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lue(e,t){return t&&(fue(t)==="object"||typeof t=="function")?t:V(e)}function q0(e,t){return q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q0(e,t)}function fue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U0(e){var t=aue();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 lue(this,o)}}var w1;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(w1||(w1={}));var sue=function(e){H0(r,e);var t=U0(r);function r(n){Y0(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(en),_ue=function(e){H0(r,e);var t=U0(r);function r(n){Y0(this,r);var o;if(o=t.call(this,n),z(V(o),"triggerFieldCode",{type:"any"}),z(V(o),"datasourceBind",{type:"any"}),z(V(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")}}}}]}}]),ou.call(V(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(re),Ti=function(e){H0(r,e);var t=U0(r);function r(n){Y0(this,r);var o,i,u;o=t.call(this,n),z(V(o),"datasourceBind",void 0),z(V(o),"isLoading",void 0),z(V(o),"isShowSubList",void 0),z(V(o),"triggerType",void 0),z(V(o),"triggerFieldCode",void 0),z(V(o),"sublistPage",void 0),z(V(o),"isShowJoinRelation",void 0),z(V(o),"joinRelation",void 0),z(V(o),"showType",void 0),z(V(o),"showFullScreen",void 0),z(V(o),"isFixedHeader",void 0),z(V(o),"selectionType",void 0),z(V(o),"isShowSelection",void 0),z(V(o),"isAllLoaded",void 0),z(V(o),"countType",void 0),z(V(o),"countLimit",void 0),z(V(o),"rowStyleType",void 0),z(V(o),"rowStyleBgColor",void 0),z(V(o),"rowStyleRules",void 0),z(V(o),"rowStyleRulesScript",void 0),o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var l;o.isLoading=(l=n==null?void 0:n.isLoading)!==null&&l!==void 0?l:!1;var f;o.isShowSubList=(f=n==null?void 0:n.isShowSubList)!==null&&f!==void 0?f:!1;var a;o.triggerType=(a=n==null?void 0:n.triggerType)!==null&&a!==void 0?a:1;var s;o.triggerFieldCode=(s=n==null?void 0:n.triggerFieldCode)!==null&&s!==void 0?s:"",o.sublistPage=new OP(n==null?void 0:n.sublistPage);var _;o.isShowJoinRelation=(_=n==null?void 0:n.isShowJoinRelation)!==null&&_!==void 0?_:!1,o.joinRelation=new PP(n==null?void 0:n.joinRelation);var p;o.showType=(p=n==null?void 0:n.showType)!==null&&p!==void 0?p:"stretch";var b;o.showFullScreen=(b=n==null?void 0:n.showFullScreen)!==null&&b!==void 0?b:!1;var g;o.selectionType=(g=n==null?void 0:n.selectionType)!==null&&g!==void 0?g:"multiple";var v;o.isFixedHeader=(v=n==null?void 0:n.isFixedHeader)!==null&&v!==void 0?v:!1;var m;o.isShowSelection=(m=n==null?void 0:n.isShowSelection)!==null&&m!==void 0?m:!1;var y;o.isAllLoaded=(y=n==null?void 0:n.isAllLoaded)!==null&&y!==void 0?y:!0,o.countType=n==null?void 0:n.countType;var O;o.countLimit=(O=n==null?void 0:n.countLimit)!==null&&O!==void 0?O:1e5;var P;o.rowStyleType=(P=n==null?void 0:n.rowStyleType)!==null&&P!==void 0?P:"none";var w;o.rowStyleBgColor=(w=n==null?void 0:n.rowStyleBgColor)!==null&&w!==void 0?w:"theme";var $;o.rowStyleRules=(n==null?void 0:n.rowStyleRules)&&Array.isArray(n==null?void 0:n.rowStyleRules)?($=n==null||(i=n.rowStyleRules)===null||i===void 0?void 0:i.map(function(S){return new FP(S)}))!==null&&$!==void 0?$:[]:[];var R;return o.rowStyleRulesScript=(n==null?void 0:n.rowStyleRulesScript)&&Array.isArray(n==null?void 0:n.rowStyleRulesScript)?(R=n==null||(u=n.rowStyleRulesScript)===null||u===void 0?void 0:u.map(function(S){return new CP(S)}))!==null&&R!==void 0?R:[]:[],o}return r}(Y);z(Ti,"Rules",_ue),z(Ti,"RuntimeRules",sue);function P1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function due(e,t,r){return t&&$1(e.prototype,t),r&&$1(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 ks(e){return ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ks(e)}function pue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W0(e,t)}function vue(e,t){return t&&(hue(t)==="object"||typeof t=="function")?t:P1(e)}function W0(e,t){return W0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W0(e,t)}function hue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gue(e){var t=bue();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 vue(this,o)}}var Ei=function(e){pue(r,e);var t=gue(r);function r(n){yue(this,r);var o;return o=t.call(this,n),Si(P1(o),"props",void 0),o.props=new Ti(n==null?void 0:n.props),o}return due(r,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(W);Si(Ei,"slotPosition",{left:"list-view-left-slot"}),Si(Ei,"excludes",[c.CONTROL_TYPE.ROW]),Si(Ei,"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"]),Si(Ei,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}]);function R1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Oue(e,t,r){return t&&T1(e.prototype,t),r&&T1(e,r),e}function wue(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 Pue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K0(e,t)}function $ue(e,t){return t&&(Rue(t)==="object"||typeof t=="function")?t:R1(e)}function K0(e,t){return K0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K0(e,t)}function Rue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sue(e){var t=Tue();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 $ue(this,o)}}var Eue=function(e){Pue(r,e);var t=Sue(r);function r(n){mue(this,r);var o;return o=t.call(this,n),wue(R1(o),"props",void 0),o.props=new Ti(n==null?void 0:n.props),o}return Oue(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Z),X0={Designer:Ei,Runtime:Eue,Property:Ti};function pn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S1(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 Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ls(e)}function E1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Iue(e,t){return t&&(Bue(t)==="object"||typeof t=="function")?t:pn(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J0(e,t)}function Bue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I1(e){var t=Nue();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 Iue(this,o)}}var Aue=function(e){E1(r,e);var t=I1(r);function r(n){S1(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(en),js=function(e){E1(r,e);var t=I1(r);function r(n){S1(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 At((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new At((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var l;o.saveAs=new At((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 At((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 At(_)});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}(Y);vn(js,"RuntimeRules",Aue);function B1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 kue(e,t,r){return t&&N1(e.prototype,t),r&&N1(e,r),e}function A1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fs(e){return Fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fs(e)}function Due(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q0(e,t)}function Lue(e,t){return t&&(jue(t)==="object"||typeof t=="function")?t:B1(e)}function Q0(e,t){return Q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q0(e,t)}function jue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cue(e){var t=Fue();return function(){var n=Fs(e),o;if(t){var i=Fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lue(this,o)}}var M1=function(e){Due(r,e);var t=Cue(r);function r(n){Mue(this,r);var o;return o=t.call(this,n),A1(B1(o),"props",void 0),o.props=new js(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}(W);A1(M1,"excludes",[]);function k1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Vue(e,t,r){return t&&D1(e.prototype,t),r&&D1(e,r),e}function zue(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 Gue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z0(e,t)}function Yue(e,t){return t&&(Hue(t)==="object"||typeof t=="function")?t:k1(e)}function Z0(e,t){return Z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z0(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 Uue(e){var t=que();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 Yue(this,o)}}var Wue=function(e){Gue(r,e);var t=Uue(r);function r(n){xue(this,r);var o;return o=t.call(this,n),zue(k1(o),"props",void 0),o.props=new js(n==null?void 0:n.props),o}return Vue(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Z),em={Designer:M1,Runtime:Wue,Property:js};function Kue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jue(e,t,r){return t&&L1(e.prototype,t),r&&L1(e,r),e}function xs(e){return xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xs(e)}function Que(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tm(e,t)}function Zue(e,t){return t&&(ece(t)==="object"||typeof t=="function")?t:Kue(e)}function tm(e,t){return tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tm(e,t)}function ece(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nce(e){var t=tce();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 Zue(this,o)}}var rce=function(e){Que(r,e);var t=nce(r);function r(n){return Xue(this,r),t.call(this,n)}return Jue(r,null,[{key:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(W);function oce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ice(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 uce(e,t,r){return t&&j1(e.prototype,t),r&&j1(e,r),e}function Vs(e){return Vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vs(e)}function cce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lce(e,t){return t&&(fce(t)==="object"||typeof t=="function")?t:oce(e)}function nm(e,t){return nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nm(e,t)}function fce(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 sce(e){var t=ace();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 lce(this,o)}}var _ce=function(e){cce(r,e);var t=sce(r);function r(n){return ice(this,r),t.call(this,n)}return uce(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 yce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 zs(e){return zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zs(e)}function dce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rm(e,t)}function pce(e,t){return t&&(vce(t)==="object"||typeof t=="function")?t:Ur(e)}function rm(e,t){return rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rm(e,t)}function vce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bce(e){var t=hce();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 pce(this,o)}}var gce=function(e){dce(r,e);var t=bce(r);function r(n){yce(this,r);var o;o=t.call(this,n),Ii(Ur(o),"hideHeader",void 0),Ii(Ur(o),"background","#fff"),Ii(Ur(o),"minWidth",""),Ii(Ur(o),"maxWidth",""),Ii(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}(Y),F1={Designer:rce,Runtime:_ce,Property:gce};function mce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wce(e,t,r){return t&&C1(e.prototype,t),r&&C1(e,r),e}function Gs(e){return Gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gs(e)}function Pce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&om(e,t)}function $ce(e,t){return t&&(Rce(t)==="object"||typeof t=="function")?t:mce(e)}function om(e,t){return om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},om(e,t)}function Rce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sce(e){var t=Tce();return function(){var n=Gs(e),o;if(t){var i=Gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $ce(this,o)}}var Ece=function(e){Pce(r,e);var t=Sce(r);function r(n){return Oce(this,r),t.call(this,n)}return wce(r,null,[{key:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(W);function Ice(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Nce(e,t,r){return t&&x1(e.prototype,t),r&&x1(e,r),e}function Ys(e){return Ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ys(e)}function Ace(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&im(e,t)}function Mce(e,t){return t&&(kce(t)==="object"||typeof t=="function")?t:Ice(e)}function im(e,t){return im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},im(e,t)}function kce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lce(e){var t=Dce();return function(){var n=Ys(e),o;if(t){var i=Ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mce(this,o)}}var jce=function(e){Ace(r,e);var t=Lce(r);function r(n){return Bce(this,r),t.call(this,n)}return Nce(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Z);function um(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hs(e)}function Cce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cm(e,t)}function xce(e,t){return t&&(Vce(t)==="object"||typeof t=="function")?t:um(e)}function cm(e,t){return cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cm(e,t)}function Vce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gce(e){var t=zce();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 xce(this,o)}}var Yce=function(e){Cce(r,e);var t=Gce(r);function r(n){Fce(this,r);var o;return o=t.call(this,n),V1(um(o),"display",void 0),V1(um(o),"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new J$(n==null?void 0:n.flexConfig),o}return r}(Y),z1={Designer:Ece,Runtime:jce,Property:Yce};function Hce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Uce(e,t,r){return t&&G1(e.prototype,t),r&&G1(e,r),e}function qs(e){return qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qs(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&&lm(e,t)}function Kce(e,t){return t&&(Xce(t)==="object"||typeof t=="function")?t:Hce(e)}function lm(e,t){return lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lm(e,t)}function Xce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qce(e){var t=Jce();return function(){var n=qs(e),o;if(t){var i=qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kce(this,o)}}var Zce=function(e){Wce(r,e);var t=Qce(r);function r(n){return qce(this,r),t.call(this,n)}return Uce(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(W);function ele(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nle(e,t,r){return t&&Y1(e.prototype,t),r&&Y1(e,r),e}function Us(e){return Us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Us(e)}function rle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fm(e,t)}function ole(e,t){return t&&(ile(t)==="object"||typeof t=="function")?t:ele(e)}function fm(e,t){return fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fm(e,t)}function ile(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ule(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cle(e){var t=ule();return function(){var n=Us(e),o;if(t){var i=Us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ole(this,o)}}var lle=function(e){rle(r,e);var t=cle(r);function r(n){return tle(this,r),t.call(this,n)}return nle(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Z);function fle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ale(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ws(e){return Ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ws(e)}function sle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&am(e,t)}function _le(e,t){return t&&(yle(t)==="object"||typeof t=="function")?t:fle(e)}function am(e,t){return am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},am(e,t)}function yle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ple(e){var t=dle();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 _le(this,o)}}var vle=function(e){sle(r,e);var t=ple(r);function r(n){return ale(this,r),t.call(this,n)}return r}(Y),H1={Designer:Zce,Runtime:lle,Property:vle};function hle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ble(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gle(e,t,r){return t&&q1(e.prototype,t),r&&q1(e,r),e}function Ks(e){return Ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ks(e)}function mle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sm(e,t)}function Ole(e,t){return t&&(wle(t)==="object"||typeof t=="function")?t:hle(e)}function sm(e,t){return sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sm(e,t)}function wle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ple(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $le(e){var t=Ple();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 Ole(this,o)}}var Rle=function(e){mle(r,e);var t=$le(r);function r(n){return ble(this,r),t.call(this,n)}return gle(r,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),r}(W);function Tle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ele(e,t,r){return t&&U1(e.prototype,t),r&&U1(e,r),e}function Xs(e){return Xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xs(e)}function Ile(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ble(e,t){return t&&(Nle(t)==="object"||typeof t=="function")?t:Tle(e)}function _m(e,t){return _m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_m(e,t)}function Nle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ale(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mle(e){var t=Ale();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 Ble(this,o)}}var kle=function(e){Ile(r,e);var t=Mle(r);function r(n){return Sle(this,r),t.call(this,n)}return Ele(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(Z);function Bi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Qs(e){return Qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qs(e)}function Lle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ym(e,t)}function jle(e,t){return t&&(Fle(t)==="object"||typeof t=="function")?t:Bi(e)}function ym(e,t){return ym=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ym(e,t)}function Fle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xle(e){var t=Cle();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 jle(this,o)}}var Vle=function(e){Lle(r,e);var t=xle(r);function r(n){Dle(this,r);var o;o=t.call(this,n),Js(Bi(o),"widthSpan",void 0),Js(Bi(o),"heightSpan",void 0),Js(Bi(o),"left",void 0),Js(Bi(o),"top",void 0);var i;o.widthSpan=(i=n==null?void 0:n.widthSpan)!==null&&i!==void 0?i:12;var u;o.heightSpan=(u=n==null?void 0:n.heightSpan)!==null&&u!==void 0?u:12;var l;o.left=(l=n==null?void 0:n.left)!==null&&l!==void 0?l:0;var f;return o.top=(f=n==null?void 0:n.top)!==null&&f!==void 0?f:0,o}return r}(Y),W1={Designer:Rle,Runtime:kle,Property:Vle};function Zs(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 dm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function e_(e){return e_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},e_(e)}function Gle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pm(e,t)}function Yle(e,t){return t&&(Hle(t)==="object"||typeof t=="function")?t:Zs(e)}function pm(e,t){return pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pm(e,t)}function Hle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ule(e){var t=qle();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 Yle(this,o)}}var vm=function(e){Gle(r,e);var t=Ule(r);function r(n){zle(this,r);var o;o=t.call(this,n),dm(Zs(o),"position",void 0),dm(Zs(o),"opacity",void 0),dm(Zs(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var l;return o.align=(l=n==null?void 0:n.align)!==null&&l!==void 0?l:"right",o}return r}(Y);function K1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wle(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 Kle(e,t,r){return t&&X1(e.prototype,t),r&&X1(e,r),e}function t_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n_(e){return n_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},n_(e)}function Xle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hm(e,t)}function Jle(e,t){return t&&(Qle(t)==="object"||typeof t=="function")?t:K1(e)}function hm(e,t){return hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hm(e,t)}function Qle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function efe(e){var t=Zle();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 Jle(this,o)}}var r_=function(e){Xle(r,e);var t=efe(r);function r(n){Wle(this,r);var o;o=t.call(this,n),t_(K1(o),"props",void 0);var i;return o.props=new vm((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return Kle(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(W);t_(r_,"slotPosition",{default:"action-bar-slot"}),t_(r_,"excludes",[]),t_(r_,"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 J1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tfe(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 nfe(e,t,r){return t&&Q1(e.prototype,t),r&&Q1(e,r),e}function rfe(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 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&&bm(e,t)}function ife(e,t){return t&&(ufe(t)==="object"||typeof t=="function")?t:J1(e)}function bm(e,t){return bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bm(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=o_(e),o;if(t){var i=o_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ife(this,o)}}var ffe=function(e){ofe(r,e);var t=lfe(r);function r(n){tfe(this,r);var o;o=t.call(this,n),rfe(J1(o),"props",void 0);var i;return o.props=new vm((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return nfe(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(Z),Z1={Designer:r_,Runtime:ffe,Property:vm},afe=Object.freeze({__proto__:null,Grid:a3,Col:Ka,Row:w3,GridRow:u0,CardGroup:A3,SubTableColumn:p0,SubTableRow:G3,GridTableColumn:W3,GridLayoutContainer:e1,Tab:d1,TabPane:f1,Toolbox:O1,ListView:X0,DataView:em,Page:F1,AdvancedContainer:z1,PositioningContainer:H1,Position:W1,ActionBar:Z1});function B(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 i_(e){return i_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},i_(e)}function mm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Om(e,t)}function sfe(e,t){return t&&(_fe(t)==="object"||typeof t=="function")?t:B(e)}function Om(e,t){return Om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Om(e,t)}function _fe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wm(e){var t=yfe();return function(){var n=i_(e),o;if(t){var i=i_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sfe(this,o)}}var dfe=function(e){mm(r,e);var t=wm(r);function r(n){gm(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),pfe=function(e){mm(r,e);var t=wm(r);function r(n){gm(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),Ni=function(e){mm(r,e);var t=wm(r);function r(n,o){gm(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:Ai.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:K$;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 y;i.defaultRows=(y=o==null?void 0:o.defaultRows)!==null&&y!==void 0?y: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 $;i.canEdit=($=o==null?void 0:o.canEdit)!==null&&$!==void 0?$:!1;var R;i.canImport=(R=o==null?void 0:o.canImport)!==null&&R!==void 0?R:!1;var S;i.canExport=(S=o==null?void 0:o.canExport)!==null&&S!==void 0?S:!1;var D;i.canClear=(D=o==null?void 0:o.canClear)!==null&&D!==void 0?D:!0;var je;i.serverPagination=(je=o==null?void 0:o.serverPagination)!==null&&je!==void 0?je:!1;var he;i.isShowCaptionTip=(he=o==null?void 0:o.isShowCaptionTip)!==null&&he!==void 0?he:!1;var be;i.captionTip=(be=o==null?void 0:o.captionTip)!==null&&be!==void 0?be:"";var go;i.mobileShowType=(go=o==null?void 0:o.mobileShowType)!==null&&go!==void 0?go:"list";var ir;i.mobileDefaultNum=(ir=o==null?void 0:o.mobileDefaultNum)!==null&&ir!==void 0?ir:10;var Bt;i.dataStorageDoc=(Bt=o==null?void 0:o.dataStorageDoc)!==null&&Bt!==void 0?Bt:new vP;var kw;i.fixedColumn=(kw=o==null?void 0:o.fixedColumn)!==null&&kw!==void 0?kw:[];var Dw;i.mobileRowCaption=(Dw=o==null?void 0:o.mobileRowCaption)!==null&&Dw!==void 0?Dw:"\u660E\u7EC6";var Lw;i.mobileIsTile=(Lw=o==null?void 0:o.mobileIsTile)!==null&&Lw!==void 0?Lw:!1;var jw;i.isPaste=(jw=o==null?void 0:o.isPaste)!==null&&jw!==void 0?jw:!1;var Fw;i.pageSize=(Fw=o==null?void 0:o.pageSize)!==null&&Fw!==void 0?Fw:10;var Cw;i.pageSizeOptions=(Cw=o==null?void 0:o.pageSizeOptions)!==null&&Cw!==void 0?Cw:[10,20,50,100],i.importConfig=new U$(o==null?void 0:o.importConfig),i.exportConfig=new W$(o==null?void 0:o.exportConfig);var xw;i.sortable=(xw=o==null?void 0:o.sortable)!==null&&xw!==void 0?xw:!1;var Vw;return i.sortKey=(Vw=o==null?void 0:o.sortKey)!==null&&Vw!==void 0?Vw:{},i}return r}(ko);I(Ni,"Rules",dfe),I(Ni,"RuntimeRules",pfe);function Pm(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 eA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hfe(e,t,r){return t&&eA(e.prototype,t),r&&eA(e,r),e}function u_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c_(e){return c_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},c_(e)}function bfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$m(e,t)}function gfe(e,t){return t&&(mfe(t)==="object"||typeof t=="function")?t:Pm(e)}function $m(e,t){return $m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$m(e,t)}function mfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ofe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wfe(e){var t=Ofe();return function(){var n=c_(e),o;if(t){var i=c_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gfe(this,o)}}var Ai=function(e){bfe(r,e);var t=wfe(r);function r(n){vfe(this,r);var o,i,u;return o=t.call(this,n),u_(Pm(o),"props",void 0),o.props=new Ni(Pm(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 vt,new vt,new vt]),(n==null||(u=n.props)===null||u===void 0?void 0:u.footers)===void 0&&(o.props.footers=[]),o}return hfe(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new vt,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}(bu);u_(Ai,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),u_(Ai,"slotPosition",{toolbar:"subtable-toolbar-slot"}),u_(Ai,"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 Rm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $fe(e,t,r){return t&&tA(e.prototype,t),r&&tA(e,r),e}function Rfe(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 Tfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tm(e,t)}function Sfe(e,t){return t&&(Efe(t)==="object"||typeof t=="function")?t:Rm(e)}function Tm(e,t){return Tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tm(e,t)}function Efe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ife(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bfe(e){var t=Ife();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 Sfe(this,o)}}var Nfe=function(e){Tfe(r,e);var t=Bfe(r);function r(n){Pfe(this,r);var o;return o=t.call(this,n),Rfe(Rm(o),"props",void 0),o.props=new Ni(Rm(o),n==null?void 0:n.props),o}return $fe(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Xt("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(Vd),nA={Designer:Ai,Runtime:Nfe,Property:Ni};function Wr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Afe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f_(e){return f_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},f_(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&&Sm(e,t)}function kfe(e,t){return t&&(Dfe(t)==="object"||typeof t=="function")?t:Wr(e)}function Sm(e,t){return Sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sm(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 jfe(e){var t=Lfe();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 kfe(this,o)}}var Em=function(e){Mfe(r,e);var t=jfe(r);function r(n,o){Afe(this,r);var i;i=t.call(this,n,o),Mi(Wr(i),"isFixedHeader",void 0),Mi(Wr(i),"selectionType",void 0),Mi(Wr(i),"isShowToolbar",void 0),Mi(Wr(i),"isShowSelection",void 0),Mi(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 Ffe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cfe(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 oA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Im(e,t)}function xfe(e,t){return t&&(Vfe(t)==="object"||typeof t=="function")?t:Ffe(e)}function Im(e,t){return Im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Im(e,t)}function Vfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iA(e){var t=zfe();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 xfe(this,o)}}var Gfe=function(e){oA(r,e);var t=iA(r);function r(n){rA(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(ft),s_=function(e){oA(r,e);var t=iA(r);function r(n){rA(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);Cfe(s_,"Rules",Gfe);function uA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ki(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function __(e){return __=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},__(e)}function Hfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bm(e,t)}function qfe(e,t){return t&&(Ufe(t)==="object"||typeof t=="function")?t:uA(e)}function Bm(e,t){return Bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bm(e,t)}function Ufe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kfe(e){var t=Wfe();return function(){var n=__(e),o;if(t){var i=__(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qfe(this,o)}}var Fn=function(e){Hfe(r,e);var t=Kfe(r);function r(n){Yfe(this,r);var o;return o=t.call(this,n),ki(uA(o),"props",void 0),o.props=new s_(n==null?void 0:n.props),o}return r}(ce);ki(Fn,"controlType","order-column"),ki(Fn,"controlName","\u5E8F\u53F7"),ki(Fn,"controlIcon","order-column"),ki(Fn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function cA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nm(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 Jfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Am(e,t)}function Qfe(e,t){return t&&(Zfe(t)==="object"||typeof t=="function")?t:cA(e)}function Am(e,t){return Am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Am(e,t)}function Zfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tae(e){var t=eae();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 Qfe(this,o)}}var Mm=function(e){Jfe(r,e);var t=tae(r);function r(n){Xfe(this,r);var o;return o=t.call(this,n),Nm(cA(o),"props",void 0),o.props=new s_(n==null?void 0:n.props),o}return r}(le);Nm(Mm,"controlType","order-column"),Nm(Mm,"controlFieldType",c.FieldTypes.DECIMAL);var lA={Designer:Fn,Runtime:Mm,Property:s_};function km(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d_(e){return d_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},d_(e)}function rae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oae(e,t){return t&&(iae(t)==="object"||typeof t=="function")?t:km(e)}function Dm(e,t){return Dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dm(e,t)}function iae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cae(e){var t=uae();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 oae(this,o)}}var Lm=function(e){rae(r,e);var t=cae(r);function r(n){nae(this,r);var o,i;o=t.call(this,n),fA(km(o),"showType",void 0),fA(km(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var l;o.autoWidth.minWidth=(l=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&l!==void 0?l:84;var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:xn.controlName;var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"icon";var s;return o.limit=(s=n==null?void 0:n.limit)!==null&&s!==void 0?s:3,o}return r}(ee);function p_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aA(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 lae(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){aA(i,n,o,u,l,"next",f)}function l(f){aA(i,n,o,u,l,"throw",f)}u(void 0)})}}function fae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aae(e,t,r){return t&&sA(e.prototype,t),r&&sA(e,r),e}function Cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kr(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Kr=Reflect.get:Kr=function(o,i,u){var l=vae(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Kr(e,t,r||e)}function hn(e){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hn(e)}function sae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _ae(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Cn(e,o,r[o])})}return e}function yae(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 dae(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yae(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function pae(e,t){return t&&(hae(t)==="object"||typeof t=="function")?t:p_(e)}function jm(e,t){return jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jm(e,t)}function vae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=hn(e),e!==null););return e}function hae(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 gae(e){var t=bae();return function(){var n=hn(e),o;if(t){var i=hn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pae(this,o)}}function mae(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(a){return function(s){return f([a,s])}}function f(a){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=a[0]&2?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[a[0]&2,o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,n=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){u=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(a[0]===6&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(s){a=[6,s],n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}var xn=function(e){sae(r,e);var t=gae(r);function r(n){fae(this,r);var o;return o=t.call(this,n),Cn(p_(o),"props",void 0),Cn(p_(o),"children",void 0),o.props=new Lm(n==null?void 0:n.props),lt(p_(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return aae(r,[{key:"toDataBindModel",value:function(){var o=Kr(hn(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===yl.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=Kr(hn(r.prototype),"toSchema",this).call(this);return dae(_ae({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,l=this,f=function(){return Kr(hn(r.prototype),"validate",u)};return lae(function(){return mae(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}(ce);Cn(xn,"controlType","operation-column"),Cn(xn,"controlName","\u64CD\u4F5C"),Cn(xn,"controlIcon","operation-column"),Cn(xn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}]);function v_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function b_(e){return b_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},b_(e)}function wae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fm(e,t)}function Pae(e,t){return t&&($ae(t)==="object"||typeof t=="function")?t:v_(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fm(e,t)}function $ae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tae(e){var t=Rae();return function(){var n=b_(e),o;if(t){var i=b_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pae(this,o)}}var Cm=function(e){wae(r,e);var t=Tae(r);function r(n){Oae(this,r);var o;return o=t.call(this,n),h_(v_(o),"props",void 0),h_(v_(o),"children",void 0),o.props=new Lm(n==null?void 0:n.props),lt(v_(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(le);h_(Cm,"controlType","operation-column"),h_(Cm,"controlFieldType",c.FieldTypes.FILE);var _A={Designer:xn,Runtime:Cm,Property:Lm};function Vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yA(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 Sae(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){yA(i,n,o,u,l,"next",f)}function l(f){yA(i,n,o,u,l,"throw",f)}u(void 0)})}}function Eae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Iae(e,t,r){return t&&dA(e.prototype,t),r&&dA(e,r),e}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 Di(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Di=Reflect.get:Di=function(o,i,u){var l=Lae(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Di(e,t,r||e)}function zn(e){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zn(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&&xm(e,t)}function Nae(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Aae(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){Ht(e,o,r[o])})}return e}function Mae(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 kae(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Mae(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Dae(e,t){return t&&(jae(t)==="object"||typeof t=="function")?t:Vn(e)}function xm(e,t){return xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xm(e,t)}function Lae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zn(e),e!==null););return e}function jae(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 Cae(e){var t=Fae();return function(){var n=zn(e),o;if(t){var i=zn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dae(this,o)}}function xae(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 Vae=1e4,Li=function(t){Bae(n,t);var r=Cae(n);function n(o){Eae(this,n);var i,u;i=r.call(this,o),Ht(Vn(i),"props",void 0),Ht(Vn(i),"children",void 0),Ht(Vn(i),"excludes",void 0),Ht(Vn(i),"childrenMaxLength",void 0);var l=Nae(this,n)?this.constructor:void 0,f=l.excludes,a=l.childrenMaxLength;return i.props=new Em(Vn(i),o==null?void 0:o.props),lt(Vn(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 xn]),(o==null||(u=o.props)===null||u===void 0?void 0:u.footers)===void 0&&(i.props.footers=[]),i.excludes=Xe(f),i.childrenMaxLength=a,i}return Iae(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=Di(zn(n.prototype),"toSchema",this).call(this),u=this.children.map(function(l){return l.toSchema()});return kae(Aae({},i),{children:u})}},{key:"validate",value:function(i,u){var l=this,f=this,a=function(){return Di(zn(n.prototype),"validate",l)};return Sae(function(){return xae(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}(bu);Ht(Li,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),Ht(Li,"setting",[{key:"list-fixed-header",visible:!0}]),Ht(Li,"excludes",[]),Ht(Li,"childrenMaxLength",Vae);function Vm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Gae(e,t,r){return t&&pA(e.prototype,t),r&&pA(e,r),e}function Yae(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 Hae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zm(e,t)}function qae(e,t){return t&&(Uae(t)==="object"||typeof t=="function")?t:Vm(e)}function zm(e,t){return zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zm(e,t)}function Uae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kae(e){var t=Wae();return function(){var n=g_(e),o;if(t){var i=g_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qae(this,o)}}var Xae=function(e){Hae(r,e);var t=Kae(r);function r(n){zae(this,r);var o;return o=t.call(this,n),Yae(Vm(o),"props",void 0),o.props=new Em(Vm(o),n==null?void 0:n.props),o}return Gae(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Xt("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}(Vd),vA={Designer:Li,Runtime:Xae,Property:Em},Jae=Object.freeze({__proto__:null,SubTable:nA,GridTable:vA});function qt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m_(e){return m_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},m_(e)}function bA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qae(e,t){return t&&(Zae(t)==="object"||typeof t=="function")?t:qt(e)}function Gm(e,t){return Gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gm(e,t)}function Zae(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 gA(e){var t=ese();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 Qae(this,o)}}var tse=function(e){bA(r,e);var t=gA(r);function r(n){hA(this,r);var o;return o=t.call(this,n),kt.call(qt(o),n),o}return r}(qd),O_=function(e){bA(r,e);var t=gA(r);function r(n){hA(this,r);var o;o=t.call(this,n),bn(qt(o),"optionConfig",void 0),bn(qt(o),"datasourceBind",void 0),bn(qt(o),"showLinkOperation",void 0),bn(qt(o),"linkOperationOption",void 0),bn(qt(o),"options",void 0),bn(qt(o),"lineEllipsis",void 0),bn(qt(o),"dictionaryTagConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Gn.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var l;o.options=bt((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 ht(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);bn(O_,"Rules",tse);function mA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w_(e){return w_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},w_(e)}function 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:mA(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 Gn=function(e){rse(r,e);var t=cse(r);function r(n){nse(this,r);var o;return o=t.call(this,n),Xr(mA(o),"props",void 0),o.props=new O_(n==null?void 0:n.props),o}return r}(ce);Xr(Gn,"controlType","varchar-column"),Xr(Gn,"controlName","\u77ED\u6587\u672C"),Xr(Gn,"controlIcon","varchar-column"),Xr(Gn,"controlFieldType",c.FieldTypes.VARCHAR),Xr(Gn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function OA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hm(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 fse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qm(e,t)}function ase(e,t){return t&&(sse(t)==="object"||typeof t=="function")?t:OA(e)}function qm(e,t){return qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qm(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 yse(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 Um=function(e){fse(r,e);var t=yse(r);function r(n){lse(this,r);var o;return o=t.call(this,n),Hm(OA(o),"props",void 0),o.props=new O_(n==null?void 0:n.props),o}return r}(le);Hm(Um,"controlType","varchar-column"),Hm(Um,"controlFieldType",c.FieldTypes.VARCHAR);var wA={Designer:Gn,Runtime:Um,Property:O_};function Jr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ji(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $_(e){return $_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$_(e)}function $A(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dse(e,t){return t&&(pse(t)==="object"||typeof t=="function")?t:Jr(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 vse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RA(e){var t=vse();return function(){var n=$_(e),o;if(t){var i=$_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dse(this,o)}}var hse=function(e){$A(r,e);var t=RA(r);function r(n){PA(this,r);var o;return o=t.call(this,n),kt.call(Jr(o),n),o}return r}(ft),R_=function(e){$A(r,e);var t=RA(r);function r(n){PA(this,r);var o;o=t.call(this,n),ji(Jr(o),"escapeHTML",void 0),ji(Jr(o),"showLinkOperation",void 0),ji(Jr(o),"linkOperationOption",void 0),ji(Jr(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!0;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Yn.controlName;var l;o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1;var f;return o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new ht(n==null?void 0:n.linkOperationOption),o}return r}(ee);ji(R_,"Rules",hse);function TA(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 SA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gse(e,t,r){return t&&SA(e.prototype,t),r&&SA(e,r),e}function Qr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?T_=Reflect.get:T_=function(o,i,u){var l=wse(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},T_(e,t,r||e)}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zr(e)}function mse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Km(e,t)}function Ose(e,t){return t&&(Pse(t)==="object"||typeof t=="function")?t:TA(e)}function Km(e,t){return Km=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Km(e,t)}function wse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Zr(e),e!==null););return e}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=Zr(e),o;if(t){var i=Zr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ose(this,o)}}var Yn=function(e){mse(r,e);var t=Rse(r);function r(n){bse(this,r);var o;return o=t.call(this,n),Qr(TA(o),"props",void 0),o.props=new R_(n==null?void 0:n.props),o}return gse(r,[{key:"toDataBindModel",value:function(o){var i=T_(Zr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(ce);Qr(Yn,"controlType","text-column"),Qr(Yn,"controlName","\u957F\u6587\u672C"),Qr(Yn,"controlIcon","text-column"),Qr(Yn,"controlFieldType",c.FieldTypes.TEXT),Qr(Yn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function EA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S_(e){return S_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},S_(e)}function Sse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ese(e,t){return t&&(Ise(t)==="object"||typeof t=="function")?t:EA(e)}function Jm(e,t){return Jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jm(e,t)}function Ise(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 Nse(e){var t=Bse();return function(){var n=S_(e),o;if(t){var i=S_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ese(this,o)}}var Qm=function(e){Sse(r,e);var t=Nse(r);function r(n){Tse(this,r);var o;return o=t.call(this,n),Xm(EA(o),"props",void 0),o.props=new R_(n==null?void 0:n.props),o}return r}(le);Xm(Qm,"controlType","text-column"),Xm(Qm,"controlFieldType",c.FieldTypes.TEXT);var IA={Designer:Yn,Runtime:Qm,Property:R_};function It(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 E_(e){return E_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},E_(e)}function NA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zm(e,t)}function Ase(e,t){return t&&(Mse(t)==="object"||typeof t=="function")?t:It(e)}function Zm(e,t){return Zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zm(e,t)}function Mse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AA(e){var t=kse();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 Ase(this,o)}}var Dse=function(e){NA(r,e);var t=AA(r);function r(n){BA(this,r);var o;return o=t.call(this,n),kt.call(It(o),n),o}return r}(ft),I_=function(e){NA(r,e);var t=AA(r);function r(n){BA(this,r);var o;o=t.call(this,n),Ut(It(o),"optionConfig",void 0),Ut(It(o),"datasourceBind",void 0),Ut(It(o),"showLinkOperation",void 0),Ut(It(o),"linkOperationOption",void 0),Ut(It(o),"options",void 0),Ut(It(o),"precision",void 0),Ut(It(o),"micrometer",void 0),Ut(It(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Hn.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var f;o.percentageFormat=(f=n==null?void 0:n.percentageFormat)!==null&&f!==void 0?f:!1;var a;o.optionConfig=(a=n==null?void 0:n.optionConfig)!==null&&a!==void 0?a:"none",o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var s;o.options=bt((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 ht(n==null?void 0:n.linkOperationOption),o}return r}(ee);Ut(I_,"Rules",Dse);function MA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jse(e,t,r){return t&&kA(e.prototype,t),r&&kA(e,r),e}function eo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?B_=Reflect.get:B_=function(o,i,u){var l=xse(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},B_(e,t,r||e)}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},to(e)}function Fse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eO(e,t)}function Cse(e,t){return t&&(Vse(t)==="object"||typeof t=="function")?t:MA(e)}function eO(e,t){return eO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eO(e,t)}function xse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=to(e),e!==null););return e}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=to(e),o;if(t){var i=to(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cse(this,o)}}var Hn=function(e){Fse(r,e);var t=Gse(r);function r(n){Lse(this,r);var o;return o=t.call(this,n),eo(MA(o),"props",void 0),o.props=new I_(n==null?void 0:n.props),o}return jse(r,[{key:"toDataBindModel",value:function(o){var i=B_(to(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}(ce);eo(Hn,"controlType","decimal-column"),eo(Hn,"controlName","\u6570\u503C"),eo(Hn,"controlIcon","decimal-column"),eo(Hn,"controlFieldType",c.FieldTypes.DECIMAL),eo(Hn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION,c.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function DA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 N_(e){return N_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},N_(e)}function Hse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nO(e,t)}function qse(e,t){return t&&(Use(t)==="object"||typeof t=="function")?t:DA(e)}function nO(e,t){return nO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nO(e,t)}function Use(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kse(e){var t=Wse();return function(){var n=N_(e),o;if(t){var i=N_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qse(this,o)}}var rO=function(e){Hse(r,e);var t=Kse(r);function r(n){Yse(this,r);var o;return o=t.call(this,n),tO(DA(o),"props",void 0),o.props=new I_(n==null?void 0:n.props),o}return r}(le);tO(rO,"controlType","decimal-column"),tO(rO,"controlFieldType",c.FieldTypes.DECIMAL);var LA={Designer:Hn,Runtime:rO,Property:I_};function Fi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jA(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 FA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xse(e,t){return t&&(Jse(t)==="object"||typeof t=="function")?t:Fi(e)}function oO(e,t){return oO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oO(e,t)}function Jse(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 CA(e){var t=Qse();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 Xse(this,o)}}var Zse=function(e){FA(r,e);var t=CA(r);function r(n){jA(this,r);var o;return o=t.call(this,n),kt.call(Fi(o),n),o}return r}(ft),k_=function(e){FA(r,e);var t=CA(r);function r(n){jA(this,r);var o;o=t.call(this,n),A_(Fi(o),"dateType",void 0),A_(Fi(o),"showLinkOperation",void 0),A_(Fi(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 ht(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);A_(k_,"Rules",Zse);function xA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t_e(e,t,r){return t&&VA(e.prototype,t),r&&VA(e,r),e}function no(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?D_=Reflect.get:D_=function(o,i,u){var l=o_e(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},D_(e,t,r||e)}function ro(e){return ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ro(e)}function n_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iO(e,t)}function r_e(e,t){return t&&(i_e(t)==="object"||typeof t=="function")?t:xA(e)}function iO(e,t){return iO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iO(e,t)}function o_e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ro(e),e!==null););return e}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=ro(e),o;if(t){var i=ro(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r_e(this,o)}}var qn=function(e){n_e(r,e);var t=c_e(r);function r(n){e_e(this,r);var o;return o=t.call(this,n),no(xA(o),"props",void 0),o.props=new k_(n==null?void 0:n.props),o}return t_e(r,[{key:"toDataBindModel",value:function(o){var i=D_(ro(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ce);no(qn,"controlType","timescope-column"),no(qn,"controlName","\u65E5\u671F\u533A\u95F4"),no(qn,"controlIcon","timescope-column"),no(qn,"controlFieldType",c.FieldTypes.TIMESCOPE),no(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 zA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l_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 L_(e){return L_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},L_(e)}function f_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cO(e,t)}function a_e(e,t){return t&&(s_e(t)==="object"||typeof t=="function")?t:zA(e)}function cO(e,t){return cO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cO(e,t)}function s_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function __e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y_e(e){var t=__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 a_e(this,o)}}var lO=function(e){f_e(r,e);var t=y_e(r);function r(n){l_e(this,r);var o;return o=t.call(this,n),uO(zA(o),"props",void 0),o.props=new k_(n==null?void 0:n.props),o}return r}(le);uO(lO,"controlType","timescope-column"),uO(lO,"controlFieldType",c.FieldTypes.TIMESCOPE);var GA={Designer:qn,Runtime:lO,Property:k_};function Ci(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function F_(e){return F_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},F_(e)}function HA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 d_e(e,t){return t&&(p_e(t)==="object"||typeof t=="function")?t:Ci(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 v_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 qA(e){var t=v_e();return function(){var n=F_(e),o;if(t){var i=F_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d_e(this,o)}}var h_e=function(e){HA(r,e);var t=qA(r);function r(n){YA(this,r);var o;return o=t.call(this,n),kt.call(Ci(o),n),o}return r}(ft),C_=function(e){HA(r,e);var t=qA(r);function r(n){YA(this,r);var o;o=t.call(this,n),j_(Ci(o),"dateType",void 0),j_(Ci(o),"showLinkOperation",void 0),j_(Ci(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 ht(n==null?void 0:n.linkOperationOption);var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Un.controlName,o}return r}(ee);j_(C_,"Rules",h_e);function UA(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 WA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function g_e(e,t,r){return t&&WA(e.prototype,t),r&&WA(e,r),e}function oo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?x_=Reflect.get:x_=function(o,i,u){var l=w_e(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 io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},io(e)}function m_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aO(e,t)}function O_e(e,t){return t&&(P_e(t)==="object"||typeof t=="function")?t:UA(e)}function aO(e,t){return aO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aO(e,t)}function w_e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=io(e),e!==null););return e}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=io(e),o;if(t){var i=io(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O_e(this,o)}}var Un=function(e){m_e(r,e);var t=R_e(r);function r(n){b_e(this,r);var o;return o=t.call(this,n),oo(UA(o),"props",void 0),o.props=new C_(n==null?void 0:n.props),o}return g_e(r,[{key:"toDataBindModel",value:function(o){var i=x_(io(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(ce);oo(Un,"controlType","timestamp-column"),oo(Un,"controlName","\u65E5\u671F"),oo(Un,"controlIcon","timestamp-column"),oo(Un,"controlFieldType",c.FieldTypes.TIMESTAMP),oo(Un,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function KA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T_e(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 V_(e){return V_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},V_(e)}function S_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_O(e,t)}function E_e(e,t){return t&&(I_e(t)==="object"||typeof t=="function")?t:KA(e)}function _O(e,t){return _O=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_O(e,t)}function I_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 N_e(e){var t=B_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 E_e(this,o)}}var yO=function(e){S_e(r,e);var t=N_e(r);function r(n){T_e(this,r);var o;return o=t.call(this,n),sO(KA(o),"props",void 0),o.props=new C_(n==null?void 0:n.props),o}return r}(le);sO(yO,"controlType","timestamp-column"),sO(yO,"controlFieldType",c.FieldTypes.TIMESTAMP);var XA={Designer:Un,Runtime:yO,Property:C_};function Wn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JA(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 z_(e){return z_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},z_(e)}function QA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dO(e,t)}function A_e(e,t){return t&&(M_e(t)==="object"||typeof t=="function")?t:Wn(e)}function dO(e,t){return dO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dO(e,t)}function M_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k_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 ZA(e){var t=k_e();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 A_e(this,o)}}var D_e=function(e){QA(r,e);var t=ZA(r);function r(n){JA(this,r);var o;return o=t.call(this,n),kt.call(Wn(o),n),o}return r}(qd),G_=function(e){QA(r,e);var t=ZA(r);function r(n){JA(this,r);var o;o=t.call(this,n),uo(Wn(o),"optionConfig",void 0),uo(Wn(o),"datasourceBind",void 0),uo(Wn(o),"showLinkOperation",void 0),uo(Wn(o),"linkOperationOption",void 0),uo(Wn(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Kn.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new 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 ht(n==null?void 0:n.linkOperationOption);var f;return o.options=bt((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(ee);uo(G_,"Rules",D_e);function eM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function co(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Y_(e){return Y_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Y_(e)}function j_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pO(e,t)}function F_e(e,t){return t&&(C_e(t)==="object"||typeof t=="function")?t:eM(e)}function pO(e,t){return pO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pO(e,t)}function C_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V_e(e){var t=x_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 F_e(this,o)}}var Kn=function(e){j_e(r,e);var t=V_e(r);function r(n){L_e(this,r);var o;return o=t.call(this,n),co(eM(o),"props",void 0),o.props=new G_(n==null?void 0:n.props),o}return r}(ce);co(Kn,"controlType","array-column"),co(Kn,"controlName","\u6570\u7EC4"),co(Kn,"controlIcon","array-column"),co(Kn,"controlFieldType",c.FieldTypes.ARRAY),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:"column-options-setting",visible:!0},{key:"column-link-operation",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 z_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function H_(e){return H_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},H_(e)}function G_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hO(e,t)}function Y_e(e,t){return t&&(H_e(t)==="object"||typeof t=="function")?t:tM(e)}function hO(e,t){return hO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hO(e,t)}function H_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U_e(e){var t=q_e();return function(){var n=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 bO=function(e){G_e(r,e);var t=U_e(r);function r(n){z_e(this,r);var o;return o=t.call(this,n),vO(tM(o),"props",void 0),o.props=new G_(n==null?void 0:n.props),o}return r}(le);vO(bO,"controlType","array-column"),vO(bO,"controlFieldType",c.FieldTypes.ARRAY);var nM={Designer:Kn,Runtime:bO,Property:G_};function rM(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 K_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 q_(e){return q_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},q_(e)}function X_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gO(e,t)}function J_e(e,t){return t&&(Q_e(t)==="object"||typeof t=="function")?t:rM(e)}function gO(e,t){return gO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gO(e,t)}function Q_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 eye(e){var t=Z_e();return function(){var n=q_(e),o;if(t){var i=q_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J_e(this,o)}}var mO=function(e){X_e(r,e);var t=eye(r);function r(n){W_e(this,r);var o;o=t.call(this,n),K_e(rM(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Xn.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(ee);function oM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nye(e,t,r){return t&&iM(e.prototype,t),r&&iM(e,r),e}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 U_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?U_=Reflect.get:U_=function(o,i,u){var l=iye(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},U_(e,t,r||e)}function fo(e){return fo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fo(e)}function rye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&OO(e,t)}function oye(e,t){return t&&(uye(t)==="object"||typeof t=="function")?t:oM(e)}function OO(e,t){return OO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OO(e,t)}function iye(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fo(e),e!==null););return e}function uye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=cye();return function(){var n=fo(e),o;if(t){var i=fo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oye(this,o)}}var Xn=function(e){rye(r,e);var t=lye(r);function r(n){tye(this,r);var o;return o=t.call(this,n),lo(oM(o),"props",void 0),o.props=new mO(n==null?void 0:n.props),o}return nye(r,[{key:"toDataBindModel",value:function(o){var i=U_(fo(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(ce);lo(Xn,"controlType","department-column"),lo(Xn,"controlName","\u90E8\u95E8"),lo(Xn,"controlIcon","department-column"),lo(Xn,"controlFieldType",c.FieldTypes.DEPARTMENTS),lo(Xn,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}]);function uM(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 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 W_(e){return W_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},W_(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&&PO(e,t)}function sye(e,t){return t&&(_ye(t)==="object"||typeof t=="function")?t:uM(e)}function PO(e,t){return PO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PO(e,t)}function _ye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dye(e){var t=yye();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 sye(this,o)}}var $O=function(e){aye(r,e);var t=dye(r);function r(n){fye(this,r);var o;return o=t.call(this,n),wO(uM(o),"props",void 0),o.props=new mO(n==null?void 0:n.props),o}return r}(le);wO($O,"controlType","department-column"),wO($O,"controlFieldType",c.FieldTypes.DEPARTMENTS);var cM={Designer:Xn,Runtime:$O,Property:mO};function K_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function X_(e){return X_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},X_(e)}function fM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&TO(e,t)}function pye(e,t){return t&&(vye(t)==="object"||typeof t=="function")?t:K_(e)}function TO(e,t){return TO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TO(e,t)}function vye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aM(e){var t=hye();return function(){var n=X_(e),o;if(t){var i=X_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pye(this,o)}}var bye=function(e){fM(r,e);var t=aM(r);function r(n){lM(this,r);var o;return o=t.call(this,n),kt.call(K_(o),n),o}return r}(ft),J_=function(e){fM(r,e);var t=aM(r);function r(n){lM(this,r);var o;o=t.call(this,n),RO(K_(o),"showLinkOperation",void 0),RO(K_(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Jn.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new ht(n==null?void 0:n.linkOperationOption),o}return r}(ee);RO(J_,"Rules",bye);function sM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ao(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q_(e){return Q_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Q_(e)}function mye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&SO(e,t)}function Oye(e,t){return t&&(wye(t)==="object"||typeof t=="function")?t:sM(e)}function SO(e,t){return SO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},SO(e,t)}function wye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ye(e){var t=Pye();return function(){var n=Q_(e),o;if(t){var i=Q_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Oye(this,o)}}var Jn=function(e){mye(r,e);var t=$ye(r);function r(n){gye(this,r);var o;return o=t.call(this,n),ao(sM(o),"props",void 0),o.props=new J_(n==null?void 0:n.props),o}return r}(ce);ao(Jn,"controlType","auto-number-column"),ao(Jn,"controlName","\u81EA\u52A8\u7F16\u53F7"),ao(Jn,"controlIcon","auto-number-column"),ao(Jn,"controlFieldType",c.FieldTypes.AUTO_NUMBER),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-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function _M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z_(e){return Z_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Z_(e)}function 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&&IO(e,t)}function Sye(e,t){return t&&(Eye(t)==="object"||typeof t=="function")?t:_M(e)}function IO(e,t){return IO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},IO(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 Bye(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 BO=function(e){Tye(r,e);var t=Bye(r);function r(n){Rye(this,r);var o;return o=t.call(this,n),EO(_M(o),"props",void 0),o.props=new J_(n==null?void 0:n.props),o}return r}(le);EO(BO,"controlType","auto-number-column"),EO(BO,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var yM={Designer:Jn,Runtime:BO,Property:J_};function Nye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ey(e){return ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ey(e)}function Mye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NO(e,t)}function kye(e,t){return t&&(Dye(t)==="object"||typeof t=="function")?t:Nye(e)}function NO(e,t){return NO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NO(e,t)}function Dye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jye(e){var t=Lye();return function(){var n=ey(e),o;if(t){var i=ey(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kye(this,o)}}var AO=function(e){Mye(r,e);var t=jye(r);function r(n){Aye(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 dM(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 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 ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ty(e)}function Cye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&MO(e,t)}function xye(e,t){return t&&(Vye(t)==="object"||typeof t=="function")?t:dM(e)}function MO(e,t){return MO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},MO(e,t)}function Vye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gye(e){var t=zye();return function(){var n=ty(e),o;if(t){var i=ty(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xye(this,o)}}var Qn=function(e){Cye(r,e);var t=Gye(r);function r(n){Fye(this,r);var o;return o=t.call(this,n),so(dM(o),"props",void 0),o.props=new AO(n==null?void 0:n.props),o}return r}(ce);so(Qn,"controlType","file-column"),so(Qn,"controlName","\u9644\u4EF6"),so(Qn,"controlIcon","file-column"),so(Qn,"controlFieldType",c.FieldTypes.FILE),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 Yye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ny(e){return ny=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ny(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&&DO(e,t)}function qye(e,t){return t&&(Uye(t)==="object"||typeof t=="function")?t:pM(e)}function DO(e,t){return DO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DO(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=ny(e),o;if(t){var i=ny(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qye(this,o)}}var LO=function(e){Hye(r,e);var t=Kye(r);function r(n){Yye(this,r);var o;return o=t.call(this,n),kO(pM(o),"props",void 0),o.props=new AO(n==null?void 0:n.props),o}return r}(le);kO(LO,"controlType","file-column"),kO(LO,"controlFieldType",c.FieldTypes.FILE);var vM={Designer:Qn,Runtime:LO,Property:AO};function Xye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ry(e){return ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ry(e)}function Qye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jO(e,t)}function Zye(e,t){return t&&(ede(t)==="object"||typeof t=="function")?t:Xye(e)}function jO(e,t){return jO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jO(e,t)}function ede(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nde(e){var t=tde();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 Zye(this,o)}}var FO=function(e){Qye(r,e);var t=nde(r);function r(n){Jye(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 hM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 oy(e){return oy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oy(e)}function ode(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ide(e,t){return t&&(ude(t)==="object"||typeof t=="function")?t:hM(e)}function CO(e,t){return CO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},CO(e,t)}function ude(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lde(e){var t=cde();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 ide(this,o)}}var Zn=function(e){ode(r,e);var t=lde(r);function r(n){rde(this,r);var o;return o=t.call(this,n),_o(hM(o),"props",void 0),o.props=new FO(n==null?void 0:n.props),o}return r}(ce);_o(Zn,"controlType","image-column"),_o(Zn,"controlName","\u56FE\u7247"),_o(Zn,"controlIcon","image-column"),_o(Zn,"controlFieldType",c.FieldTypes.IMAGE),_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 bM(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 xO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iy(e){return iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iy(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&&VO(e,t)}function sde(e,t){return t&&(_de(t)==="object"||typeof t=="function")?t:bM(e)}function VO(e,t){return VO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},VO(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=iy(e),o;if(t){var i=iy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sde(this,o)}}var zO=function(e){ade(r,e);var t=dde(r);function r(n){fde(this,r);var o;return o=t.call(this,n),xO(bM(o),"props",void 0),o.props=new FO(n==null?void 0:n.props),o}return r}(le);xO(zO,"controlType","image-column"),xO(zO,"controlFieldType",c.FieldTypes.IMAGE);var gM={Designer:Zn,Runtime:zO,Property:FO};function pde(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vde(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 hde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bde(e,t){return t&&(gde(t)==="object"||typeof t=="function")?t:pde(e)}function GO(e,t){return GO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},GO(e,t)}function gde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ode(e){var t=mde();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 bde(this,o)}}var YO=function(e){hde(r,e);var t=Ode(r);function r(n){vde(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:er.controlName,o}return r}(ee);function mM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wde(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 cy(e){return cy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cy(e)}function Pde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $de(e,t){return t&&(Rde(t)==="object"||typeof t=="function")?t:mM(e)}function HO(e,t){return HO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HO(e,t)}function Rde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sde(e){var t=Tde();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 $de(this,o)}}var er=function(e){Pde(r,e);var t=Sde(r);function r(n){wde(this,r);var o;return o=t.call(this,n),yo(mM(o),"props",void 0),o.props=new YO(n==null?void 0:n.props),o}return r}(ce);yo(er,"controlType","people-column"),yo(er,"controlName","\u4EBA\u5458"),yo(er,"controlIcon","people-column"),yo(er,"controlFieldType",c.FieldTypes.EMPLOYEES),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-sort",visible:!0}]);function OM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ede(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ly(e){return ly=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ly(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&&UO(e,t)}function Bde(e,t){return t&&(Nde(t)==="object"||typeof t=="function")?t:OM(e)}function UO(e,t){return UO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UO(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=ly(e),o;if(t){var i=ly(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bde(this,o)}}var WO=function(e){Ide(r,e);var t=Mde(r);function r(n){Ede(this,r);var o;return o=t.call(this,n),qO(OM(o),"props",void 0),o.props=new YO(n==null?void 0:n.props),o}return r}(le);qO(WO,"controlType","people-column"),qO(WO,"controlFieldType",c.FieldTypes.EMPLOYEES);var wM={Designer:er,Runtime:WO,Property:YO};function fy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ay(e){return ay=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ay(e)}function $M(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&XO(e,t)}function kde(e,t){return t&&(Dde(t)==="object"||typeof t=="function")?t:fy(e)}function XO(e,t){return XO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},XO(e,t)}function Dde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RM(e){var t=Lde();return function(){var n=ay(e),o;if(t){var i=ay(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kde(this,o)}}var jde=function(e){$M(r,e);var t=RM(r);function r(n){PM(this,r);var o;return o=t.call(this,n),kt.call(fy(o),n),o}return r}(ft),sy=function(e){$M(r,e);var t=RM(r);function r(n){PM(this,r);var o;o=t.call(this,n),KO(fy(o),"showLinkOperation",void 0),KO(fy(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:tr.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new ht(n==null?void 0:n.linkOperationOption),o}return r}(ee);KO(sy,"Rules",jde);function TM(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 po(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _y(e){return _y=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_y(e)}function Cde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&JO(e,t)}function xde(e,t){return t&&(Vde(t)==="object"||typeof t=="function")?t:TM(e)}function JO(e,t){return JO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},JO(e,t)}function Vde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gde(e){var t=zde();return function(){var n=_y(e),o;if(t){var i=_y(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xde(this,o)}}var tr=function(e){Cde(r,e);var t=Gde(r);function r(n){Fde(this,r);var o;return o=t.call(this,n),po(TM(o),"props",void 0),o.props=new sy(n==null?void 0:n.props),o}return r}(ce);po(tr,"controlType","location-column"),po(tr,"controlName","\u5730\u5740"),po(tr,"controlIcon","location-column"),po(tr,"controlFieldType",c.FieldTypes.ADDRESS),po(tr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function SM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yy(e){return yy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yy(e)}function Hde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(Ude(t)==="object"||typeof t=="function")?t:SM(e)}function ZO(e,t){return ZO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZO(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 Kde(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 ew=function(e){Hde(r,e);var t=Kde(r);function r(n){Yde(this,r);var o;return o=t.call(this,n),QO(SM(o),"props",void 0),o.props=new sy(n==null?void 0:n.props),o}return r}(le);QO(ew,"controlType","location-column"),QO(ew,"controlFieldType",c.FieldTypes.ADDRESS);var EM={Designer:tr,Runtime:ew,Property:sy};function dy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function py(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vy(e){return vy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vy(e)}function BM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tw(e,t)}function Xde(e,t){return t&&(Jde(t)==="object"||typeof t=="function")?t:dy(e)}function tw(e,t){return tw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tw(e,t)}function Jde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NM(e){var t=Qde();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 Xde(this,o)}}var Zde=function(e){BM(r,e);var t=NM(r);function r(n){IM(this,r);var o;return o=t.call(this,n),py(dy(o),"sortFieldCode",{type:"string",message:h.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(ft),hy=function(e){BM(r,e);var t=NM(r);function r(n){IM(this,r);var o;o=t.call(this,n),py(dy(o),"fieldCodeList",void 0),py(dy(o),"sortFieldCode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Wt.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);py(hy,"Rules",Zde);function vo(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 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 tpe(e,t,r){return t&&AM(e.prototype,t),r&&AM(e,r),e}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 xi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?xi=Reflect.get:xi=function(o,i,u){var l=lpe(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},xi(e,t,r||e)}function nr(e){return nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nr(e)}function npe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nw(e,t)}function rpe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ope(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 ipe(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 upe(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ipe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function cpe(e,t){return t&&(fpe(t)==="object"||typeof t=="function")?t:vo(e)}function nw(e,t){return nw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nw(e,t)}function lpe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nr(e),e!==null););return e}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 spe(e){var t=ape();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 cpe(this,o)}}var _pe=1,Wt=function(t){npe(n,t);var r=spe(n);function n(o){epe(this,n);var i;i=r.call(this,o),ct(vo(i),"excludes",void 0),ct(vo(i),"childrenMaxLength",void 0),ct(vo(i),"props",void 0),ct(vo(i),"children",void 0);var u=rpe(this,n)?this.constructor:void 0,l=u.excludes,f=u.childrenMaxLength;return i.props=new hy(o==null?void 0:o.props),lt(vo(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Xe(l),i.childrenMaxLength=f,i}return tpe(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=xi(nr(n.prototype),"toDataBindModel",this).call(this,i);if(u){var l=this.props.fieldCodeList;u.props.fieldCodeList=l}return u}},{key:"toSchema",value:function(){var i=xi(nr(n.prototype),"toSchema",this).call(this);return upe(ope({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),n}(ce);ct(Wt,"controlType","custom-column"),ct(Wt,"controlName","\u81EA\u5B9A\u4E49"),ct(Wt,"controlIcon","custom-column"),ct(Wt,"slots",["column-column-slot"]),ct(Wt,"excludes",[]),ct(Wt,"childrenMaxLength",_pe),ct(Wt,"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 by(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ype(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rw(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 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&&(vpe(t)==="object"||typeof t=="function")?t:by(e)}function ow(e,t){return ow=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ow(e,t)}function vpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bpe(e){var t=hpe();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 ppe(this,o)}}var MM=function(e){dpe(r,e);var t=bpe(r);function r(n){ype(this,r);var o;return o=t.call(this,n),rw(by(o),"props",void 0),rw(by(o),"children",void 0),o.props=new hy(n==null?void 0:n.props),lt(by(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(le);rw(MM,"controlType","custom-column");var kM={Designer:Wt,Runtime:MM,Property:hy};function DM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mpe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function my(e){return my=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},my(e)}function Ope(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wpe(e,t){return t&&(Ppe(t)==="object"||typeof t=="function")?t:DM(e)}function iw(e,t){return iw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iw(e,t)}function Ppe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $pe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rpe(e){var t=$pe();return function(){var n=my(e),o;if(t){var i=my(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wpe(this,o)}}var uw=function(e){Ope(r,e);var t=Rpe(r);function r(n){gpe(this,r);var o;o=t.call(this,n),mpe(DM(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:gn.controlName;var u;return o.datasourceBind=new So((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:gn.controlCustomAttributes}),o}return r}(ee);function LM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Spe(e,t,r){return t&&jM(e.prototype,t),r&&jM(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 Oy(e){return Oy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oy(e)}function Epe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cw(e,t)}function Ipe(e,t){return t&&(Bpe(t)==="object"||typeof t=="function")?t:LM(e)}function cw(e,t){return cw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cw(e,t)}function Bpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Npe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ape(e){var t=Npe();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 Ipe(this,o)}}var gn=function(e){Epe(r,e);var t=Ape(r);function r(n){Tpe(this,r);var o;return o=t.call(this,n),ho(LM(o),"props",void 0),o.props=new uw(n==null?void 0:n.props),o}return Spe(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(ce);ho(gn,"controlType","employee-column"),ho(gn,"controlName","\u4EBA\u5458"),ho(gn,"controlIcon","employee-column"),ho(gn,"controlFieldType",c.FieldTypes.EMPLOYEES),ho(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-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function FM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wy(e){return wy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wy(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&&fw(e,t)}function Dpe(e,t){return t&&(Lpe(t)==="object"||typeof t=="function")?t:FM(e)}function fw(e,t){return fw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fw(e,t)}function Lpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fpe(e){var t=jpe();return function(){var n=wy(e),o;if(t){var i=wy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dpe(this,o)}}var aw=function(e){kpe(r,e);var t=Fpe(r);function r(n){Mpe(this,r);var o;return o=t.call(this,n),lw(FM(o),"props",void 0),o.props=new uw(n==null?void 0:n.props),o}return r}(le);lw(aw,"controlType","employee-column"),lw(aw,"controlFieldType",c.FieldTypes.EMPLOYEES);var CM={Designer:gn,Runtime:aw,Property:uw};function Py(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sw(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 xpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_w(e,t)}function Vpe(e,t){return t&&(zpe(t)==="object"||typeof t=="function")?t:Py(e)}function _w(e,t){return _w=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_w(e,t)}function zpe(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 Ype(e){var t=Gpe();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 Vpe(this,o)}}var yw=function(e){xpe(r,e);var t=Ype(r);function r(n){Cpe(this,r);var o;o=t.call(this,n),sw(Py(o),"lineEllipsis",void 0),sw(Py(o),"showLinkOperation",void 0),sw(Py(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:or.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new ht(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 dw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ry(e){return Ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ry(e)}function qpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pw(e,t)}function Upe(e,t){return t&&(Wpe(t)==="object"||typeof t=="function")?t:dw(e)}function pw(e,t){return pw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pw(e,t)}function Wpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xpe(e){var t=Kpe();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 Upe(this,o)}}var or=function(e){qpe(r,e);var t=Xpe(r);function r(n){Hpe(this,r);var o;return o=t.call(this,n),rr(dw(o),"props",void 0),rr(dw(o),"children",void 0),o.props=new yw(n==null?void 0:n.props),o}return r}(ce);rr(or,"controlType","approval-status-column"),rr(or,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),rr(or,"controlIcon","approval-status-column"),rr(or,"excludes",[]),rr(or,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function vw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hw(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 Qpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bw(e,t)}function Zpe(e,t){return t&&(eve(t)==="object"||typeof t=="function")?t:vw(e)}function bw(e,t){return bw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bw(e,t)}function eve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nve(e){var t=tve();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 Zpe(this,o)}}var xM=function(e){Qpe(r,e);var t=nve(r);function r(n){Jpe(this,r);var o;return o=t.call(this,n),hw(vw(o),"props",void 0),hw(vw(o),"children",void 0),o.props=new yw(n==null?void 0:n.props),o}return r}(le);hw(xM,"controlType","approval-status-column");var VM={Designer:or,Runtime:xM,Property:yw},rve=Object.freeze({__proto__:null,VarcharColumn:wA,TextColumn:IA,DecimalColumn:LA,TimescopeColumn:GA,TimestampColumn:XA,ArrayColumn:nM,DepartmentColumn:cM,AutoNumberColumn:yM,FileColumn:vM,ImageColumn:gM,PeopleColumn:wM,LocationColumn:EM,CustomColumn:kM,OrderColumn:lA,OperationColumn:_A,EmployeeColumn:CM,ApprovalStatusColumn:VM});function We(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Sy(e){return Sy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sy(e)}function GM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gw(e,t)}function ove(e,t){return t&&(ive(t)==="object"||typeof t=="function")?t:We(e)}function gw(e,t){return gw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gw(e,t)}function ive(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YM(e){var t=uve();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 ove(this,o)}}var cve=function(e){GM(r,e);var t=YM(r);function r(n){zM(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(en),Ey=function(e){GM(r,e);var t=YM(r);function r(n){zM(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 At((f=n==null?void 0:n.search)!==null&&f!==void 0?f:{content:"\u67E5\u8BE2",isShow:!0});var a;o.cancel=new At((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(y){return new At(y)});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}($u);Ke(Ey,"RuntimeRules",cve);function HM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Iy(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 fve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ave(e,t){return t&&(sve(t)==="object"||typeof t=="function")?t:HM(e)}function mw(e,t){return mw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mw(e,t)}function sve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=_ve();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 ave(this,o)}}var Ny=function(e){fve(r,e);var t=yve(r);function r(n){lve(this,r);var o;return o=t.call(this,n),Iy(HM(o),"props",void 0),o.props=new Ey(n==null?void 0:n.props),o}return r}(m$);Iy(Ny,"controlType","simple-search"),Iy(Ny,"slotPosition",{default:"search"}),Iy(Ny,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}]);function Ow(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ww(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 pve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pw(e,t)}function vve(e,t){return t&&(hve(t)==="object"||typeof t=="function")?t:Ow(e)}function Pw(e,t){return Pw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pw(e,t)}function hve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gve(e){var t=bve();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 vve(this,o)}}var qM=function(e){pve(r,e);var t=gve(r);function r(n){dve(this,r);var o;o=t.call(this,n),ww(Ow(o),"props",void 0),ww(Ow(o),"children",void 0),o.props=new Ey(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}(w$);ww(qM,"controlType","simple-search");var UM={Designer:Ny,Runtime:qM,Property:Ey},mve=Object.freeze({__proto__:null,SimpleSearch:UM});function WM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ove(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 My(e){return My=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},My(e)}function Pve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$w(e,t)}function $ve(e,t){return t&&(Rve(t)==="object"||typeof t=="function")?t:WM(e)}function $w(e,t){return $w=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$w(e,t)}function Rve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Tve();return function(){var n=My(e),o;if(t){var i=My(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $ve(this,o)}}var Rw=function(e){Pve(r,e);var t=Sve(r);function r(n){Ove(this,r);var o;o=t.call(this,n),wve(WM(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}(Eu);function KM(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 XM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ive(e,t,r){return t&&XM(e.prototype,t),r&&XM(e,r),e}function Bve(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 Nve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ave(e,t){return t&&(Mve(t)==="object"||typeof t=="function")?t:KM(e)}function Tw(e,t){return Tw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tw(e,t)}function Mve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dve(e){var t=kve();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 Ave(this,o)}}var Lve=function(e){Nve(r,e);var t=Dve(r);function r(n){Eve(this,r);var o;return o=t.call(this,n),Bve(KM(o),"props",void 0),o.props=new Rw(n==null?void 0:n.props),o}return Ive(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}($$);function JM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fve(e,t,r){return t&&QM(e.prototype,t),r&&QM(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 Dy(e){return Dy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dy(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&&Sw(e,t)}function Vve(e,t){return t&&(zve(t)==="object"||typeof t=="function")?t:JM(e)}function Sw(e,t){return Sw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sw(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=Dy(e),o;if(t){var i=Dy(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){jve(this,r);var o;return o=t.call(this,n),Cve(JM(o),"props",void 0),o.props=new Rw(n==null?void 0:n.props),o}return Fve(r,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(T$);function Pbe(e){return e}var qve={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},ZM={Designer:Lve,Runtime:Hve,Property:Rw,Setting:qve},Uve=Object.freeze({__proto__:null,GridLayoutWrap:ZM});function Ew(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 Wve(e){if(Array.isArray(e))return e}function Kve(e){if(Array.isArray(e))return Ew(e)}function Xve(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Jve(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 Qve(){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 Zve(){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 ehe(e,t){return Wve(e)||Jve(e,t)||tk(e,t)||Qve()}function ek(e){return Kve(e)||Xve(e)||tk(e)||Zve()}function tk(e,t){if(!!e){if(typeof e=="string")return Ew(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 Ew(e,t)}}var the=function(e,t){var r=Array.isArray(e),n=r?e:[e];yhe(t==null?void 0:t.events),che(n),lhe(n);var o=uhe(n),i=fhe(o,t),u=Jt(G(i,function(l){return ihe(l,t)}));return r?u:u[0]},nhe=[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"],rhe=["subtable","grid-table"],ohe=["simple-search"];function ihe(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":nhe.includes(i.type)?i.controlType="base":i.controlType="form",rhe.includes(i.type)&&(i.controlType="list"),ohe.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),ge(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),ge(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),ge(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"&&(ge(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(ge(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(R,S){var D=new p0.Designer;D.props.caption=ge(R.field_name)?R.field_name.zh:R.field_name;var je=D.toSchema();je.id=R.header_id;var he=i.children[0].children[S].children[0];return he&&(je.children=[he]),je}),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(R){R.label=ge(R.text)?R.text.zh:R.text,R.id=R.id||R.opt_id||R.optId||R.data_id}),i=e),e.type==="grid-row"){var _=24/i.children.length;i.children=i.children.map(function(R){var S=new Ka.Designer;S.props.span=_;var D=S.toSchema();return D.children.push(R),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&&(nk(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],y={},O={};v&&(nk(i,t),i.id=v.id,y.amount=v.props.data_bind,i.props.range_min=$n(v.props.range_min),i.props.range_max=$n(v.props.range_max),O.amount=$n(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=ge(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&&(y.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(R){return{label:R.text,value:R.value}})),i.props.dataBind=y,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=ge(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=ge(e.props.caption)?e.props.caption.zh:e.props.caption;var $={};P&&($.min=P.props.data_bind),w&&($.max=w.props.data_bind),i.props.dataBind=$,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=ge(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=$n(e.props.range_min),i.props.range_max=$n(e.props.range_max),i.props.defaultValue=$n(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"),dhe(i,t==null?void 0:t.control_events),i}function nk(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 uhe(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new em.Designer,n=r.toSchema();return n.children=e,[n]}function che(e){e.forEach(function(t){t.children&&_he(t.children)})}function lhe(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 fhe(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=ehe(a,3),_=s[0],p=s[1],b=s[2];ahe(_),b.props.is_fixed_header=f==null||(r=f.source_config)===null||r===void 0?void 0:r.is_fixed_header,she(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,y=((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 X0.Designer;w.props.datasourceBind=new oe({dataCode:v,svcCode:y,orders:nP(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(R){R.title=ge(R.title)?R.title.zh:R.title}),w.props.sublistPage=f.sublist_page;var $=w.toSchema();return $.children.push(_,b),[$]}function ahe(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=ge(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 she(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:ge(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=ge(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 _he(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 yhe(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 dhe(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,ek(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,ek(t[e.id].on_blur))}}}var phe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Jt(G(n,function(i){return vhe(i)}));return r?o:o[0]};function vhe(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 Ze({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var hhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Jt(G(n,function(i){return bhe(i)}));return r?o:o[0]};function bhe(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 ghe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Jt(G(n,function(i){return mhe(i)}));return r?o:o[0]};function mhe(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 Ohe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Jt(G(n,function(i){return Phe(i)}));return r?o:o[0]},whe=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function Phe(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(whe.includes(r.type))return r;var n=new u0.Designer,o=new Ka.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var $he=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Jt(G(n,function(i){return Rhe(i)}));return r?o:o[0]};function Rhe(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 The=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=G(n,function(i){return She(i)});return r?o:o[0]};function She(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ehe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=G(n,function(i){return Ihe(i)});return r?o:o[0]};function mn(e,t){e.field_code&&(e.field_type=t)}function Ihe(e,t){var r,n=(r={},H(r,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),H(r,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),H(r,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),H(r,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),H(r,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),H(r,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),H(r,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),H(r,c.CONTROL_TYPE.DEPARTMENT2,c.FieldTypes.DEPARTMENTS),H(r,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),H(r,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),H(r,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),H(r,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),H(r,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),H(r,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),H(r,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),H(r,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),H(r,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),H(r,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),H(r,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),H(r,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),H(r,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),H(r,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),H(r,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),H(r,c.CONTROL_TYPE.SEARCH_NUMBER_RANGE,c.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&mn(e.props.data_bind,n[e.type]),e.type===c.CONTROL_TYPE.AMOUNT&&(mn(e.props.data_bind.amount,c.FieldTypes.DECIMAL),mn(e.props.data_bind.currency,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.CALC&&(mn(e.props.data_bind.result,c.FieldTypes.DECIMAL),mn(e.props.data_bind.unit,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.DATE_RANGE&&(mn(e.props.data_bind.min,c.FieldTypes.TIMESTAMP),mn(e.props.data_bind.max,c.FieldTypes.TIMESTAMP)),e.type===c.CONTROL_TYPE.VUE_FORM_ITEM){var o;mn(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY)}return e}var Bhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=G(n,function(i){return Nhe(i)});return r?o:o[0]};function Nhe(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 Ahe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=G(n,function(i){return Mhe(i)});return r?o:o[0]};function Mhe(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 khe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=G(n,function(i){return Dhe(i)});return r?o:o[0]};function Dhe(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 Lhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=G(n,function(i){return jhe(i)});return r?o:o[0]};function jhe(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 Fhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=G(n,function(i){return Che(i)});return r?o:o[0]};function Che(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 zo.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,y,O,P,w=new zo.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=(y=r.props)===null||y===void 0?void 0:y.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,S,D,je,he,be=new zo.Designer;Object.defineProperty(be,"id",{value:"listPageDeleteBtnId"}),be.props.code="delete",be.props.icon="iconlajitong",be.props.command="delete",be.props.content=($=r.props)===null||$===void 0?void 0:$.delete.content,be.props.priorityProcess=(R=r.props)===null||R===void 0?void 0:R.delete.priority_process,be.props.openType=(S=r.props)===null||S===void 0?void 0:S.delete.open_type,be.props.formKey=(D=r.props)===null||D===void 0?void 0:D.delete.form_key,be.props.needConfirm=!0,be.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((je=r.props)===null||je===void 0)&&je.delete.is_show&&r.children.push(be.toSchema()),(he=r.props)===null||he===void 0||delete he.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 Vi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var xhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=G(n,function(i){return Vhe(i,t)});return r?o:o[0]};function Vhe(e,t){e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.map(function(o){var i;o.props.meta_auto_width=new ud,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={},Vi(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}]),Vi(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}]),Vi(r,c.CONTROL_TYPE.LIST_VIEW,[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}]),Vi(r,c.CONTROL_TYPE.SIMPLE_SEARCH,[{key:"col-gap",value:24},{key:"child-min-width",value:230}]),Vi(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)}),e.type===c.CONTROL_TYPE.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),zhe(t),e}function zhe(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(Iw()),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:[Ghe()]}];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(Iw())}}}function Ghe(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[Iw()]}}function Iw(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}var Yhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=G(n,function(i){return Hhe(i,t)});return r?o:o[0]};function Hhe(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)}return e.type===c.CONTROL_TYPE.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===c.CONTROL_TYPE.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e}function qhe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Uhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=G(n,function(i){return Whe(i)});return r?o:o[0]};function Whe(e,t){var r=qhe({},c.CONTROL_TYPE.SUBTABLE,[{key:"import_config",value:{template_type:"system",template_list:[]}},{key:"export_config",value:{template_type:"system",template_list:[]}}]);return e.type in r&&r[e.type].forEach(function(n){e.props[n.key]===void 0&&(e.props[n.key]=n.value)}),e.type==="card-group"&&e.props.isHideCaption===void 0&&(e.props.isHideCaption=!1),e}var Khe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=G(n,function(i){return Xhe(i)});return r?o:o[0]};function Xhe(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};e.props.row_height_setting=Jt(new id({pc:i,mobile:i}))}return e}var Jhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=G(n,function(u){var l=Qhe(u);return o[u.id]=u,l});return Zhe(o,t),r?i:i[0]};function Qhe(e,t){return e}function Zhe(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(y){if((y==null?void 0:y.method)==="optPage"&&y.params.operation==="refresh"&&(y.params.operation="close"),(y==null?void 0:y.method)==="openPage"){var O,P,w,$;(($=y.params)===null||$===void 0||(w=$.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'})"&&(y.id="optPage",y.method="optPage",y.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 ebe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=G(n,function(u){var l=tbe(u);return o[u.id]=u,l});return nbe(o,t),r?i:i[0]};function tbe(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 nbe(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 rbe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=G(n,function(i){return obe(i)});return r?o:o[0]};function obe(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 ibe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=G(n,function(i){return ube(i)});return r?o:o[0]};function ube(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}var rk={"v1.0":the,"v2.0":phe,"v2.1":hhe,"v2.2":ghe,"v2.3":Ohe,"v2.4":$he,"v2.5":The,"v2.6":Ehe,"v2.7":Bhe,"v2.8":Ahe,"v2.9":khe,"v2.10":Lhe,"v3.0":Fhe,"v3.1":xhe,"v3.2":Yhe,"v3.3":Uhe,"v3.4":Khe,"v3.5":Jhe,"v3.6":ebe,"v3.7":rbe,"v3.8":ibe,"v3.10":function(){}};const ok=(e,t)=>{const r=ik(e),n=ik(t),o=r.pop(),i=n.pop(),u=lk(r,n);return u!==0?u:o&&i?lk(o.split("."),i.split(".")):o||i?o?-1:1:0},Ly=(e,t,r)=>{abe(r);const n=ok(e,t);return fk[r].includes(n)},cbe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,ik=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(cbe);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},uk=e=>e==="*"||e==="x"||e==="X",ck=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},lbe=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],fbe=(e,t)=>{if(uk(e)||uk(t))return 0;const[r,n]=lbe(ck(e),ck(t));return r>n?1:r<n?-1:0},lk=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=fbe(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},fk={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},ak=Object.keys(fk),abe=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(ak.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${ak.join("|")}`)};function sbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _be(e,t,r){return t&&sk(e.prototype,t),r&&sk(e,r),e}function _k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bw(e){return e.replace(/^v/,"")}var bo=Object.keys(rk).map(function(e){return Bw(e)}).sort(ok),zi=bo[bo.length-1],ybe=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:zi;sbe(this,e),_k(this,"toVersion",void 0),_k(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=r,Ly(r,zi,">")?Xt("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(zi)):(!bo.includes(Bw(r))||!bo.includes(Bw(t)))&&Xt("Version Builder: Please give me a valid version number, The valid version is: ".concat(bo.join(","),", But give me a ").concat(t))}return _be(e,[{key:"dataCleaner",value:function(r,n){var o=this;if(Ly(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=rk[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 Ly(n,r.schemaVersion,">=")&&Ly(n,r.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(r){return"v"+r})}},{key:"version",get:function(){return zi}}],[{key:"version",get:function(){return zi}}]),e}();const jy=[],Nw={exports:{}};let Aw=!1;const dbe=window.module,pbe=window.exports,vbe=window.require;function hbe(e){return Aw||(window.module=Nw,window.exports=Nw.exports,window.require=function(t){return e[t]},Aw=!0),function(){window.module=dbe,window.exports=pbe,window.require=vbe,Aw=!1}}function bbe(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=hbe(t);i.src=e,i.type="text/javascript";const l=()=>{document.head.removeChild(i);const f=jy.findIndex(a=>a===r);jy.splice(f,1),jy.length===0&&u()};i.onerror=function(f){l(),o(f)},i.onload=function(){n(Nw.exports),l()},document.head.appendChild(i)});return jy.push(r),r}function Mw(e){return fetch(e,{mode:"cors",cache:"no-cache",credentials:"same-origin"}).then(t=>{if(t.ok===!1)throw"not found resource:"+e;return t.text()})}function yk(e,t,r={fetch:Mw}){return new Promise((n,o)=>{r.fetch(e).then(i=>{const u={exports:{}};new Function("module","exports","require",i)(u,u.exports,function(l){return t[l]}),n(u.exports)}).catch(i=>{o(i)})})}function Fy(e,t){return yk(e,t)}function gbe(e,t){return Gi(this,null,function*(){return yield Promise.all(e.map(r=>Fy(r,t)))})}function Cy(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 j{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 mbe(e,t,r,n){return Gi(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>Gi(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 Fy(f,r)}catch(f){u=!1,wn("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,f),l=Cy(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)}}dk(n.type,l,o,u,i)}))),e==null||e.map(i=>{const[u,l]=i.split(":");if(o.has(u)===!1){const a=Cy(u,n.type,n.tipMessage);dk(n.type,a,o,!1,{fieldType:"",id:u,name:"",runtime:"",designer:"",type:"",version:l})}})),o})}function dk(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&wn(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&wn(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function Obe(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 wbe(e,t){return Gi(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield Mw(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const u=yield Fy(`${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=Cy(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=Z1,c.Address=HI,c.AddressValue=AP,c.AdvancedContainer=z1,c.Amount=EI,c.AmountDataBind=EP,c.AmountValue=IP,c.ApprovalStatusColumn=VM,c.ArrayColumn=nM,c.Attachment=hI,c.AutoNumber=fB,c.AutoNumberColumn=yM,c.AutoWidth=rd,c.BaseControlProperty=A,c.BaseControlPropertyRules=ue,c.BaseControlPropertyRuntimeRules=x,c.BaseStyle=LP,c.BatchDeleteButton=BS,c.BatchPrintListButton=yS,c.BatchPrintRecordListButton=bS,c.BatchSubmissionListButton=IR,c.Button=G$,c.Calc=vB,c.CalcDataBind=MP,c.CalcScriptEchoItem=hj,c.CalcValue=kP,c.CardGroup=A3,c.Checkbox=YS,c.Col=Ka,c.ColumnControlProperty=ee,c.ColumnControlPropertyRules=ft,c.ColumnOptionAndDataSourcePropertyRules=qd,c.CreateFormListButton=OR,c.CustomAttributeItem=fd,c.CustomColumn=kM,c.CustomPermissionItem=gF,c.DEFAULT_LOCALE=zw,c.DESIGNER_SLOT=zy,c.Dashboard=MT,c.DataBind=Ze,c.DataSourceBind=oe,c.DataSourceDataSetValue=$P,c.DataSourceOrderItem=cd,c.DataSourceParamItem=vF,c.DataStorageDoc=vP,c.DataView=em,c.DatePicker=dE,c.DateRange=$E,c.DecimalColumn=LA,c.Department=tB,c.Department2=qN,c.DepartmentColumn=cM,c.DepartmentEntity=xy,c.DesignerColumnControl=ce,c.DesignerControl=j,c.DesignerFormControl=M,c.DesignerLayoutControl=W,c.DesignerListControl=bu,c.DesignerSearchControl=m$,c.DesignerWrapControl=$$,c.DisplayBoListItem=Qi,c.Divider=iR,c.ElectronicSignature=AN,c.ElectronicSignatureConfig=Y$,c.Employee=sI,c.Employee2=wN,c.EmployeeColumn=CM,c.EventLogic=lP,c.Explain=Gu,c.ExportConfig=W$,c.ExportListButton=xR,c.ExportRecordListButton=HR,c.ExportTemplate=Do,c.FieldBindItem=gP,c.FieldFilterCondition=To,c.FieldFilterConditions=Ji,c.FileColumn=vM,c.FillBackBind=_d,c.FillPayloadBind=sd,c.FlexStyleConfig=J$,c.FormBind=Rn,c.FormSelectBind=hP,c.FormSelectButton=uT,c.Grid=a3,c.GridLayoutContainer=e1,c.GridLayoutWrap=ZM,c.GridRow=u0,c.GridTable=vA,c.GridTableColumn=W3,c.Image=OI,c.ImageColumn=gM,c.ImageOptionSetting=SP,c.ImportConfig=U$,c.ImportListBind=q$,c.ImportRecordListButton=JR,c.Input=jS,c.InvoiceCheckButton=iS,c.JSONCopy=Xe,c.JoinRelation=PP,c.Language=hF,c.LayoutControlProperty=Y,c.LeftVariable=wP,c.LimitDate=zu,c.Link=F$,c.LinkOperationOption=ht,c.ListBind=Xi,c.ListControlProperty=ko,c.ListSelectButton=pT,c.ListView=X0,c.ListViewSelect=GT,c.LocationColumn=EM,c.MetaAutoWidth=ud,c.MetaRowHeight=id,c.MetaWidth=Ki,c.MultistageFillingItem=Re,c.Number=cE,c.ObjectDataBind=eu,c.OperationButton=zo,c.OperationColumn=_A,c.OperationItem=At,c.OptObject=jP,c.OptionAndDataSourcePropertyRules=Tn,c.OptionSetting=dd,c.OrderColumn=lA,c.OrganizationDataSourceBind=RP,c.OrganizationSelection=ZN,c.Page=F1,c.Pagination=PT,c.PeopleColumn=wM,c.Position=W1,c.PositioningContainer=H1,c.PrintTemplate=X$,c.Property=J,c.PropertyRules=re,c.PropertyRuntimeRules=en,c.Radio=eE,c.RangeDataBind=BP,c.RangeDateValue=NP,c.RegisterControls=Ro,c.RegularRules=yd,c.RichText=FE,c.RightVariable=cr,c.Row=w3,c.RowHeight=od,c.RowStyleRule=FP,c.RowStyleRuleScript=CP,c.RulesMessage=h,c.RuntimeColumnControl=le,c.RuntimeControl=Q,c.RuntimeFormControl=k,c.RuntimeLayoutControl=Z,c.RuntimeListControl=Vd,c.RuntimeSearchControl=w$,c.RuntimeWrapControl=T$,c.SUBTABLE_DEFAULT_MAX_HEIGHT=K$,c.Score=DI,c.SearchControlProperty=$u,c.SearchDateRange=LB,c.SearchInput=lN,c.SearchNumberRange=TB,c.Select=WE,c.SelectMultiple=tI,c.SelectRelation=ZB,c.SelectedContentConfig=Zi,c.SimpleSearch=UM,c.SubListItem=mP,c.SubListPageConfig=OP,c.SubTable=nA,c.SubTableColumn=p0,c.SubTableRow=G3,c.SubmissionRecordListButton=kR,c.SuperDataSourceBind=So,c.Tab=d1,c.TabPane=f1,c.Text=M$,c.TextColumn=IA,c.TextOcrButton=JT,c.Textarea=NE,c.TimescopeColumn=GA,c.TimestampColumn=XA,c.Title=yR,c.Toolbox=O1,c.Tree=pN,c.TreeDataSourceBind=ad,c.UndersignedPerson=Op,c.UserEntity=Vy,c.VarcharColumn=wA,c.VersionBuilder=ybe,c.ViewOperationItem=DP,c.VueFormItem=GB,c.VuePage=u3,c.WPS=CN,c.WPSSetting=H$,c.Watcher=uP,c.WpsOperationItem=wp,c.WrapControlProperty=Eu,c.baseControls=fY,c.camelizeKeys=nP,c.columnControls=rve,c.controlHooksEmitter=WP,c.createValidator=UP,c.debounce=qj,c.decamelizeKeys=Jt,c.defineArrayParent=aP,c.defineControlArrayToProperty=lt,c.defineParent=td,c.error=Xt,c.formControls=Tte,c.genNonDuplicateId=Fe,c.getHackerControl=Cy,c.getNotRepeatItems=tP,c.initExpression=Lo,c.initImageOptions=bF,c.initLinkOperationRules=kt,c.initOptionAndDataSourceRules=ou,c.initOptions=bt,c.initSuperDataSourceRules=Ao,c.isArray=Pn,c.isBuiltInControls=Wj,c.isDataBind=u$,c.isFunction=xj,c.isJSONArray=Yj,c.isJSONObject=Hj,c.isLanguageObject=ge,c.isNumber=Jy,c.isNumberAndEmptyStringArray=Gj,c.isNumberArray=zj,c.isObject=Cj,c.isPlainObject=Xy,c.isString=eP,c.isStringArray=Vj,c.layoutControls=afe,c.listControls=Jae,c.loadRemoteControl=Fy,c.loadRemoteControls=gbe,c.loadScriptFromFetch=yk,c.loadScriptFromTag=bbe,c.log=$o,c.logerror=Kw,c.loop=G,c.loopFormSchema=qi,c.nativeFetch=Mw,c.noop=bj,c.referenceError=Uy,c.registerByteluckControls=wbe,c.registerCustomControls=mbe,c.searchControls=mve,c.setPropertyDontEnum=Ui,c.toNumberOrEmpty=$n,c.updateValueFromKeys=Qw,c.upgradeCustomControlSchema=Obe,c.wait=Uj,c.warn=wn,c.wrapControls=Uve,Object.defineProperty(c,"__esModule",{value:!0})});
|
|
1
|
+
var Hi=(c,mn,Xt)=>new Promise((Gy,qi)=>{var j=Mt=>{try{go(Xt.next(Mt))}catch(mo){qi(mo)}},Yy=Mt=>{try{go(Xt.throw(Mt))}catch(mo){qi(mo)}},go=Mt=>Mt.done?Gy(Mt.value):Promise.resolve(Mt.value).then(j,Yy);go((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 Gy=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 qi(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 Yy=function e(){qi(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)},go="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Mt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",mo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",mk="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Ok="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",wk="{caption}\u5FC5\u586B",Pk="\u8BF7\u8F93\u5165\u6807\u9898",$k="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Rk="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Tk="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Sk="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Ek="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ik="\u8BF7\u7ED1\u5B9A\u5217\u8868",Nk="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Bk="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ak="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Mk="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",kk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Dk="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Lk="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Fk="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",jk="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ck="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",xk="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Vk="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",zk="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Gk="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Yk="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Hk="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",qk="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Uk="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Wk="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Kk="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Xk="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Jk="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Qk="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Zk="\u8BF7\u7ED1\u5B9A\u670D\u52A1",e2="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",t2="\u8BF7\u9009\u62E9\u7701",n2="\u8BF7\u9009\u62E9\u5E02",r2="\u8BF7\u9009\u62E9\u533A",o2="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",i2="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",u2="\u8BF7\u8F93\u5165\u5217\u5BBD",c2="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",l2="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",f2="\u8BF7\u9009\u62E9\u63A7\u4EF6",a2="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",s2="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",_2="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",y2="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",d2="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",p2="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",v2="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",h2="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",b2="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",g2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",m2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",O2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",w2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",P2="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",$2="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",R2="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",T2="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",S2="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",E2="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",I2="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",N2="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",B2="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",A2="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",M2="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",k2="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",D2="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",L2="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",F2={isNotNumber:go,isNotString:Mt,isNotObject:mo,isNotArray:mk,isNotBoolean:Ok,runtimeRequired:wk,pleaseEnterCaption:Pk,pleaseEnterCaptionTip:$k,pleaseEnterRowCaption:Rk,pleaseEnterPlaceholder:Tk,pleaseEnterFieldCode:Sk,pleaseEnterForm:Ek,pleaseEnterList:Ik,pleaseEnterProcess:Nk,pleaseEnterLabel:Bk,pleaseEnterValue:Ak,bizKeyNotBindFiled:Mk,pleaseSelectOneField:kk,pleaseEnterNumberRange:Dk,pleaseEnterAValueGreaterThanMin:Lk,pleaseEnterAValueLessThanMax:Fk,numberRangeSetError:jk,stringRangeError:Ck,attachmentMaxSize:xk,pleaseEnterTotalScoreSetting:Vk,theTotalScoreMustNotBeLessThan1:zk,scoreDefaultValueRange:Gk,attachmentLimitError:Yk,PleaseReselectTheOptionalQuantity:Hk,TheMaximumLengthIsGreaterThanTheMinimumLength:qk,TheMinimumLengthIsGreaterThanTheMaximumLength:Uk,PleaseSelectTheCorrectOptionSettings:Wk,optionIdIsRepeat:Kk,optionIsRequired:Xk,pleaseEnterDataCode:Jk,pleaseEnterValueFieldCode:Qk,pleaseEnterSvcCode:Zk,pleaseBindAtLeastOneDisplayValue:e2,pleaseSelectProvince:t2,pleaseSelectCity:n2,pleaseSelectDistrict:r2,limitRowsCannotBeLessThan0:o2,TheNumberOfRowsCannotBeLessThanMinRows:i2,pleaseEnterColumnWidth:u2,pleaseSetTheLogicalRelationshipOfAllRuleConditions:c2,pleaseCompleteAllRulesAndConditions:l2,pleaseSelectControl:f2,pleaseSelectAtLeastOneColumn:a2,pleaseSelectFillBackMode:s2,pleaseSelectDashboard:_2,rootNodeIsRequired:y2,theViewNameCannotBeEmpty:d2,pleaseSelectOcrType:p2,pleaseSelectAtLeastOneFieldToFillIn:v2,pleaseChooseAtLeastOne:h2,pleaseEnterButtonContent:b2,pleaseEnterDataCodeInDataSetting:g2,pleaseEnterValueFieldCodeInDataSetting:m2,pleaseEnterSvcCodeInDataSetting:O2,pleaseBindAtLeastOneDisplayValueInDataSetting:w2,rootNodeIsRequiredInDataSetting:P2,pleaseEnterMaxHeight:$2,pleaseEnter:R2,pleaseEnterWatermark:T2,pleaseEnterFileName:S2,pleaseUploadAtLeastOnePrintTemplate:E2,pleaseAssignBusiness:I2,pleaseAssignExternal:N2,pleaseEnterAliasCode:B2,pleaseSelectDataCode:A2,pleaseSelectSvcCode:M2,pleaseSelectJoinFieldCode:k2,pleaseSelectMainFieldCode:D2,pleaseSelectSortFieldCode:L2},j2="Please enter a number",C2="Please enter a string",x2="Please enter an object",V2="Please enter an array",z2="Please enter a boolean",G2="{caption} Required",Y2="Please enter the title",H2="Please enter the bubble prompt",q2="Please enter the row title",U2="Please enter the prompt text",W2="Please bind data items",K2="Please bind the form",X2="Please bind the list",J2="Please bind the process",Q2="Please enter the displayed value",Z2="Please enter the stored value",eD="The document number is not bound to the data item",tD="Please select at least one display field",nD="Please enter a value greater than or equal to {min} and less than or equal to {max}",rD="Please enter a value greater than or equal to {min}",oD="Please enter a value less than or equal to {max}",iD="The value range is set incorrectly",uD="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",cD="The attachment size must be between 0MB and 1000MB",lD="Please fill in the total score setting",fD="The total score cannot be less than 1",aD="The default value must be between {min} and {max}",sD="The number of attachments uploaded must be between {min} and {max}",_D="Please re-select the optional quantity",yD="The maximum length of the control must be greater than the minimum length",dD="The minimum length of the control must be less than the maximum length",pD="Please select the correct option setting",vD="Option ID cannot be repeated",hD="Please enter at least one option",bD="Please bind the data source",gD="Please bind the stored value",mD="Please bind the service",OD="At least one display value must be bound",wD="Please select a province",PD="Please select a city",$D="Please select a district",RD="The minimum number of lines to fill in cannot be less than 0",TD="The number of rows cannot be less than {min} rows",SD="Please enter the column width",ED="Please set the logical relationship of all rule conditions",ID="Please complete all rules and conditions",ND="please select control",BD="Please select the dashboard",AD="View name cannot be empty",MD="Please select recognition type",kD="Please select at least one field to fill in",DD="Please select at least one",LD="Please enter the button title",FD="Please bind the business model in the data settings",jD="Please bind storage values in data settings",CD="Please bind the service in the data settings",xD="Please bind at least one display value in the data settings",VD="Please select the root node in the data settings",zD="Please enter the maximum height",GD="The input content cannot be empty",YD="Watermark cannot be empty",HD="File name cannot be empty",qD="Please upload at least one printing template!\uFF01",UD="Please select a specific business department",WD="Please select a specified external organization",KD="Please enter a sub table alias",XD="Please select the associated table to set the business model",JD="Please select the association table to set the binding service",QD="Select associated sub table fields",ZD="Please select the associated main table field",eL="Please select the sort field",tL={isNotNumber:j2,isNotString:C2,isNotObject:x2,isNotArray:V2,isNotBoolean:z2,runtimeRequired:G2,pleaseEnterCaption:Y2,pleaseEnterCaptionTip:H2,pleaseEnterRowCaption:q2,pleaseEnterPlaceholder:U2,pleaseEnterFieldCode:W2,pleaseEnterForm:K2,pleaseEnterList:X2,pleaseEnterProcess:J2,pleaseEnterLabel:Q2,pleaseEnterValue:Z2,bizKeyNotBindFiled:eD,pleaseSelectOneField:tD,pleaseEnterNumberRange:nD,pleaseEnterAValueGreaterThanMin:rD,pleaseEnterAValueLessThanMax:oD,numberRangeSetError:iD,stringRangeError:uD,attachmentMaxSize:cD,pleaseEnterTotalScoreSetting:lD,theTotalScoreMustNotBeLessThan1:fD,scoreDefaultValueRange:aD,attachmentLimitError:sD,PleaseReselectTheOptionalQuantity:_D,TheMaximumLengthIsGreaterThanTheMinimumLength:yD,TheMinimumLengthIsGreaterThanTheMaximumLength:dD,PleaseSelectTheCorrectOptionSettings:pD,optionIdIsRepeat:vD,optionIsRequired:hD,pleaseEnterDataCode:bD,pleaseEnterValueFieldCode:gD,pleaseEnterSvcCode:mD,pleaseBindAtLeastOneDisplayValue:OD,pleaseSelectProvince:wD,pleaseSelectCity:PD,pleaseSelectDistrict:$D,limitRowsCannotBeLessThan0:RD,TheNumberOfRowsCannotBeLessThanMinRows:TD,pleaseEnterColumnWidth:SD,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ED,pleaseCompleteAllRulesAndConditions:ID,pleaseSelectControl:ND,pleaseSelectDashboard:BD,theViewNameCannotBeEmpty:AD,pleaseSelectOcrType:MD,pleaseSelectAtLeastOneFieldToFillIn:kD,pleaseChooseAtLeastOne:DD,pleaseEnterButtonContent:LD,pleaseEnterDataCodeInDataSetting:FD,pleaseEnterValueFieldCodeInDataSetting:jD,pleaseEnterSvcCodeInDataSetting:CD,pleaseBindAtLeastOneDisplayValueInDataSetting:xD,rootNodeIsRequiredInDataSetting:VD,pleaseEnterMaxHeight:zD,pleaseEnter:GD,pleaseEnterWatermark:YD,pleaseEnterFileName:HD,pleaseUploadAtLeastOnePrintTemplate:qD,pleaseAssignBusiness:UD,pleaseAssignExternal:WD,pleaseEnterAliasCode:KD,pleaseSelectDataCode:XD,pleaseSelectSvcCode:JD,pleaseSelectJoinFieldCode:QD,pleaseSelectMainFieldCode:ZD,pleaseSelectSortFieldCode:eL},nL="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rL="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oL="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",iL="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uL="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cL="{caption}\u5FC5\u9808",lL="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fL="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aL="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",sL="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_L="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yL="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dL="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pL="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vL="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hL="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bL="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",gL="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mL="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",OL="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",wL="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",PL="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",$L="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",RL="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",TL="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",SL="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",EL="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",IL="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",NL="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",BL="\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",AL="\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",ML="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",kL="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",DL="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",LL="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",FL="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jL="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",CL="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",xL="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",VL="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",zL="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",GL="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",YL="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",HL="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qL="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",UL="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",WL="please select control",KL="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",XL="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",JL="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",QL="\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",ZL="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",eF="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",nF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",rF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",oF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",iF="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",uF="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cF="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",lF="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",fF="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",aF="\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",sF="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_F="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",yF="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",dF="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",pF="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",vF="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",hF="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",bF="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",gF={isNotNumber:nL,isNotString:rL,isNotObject:oL,isNotArray:iL,isNotBoolean:uL,runtimeRequired:cL,pleaseEnterCaption:lL,pleaseEnterCaptionTip:fL,pleaseEnterRowCaption:aL,pleaseEnterPlaceholder:sL,pleaseEnterFieldCode:_L,pleaseEnterForm:yL,pleaseEnterList:dL,pleaseEnterProcess:pL,pleaseEnterLabel:vL,pleaseEnterValue:hL,bizKeyNotBindFiled:bL,pleaseSelectOneField:gL,pleaseEnterNumberRange:mL,pleaseEnterAValueGreaterThanMin:OL,pleaseEnterAValueLessThanMax:wL,numberRangeSetError:PL,stringRangeError:$L,attachmentMaxSize:RL,pleaseEnterTotalScoreSetting:TL,theTotalScoreMustNotBeLessThan1:SL,scoreDefaultValueRange:EL,attachmentLimitError:IL,PleaseReselectTheOptionalQuantity:NL,TheMaximumLengthIsGreaterThanTheMinimumLength:BL,TheMinimumLengthIsGreaterThanTheMaximumLength:AL,PleaseSelectTheCorrectOptionSettings:ML,optionIdIsRepeat:kL,optionIsRequired:DL,pleaseEnterDataCode:LL,pleaseEnterValueFieldCode:FL,pleaseEnterSvcCode:jL,pleaseBindAtLeastOneDisplayValue:CL,pleaseSelectProvince:xL,pleaseSelectCity:VL,pleaseSelectDistrict:zL,limitRowsCannotBeLessThan0:GL,TheNumberOfRowsCannotBeLessThanMinRows:YL,pleaseEnterColumnWidth:HL,pleaseSetTheLogicalRelationshipOfAllRuleConditions:qL,pleaseCompleteAllRulesAndConditions:UL,pleaseSelectControl:WL,pleaseSelectDashboard:KL,theViewNameCannotBeEmpty:XL,pleaseSelectOcrType:JL,pleaseSelectAtLeastOneFieldToFillIn:QL,pleaseChooseAtLeastOne:ZL,pleaseEnterButtonContent:eF,pleaseEnterDataCodeInDataSetting:tF,pleaseEnterValueFieldCodeInDataSetting:nF,pleaseEnterSvcCodeInDataSetting:rF,pleaseBindAtLeastOneDisplayValueInDataSetting:oF,rootNodeIsRequiredInDataSetting:iF,pleaseEnterMaxHeight:uF,pleaseEnter:cF,pleaseEnterWatermark:lF,pleaseEnterFileName:fF,pleaseUploadAtLeastOnePrintTemplate:aF,pleaseAssignBusiness:sF,pleaseAssignExternal:_F,pleaseEnterAliasCode:yF,pleaseSelectDataCode:dF,pleaseSelectSvcCode:pF,pleaseSelectJoinFieldCode:vF,pleaseSelectMainFieldCode:hF,pleaseSelectSortFieldCode:bF},mF={zhCN:F2,enUS:tL,jaJP:gF};function OF(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 wF=function e(t){OF(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},Gw="zh-CN",PF=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.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 Hy={DEFAULT:"default"},Yw="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",$F=Yw+"0123456789";function Ke(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",r=0;r<e;r++){var n=r===0?Yw:$F,o=Math.random()*n.length;t+=n[parseInt(String(o),10)]}return t}function qy(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function RF(e){if(Array.isArray(e))return qy(e)}function TF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ui(e,t,r){return Ww()?Ui=Reflect.construct:Ui=function(o,i,u){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(o,l),a=new f;return u&&wo(a,u.prototype),a},Ui.apply(null,arguments)}function Oo(e){return Oo=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oo(e)}function qw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wo(e,t)}function SF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function EF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function IF(){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 NF(e,t){return t&&(BF(t)==="object"||typeof t=="function")?t:TF(e)}function wo(e,t){return wo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wo(e,t)}function Uw(e){return RF(e)||EF(e)||AF(e)||IF()}function BF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AF(e,t){if(!!e){if(typeof e=="string")return qy(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return qy(e,t)}}function Uy(e){var t=typeof Map=="function"?new Map:void 0;return Uy=function(n){if(n===null||!SF(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 Ui(n,arguments,Oo(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),wo(o,n)},Uy(e)}function Ww(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kw(e){var t=Ww();return function(){var n=Oo(e),o;if(t){var i=Oo(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NF(this,o)}}var Wy=console;function On(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=Wy).warn.apply(n,["\u{1F9D0} Driven Warning:"+t[0]].concat(Uw(o)))}function Po(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=t.slice(1);(n=Wy).log.apply(n,["\u{1F680} Driven Log:"+t[0]].concat(Uw(o)))}function MF(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ky=function(e){qw(r,e);var t=Kw(r);function r(n){Hw(this,r);var o;return o=t.call(this,n),o.name="\u{1F4A5} Driven Error",o.message=n?MF(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return r}(Uy(Error)),kF=function(e){qw(r,e);var t=Kw(r);function r(n){Hw(this,r);var o;return o=t.call(this,n),o.name="\u{1F6A8} Driven Reference Error",o}return r}(Ky);function Jt(e){throw new Ky(e)}function Xy(e){throw new kF(e)}function Xw(e){Wy.error(new Ky(e))}function Wi(e,t){Array.isArray(e)&&e.map(function(r){switch(r.controlType){case"layout":Wi(r==null?void 0:r.children,t);break;case"wrap":Wi(r==null?void 0:r.children,t);break;case"search":Wi(r==null?void 0:r.children,t);break;case"form":t(r)}})}var DF=Object.prototype.toString;function Jw(e,t){return DF.call(e)==="[object "+t+"]"}function LF(e){return Jw(e,"String")}function FF(e){return Jw(e,"Promise")}var jF=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();FF(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&&!LF(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 CF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qw(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xF(e,t,r){return t&&Qw(e.prototype,t),r&&Qw(e,r),e}function VF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(){function e(){CF(this,e)}return xF(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]:Gw;return new jF({locale:r,messages:mF})}},{key:"setLocale",value:function(r){return this.$i18n.setLocale(r)}}]),e}();VF(h,"$i18n",h.resetI18n());function Zw(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 zF=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Jy={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})(zF)})(Jy);var eP={};Object.defineProperty(eP,"__esModule",{value:!0});function Qy(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:Qy(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:Qy(n)}return t}}var GF=eP.default=Qy;function tP(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xe(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":tP(e))==="object"?GF(e):e}function me(e){return Zy(e)&&"zh"in e}function Zy(e){return Object.prototype.toString.call(e)==="[object Object]"}function YF(e){return e!=null&&(typeof e=="undefined"?"undefined":tP(e))==="object"&&Array.isArray(e)===!1}function wn(e){return Array.isArray(e)}function nP(e){return typeof e=="string"}function ed(e){return typeof e=="number"}function HF(e){return typeof e=="function"}function qF(e){return wn(e)&&e.every(function(t){return nP(t)})}function UF(e){return wn(e)&&e.every(function(t){return ed(t)})}function WF(e){return wn(e)&&e.every(function(t){return ed(t)||t===""})}function KF(e){return/^\[.*?]$/.test(e)}function XF(e){return/^{.*?}$/.test(e)}function Pn(e){return isNaN(parseFloat(e))?"":Number(e)}function rP(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function JF(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 QF(){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 oP(e){return Jy.exports.camelizeKeys(e)}function Qt(e){return Jy.exports.decamelizeKeys(e)}function ZF(e){return Object.values(c.CONTROL_TYPE).includes(e)}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 ej(e){if(Array.isArray(e))return td(e)}function iP(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 tj(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){iP(i,n,o,u,l,"next",f)}function l(f){iP(i,n,o,u,l,"throw",f)}u(void 0)})}}function nj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rj(e,t,r){return t&&uP(e.prototype,t),r&&uP(e,r),e}function cP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ij(){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 nd(e){return ej(e)||oj(e)||uj(e)||ij()}function uj(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 cj(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 lP=function(){function e(){nj(this,e),cP(this,"_events",new Map),cP(this,"debug",!1)}return rj(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 tj(function(){var l,f,a,s,_,p,b,g,v,m,d,O;return cj(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&&Po.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(nd(o))),[4,v.apply(null,nd(o))];case 4:return m=P.sent(),u.debug&&Po.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(nd(o),[m])),f.push(m),m===!1?[3,7]:[3,6];case 5:return d=P.sent(),Xw(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 lj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fj(e,t,r){return t&&fP(e.prototype,t),r&&fP(e,r),e}function aj(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var sj=[{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"}],aP=function(){function e(){lj(this,e)}return fj(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}();aj(aP,"events",sj);function rd(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 _j(e){if(Array.isArray(e))return rd(e)}function yj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function dj(){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 sP(e){return _j(e)||yj(e)||pj(e)||dj()}function pj(e,t){if(!!e){if(typeof e=="string")return rd(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 rd(e,t)}}function Ki(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function od(e,t,r){r!=="Runtime"&&(e.parent=t,Ki(e,"parent"))}function _P(e,t,r){e.forEach(function(n){od(n,t,r)})}var yP=Symbol("targetKey");function dP(e){var t;return(t=e[yP])!==null&&t!==void 0?t:e}function pP(e,t,r){return _P(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===yP?o:(a=Reflect).get.apply(a,[o,i].concat(sP(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(sP(f)));return Zy(u)&&od(u,t,r),_}})}function lt(e,t,r,n,o){var i=n!=null?n:e,u=pP(dP(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(f){u=pP(dP(f),i,o)},enumerable:!0})}function vj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vP(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hj(e,t,r){return t&&vP(e.prototype,t),r&&vP(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 hP=[],$o=function(){function e(t){vj(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 hj(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)})),i.footers&&(i.footers=i.footers.map(function(s){var _;return s&&(_=o.createControl(s,n)),_}))}var u=this.getControlFormType(r.type);if(u){var l=r;if(typeof n=="function"){var f=n(l);f&&(l=f)}var a;return u.mode==="Runtime"?(a=l,a.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(a,this)):a=new u(l),a}else 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}}),Ki(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}}}}),Ki(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($o,"staticControlsRuntimeRules",new Map),Zt($o,"staticControls",hP),Zt($o,"staticRegisteredTypes",new Set(hP.map(function(e){return e.Designer.controlType}))),Zt($o,"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 Xi(e){return Xi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xi(e)}function Je(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&id(e,t)}function bj(e,t){return t&&(gj(t)==="object"||typeof t=="function")?t:C(e)}function id(e,t){return id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},id(e,t)}function gj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mj(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qe(e){var t=mj();return function(){var n=Xi(e),o;if(t){var i=Xi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bj(this,o)}}var Ze=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},Ji=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},ud=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},cd=function e(t){$(this,e),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new ud(t==null?void 0:t.pc),this.mobile=new ud(t==null?void 0:t.mobile)},Qi=function(e){Je(r,e);var t=Qe(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}(Ji),ld=function e(t){$(this,e),y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new Qi(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new Qi(t==null?void 0:t.mobile):new Qi({width:130,minWidth:180})},bP=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:""},gP=function(e){Je(r,e);var t=Qe(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),mP=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:""},Zi=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 mP(u)}))!==null&&i!==void 0?i:[]},OP=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},wP=function(e){Je(r,e);var t=Qe(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),PP=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 OP(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new wP(u)}))!==null&&i!==void 0?i:[]},$P=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:[]},eu=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:Ke();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(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 Ro(l);(s=r.children)===null||s===void 0||s.push(_)}}))},Ro=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:Ke();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new $P(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new ir(t==null?void 0:t.rightVariableBo)},RP=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:[]},Re=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:""},tu=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},fd=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},TP=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},Oj=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 fd(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 TP(a)}))!==null&&f!==void 0?f:[]};function ad(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 eu(l):new Ro(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 eu(l):new Ro(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 fd(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 tu(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:"",ad.call(this,t)},nu=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:[]},mt=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},sd=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 tu(u)}))!==null&&i!==void 0?i:[]},To=function(e){Je(r,e);var t=Qe(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 sd(l)}))!==null&&u!==void 0?u:[],o}return r}(oe),SP=function(e){Je(r,e);var t=Qe(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 sd(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),_d=function(e){Je(r,e);var t=Qe(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}(To),EP=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 Re(u)}))!==null&&i!==void 0?i:[]},yd=function(e){Je(r,e);var t=Qe(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),ad.call(C(o),n),o}return r}(EP),dd=function(e){Je(r,e);var t=Qe(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}(EP),wj=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:""},ru=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:""},pd=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:Ke(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label},IP=function(e){Je(r,e);var t=Qe(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}(pd);function Ot(e){var t;return(t=e==null?void 0:e.map(function(r){return new pd(r)}))!==null&&t!==void 0?t:[]}function Pj(e){var t;return(t=e==null?void 0:e.map(function(r){return new IP(r)}))!==null&&t!==void 0?t:[]}var ou=function e(){$(this,e)},NP=function(e){Je(r,e);var t=Qe(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 Ze(n==null?void 0:n.amount),o.currency=new Ze(n==null?void 0:n.currency),o}return r}(ou),BP=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"},AP=function(e){Je(r,e);var t=Qe(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 Ze(n==null?void 0:n.min),o.max=new Ze(n==null?void 0:n.max),o}return r}(ou),MP=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:""},kP=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:""},DP=function(e){Je(r,e);var t=Qe(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 Ze(n==null?void 0:n.result),o.unit=new Ze(n==null?void 0:n.unit),o}return r}(ou),LP=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},FP=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:Ke(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new mP(u)}))!==null&&i!==void 0?i:[],ad.call(this,t)},$j=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:Ke(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},jP=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"},CP=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:""},xP=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:Ke();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 eu(f):new Ro(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 VP(f)}))!==null&&l!==void 0?l:[]:[],this.script=t==null?void 0:t.script},VP=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"},zP=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 xP(u)}))!==null&&i!==void 0?i:[]:[]};function Rj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iu(e,t,r){return GP()?iu=Reflect.construct:iu=function(o,i,u){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(o,l),a=new f;return u&&Eo(a,u.prototype),a},iu.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 So(e){return So=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},So(e)}function Tj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eo(e,t)}function Sj(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ej(e,t){return t&&(Ij(t)==="object"||typeof t=="function")?t:Rj(e)}function Eo(e,t){return Eo=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eo(e,t)}function Ij(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hd(e){var t=typeof Map=="function"?new Map:void 0;return hd=function(n){if(n===null||!Sj(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 iu(n,arguments,So(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Eo(o,n)},hd(e)}function GP(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nj(e){var t=GP();return function(){var n=So(e),o;if(t){var i=So(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ej(this,o)}}var re=function e(t){vd(this,e),Dt(this,"isHide",{type:"boolean"})},en=function(e){Tj(r,e);var t=Nj(r);function r(n){return vd(this,r),t.call(this)}return r}(hd(Array)),J=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";vd(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 jP(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 wt(){return wt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wt.apply(this,arguments)}function Bj(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function bd(e){return bd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bd(e)}function uu(e,t){return uu=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uu(e,t)}function Aj(){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 cu(e,t,r){return Aj()?cu=Reflect.construct:cu=function(o,i,u){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(o,l),a=new f;return u&&uu(a,u.prototype),a},cu.apply(null,arguments)}function Mj(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function gd(e){var t=typeof Map=="function"?new Map:void 0;return gd=function(n){if(n===null||!Mj(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 cu(n,arguments,bd(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),uu(o,n)},gd(e)}var kj=/%[sdj%]/g,YP=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(YP=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function md(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(kj,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 Dj(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||Dj(t)&&typeof e=="string"&&!e)}function Lj(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 HP(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 Fj(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var qP=function(e){Bj(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}(gd(Error));function jj(e,t,r,n){if(t.first){var o=new Promise(function(_,p){var b=function(m){return n(m),m.length?p(new qP(m,md(m))):_()},g=Fj(e);HP(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 qP(a,md(a))):_()};u.length||(n(a),_()),u.forEach(function(g){var v=e[g];i.indexOf(g)!==-1?HP(v,r,b):Lj(v,r,b)})});return s.catch(function(_){return _}),s}function UP(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 WP(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=wt(wt({},e[r]),n):e[r]=n}}return e}function KP(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 Cj(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(je(o.messages.whitespace,e.fullField))}var Od={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},Io={integer:function(t){return Io.number(t)&&parseInt(t,10)===t},float:function(t){return Io.number(t)&&!Io.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"&&!Io.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Od.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Od.url)},hex:function(t){return typeof t=="string"&&!!t.match(Od.hex)}};function xj(e,t,r,n,o){if(e.required&&t===void 0){KP(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?Io[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 Vj(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 zj(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 Gj(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 B={required:KP,whitespace:Cj,type:xj,range:Vj,enum:zj,pattern:Gj};function Yj(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();B.required(e,t,n,i,o,"string"),ie(t,"string")||(B.type(e,t,n,i,o),B.range(e,t,n,i,o),B.pattern(e,t,n,i,o),e.whitespace===!0&&B.whitespace(e,t,n,i,o))}r(i)}function Hj(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();B.required(e,t,n,i,o),t!==void 0&&B.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(t===""&&(t=void 0),ie(t)&&!e.required)return r();B.required(e,t,n,i,o),t!==void 0&&(B.type(e,t,n,i,o),B.range(e,t,n,i,o))}r(i)}function Uj(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();B.required(e,t,n,i,o),t!==void 0&&B.type(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();B.required(e,t,n,i,o),ie(t)||B.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(ie(t)&&!e.required)return r();B.required(e,t,n,i,o),t!==void 0&&(B.type(e,t,n,i,o),B.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();B.required(e,t,n,i,o),t!==void 0&&(B.type(e,t,n,i,o),B.range(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(t==null&&!e.required)return r();B.required(e,t,n,i,o,"array"),t!=null&&(B.type(e,t,n,i,o),B.range(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();B.required(e,t,n,i,o),t!==void 0&&B.type(e,t,n,i,o)}r(i)}var Zj="enum";function eC(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();B.required(e,t,n,i,o),t!==void 0&&B[Zj](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,"string")&&!e.required)return r();B.required(e,t,n,i,o),ie(t,"string")||B.pattern(e,t,n,i,o)}r(i)}function nC(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(B.required(e,t,n,i,o),!ie(t,"date")){var l;t instanceof Date?l=t:l=new Date(t),B.type(e,l,n,i,o),l&&B.range(e,l.getTime(),n,i,o)}}r(i)}function rC(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;B.required(e,t,n,i,o,u),r(i)}function wd(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();B.required(e,t,n,u,o,i),ie(t,i)||B.type(e,t,n,u,o)}r(u)}function oC(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();B.required(e,t,n,i,o)}r(i)}var No={string:Yj,method:Hj,number:qj,boolean:Uj,regexp:Wj,integer:Kj,float:Xj,array:Jj,object:Qj,enum:eC,pattern:tC,date:nC,url:wd,hex:wd,email:wd,required:rC,any:oC};function Pd(){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 $d=Pd();function tn(e){this.rules=null,this._messages=$d,this.define(e)}tn.prototype={messages:function(t){return t&&(this._messages=WP(Pd(),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=md(d):(d=null,O=null),l(d,O)}if(u.messages){var a=this.messages();a===$d&&(a=Pd()),WP(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=wt({},i)),_=i[v]=d.transform(_)),typeof d=="function"?d={validator:d}:d=wt({},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 jj(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 wt(wt({},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(UP(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(UP(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=wt(wt({},D),v.rule.fields);for(var be in D)if(D.hasOwnProperty(be)){var ge=Array.isArray(D[be])?D[be]:[D[be]];D[be]=ge.map(P.bind(null,be))}var bo=new tn(D);bo.messages(u.messages),v.rule.options&&(v.rule.options.messages=u.messages,v.rule.options.error=u.error),bo.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=YP,tn.messages=$d,tn.validators=No;var iC={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 XP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new tn(e);return r.messages(Object.assign(iC,t)),r}var JP=new lP;function Rd(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 uC(e){if(Array.isArray(e))return e}function cC(e){if(Array.isArray(e))return Rd(e)}function QP(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function ZP(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){QP(i,n,o,u,l,"next",f)}function l(f){QP(i,n,o,u,l,"throw",f)}u(void 0)})}}function lC(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 fC(e,t,r){return t&&e$(e.prototype,t),r&&e$(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 t$(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function n$(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function aC(){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 sC(){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 r$(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 _C(e){return uC(e)||n$(e)||o$(e)||aC()}function Td(e){return cC(e)||n$(e)||o$(e)||sC()}function yC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o$(e,t){if(!!e){if(typeof e=="string")return Rd(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 Rd(e,t)}}function i$(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;lC(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",c$),L(this,"removeSetting",u$),this._callControlHooks("preInstance",r);var o=t$(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||Xy("The ".concat(_," controlName,controlIcon,controlType is not define"));var v;this.id=(v=r==null?void 0:r.id)!==null&&v!==void 0?v:Ke(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,(t$(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=Xe(p);var O;this.fieldType=(O=r==null?void 0:r.fieldType)!==null&&O!==void 0?O:f,this.eventKeys=Xe(a),this.customEvents=Xe(s),this.slots=Xe(b),this.slotPosition=Xe(g),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return fC(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=_C(o),f=l[0],a=l.slice(1);return(u=JP).emit.apply(u,[f,this].concat(Td(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),Zw(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return ZP(function(){var o,i,u;return i$(this,function(l){switch(l.label){case 0:return o=r$({},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 ZP(function(){var u,l,f,a;return i$(this,function(s){switch(s.label){case 0:return[4,i.preValidate()];case 1:u=s.sent(),l=u!==void 0?u:r$({},i.rules),Array.isArray(o)&&o.forEach(function(_){l.hasOwnProperty(_)&&delete l[_]}),f=XP(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:Xe(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,Td(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",u$),L(F,"updateSettingItem",c$);function u$(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 c$(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":yC(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,Td(t.showItems))}}}})}function dC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pC(e,t,r){return t&&l$(e.prototype,t),r&&l$(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 vC(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Q=function(){function t(r){dC(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=vC(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,l=n.controlCustomEvents;o||Xy("The ".concat(u," controlType is not define"));var f;this.id=(f=r==null?void 0:r.id)!==null&&f!==void 0?f:Ke(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 pC(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 lu(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=rP(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 Bo(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 f$(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 fu(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 au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(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&&Sd(e,t)}function hC(e,t){return t&&(bC(t)==="object"||typeof t=="function")?t:Y(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sd(e,t)}function bC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _u(e){var t=gC();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 hC(this,o)}}var ue=function(e){su(r,e);var t=_u(r);function r(n){fu(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(f$(n.dataBind))o.dataBind={type:"object",required:!0,fields:Xe(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:Xe(i),message:h.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(re),x=function(e){su(r,e);var t=_u(r);function r(n){fu(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){su(r,e);var t=_u(r);function r(n){fu(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 Ze(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){su(r,e);var t=_u(r);function r(n){fu(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")}]),lu.call(Y(o),n),o}return r}(ue);function Ed(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function du(e){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},du(e)}function OC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Id(e,t)}function wC(e,t){return t&&(PC(t)==="object"||typeof t=="function")?t:Ed(e)}function Id(e,t){return Id=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Id(e,t)}function PC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $C(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RC(e){var t=$C();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 wC(this,o)}}var M=function(e){OC(r,e);var t=RC(r);function r(n){mC(this,r);var o;return o=t.call(this,n),yu(Ed(o),"controlType","form"),yu(Ed(o),"props",void 0),o.props=new A(n==null?void 0:n.props),o}return r}(F);yu(M,"controlEventKeys",["on_change","on_focus","on_blur"]),yu(M,"controlCustomAttributes",void 0);function pu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TC(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 vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function SC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bd(e,t)}function EC(e,t){return t&&(IC(t)==="object"||typeof t=="function")?t:pu(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bd(e,t)}function IC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BC(e){var t=NC();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 EC(this,o)}}var k=function(e){SC(r,e);var t=BC(r);function r(n){TC(this,r);var o;return o=t.call(this,n),Nd(pu(o),"controlType","form"),Nd(pu(o),"props",void 0),Nd(pu(o),"value",void 0),o.props=new A(n==null?void 0:n.props),o}return r}(Q);function AC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function kC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DC(e,t){return t&&(LC(t)==="object"||typeof t=="function")?t:AC(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ad(e,t)}function LC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jC(e){var t=FC();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 DC(this,o)}}var z=function(e){kC(r,e);var t=jC(r);function r(n){return MC(this,r),t.call(this,n)}return r}(J);function Md(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 CC(e){if(Array.isArray(e))return Md(e)}function Tn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a$(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 xC(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){a$(i,n,o,u,l,"next",f)}function l(f){a$(i,n,o,u,l,"throw",f)}u(void 0)})}}function VC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zC(e,t,r){return t&&s$(e.prototype,t),r&&s$(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=JC(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 GC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kd(e,t)}function YC(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function HC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qC(){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 UC(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 WC(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 KC(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):WC(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function XC(e,t){return t&&(QC(t)==="object"||typeof t=="function")?t:Tn(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kd(e,t)}function JC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=rn(e),e!==null););return e}function _$(e){return CC(e)||HC(e)||ZC(e)||qC()}function QC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZC(e,t){if(!!e){if(typeof e=="string")return Md(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 Md(e,t)}}function e4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t4(e){var t=e4();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 XC(this,o)}}function n4(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 r4=1e4,q=function(t){GC(n,t);var r=t4(n);function n(o){VC(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=YC(this,n)?this.constructor:void 0,l=u.excludes,f=u.childrenMaxLength;return i.props=new z(o==null?void 0:o.props),lt(Tn(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Xe(l),i.childrenMaxLength=f,i}return zC(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 xC(function(){return n4(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 _$(f).concat(_$(_))}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 KC(UC({},i),{children:u})}}]),n}(F);nn(q,"excludes",!1),nn(q,"childrenMaxLength",r4);function Ao(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bu(e)}function i4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function u4(e,t){return t&&(c4(t)==="object"||typeof t=="function")?t:Ao(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ld(e,t)}function c4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f4(e){var t=l4();return function(){var n=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u4(this,o)}}var Z=function(e){i4(r,e);var t=f4(r);function r(n){o4(this,r);var o;return o=t.call(this,n),Dd(Ao(o),"controlType","layout"),Dd(Ao(o),"children",void 0),Dd(Ao(o),"props",void 0),o.props=new z(n==null?void 0:n.props),lt(Ao(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 a4(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 gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gu(e)}function s4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function _4(e,t){return t&&(y4(t)==="object"||typeof t=="function")?t:Lt(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fd(e,t)}function y4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p4(e){var t=d4();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 _4(this,o)}}var Mo=function(e){s4(r,e);var t=p4(r);function r(n,o,i){a4(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),lt(Lt(u),"headers",o==null?void 0:o.headers,n,i),lt(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 jd(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 v4(e){if(Array.isArray(e))return jd(e)}function mu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y$(e,t,r,n,o,i,u){try{var l=e[i](u),f=l.value}catch(a){r(a);return}l.done?t(f):Promise.resolve(f).then(n,o)}function h4(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){y$(i,n,o,u,l,"next",f)}function l(f){y$(i,n,o,u,l,"throw",f)}u(void 0)})}}function b4(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 g4(e,t,r){return t&&d$(e.prototype,t),r&&d$(e,r),e}function Ou(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=R4(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 m4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function O4(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function w4(){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){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){Ou(e,o,r[o])})}return e}function P4(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 v$(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):P4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function $4(e,t){return t&&(T4(t)==="object"||typeof t=="function")?t:mu(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cd(e,t)}function R4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=on(e),e!==null););return e}function h$(e){return v4(e)||O4(e)||S4(e)||w4()}function T4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S4(e,t){if(!!e){if(typeof e=="string")return jd(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 jd(e,t)}}function E4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I4(e){var t=E4();return function(){var n=on(e),o;if(t){var i=on(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $4(this,o)}}function N4(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 wu=function(e){m4(r,e);var t=I4(r);function r(n){b4(this,r);var o;return o=t.call(this,n),Ou(mu(o),"controlType","list"),Ou(mu(o),"props",void 0),o.props=new Mo(mu(o),n==null?void 0:n.props,"Designer"),o}return g4(r,[{key:"validate",value:function(o,i){var u=this,l=this,f=function(){return fr(on(r.prototype),"validate",u)};return h4(function(){return N4(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 h$(l).concat(h$(s))}return a&&l.push(a),l},i)}},{key:"toSchema",value:function(){var o,i,u=fr(on(r.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(a){return a.toSchema()}),f=(i=this.props)===null||i===void 0||(o=i.footers)===null||o===void 0?void 0:o.map(function(a){if(a)return a.toSchema()});return v$(p$({},u),{props:v$(p$({},this.props),{headers:l,footers:f})})}}]),r}(F);Ou(wu,"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 B4(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 A4(e,t,r){return t&&b$(e.prototype,t),r&&b$(e,r),e}function xd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pu(e)}function M4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vd(e,t)}function k4(e,t){return t&&(D4(t)==="object"||typeof t=="function")?t:ar(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vd(e,t)}function D4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F4(e){var t=L4();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 k4(this,o)}}var zd=function(e){M4(r,e);var t=F4(r);function r(n){B4(this,r);var o;return o=t.call(this,n),xd(ar(o),"controlType","list"),xd(ar(o),"children",void 0),xd(ar(o),"props",void 0),o.props=new Mo(ar(o),n==null?void 0:n.props,"Runtime"),lt(ar(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return A4(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 Gd(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 $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$u(e)}function Yd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hd(e,t)}function j4(e,t){return t&&(C4(t)==="object"||typeof t=="function")?t:ce(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hd(e,t)}function C4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qd(e){var t=x4();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 j4(this,o)}}var ft=function(e){Yd(r,e);var t=qd(r);function r(n){Gd(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){Yd(r,e);var t=qd(r);function r(n){Gd(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 Ji(n==null?void 0:n.autoWidth),o.dataBind=new Ze(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",ft);var Ud=function(e){Yd(r,e);var t=qd(r);function r(n){Gd(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")}]),lu.call(ce(o),n),o}return r}(ft);function ko(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 z4(e,t,r){return t&&g$(e.prototype,t),r&&g$(e,r),e}function Ru(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tu(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Tu=Reflect.get:Tu=function(o,i,u){var l=W4(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Tu(e,t,r||e)}function sr(e){return sr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sr(e)}function G4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wd(e,t)}function Y4(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){Ru(e,o,r[o])})}return e}function H4(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 q4(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):H4(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function U4(e,t){return t&&(K4(t)==="object"||typeof t=="function")?t:ko(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wd(e,t)}function W4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=sr(e),e!==null););return e}function K4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J4(e){var t=X4();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 U4(this,o)}}var le=function(e){G4(r,e);var t=J4(r);function r(n){V4(this,r);var o;return o=t.call(this,n),Ru(ko(o),"controlType","column"),Ru(ko(o),"props",void 0),Ru(ko(o),"children",void 0),o.props=new ee(n==null?void 0:n.props),lt(ko(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return z4(r,[{key:"toSchema",value:function(){var o=Tu(sr(r.prototype),"toSchema",this).call(this);return q4(Y4({},o),{children:this.children.map(function(i){return i.toSchema()})})}}]),r}(F);function Do(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Q4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Su(e)}function Z4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 e5(e,t){return t&&(t5(t)==="object"||typeof t=="function")?t:Do(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xd(e,t)}function t5(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 r5(e){var t=n5();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 e5(this,o)}}var fe=function(e){Z4(r,e);var t=r5(r);function r(n){Q4(this,r);var o;return o=t.call(this,n),Kd(Do(o),"controlType","column"),Kd(Do(o),"props",void 0),Kd(Do(o),"children",void 0),o.props=new ee(n==null?void 0:n.props),lt(Do(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(Q);function m$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i5(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 u5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jd(e,t)}function c5(e,t){return t&&(l5(t)==="object"||typeof t=="function")?t:m$(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jd(e,t)}function l5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a5(e){var t=f5();return function(){var n=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return c5(this,o)}}var Iu=function(e){u5(r,e);var t=a5(r);function r(n){o5(this,r);var o;return o=t.call(this,n),i5(m$(o),"dataBind",void 0),o.dataBind=new Ze(n==null?void 0:n.dataBind),o}return r}(z);function Qd(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 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 Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(e)}function _5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zd(e,t)}function y5(e,t){return t&&(d5(t)==="object"||typeof t=="function")?t:Qd(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zd(e,t)}function d5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v5(e){var t=p5();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 y5(this,o)}}var w$=function(e){_5(r,e);var t=v5(r);function r(n){s5(this,r);var o;return o=t.call(this,n),O$(Qd(o),"controlType","search"),O$(Qd(o),"props",void 0),o.props=new Iu(n==null?void 0:n.props),o}return r}(q);function ep(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 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 Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bu(e)}function b5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tp(e,t)}function g5(e,t){return t&&(m5(t)==="object"||typeof t=="function")?t:ep(e)}function tp(e,t){return tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tp(e,t)}function m5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w5(e){var t=O5();return function(){var n=Bu(e),o;if(t){var i=Bu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return g5(this,o)}}var $$=function(e){b5(r,e);var t=w5(r);function r(n){h5(this,r);var o;return o=t.call(this,n),P$(ep(o),"controlType","search"),P$(ep(o),"props",void 0),o.props=new Iu(n==null?void 0:n.props),o}return r}(Z);function P5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Au(e)}function R5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&np(e,t)}function T5(e,t){return t&&(S5(t)==="object"||typeof t=="function")?t:P5(e)}function np(e,t){return np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},np(e,t)}function S5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I5(e){var t=E5();return function(){var n=Au(e),o;if(t){var i=Au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return T5(this,o)}}var Mu=function(e){R5(r,e);var t=I5(r);function r(n){return $5(this,r),t.call(this,n)}return r}(z);function rp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N5(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 ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ku(e)}function B5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&op(e,t)}function A5(e,t){return t&&(M5(t)==="object"||typeof t=="function")?t:rp(e)}function op(e,t){return op=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},op(e,t)}function M5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D5(e){var t=k5();return function(){var n=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A5(this,o)}}var T$=function(e){B5(r,e);var t=D5(r);function r(n){N5(this,r);var o;return o=t.call(this,n),R$(rp(o),"controlType","wrap"),R$(rp(o),"props",void 0),o.props=new Mu(n==null?void 0:n.props),o}return r}(q);function ip(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Du(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&&up(e,t)}function j5(e,t){return t&&(C5(t)==="object"||typeof t=="function")?t:ip(e)}function up(e,t){return up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},up(e,t)}function C5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V5(e){var t=x5();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 j5(this,o)}}var E$=function(e){F5(r,e);var t=V5(r);function r(n){L5(this,r);var o;return o=t.call(this,n),S$(ip(o),"controlType","wrap"),S$(ip(o),"props",void 0),o.props=new Mu(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 z5(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 Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lu(e)}function G5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cp(e,t)}function Y5(e,t){return t&&(H5(t)==="object"||typeof t=="function")?t:Sn(e)}function cp(e,t){return cp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cp(e,t)}function H5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U5(e){var t=q5();return function(){var n=Lu(e),o;if(t){var i=Lu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y5(this,o)}}var lp=function(e){G5(r,e);var t=U5(r);function r(n){z5(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 I$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W5(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 K5(e,t,r){return t&&N$(e.prototype,t),r&&N$(e,r),e}function B$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fu(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&&fp(e,t)}function J5(e,t){return t&&(Q5(t)==="object"||typeof t=="function")?t:I$(e)}function fp(e,t){return fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fp(e,t)}function Q5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e6(e){var t=Z5();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 J5(this,o)}}var A$=function(e){X5(r,e);var t=e6(r);function r(n){W5(this,r);var o;return o=t.call(this,n),B$(I$(o),"props",void 0),o.props=new lp(n==null?void 0:n.props),o}return K5(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);B$(A$,"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 M$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n6(e,t,r){return t&&k$(e.prototype,t),r&&k$(e,r),e}function r6(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 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&&ap(e,t)}function i6(e,t){return t&&(u6(t)==="object"||typeof t=="function")?t:M$(e)}function ap(e,t){return ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ap(e,t)}function u6(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 l6(e){var t=c6();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 i6(this,o)}}var f6=function(e){o6(r,e);var t=l6(r);function r(n){t6(this,r);var o;return o=t.call(this,n),r6(M$(o),"props",void 0),o.props=new lp(n==null?void 0:n.props),o}return n6(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(Q),D$={Designer:A$,Runtime:f6,Property:lp};function Cu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xu(e){return xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xu(e)}function s6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_p(e,t)}function _6(e,t){return t&&(y6(t)==="object"||typeof t=="function")?t:Cu(e)}function _p(e,t){return _p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_p(e,t)}function y6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p6(e){var t=d6();return function(){var n=xu(e),o;if(t){var i=xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _6(this,o)}}var yp=function(e){s6(r,e);var t=p6(r);function r(n){a6(this,r);var o;o=t.call(this,n),sp(Cu(o),"content",void 0),sp(Cu(o),"url",void 0),sp(Cu(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 L$(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 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 h6(e,t,r){return t&&F$(e.prototype,t),r&&F$(e,r),e}function dp(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 b6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pp(e,t)}function g6(e,t){return t&&(m6(t)==="object"||typeof t=="function")?t:L$(e)}function pp(e,t){return pp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pp(e,t)}function m6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function O6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w6(e){var t=O6();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 g6(this,o)}}var vp=function(e){b6(r,e);var t=w6(r);function r(n){v6(this,r);var o;return o=t.call(this,n),dp(L$(o),"props",void 0),o.props=new yp(n==null?void 0:n.props),o}return h6(r,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(F);dp(vp,"controlEventKeys",["on_click"]),dp(vp,"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 j$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $6(e,t,r){return t&&C$(e.prototype,t),r&&C$(e,r),e}function R6(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 T6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hp(e,t)}function S6(e,t){return t&&(E6(t)==="object"||typeof t=="function")?t:j$(e)}function hp(e,t){return hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hp(e,t)}function E6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N6(e){var t=I6();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 S6(this,o)}}var B6=function(e){T6(r,e);var t=N6(r);function r(n){P6(this,r);var o;return o=t.call(this,n),R6(j$(o),"props",void 0),o.props=new yp(n==null?void 0:n.props),o}return $6(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(Q),x$={Designer:vp,Runtime:B6,Property:yp};function Pt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gu(e)}function M6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bp(e,t)}function k6(e,t){return t&&(D6(t)==="object"||typeof t=="function")?t:Pt(e)}function bp(e,t){return bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bp(e,t)}function D6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F6(e){var t=L6();return function(){var n=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return k6(this,o)}}var Te=function(e){M6(r,e);var t=F6(r);function r(n){A6(this,r);var o;o=t.call(this,n),jt(Pt(o),"content",void 0),jt(Pt(o),"buttonType",void 0),jt(Pt(o),"showType",void 0),jt(Pt(o),"color",void 0),jt(Pt(o),"icon",void 0),jt(Pt(o),"defaultState",void 0),jt(Pt(o),"command",void 0),jt(Pt(o),"isLoading",void 0),jt(Pt(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"primary";var a;o.icon=(a=n==null?void 0:n.icon)!==null&&a!==void 0?a:"iconfenlei2";var s;o.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var p;o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1;var b;return o.optObj=new CP((b=n==null?void 0:n.optObj)!==null&&b!==void 0?b:{}),o}return r}(J);function V$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C6(e,t,r){return t&&z$(e.prototype,t),r&&z$(e,r),e}function Yu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function x6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gp(e,t)}function V6(e,t){return t&&(z6(t)==="object"||typeof t=="function")?t:V$(e)}function gp(e,t){return gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gp(e,t)}function z6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y6(e){var t=G6();return function(){var n=Hu(e),o;if(t){var i=Hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return V6(this,o)}}var Oe=function(e){x6(r,e);var t=Y6(r);function r(n){j6(this,r);var o;return o=t.call(this,n),Yu(V$(o),"props",void 0),o.props=new Te(n==null?void 0:n.props),o}return C6(r,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(F);Yu(Oe,"slots",["grid-table-toolbar-slot","action-bar-slot",Hy.DEFAULT]),Yu(Oe,"controlEventKeys",["on_click"]),Yu(Oe,"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 G$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function q6(e,t,r){return t&&Y$(e.prototype,t),r&&Y$(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 qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qu(e)}function W6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mp(e,t)}function K6(e,t){return t&&(X6(t)==="object"||typeof t=="function")?t:G$(e)}function mp(e,t){return mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mp(e,t)}function X6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q6(e){var t=J6();return function(){var n=qu(e),o;if(t){var i=qu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return K6(this,o)}}var xe=function(e){W6(r,e);var t=Q6(r);function r(n){H6(this,r);var o;return o=t.call(this,n),U6(G$(o),"props",void 0),o.props=new Te(n==null?void 0:n.props),o}return q6(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(Q),H$={Designer:Oe,Runtime:xe,Property:Te};function et(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 Uu=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Ke(8),value:["",""]};et(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 Wu=function e(t){et(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:Ke();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};c.LINE_STYLE=void 0,function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"}(c.LINE_STYLE||(c.LINE_STYLE={}));var Op=function e(t){et(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:""},q$=function e(t){et(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 Op(f)}))!==null&&o!==void 0?o:[new Op];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:""},Lo=function e(t){et(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:Ke(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var 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},wp=function e(t){et(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:""},U$=function e(t){et(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 wp(t==null?void 0:t.watermark),this.autoRename=new wp(t==null?void 0:t.autoRename)},W$=function e(t){et(this,e),S(this,"dataCode",void 0),this.dataCode=t.dataCode},K$=function e(t){et(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 W$(i)}))!==null&&o!==void 0?o:[]},X$=function e(t){et(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 Lo(i)}))!==null&&o!==void 0?o:[new Lo({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},J$=480;function Fo(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var Q$=function e(t){et(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:[]},Z$=function e(t){et(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 Pp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ku(e){return Ku=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ku(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&&$p(e,t)}function tx(e,t){return t&&(nx(t)==="object"||typeof t=="function")?t:Pp(e)}function $p(e,t){return $p=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$p(e,t)}function nx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ox(e){var t=rx();return function(){var n=Ku(e),o;if(t){var i=Ku(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tx(this,o)}}var Rp=function(e){ex(r,e);var t=ox(r);function r(n){Z6(this,r);var o;o=t.call(this,n),eR(Pp(o),"color",void 0),eR(Pp(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 tR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ix(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ux(e,t,r){return t&&nR(e.prototype,t),r&&nR(e,r),e}function rR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xu(e){return Xu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xu(e)}function cx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tp(e,t)}function lx(e,t){return t&&(fx(t)==="object"||typeof t=="function")?t:tR(e)}function Tp(e,t){return Tp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tp(e,t)}function fx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ax(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sx(e){var t=ax();return function(){var n=Xu(e),o;if(t){var i=Xu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lx(this,o)}}var oR=function(e){cx(r,e);var t=sx(r);function r(n){ix(this,r);var o;return o=t.call(this,n),rR(tR(o),"props",void 0),o.props=new Rp(n==null?void 0:n.props),o}return ux(r,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(F);rR(oR,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}]);function iR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yx(e,t,r){return t&&uR(e.prototype,t),r&&uR(e,r),e}function dx(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 px(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sp(e,t)}function vx(e,t){return t&&(hx(t)==="object"||typeof t=="function")?t:iR(e)}function Sp(e,t){return Sp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sp(e,t)}function hx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gx(e){var t=bx();return function(){var n=Ju(e),o;if(t){var i=Ju(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vx(this,o)}}var mx=function(e){px(r,e);var t=gx(r);function r(n){_x(this,r);var o;return o=t.call(this,n),dx(iR(o),"props",void 0),o.props=new Rp(n==null?void 0:n.props),o}return yx(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(Q),cR={Designer:oR,Runtime:mx,Property:Rp};function un(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lR(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 Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qu(e)}function fR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ep(e,t)}function Ox(e,t){return t&&(wx(t)==="object"||typeof t=="function")?t:un(e)}function Ep(e,t){return Ep=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ep(e,t)}function wx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Px(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aR(e){var t=Px();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 Ox(this,o)}}var $x=function(e){fR(r,e);var t=aR(r);function r(n){lR(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),Zu=function(e){fR(r,e);var t=aR(r);function r(n){lR(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 Ze(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(Zu,"Rules",$x);function sR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _R(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tx(e,t,r){return t&&_R(e.prototype,t),r&&_R(e,r),e}function Ip(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ec(e)}function Sx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Np(e,t)}function Ex(e,t){return t&&(Ix(t)==="object"||typeof t=="function")?t:sR(e)}function Np(e,t){return Np=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Np(e,t)}function Ix(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 Bx(e){var t=Nx();return function(){var n=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ex(this,o)}}var yr=function(e){Sx(r,e);var t=Bx(r);function r(n){Rx(this,r);var o;return o=t.call(this,n),Ip(sR(o),"props",void 0),o.props=new Zu(n==null?void 0:n.props),o}return Tx(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);Ip(yr,"controlFieldType",c.FieldTypes.AUTO_NUMBER),Ip(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 yR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ax(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mx(e,t,r){return t&&dR(e.prototype,t),r&&dR(e,r),e}function kx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tc(e)}function Dx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bp(e,t)}function Lx(e,t){return t&&(Fx(t)==="object"||typeof t=="function")?t:yR(e)}function Bp(e,t){return Bp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bp(e,t)}function Fx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cx(e){var t=jx();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 Lx(this,o)}}var xx=function(e){Dx(r,e);var t=Cx(r);function r(n){Ax(this,r);var o;return o=t.call(this,n),kx(yR(o),"props",void 0),o.props=new Zu(n==null?void 0:n.props),o}return Mx(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(Q),pR={Designer:yr,Runtime:xx,Property:Zu};function nc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oc(e)}function hR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Vx(e,t){return t&&(zx(t)==="object"||typeof t=="function")?t:nc(e)}function Ap(e,t){return Ap=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ap(e,t)}function zx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bR(e){var t=Gx();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 Vx(this,o)}}var Yx=function(e){hR(r,e);var t=bR(r);function r(n){vR(this,r);var o;return o=t.call(this,n),rc(nc(o),"formKey",{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}),o}return r}(re),ic=function(e){hR(r,e);var t=bR(r);function r(n){vR(this,r);var o;o=t.call(this,n),rc(nc(o),"formKey",void 0),rc(nc(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}(Te);rc(ic,"Rules",Yx);function gR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qx(e,t,r){return t&&mR(e.prototype,t),r&&mR(e,r),e}function uc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cc(e)}function Ux(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mp(e,t)}function Wx(e,t){return t&&(Kx(t)==="object"||typeof t=="function")?t:gR(e)}function Mp(e,t){return Mp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mp(e,t)}function Kx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jx(e){var t=Xx();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 Wx(this,o)}}var dr=function(e){Ux(r,e);var t=Jx(r);function r(n){Hx(this,r);var o;return o=t.call(this,n),uc(gR(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return qx(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}(Oe);uc(dr,"slots",["grid-table-toolbar-slot"]),uc(dr,"controlEventKeys",["on_click","on_click_finish"]),uc(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 OR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zx(e,t,r){return t&&wR(e.prototype,t),r&&wR(e,r),e}function eV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lc(e)}function tV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kp(e,t)}function nV(e,t){return t&&(rV(t)==="object"||typeof t=="function")?t:OR(e)}function kp(e,t){return kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kp(e,t)}function rV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iV(e){var t=oV();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 nV(this,o)}}var uV=function(e){tV(r,e);var t=iV(r);function r(n){Qx(this,r);var o;return o=t.call(this,n),eV(OR(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return Zx(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(xe),PR={Designer:dr,Runtime:uV,Property:ic};function pr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fc(e)}function RR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cV(e,t){return t&&(lV(t)==="object"||typeof t=="function")?t:pr(e)}function Dp(e,t){return Dp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dp(e,t)}function lV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TR(e){var t=fV();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 cV(this,o)}}var aV=function(e){RR(r,e);var t=TR(r);function r(n){$R(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),ac=function(e){RR(r,e);var t=TR(r);function r(n){$R(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}(Te);vr(ac,"Rules",aV);function SR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ER(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _V(e,t,r){return t&&ER(e.prototype,t),r&&ER(e,r),e}function sc(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 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&&Lp(e,t)}function dV(e,t){return t&&(pV(t)==="object"||typeof t=="function")?t:SR(e)}function Lp(e,t){return Lp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lp(e,t)}function pV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hV(e){var t=vV();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 dV(this,o)}}var hr=function(e){yV(r,e);var t=hV(r);function r(n){sV(this,r);var o;return o=t.call(this,n),sc(SR(o),"props",void 0),o.props=new ac(n==null?void 0:n.props),o}return _V(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}(Oe);sc(hr,"slots",["grid-table-toolbar-slot"]),sc(hr,"controlEventKeys",["on_click","on_click_finish"]),sc(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 IR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gV(e,t,r){return t&&NR(e.prototype,t),r&&NR(e,r),e}function mV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yc(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&&Fp(e,t)}function wV(e,t){return t&&(PV(t)==="object"||typeof t=="function")?t:IR(e)}function Fp(e,t){return Fp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fp(e,t)}function PV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $V(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RV(e){var t=$V();return function(){var n=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wV(this,o)}}var TV=function(e){OV(r,e);var t=RV(r);function r(n){bV(this,r);var o;return o=t.call(this,n),mV(IR(o),"props",void 0),o.props=new ac(n==null?void 0:n.props),o}return gV(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(xe),BR={Designer:hr,Runtime:TV,Property:ac};function SV(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dc(e)}function IV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jp(e,t)}function NV(e,t){return t&&(BV(t)==="object"||typeof t=="function")?t:SV(e)}function jp(e,t){return jp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jp(e,t)}function BV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MV(e){var t=AV();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 NV(this,o)}}var Cp=function(e){IV(r,e);var t=MV(r);function r(n){EV(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}(Te);function AR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DV(e,t,r){return t&&MR(e.prototype,t),r&&MR(e,r),e}function pc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vc(e)}function LV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xp(e,t)}function FV(e,t){return t&&(jV(t)==="object"||typeof t=="function")?t:AR(e)}function xp(e,t){return xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xp(e,t)}function jV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xV(e){var t=CV();return function(){var n=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FV(this,o)}}var br=function(e){LV(r,e);var t=xV(r);function r(n){kV(this,r);var o;return o=t.call(this,n),pc(AR(o),"props",void 0),o.props=new Cp(n==null?void 0:n.props),o}return DV(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}(Oe);pc(br,"slots",["grid-table-toolbar-slot"]),pc(br,"controlEventKeys",["on_click"]),pc(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 kR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zV(e,t,r){return t&&DR(e.prototype,t),r&&DR(e,r),e}function GV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hc(e){return hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hc(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&&Vp(e,t)}function HV(e,t){return t&&(qV(t)==="object"||typeof t=="function")?t:kR(e)}function Vp(e,t){return Vp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vp(e,t)}function qV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WV(e){var t=UV();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 HV(this,o)}}var KV=function(e){YV(r,e);var t=WV(r);function r(n){VV(this,r);var o;return o=t.call(this,n),GV(kR(o),"props",void 0),o.props=new Cp(n==null?void 0:n.props),o}return zV(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(xe),LR={Designer:br,Runtime:KV,Property:Cp};function zp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bc(e)}function JV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gp(e,t)}function QV(e,t){return t&&(ZV(t)==="object"||typeof t=="function")?t:zp(e)}function Gp(e,t){return Gp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gp(e,t)}function ZV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ez(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tz(e){var t=ez();return function(){var n=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QV(this,o)}}var Yp=function(e){JV(r,e);var t=tz(r);function r(n){XV(this,r);var o,i;o=t.call(this,n),FR(zp(o),"templateList",void 0),FR(zp(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 Lo(s)}))!==null&&a!==void 0?a:[new Lo({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(Te);function jR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 rz(e,t,r){return t&&CR(e.prototype,t),r&&CR(e,r),e}function gc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mc(e)}function oz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hp(e,t)}function iz(e,t){return t&&(uz(t)==="object"||typeof t=="function")?t:jR(e)}function Hp(e,t){return Hp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hp(e,t)}function uz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lz(e){var t=cz();return function(){var n=mc(e),o;if(t){var i=mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iz(this,o)}}var gr=function(e){oz(r,e);var t=lz(r);function r(n){nz(this,r);var o;return o=t.call(this,n),gc(jR(o),"props",void 0),o.props=new Yp(n==null?void 0:n.props),o}return rz(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}(Oe);gc(gr,"slots",["grid-table-toolbar-slot"]),gc(gr,"controlEventKeys",["on_click","on_click_finish"]),gc(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 xR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function az(e,t,r){return t&&VR(e.prototype,t),r&&VR(e,r),e}function sz(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 _z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qp(e,t)}function yz(e,t){return t&&(dz(t)==="object"||typeof t=="function")?t:xR(e)}function qp(e,t){return qp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qp(e,t)}function dz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vz(e){var t=pz();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 yz(this,o)}}var hz=function(e){_z(r,e);var t=vz(r);function r(n){fz(this,r);var o;return o=t.call(this,n),sz(xR(o),"props",void 0),o.props=new Yp(n==null?void 0:n.props),o}return az(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(xe),zR={Designer:gr,Runtime:hz,Property:Yp};function bz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wc(e)}function mz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Up(e,t)}function Oz(e,t){return t&&(wz(t)==="object"||typeof t=="function")?t:bz(e)}function Up(e,t){return Up=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Up(e,t)}function wz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $z(e){var t=Pz();return function(){var n=wc(e),o;if(t){var i=wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Oz(this,o)}}var Wp=function(e){mz(r,e);var t=$z(r);function r(n){gz(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}(Te);function GR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tz(e,t,r){return t&&YR(e.prototype,t),r&&YR(e,r),e}function Pc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$c(e)}function Sz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kp(e,t)}function Ez(e,t){return t&&(Iz(t)==="object"||typeof t=="function")?t:GR(e)}function Kp(e,t){return Kp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kp(e,t)}function Iz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bz(e){var t=Nz();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 Ez(this,o)}}var mr=function(e){Sz(r,e);var t=Bz(r);function r(n){Rz(this,r);var o;return o=t.call(this,n),Pc(GR(o),"props",void 0),o.props=new Wp(n==null?void 0:n.props),o}return Tz(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}(Oe);Pc(mr,"slots",["grid-table-toolbar-slot"]),Pc(mr,"controlEventKeys",["on_click"]),Pc(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 HR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Az(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mz(e,t,r){return t&&qR(e.prototype,t),r&&qR(e,r),e}function kz(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rc(e)}function Dz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xp(e,t)}function Lz(e,t){return t&&(Fz(t)==="object"||typeof t=="function")?t:HR(e)}function Xp(e,t){return Xp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xp(e,t)}function Fz(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 Cz(e){var t=jz();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 Lz(this,o)}}var xz=function(e){Dz(r,e);var t=Cz(r);function r(n){Az(this,r);var o;return o=t.call(this,n),kz(HR(o),"props",void 0),o.props=new Wp(n==null?void 0:n.props),o}return Mz(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(xe),UR={Designer:mr,Runtime:xz,Property:Wp};function Jp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tc(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&&Zp(e,t)}function zz(e,t){return t&&(Gz(t)==="object"||typeof t=="function")?t:Jp(e)}function Zp(e,t){return Zp=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zp(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=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zz(this,o)}}var qz=function e(t){WR(this,e),Qp(this,"dataCode",void 0),this.dataCode=t.dataCode},ev=function(e){Vz(r,e);var t=Hz(r);function r(n){WR(this,r);var o,i;o=t.call(this,n),Qp(Jp(o),"canImportList",void 0),Qp(Jp(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 qz(s)}))!==null&&f!==void 0?f:[];var a;return o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system",o}return r}(Te);function KR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Wz(e,t,r){return t&&XR(e.prototype,t),r&&XR(e,r),e}function Sc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ec(e)}function Kz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tv(e,t)}function Xz(e,t){return t&&(Jz(t)==="object"||typeof t=="function")?t:KR(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tv(e,t)}function Jz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zz(e){var t=Qz();return function(){var n=Ec(e),o;if(t){var i=Ec(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xz(this,o)}}var Or=function(e){Kz(r,e);var t=Zz(r);function r(n){Uz(this,r);var o;return o=t.call(this,n),Sc(KR(o),"props",void 0),o.props=new ev(n==null?void 0:n.props),o}return Wz(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}(Oe);Sc(Or,"slots",["grid-table-toolbar-slot"]),Sc(Or,"controlEventKeys",["on_click","on_click_finish"]),Sc(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 JR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QR(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t7(e,t,r){return t&&QR(e.prototype,t),r&&QR(e,r),e}function n7(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 r7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nv(e,t)}function o7(e,t){return t&&(i7(t)==="object"||typeof t=="function")?t:JR(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nv(e,t)}function i7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c7(e){var t=u7();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 o7(this,o)}}var l7=function(e){r7(r,e);var t=c7(r);function r(n){e7(this,r);var o;return o=t.call(this,n),n7(JR(o),"props",void 0),o.props=new ev(n==null?void 0:n.props),o}return t7(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(xe),ZR={Designer:Or,Runtime:l7,Property:ev};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 eT(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 Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bc(e)}function tT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rv(e,t)}function nT(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 f7(e,t){return t&&(a7(t)==="object"||typeof t=="function")?t:ln(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rv(e,t)}function a7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rT(e){var t=s7();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 f7(this,o)}}var _7=function(e){tT(r,e);var t=rT(r);function r(n){eT(this,r);var o;return o=t.call(this,n),Ct(ln(o),"fillPayload",{type:"object",fields:nT({},Nc())}),Ct(ln(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}}}),Ct(ln(o),"fillBack",{type:"object",fields:nT({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),Ac=function(e){tT(r,e);var t=rT(r);function r(n){eT(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:jo.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:jo.controlIcon;var l;return o.command=(l=n==null?void 0:n.command)!==null&&l!==void 0?l:"create",o.fillPayload=new yd(n==null?void 0:n.fillPayload),o.formBind=new gP(n==null?void 0:n.formBind),o.fillBack=new dd(n==null?void 0:n.fillBack),o}return r}(Te);Ct(Ac,"Rules",_7);function oT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d7(e,t,r){return t&&iT(e.prototype,t),r&&iT(e,r),e}function ov(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mc(e)}function p7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iv(e,t)}function v7(e,t){return t&&(h7(t)==="object"||typeof t=="function")?t:oT(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iv(e,t)}function h7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g7(e){var t=b7();return function(){var n=Mc(e),o;if(t){var i=Mc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v7(this,o)}}var jo=function(e){p7(r,e);var t=g7(r);function r(n){y7(this,r);var o;return o=t.call(this,n),ov(oT(o),"props",void 0),o.props=new Ac(n==null?void 0:n.props),o}return d7(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}(Oe);ov(jo,"controlEventKeys",["on_click","on_click_finish"]),ov(jo,"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 uT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function O7(e,t,r){return t&&cT(e.prototype,t),r&&cT(e,r),e}function w7(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kc(e)}function P7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}function $7(e,t){return t&&(R7(t)==="object"||typeof t=="function")?t:uT(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uv(e,t)}function R7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S7(e){var t=T7();return function(){var n=kc(e),o;if(t){var i=kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $7(this,o)}}var E7=function(e){P7(r,e);var t=S7(r);function r(n){m7(this,r);var o;return o=t.call(this,n),w7(uT(o),"props",void 0),o.props=new Ac(n==null?void 0:n.props),o}return O7(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(xe),lT={Designer:jo,Runtime:E7,Property:Ac};function $t(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 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 Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dc(e)}function aT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}function sT(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){at(e,o,r[o])})}return e}function I7(e,t){return t&&(N7(t)==="object"||typeof t=="function")?t:$t(e)}function cv(e,t){return cv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cv(e,t)}function N7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _T(e){var t=B7();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 I7(this,o)}}var A7=function(e){aT(r,e);var t=_T(r);function r(n){fT(this,r);var o;return o=t.call(this,n),at($t(o),"fillPayload",{type:"object",fields:sT({},Nc())}),at($t(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}),at($t(o),"fillBack",{type:"object",fields:sT({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Nc())}),o}return r}(re),Lc=function(e){aT(r,e);var t=_T(r);function r(n){fT(this,r);var o;o=t.call(this,n),at($t(o),"fillPayload",void 0),at($t(o),"listPageBind",void 0),at($t(o),"disableFilling",void 0),at($t(o),"fillBack",void 0),at($t(o),"showSelectedDetail",void 0),at($t(o),"selectedContentConfig",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,o.fillPayload=new yd(n==null?void 0:n.fillPayload),o.listPageBind=new Zi(n==null?void 0:n.listPageBind),o.fillBack=new dd(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 nu(n==null?void 0:n.selectedContentConfig);var f;return o.disableFilling=(f=n==null?void 0:n.disableFilling)!==null&&f!==void 0?f:!0,o}return r}(Te);at(Lc,"Rules",A7);function yT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 k7(e,t,r){return t&&dT(e.prototype,t),r&&dT(e,r),e}function lv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fc(e){return Fc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fc(e)}function D7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fv(e,t)}function L7(e,t){return t&&(F7(t)==="object"||typeof t=="function")?t:yT(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fv(e,t)}function F7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C7(e){var t=j7();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 L7(this,o)}}var Co=function(e){D7(r,e);var t=C7(r);function r(n){M7(this,r);var o;return o=t.call(this,n),lv(yT(o),"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return k7(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}(Oe);lv(Co,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),lv(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 pT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 V7(e,t,r){return t&&vT(e.prototype,t),r&&vT(e,r),e}function z7(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 G7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function Y7(e,t){return t&&(H7(t)==="object"||typeof t=="function")?t:pT(e)}function av(e,t){return av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},av(e,t)}function H7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U7(e){var t=q7();return function(){var n=jc(e),o;if(t){var i=jc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y7(this,o)}}var W7=function(e){G7(r,e);var t=U7(r);function r(n){x7(this,r);var o;return o=t.call(this,n),z7(pT(o),"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return V7(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(xe),hT={Designer:Co,Runtime:W7,Property:Lc};function K7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cc(e)}function _v(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function X7(e,t){return t&&(J7(t)==="object"||typeof t=="function")?t:K7(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yv(e,t)}function J7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dv(e){var t=Q7();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 X7(this,o)}}var Z7=function(e){_v(r,e);var t=dv(r);function r(n){return sv(this,r),t.call(this,n)}return r}(re),e8=function(e){_v(r,e);var t=dv(r);function r(n){return sv(this,r),t.call(this,n)}return r}(en),xo=function(e){_v(r,e);var t=dv(r);function r(n){return sv(this,r),t.call(this,n)}return r}(J);bT(xo,"Rules",Z7),bT(xo,"RuntimeRules",e8);function gT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n8(e,t,r){return t&&mT(e.prototype,t),r&&mT(e,r),e}function OT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xc(e)}function r8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function o8(e,t){return t&&(i8(t)==="object"||typeof t=="function")?t:gT(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pv(e,t)}function i8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c8(e){var t=u8();return function(){var n=xc(e),o;if(t){var i=xc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return o8(this,o)}}var wT=function(e){r8(r,e);var t=c8(r);function r(n){t8(this,r);var o;return o=t.call(this,n),OT(gT(o),"props",void 0),o.props=new xo(n==null?void 0:n.props),o}return n8(r,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(F);OT(wT,"setting",[]);function PT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l8(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 f8(e,t,r){return t&&$T(e.prototype,t),r&&$T(e,r),e}function a8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vc(e)}function s8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _8(e,t){return t&&(y8(t)==="object"||typeof t=="function")?t:PT(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vv(e,t)}function y8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p8(e){var t=d8();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 _8(this,o)}}var v8=function(e){s8(r,e);var t=p8(r);function r(n){l8(this,r);var o;return o=t.call(this,n),a8(PT(o),"props",void 0),o.props=new xo(n==null?void 0:n.props),o}return f8(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(Q),RT={Designer:wT,Runtime:v8,Property:xo};function tt(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 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 zc(e){return zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zc(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&&hv(e,t)}function h8(e,t){return t&&(b8(t)==="object"||typeof t=="function")?t:tt(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hv(e,t)}function b8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ET(e){var t=g8();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 h8(this,o)}}var m8=function(e){ST(r,e);var t=ET(r);function r(n){TT(this,r);var o;return o=t.call(this,n),nt(tt(o),"dashboardKey",{type:"string",required:!0,message:h.getMessage("pleaseSelectDashboard")}),nt(tt(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),nt(tt(o),"isHideCaption",{type:"boolean"}),nt(tt(o),"labelPosition",{type:"enum",enum:["top","left"]}),nt(tt(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(re),Gc=function(e){ST(r,e);var t=ET(r);function r(n){TT(this,r);var o;o=t.call(this,n),nt(tt(o),"dashboardKey",void 0),nt(tt(o),"caption",void 0),nt(tt(o),"isHideCaption",void 0),nt(tt(o),"isShowCaptionTip",void 0),nt(tt(o),"captionTip",void 0),nt(tt(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);nt(Gc,"Rules",m8);function IT(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 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 w8(e,t,r){return t&&NT(e.prototype,t),r&&NT(e,r),e}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 Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yc(e)}function P8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function $8(e,t){return t&&(R8(t)==="object"||typeof t=="function")?t:IT(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bv(e,t)}function R8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S8(e){var t=T8();return function(){var n=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $8(this,o)}}var AT=function(e){P8(r,e);var t=S8(r);function r(n){O8(this,r);var o;return o=t.call(this,n),BT(IT(o),"props",void 0),o.props=new Gc(n==null?void 0:n.props),o}return w8(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);BT(AT,"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 MT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function I8(e,t,r){return t&&kT(e.prototype,t),r&&kT(e,r),e}function N8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hc(e){return Hc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hc(e)}function B8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 A8(e,t){return t&&(M8(t)==="object"||typeof t=="function")?t:MT(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gv(e,t)}function M8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D8(e){var t=k8();return function(){var n=Hc(e),o;if(t){var i=Hc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A8(this,o)}}var L8=function(e){B8(r,e);var t=D8(r);function r(n){E8(this,r);var o;return o=t.call(this,n),N8(MT(o),"props",void 0),o.props=new Gc(n==null?void 0:n.props),o}return I8(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(Q),DT={Designer:AT,Runtime:L8,Property:Gc};function Vo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 qc(e){return qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qc(e)}function FT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mv(e,t)}function F8(e,t){return t&&(j8(t)==="object"||typeof t=="function")?t:Vo(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mv(e,t)}function j8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jT(e){var t=C8();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 F8(this,o)}}var x8=function(e){FT(r,e);var t=jT(r);function r(n){LT(this,r);var o;return o=t.call(this,n),zo(Vo(o),"showType",{type:"enum",enum:["select","tabs"]}),zo(Vo(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),Uc=function(e){FT(r,e);var t=jT(r);function r(n){LT(this,r);var o,i;o=t.call(this,n),zo(Vo(o),"showType",void 0),zo(Vo(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var l;return o.viewList=(l=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(f){return new FP(f)}))!==null&&l!==void 0?l:[],o}return r}(J);zo(Uc,"Rules",x8);function CT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function z8(e,t,r){return t&&xT(e.prototype,t),r&&xT(e,r),e}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 Wc(e){return Wc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wc(e)}function G8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ov(e,t)}function Y8(e,t){return t&&(H8(t)==="object"||typeof t=="function")?t:CT(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ov(e,t)}function H8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U8(e){var t=q8();return function(){var n=Wc(e),o;if(t){var i=Wc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Y8(this,o)}}var zT=function(e){G8(r,e);var t=U8(r);function r(n){V8(this,r);var o;return o=t.call(this,n),VT(CT(o),"props",void 0),o.props=new Uc(n==null?void 0:n.props),o}return z8(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);VT(zT,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function GT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K8(e,t,r){return t&&YT(e.prototype,t),r&&YT(e,r),e}function X8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kc(e)}function J8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function Q8(e,t){return t&&(Z8(t)==="object"||typeof t=="function")?t:GT(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wv(e,t)}function Z8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t9(e){var t=e9();return function(){var n=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Q8(this,o)}}var n9=function(e){J8(r,e);var t=t9(r);function r(n){W8(this,r);var o;return o=t.call(this,n),X8(GT(o),"props",void 0),o.props=new Uc(n==null?void 0:n.props),o}return K8(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(Q),HT={Designer:zT,Runtime:n9,Property:Uc};function Me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xc(e)}function UT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pv(e,t)}function r9(e,t){return t&&(o9(t)==="object"||typeof t=="function")?t:Me(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pv(e,t)}function o9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WT(e){var t=i9();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 r9(this,o)}}var u9=function(e){UT(r,e);var t=WT(r);function r(n){qT(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),Jc=function(e){UT(r,e);var t=WT(r);function r(n){qT(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 Re(v)}))!==null&&g!==void 0?g:[],o}return r}(Te);ke(Jc,"Rules",u9);function KT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l9(e,t,r){return t&&XT(e.prototype,t),r&&XT(e,r),e}function $v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qc(e)}function f9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rv(e,t)}function a9(e,t){return t&&(s9(t)==="object"||typeof t=="function")?t:KT(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rv(e,t)}function s9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y9(e){var t=_9();return function(){var n=Qc(e),o;if(t){var i=Qc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a9(this,o)}}var wr=function(e){f9(r,e);var t=y9(r);function r(n){c9(this,r);var o;return o=t.call(this,n),$v(KT(o),"props",void 0),o.props=new Jc(n==null?void 0:n.props),o}return l9(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}(Oe);$v(wr,"controlEventKeys",["on_click","on_click_finish"]),$v(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 JT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QT(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p9(e,t,r){return t&&QT(e.prototype,t),r&&QT(e,r),e}function v9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zc(e)}function h9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tv(e,t)}function b9(e,t){return t&&(g9(t)==="object"||typeof t=="function")?t:JT(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tv(e,t)}function g9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O9(e){var t=m9();return function(){var n=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b9(this,o)}}var w9=function(e){h9(r,e);var t=O9(r);function r(n){d9(this,r);var o;return o=t.call(this,n),v9(JT(o),"props",void 0),o.props=new Jc(n==null?void 0:n.props),o}return p9(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(xe),ZT={Designer:wr,Runtime:w9,Property:Jc};function De(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},el(e)}function tS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sv(e,t)}function P9(e,t){return t&&($9(t)==="object"||typeof t=="function")?t:De(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sv(e,t)}function $9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function R9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nS(e){var t=R9();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 P9(this,o)}}var T9=function(e){tS(r,e);var t=nS(r);function r(n){eS(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),tl=function(e){tS(r,e);var t=nS(r);function r(n){eS(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 Re(v)}))!==null&&g!==void 0?g:[],o}return r}(Te);Le(tl,"Rules",T9);function rS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function E9(e,t,r){return t&&oS(e.prototype,t),r&&oS(e,r),e}function Ev(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nl(e)}function I9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iv(e,t)}function N9(e,t){return t&&(B9(t)==="object"||typeof t=="function")?t:rS(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iv(e,t)}function B9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M9(e){var t=A9();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 N9(this,o)}}var Pr=function(e){I9(r,e);var t=M9(r);function r(n){S9(this,r);var o;return o=t.call(this,n),Ev(rS(o),"props",void 0),o.props=new tl(n==null?void 0:n.props),o}return E9(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}(Oe);Ev(Pr,"controlEventKeys",["on_click","on_click_finish"]),Ev(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 iS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D9(e,t,r){return t&&uS(e.prototype,t),r&&uS(e,r),e}function L9(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 F9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nv(e,t)}function j9(e,t){return t&&(C9(t)==="object"||typeof t=="function")?t:iS(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nv(e,t)}function C9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V9(e){var t=x9();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 j9(this,o)}}var z9=function(e){F9(r,e);var t=V9(r);function r(n){k9(this,r);var o;return o=t.call(this,n),L9(iS(o),"props",void 0),o.props=new tl(n==null?void 0:n.props),o}return D9(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(xe),cS={Designer:Pr,Runtime:z9,Property:tl};function ol(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function il(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ul(e)}function fS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bv(e,t)}function G9(e,t){return t&&(Y9(t)==="object"||typeof t=="function")?t:ol(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bv(e,t)}function Y9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aS(e){var t=H9();return function(){var n=ul(e),o;if(t){var i=ul(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G9(this,o)}}var q9=function(e){fS(r,e);var t=aS(r);function r(){lS(this,r);var n;return n=t.apply(this,arguments),il(ol(n),"printTemplates",{type:"array",min:1,required:!0,message:h.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(re),cl=function(e){fS(r,e);var t=aS(r);function r(n){lS(this,r);var o,i;o=t.call(this,n),il(ol(o),"printTemplates",void 0),il(ol(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 Q$(s)}))!==null&&f!==void 0?f:[];var a;return o.autoSelectTemplate=(a=n==null?void 0:n.autoSelectTemplate)!==null&&a!==void 0?a:!1,o}return r}(Te);il(cl,"Rules",q9);function sS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function W9(e,t,r){return t&&_S(e.prototype,t),r&&_S(e,r),e}function ll(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fl(e)}function K9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function X9(e,t){return t&&(J9(t)==="object"||typeof t=="function")?t:sS(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Av(e,t)}function J9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z9(e){var t=Q9();return function(){var n=fl(e),o;if(t){var i=fl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X9(this,o)}}var $r=function(e){K9(r,e);var t=Z9(r);function r(n){U9(this,r);var o;return o=t.call(this,n),ll(sS(o),"props",void 0),o.props=new cl(n==null?void 0:n.props),o}return W9(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}(Oe);ll($r,"slots",["grid-table-toolbar-slot"]),ll($r,"controlEventKeys",["on_click","on_click_finish"]),ll($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 yS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eG(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 tG(e,t,r){return t&&dS(e.prototype,t),r&&dS(e,r),e}function nG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},al(e)}function rG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mv(e,t)}function oG(e,t){return t&&(iG(t)==="object"||typeof t=="function")?t:yS(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mv(e,t)}function iG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cG(e){var t=uG();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 oG(this,o)}}var lG=function(e){rG(r,e);var t=cG(r);function r(n){eG(this,r);var o;return o=t.call(this,n),nG(yS(o),"props",void 0),o.props=new cl(n==null?void 0:n.props),o}return tG(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(xe),pS={Designer:$r,Runtime:lG,Property:cl};function fG(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 sl(e){return sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sl(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&&kv(e,t)}function _G(e,t){return t&&(yG(t)==="object"||typeof t=="function")?t:fG(e)}function kv(e,t){return kv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kv(e,t)}function yG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pG(e){var t=dG();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 _G(this,o)}}var Dv=function(e){sG(r,e);var t=pG(r);function r(n){aG(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}(Te);function vS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hG(e,t,r){return t&&hS(e.prototype,t),r&&hS(e,r),e}function _l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yl(e)}function bG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gG(e,t){return t&&(mG(t)==="object"||typeof t=="function")?t:vS(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lv(e,t)}function mG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wG(e){var t=OG();return function(){var n=yl(e),o;if(t){var i=yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gG(this,o)}}var Rr=function(e){bG(r,e);var t=wG(r);function r(n){vG(this,r);var o;return o=t.call(this,n),_l(vS(o),"props",void 0),o.props=new Dv(n==null?void 0:n.props),o}return hG(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}(Oe);_l(Rr,"slots",["grid-table-toolbar-slot"]),_l(Rr,"controlEventKeys",["on_click"]),_l(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 bS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $G(e,t,r){return t&&gS(e.prototype,t),r&&gS(e,r),e}function RG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function TG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fv(e,t)}function SG(e,t){return t&&(EG(t)==="object"||typeof t=="function")?t:bS(e)}function Fv(e,t){return Fv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fv(e,t)}function EG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NG(e){var t=IG();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 SG(this,o)}}var BG=function(e){TG(r,e);var t=NG(r);function r(n){PG(this,r);var o;return o=t.call(this,n),RG(bS(o),"props",void 0),o.props=new Dv(n==null?void 0:n.props),o}return $G(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(xe),mS={Designer:Rr,Runtime:BG,Property:Dv};function Se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pl(e){return pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pl(e)}function wS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jv(e,t)}function AG(e,t){return t&&(MG(t)==="object"||typeof t=="function")?t:Se(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jv(e,t)}function MG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PS(e){var t=kG();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 AG(this,o)}}var DG=function(e){wS(r,e);var t=PS(r);function r(n){OS(this,r);var o;return o=t.call(this,n),Ee(Se(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),vl=function(e){wS(r,e);var t=PS(r);function r(n){OS(this,r);var o;o=t.call(this,n),Ee(Se(o),"content",void 0),Ee(Se(o),"code",void 0),Ee(Se(o),"command",void 0),Ee(Se(o),"color",void 0),Ee(Se(o),"icon",void 0),Ee(Se(o),"formKey",void 0),Ee(Se(o),"openType",void 0),Ee(Se(o),"needConfirm",void 0),Ee(Se(o),"confirmMessage",void 0),Ee(Se(o),"options",void 0),Ee(Se(o),"defaultState",void 0),Ee(Se(o),"priorityProcess",void 0),Ee(Se(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);Ee(vl,"Rules",DG);function $S(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FG(e,t,r){return t&&RS(e.prototype,t),r&&RS(e,r),e}function Cv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function jG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function CG(e,t){return t&&(xG(t)==="object"||typeof t=="function")?t:$S(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xv(e,t)}function xG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zG(e){var t=VG();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 CG(this,o)}}var bl=function(e){jG(r,e);var t=zG(r);function r(n){LG(this,r);var o;return o=t.call(this,n),Cv($S(o),"props",void 0),o.props=new vl(n==null?void 0:n.props),o}return FG(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);Cv(bl,"controlEventKeys",["on_click"]),Cv(bl,"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 TS(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 SS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YG(e,t,r){return t&&SS(e.prototype,t),r&&SS(e,r),e}function HG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gl(e){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gl(e)}function qG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vv(e,t)}function UG(e,t){return t&&(WG(t)==="object"||typeof t=="function")?t:TS(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vv(e,t)}function WG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XG(e){var t=KG();return function(){var n=gl(e),o;if(t){var i=gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UG(this,o)}}var JG=function(e){qG(r,e);var t=XG(r);function r(n){GG(this,r);var o;return o=t.call(this,n),HG(TS(o),"props",void 0),o.props=new vl(n==null?void 0:n.props),o}return YG(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Q),Go={Designer:bl,Runtime:JG,Property:vl};function xt(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 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 ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(e)}function ZG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zv(e,t)}function eY(e,t){return t&&(tY(t)==="object"||typeof t=="function")?t:xt(e)}function zv(e,t){return zv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zv(e,t)}function tY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rY(e){var t=nY();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 eY(this,o)}}var Gv=function(e){ZG(r,e);var t=rY(r);function r(n){QG(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 ES(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 iY(e,t,r){return t&&IS(e.prototype,t),r&&IS(e,r),e}function Ol(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function uY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}function cY(e,t){return t&&(lY(t)==="object"||typeof t=="function")?t:ES(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yv(e,t)}function lY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aY(e){var t=fY();return function(){var n=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cY(this,o)}}var Tr=function(e){uY(r,e);var t=aY(r);function r(n){oY(this,r);var o;return o=t.call(this,n),Ol(ES(o),"props",void 0),o.props=new Gv(n==null?void 0:n.props),o}return iY(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);Ol(Tr,"slots",["grid-table-toolbar-slot"]),Ol(Tr,"controlEventKeys",["on_click"]),Ol(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 sY(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 _Y(e,t,r){return t&&BS(e.prototype,t),r&&BS(e,r),e}function yY(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pl(e){return Pl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pl(e)}function dY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hv(e,t)}function pY(e,t){return t&&(vY(t)==="object"||typeof t=="function")?t:NS(e)}function Hv(e,t){return Hv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hv(e,t)}function vY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bY(e){var t=hY();return function(){var n=Pl(e),o;if(t){var i=Pl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pY(this,o)}}var gY=function(e){dY(r,e);var t=bY(r);function r(n){sY(this,r);var o;return o=t.call(this,n),yY(NS(o),"props",void 0),o.props=new Gv(n==null?void 0:n.props),o}return _Y(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(Q),AS={Designer:Tr,Runtime:gY,Property:Gv},mY=Object.freeze({__proto__:null,Text:D$,Link:x$,Button:H$,Divider:cR,Title:pR,CreateFormListButton:PR,BatchSubmissionListButton:BR,SubmissionRecordListButton:LR,ExportListButton:zR,ExportRecordListButton:UR,ImportRecordListButton:ZR,FormSelectButton:lT,ListSelectButton:hT,Pagination:RT,Dashboard:DT,ListViewSelect:HT,TextOcrButton:ZT,InvoiceCheckButton:cS,BatchPrintListButton:pS,BatchPrintRecordListButton:mS,OperationButton:Go,BatchDeleteButton:AS});function Rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function st(e,t,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 Uv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wv(e,t)}function OY(e,t){return t&&(wY(t)==="object"||typeof t=="function")?t:Rt(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wv(e,t)}function wY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kv(e){var t=PY();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 OY(this,o)}}var $Y=function(e){Uv(r,e);var t=Kv(r);function r(n){qv(this,r);var o;return o=t.call(this,n),st(Rt(o),"maxLength",{type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),st(Rt(o),"minLength",{type:"number",max:200,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),st(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=Fo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ue),RY=function(e){Uv(r,e);var t=Kv(r);function r(n){qv(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:Fo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(x),Sr=function(e){Uv(r,e);var t=Kv(r);function r(n){qv(this,r);var o;o=t.call(this,n),st(Rt(o),"maxLength",void 0),st(Rt(o),"minLength",void 0),st(Rt(o),"regularRules",void 0),st(Rt(o),"defaultValue",void 0),st(Rt(o),"encrypted",void 0),st(Rt(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new ru(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);st(Sr,"Rules",$Y),st(Sr,"RuntimeRules",RY);function MS(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 kS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SY(e,t,r){return t&&kS(e.prototype,t),r&&kS(e,r),e}function Rl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tl(e)}function EY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xv(e,t)}function IY(e,t){return t&&(NY(t)==="object"||typeof t=="function")?t:MS(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xv(e,t)}function NY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AY(e){var t=BY();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 IY(this,o)}}var Er=function(e){EY(r,e);var t=AY(r);function r(n){TY(this,r);var o;return o=t.call(this,n),Rl(MS(o),"props",void 0),o.props=new Sr(n==null?void 0:n.props),o}return SY(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);Rl(Er,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Rl(Er,"controlFieldType",c.FieldTypes.VARCHAR),Rl(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 DS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kY(e,t,r){return t&&LS(e.prototype,t),r&&LS(e,r),e}function FS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sl(e){return Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sl(e)}function DY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jv(e,t)}function LY(e,t){return t&&(FY(t)==="object"||typeof t=="function")?t:DS(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jv(e,t)}function FY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CY(e){var t=jY();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 LY(this,o)}}var jS=function(e){DY(r,e);var t=CY(r);function r(n){MY(this,r);var o;return o=t.call(this,n),FS(DS(o),"props",void 0),o.props=new Sr(n==null?void 0:n.props),o}return kY(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(k);FS(jS,"controlFieldType",c.FieldTypes.VARCHAR);var CS={Designer:Er,Runtime:jS,Property:Sr};function we(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 El(e){return El=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},El(e)}function Zv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function xY(e,t){return t&&(VY(t)==="object"||typeof t=="function")?t:we(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eh(e,t)}function VY(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 th(e){var t=zY();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 xY(this,o)}}var GY=function(e){Zv(r,e);var t=th(r);function r(n){Qv(this,r);var o;o=t.call(this,n),ye(we(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),YY=function(e){Zv(r,e);var t=th(r);function r(n){Qv(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),Yo=function(e){Zv(r,e);var t=th(r);function r(n){Qv(this,r);var o;o=t.call(this,n),ye(we(o),"checkboxMode",void 0),ye(we(o),"options",void 0),ye(we(o),"optionsOrder",void 0),ye(we(o),"limitMax",void 0),ye(we(o),"limitMin",void 0),ye(we(o),"otherOption",void 0),ye(we(o),"optionConfig",void 0),ye(we(o),"optionsFormat",void 0),ye(we(o),"defaultShowOptions",void 0),ye(we(o),"datasourceBind",void 0),ye(we(o),"multistageFilling",void 0),ye(we(o),"interreaction",void 0),ye(we(o),"defaultValue",void 0),ye(we(o),"openMultistageFilling",void 0);var i;o.options=Ot((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"custom";var f;o.optionsOrder=(f=n==null?void 0:n.optionsOrder)!==null&&f!==void 0?f:!1;var a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!1;var s;o.limitMin=(s=n==null?void 0:n.limitMin)!==null&&s!==void 0?s:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new 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:Ho.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 Re(O))})),o}return r}(A);ye(Yo,"Rules",GY),ye(Yo,"RuntimeRules",YY);function xS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qY(e,t,r){return t&&VS(e.prototype,t),r&&VS(e,r),e}function Il(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e){return Nl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nl(e)}function UY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function WY(e,t){return t&&(KY(t)==="object"||typeof t=="function")?t:xS(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nh(e,t)}function KY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JY(e){var t=XY();return function(){var n=Nl(e),o;if(t){var i=Nl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WY(this,o)}}var Ho=function(e){UY(r,e);var t=JY(r);function r(n){HY(this,r);var o;return o=t.call(this,n),Il(xS(o),"props",void 0),o.props=new Yo(n==null?void 0:n.props),o}return qY(r,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(M);Il(Ho,"controlEventKeys",["on_change","on_click"]),Il(Ho,"controlFieldType",c.FieldTypes.ARRAY),Il(Ho,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 zS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZY(e,t,r){return t&&GS(e.prototype,t),r&&GS(e,r),e}function YS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bl(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&&rh(e,t)}function tH(e,t){return t&&(nH(t)==="object"||typeof t=="function")?t:zS(e)}function rh(e,t){return rh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rh(e,t)}function nH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oH(e){var t=rH();return function(){var n=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tH(this,o)}}var HS=function(e){eH(r,e);var t=oH(r);function r(n){QY(this,r);var o;return o=t.call(this,n),YS(zS(o),"props",void 0),o.props=new Yo(n==null?void 0:n.props),o}return ZY(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(k);YS(HS,"controlFieldType",c.FieldTypes.ARRAY);var qS={Designer:Ho,Runtime:HS,Property:Yo};function Ve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function US(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 Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Al(e)}function WS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oh(e,t)}function iH(e,t){return t&&(uH(t)==="object"||typeof t=="function")?t:Ve(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oh(e,t)}function uH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KS(e){var t=cH();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 iH(this,o)}}var lH=function(e){WS(r,e);var t=KS(r);function r(n){return US(this,r),t.call(this,n)}return r}(Rn),Ml=function(e){WS(r,e);var t=KS(r);function r(n){US(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=Ot((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"custom";var f;o.otherOption=(f=n==null?void 0:n.otherOption)!==null&&f!==void 0?f:!1;var a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!1;var s;o.defaultShowOptions=(s=n==null?void 0:n.defaultShowOptions)!==null&&s!==void 0?s:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new 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;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 Re(m))})),o}return r}(A);ze(Ml,"Rules",lH);function XS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JS(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aH(e,t,r){return t&&JS(e.prototype,t),r&&JS(e,r),e}function kl(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 sH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function _H(e,t){return t&&(yH(t)==="object"||typeof t=="function")?t:XS(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ih(e,t)}function yH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pH(e){var t=dH();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 _H(this,o)}}var qo=function(e){sH(r,e);var t=pH(r);function r(n){fH(this,r);var o;return o=t.call(this,n),kl(XS(o),"props",void 0),o.props=new Ml(n==null?void 0:n.props),o}return aH(r,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(M);kl(qo,"controlEventKeys",["on_change","on_click"]),kl(qo,"controlFieldType",c.FieldTypes.VARCHAR),kl(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:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function QS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vH(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 hH(e,t,r){return t&&ZS(e.prototype,t),r&&ZS(e,r),e}function eE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(e)}function 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&&uh(e,t)}function gH(e,t){return t&&(mH(t)==="object"||typeof t=="function")?t:QS(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uh(e,t)}function mH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wH(e){var t=OH();return function(){var n=Ll(e),o;if(t){var i=Ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gH(this,o)}}var tE=function(e){bH(r,e);var t=wH(r);function r(n){vH(this,r);var o;return o=t.call(this,n),eE(QS(o),"props",void 0),o.props=new Ml(n==null?void 0:n.props),o}return hH(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(k);eE(tE,"controlFieldType",c.FieldTypes.VARCHAR);var nE={Designer:qo,Runtime:tE,Property:Ml};function Ie(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 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 Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fl(e)}function lh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function PH(e,t){return t&&($H(t)==="object"||typeof t=="function")?t:Ie(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fh(e,t)}function $H(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ah(e){var t=RH();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 PH(this,o)}}var TH=function(e){lh(r,e);var t=ah(r);function r(n){ch(this,r);var o;o=t.call(this,n),Pe(Ie(o),"defaultValue",[{type:"number",min:0,max:200,message:h.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),Pe(Ie(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=Fo(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(ue),SH=function(e){lh(r,e);var t=ah(r);function r(n){ch(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:Fo(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(x),Uo=function(e){lh(r,e);var t=ah(r);function r(n){ch(this,r);var o;o=t.call(this,n),Pe(Ie(o),"rangeMin",void 0),Pe(Ie(o),"rangeMax",void 0),Pe(Ie(o),"numberType",void 0),Pe(Ie(o),"percentageFormat",void 0),Pe(Ie(o),"micrometer",void 0),Pe(Ie(o),"precision",void 0),Pe(Ie(o),"showUpperCase",void 0),Pe(Ie(o),"isShowUnit",void 0),Pe(Ie(o),"unitPosition",void 0),Pe(Ie(o),"unit",void 0),Pe(Ie(o),"defaultValue",void 0),Pe(Ie(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:Wo.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 ru(n==null?void 0:n.regularRules),o}return r}(A);Pe(Uo,"Rules",TH),Pe(Uo,"RuntimeRules",SH);function rE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IH(e,t,r){return t&&oE(e.prototype,t),r&&oE(e,r),e}function jl(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Cl=Reflect.get:Cl=function(o,i,u){var l=AH(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Cl(e,t,r||e)}function Ir(e){return Ir=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ir(e)}function NH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sh(e,t)}function BH(e,t){return t&&(MH(t)==="object"||typeof t=="function")?t:rE(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sh(e,t)}function AH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ir(e),e!==null););return e}function MH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DH(e){var t=kH();return function(){var n=Ir(e),o;if(t){var i=Ir(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return BH(this,o)}}var Wo=function(e){NH(r,e);var t=DH(r);function r(n){EH(this,r);var o;return o=t.call(this,n),jl(rE(o),"props",void 0),o.props=new Uo(n==null?void 0:n.props),o}return IH(r,[{key:"toDataBindModel",value:function(o){var i=Cl(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);jl(Wo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),jl(Wo,"controlFieldType",c.FieldTypes.DECIMAL),jl(Wo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 iE(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 uE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FH(e,t,r){return t&&uE(e.prototype,t),r&&uE(e,r),e}function cE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function 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&&_h(e,t)}function CH(e,t){return t&&(xH(t)==="object"||typeof t=="function")?t:iE(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_h(e,t)}function xH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zH(e){var t=VH();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 CH(this,o)}}var lE=function(e){jH(r,e);var t=zH(r);function r(n){LH(this,r);var o;return o=t.call(this,n),cE(iE(o),"props",void 0),o.props=new Uo(n==null?void 0:n.props),o}return FH(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(k);cE(lE,"controlFieldType",c.FieldTypes.DECIMAL);var fE={Designer:Wo,Runtime:lE,Property:Uo};function Vt(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 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 Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(e)}function YH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function HH(e,t){return t&&(qH(t)==="object"||typeof t=="function")?t:Vt(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yh(e,t)}function qH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WH(e){var t=UH();return function(){var n=Vl(e),o;if(t){var i=Vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HH(this,o)}}var dh=function(e){YH(r,e);var t=WH(r);function r(n){GH(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:Gl.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 Uu(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 aE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function XH(e,t,r){return t&&sE(e.prototype,t),r&&sE(e,r),e}function ph(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?zl=Reflect.get:zl=function(o,i,u){var l=ZH(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},zl(e,t,r||e)}function Nr(e){return Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nr(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&&vh(e,t)}function QH(e,t){return t&&(eq(t)==="object"||typeof t=="function")?t:aE(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vh(e,t)}function ZH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Nr(e),e!==null););return e}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=Nr(e),o;if(t){var i=Nr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QH(this,o)}}var Gl=function(e){JH(r,e);var t=nq(r);function r(n){KH(this,r);var o;return o=t.call(this,n),ph(aE(o),"props",void 0),o.props=new dh(n==null?void 0:n.props),o}return XH(r,[{key:"toDataBindModel",value:function(o){var i=zl(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"}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(M);ph(Gl,"controlFieldType",c.FieldTypes.TIMESTAMP),ph(Gl,"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 _E(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 yE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oq(e,t,r){return t&&yE(e.prototype,t),r&&yE(e,r),e}function dE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(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&&hh(e,t)}function uq(e,t){return t&&(cq(t)==="object"||typeof t=="function")?t:_E(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hh(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=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uq(this,o)}}var pE=function(e){iq(r,e);var t=fq(r);function r(n){rq(this,r);var o;return o=t.call(this,n),dE(_E(o),"props",void 0),o.props=new dh(n==null?void 0:n.props),o}return oq(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(k);dE(pE,"controlFieldType",c.FieldTypes.TIMESTAMP);var vE={Designer:Gl,Runtime:pE,Property:dh};function rt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hE(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 Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function bE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bh(e,t)}function aq(e,t){return t&&(sq(t)==="object"||typeof t=="function")?t:rt(e)}function bh(e,t){return bh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bh(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 gE(e){var t=_q();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 aq(this,o)}}var yq=function(e){bE(r,e);var t=gE(r);function r(n){hE(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),ql=function(e){bE(r,e);var t=gE(r);function r(n){hE(this,r);var o,i;o=t.call(this,n),ot(rt(o),"dataBind",void 0),ot(rt(o),"rangeMin",void 0),ot(rt(o),"rangeMax",void 0),ot(rt(o),"placeholderStart",void 0),ot(rt(o),"placeholderEnd",void 0),ot(rt(o),"dateFormat",void 0),ot(rt(o),"commonTimeSetting",void 0),ot(rt(o),"dateType",void 0),ot(rt(o),"setValueType",void 0),ot(rt(o),"defaultValue",void 0),ot(rt(o),"limitDateList",void 0),o.dataBind=new AP(n==null?void 0:n.dataBind),o.defaultValue=new MP(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:c.DateType.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var f;o.commonTimeSetting=(f=n==null?void 0:n.commonTimeSetting)!==null&&f!==void 0?f:[];var a;o.setValueType=(a=n==null?void 0:n.setValueType)!==null&&a!==void 0?a:"custom";var s;o.rangeMin=(s=n==null?void 0:n.rangeMin)!==null&&s!==void 0?s:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var b;o.placeholderEnd=(b=n==null?void 0:n.placeholderEnd)!==null&&b!==void 0?b:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var g;o.caption=(g=n==null?void 0:n.caption)!==null&&g!==void 0?g:Wl.controlName;var v;return o.limitDateList=(v=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(m){return new Uu(m)}))!==null&&v!==void 0?v:[],o}return r}(A);ot(ql,"RuntimeRules",yq);function mE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pq(e,t,r){return t&&OE(e.prototype,t),r&&OE(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 Ul(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ul=Reflect.get:Ul=function(o,i,u){var l=bq(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Ul(e,t,r||e)}function Br(e){return Br=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Br(e)}function vq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mh(e,t)}function hq(e,t){return t&&(gq(t)==="object"||typeof t=="function")?t:mE(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mh(e,t)}function bq(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Br(e),e!==null););return e}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=Br(e),o;if(t){var i=Br(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hq(this,o)}}var Wl=function(e){vq(r,e);var t=Oq(r);function r(n){dq(this,r);var o;return o=t.call(this,n),gh(mE(o),"props",void 0),o.props=new ql(n==null?void 0:n.props),o}return pq(r,[{key:"toDataBindModel",value:function(o){var i=Ul(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\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(M);gh(Wl,"controlFieldType",c.FieldTypes.TIMESCOPE),gh(Wl,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function wE(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 PE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pq(e,t,r){return t&&PE(e.prototype,t),r&&PE(e,r),e}function $E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(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&&Oh(e,t)}function Rq(e,t){return t&&(Tq(t)==="object"||typeof t=="function")?t:wE(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Oh(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=Kl(e),o;if(t){var i=Kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rq(this,o)}}var RE=function(e){$q(r,e);var t=Eq(r);function r(n){wq(this,r);var o;return o=t.call(this,n),$E(wE(o),"props",void 0),o.props=new ql(n==null?void 0:n.props),o}return Pq(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(k);$E(RE,"controlFieldType",c.FieldTypes.TIMESCOPE);var TE={Designer:Wl,Runtime:RE,Property:ql};function sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xl(e)}function Ph(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$h(e,t)}function Iq(e,t){return t&&(Nq(t)==="object"||typeof t=="function")?t:sn(e)}function $h(e,t){return $h=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$h(e,t)}function Nq(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 Rh(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 Iq(this,o)}}var Aq=function(e){Ph(r,e);var t=Rh(r);function r(n){wh(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),Mq=function(e){Ph(r,e);var t=Rh(r);function r(n){wh(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),Ko=function(e){Ph(r,e);var t=Rh(r);function r(n){wh(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:Xo.controlName;var a;return o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u8F93\u5165",o.rowHeightSetting=new cd(n==null?void 0:n.rowHeightSetting),o}return r}(A);zt(Ko,"Rules",Aq),zt(Ko,"RuntimeRules",Mq);function SE(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 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 Dq(e,t,r){return t&&EE(e.prototype,t),r&&EE(e,r),e}function Jl(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 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&&Th(e,t)}function Fq(e,t){return t&&(jq(t)==="object"||typeof t=="function")?t:SE(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Th(e,t)}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=Ql(e),o;if(t){var i=Ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fq(this,o)}}var Xo=function(e){Lq(r,e);var t=xq(r);function r(n){kq(this,r);var o;return o=t.call(this,n),Jl(SE(o),"props",void 0),o.props=new Ko(n==null?void 0:n.props),o}return Dq(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);Jl(Xo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Jl(Xo,"controlFieldType",c.FieldTypes.TEXT),Jl(Xo,"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 IE(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 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 zq(e,t,r){return t&&NE(e.prototype,t),r&&NE(e,r),e}function BE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(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&&Sh(e,t)}function Yq(e,t){return t&&(Hq(t)==="object"||typeof t=="function")?t:IE(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sh(e,t)}function 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=Zl(e),o;if(t){var i=Zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yq(this,o)}}var AE=function(e){Gq(r,e);var t=Uq(r);function r(n){Vq(this,r);var o;return o=t.call(this,n),BE(IE(o),"props",void 0),o.props=new Ko(n==null?void 0:n.props),o}return zq(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(k);BE(AE,"controlFieldType",c.FieldTypes.TEXT);var ME={Designer:Xo,Runtime:AE,Property:Ko};function En(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function Ih(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nh(e,t)}function Wq(e,t){return t&&(Kq(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 Kq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bh(e){var t=Xq();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 Wq(this,o)}}var Jq=function(e){Ih(r,e);var t=Bh(r);function r(n){Eh(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),Qq=function(e){Ih(r,e);var t=Bh(r);function r(n){Eh(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),Jo=function(e){Ih(r,e);var t=Bh(r);function r(n){Eh(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:Qo.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(Jo,"Rules",Jq),_n(Jo,"RuntimeRules",Qq);function kE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zq(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 eU(e,t,r){return t&&DE(e.prototype,t),r&&DE(e,r),e}function tf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nf(e)}function tU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nU(e,t){return t&&(rU(t)==="object"||typeof t=="function")?t:kE(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ah(e,t)}function rU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iU(e){var t=oU();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 nU(this,o)}}var Qo=function(e){tU(r,e);var t=iU(r);function r(n){Zq(this,r);var o;return o=t.call(this,n),tf(kE(o),"props",void 0),o.props=new Jo(n==null?void 0:n.props),o}return eU(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);tf(Qo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),tf(Qo,"controlFieldType",c.FieldTypes.TEXT),tf(Qo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function LE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cU(e,t,r){return t&&FE(e.prototype,t),r&&FE(e,r),e}function jE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function lU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mh(e,t)}function fU(e,t){return t&&(aU(t)==="object"||typeof t=="function")?t:LE(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mh(e,t)}function aU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _U(e){var t=sU();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 fU(this,o)}}var CE=function(e){lU(r,e);var t=_U(r);function r(n){uU(this,r);var o;return o=t.call(this,n),jE(LE(o),"props",void 0),o.props=new Jo(n==null?void 0:n.props),o}return cU(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(k);jE(CE,"controlFieldType",c.FieldTypes.TEXT);var xE={Designer:Qo,Runtime:CE,Property:Jo};function Ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VE(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 of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function zE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yU(e,t){return t&&(dU(t)==="object"||typeof t=="function")?t:Ge(e)}function kh(e,t){return kh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kh(e,t)}function dU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GE(e){var t=pU();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 yU(this,o)}}var vU=function(e){zE(r,e);var t=GE(r);function r(n){VE(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),uf=function(e){zE(r,e);var t=GE(r);function r(n){VE(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=Ot((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"custom",o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:lf.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 Re(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(uf,"Rules",vU);function YE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bU(e,t,r){return t&&HE(e.prototype,t),r&&HE(e,r),e}function Dh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cf(e)}function gU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lh(e,t)}function mU(e,t){return t&&(OU(t)==="object"||typeof t=="function")?t:YE(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lh(e,t)}function OU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PU(e){var t=wU();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 mU(this,o)}}var lf=function(e){gU(r,e);var t=PU(r);function r(n){hU(this,r);var o;return o=t.call(this,n),Dh(YE(o),"props",void 0),o.props=new uf(n==null?void 0:n.props),o}return bU(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);Dh(lf,"controlFieldType",c.FieldTypes.VARCHAR),Dh(lf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 qE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $U(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UE(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RU(e,t,r){return t&&UE(e.prototype,t),r&&UE(e,r),e}function WE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function TU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 SU(e,t){return t&&(EU(t)==="object"||typeof t=="function")?t:qE(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fh(e,t)}function EU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NU(e){var t=IU();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 SU(this,o)}}var KE=function(e){TU(r,e);var t=NU(r);function r(n){$U(this,r);var o;return o=t.call(this,n),WE(qE(o),"props",void 0),o.props=new uf(n==null?void 0:n.props),o}return RU(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(k);WE(KE,"controlFieldType",c.FieldTypes.VARCHAR);var XE={Designer:lf,Runtime:KE,Property:uf};function it(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function Ch(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xh(e,t)}function BU(e,t){return t&&(AU(t)==="object"||typeof t=="function")?t:it(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xh(e,t)}function AU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vh(e){var t=MU();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 kU=function(e){Ch(r,e);var t=Vh(r);function r(n){jh(this,r);var o;return o=t.call(this,n),He(it(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),DU=function(e){Ch(r,e);var t=Vh(r);function r(n){jh(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),Zo=function(e){Ch(r,e);var t=Vh(r);function r(n){jh(this,r);var o;o=t.call(this,n),He(it(o),"options",void 0),He(it(o),"defaultShowOptions",void 0),He(it(o),"optionConfig",void 0),He(it(o),"defaultValue",void 0),He(it(o),"datasourceBind",void 0),He(it(o),"multistageFilling",void 0),He(it(o),"openMultistageFilling",void 0),He(it(o),"viewFormModelType",void 0),He(it(o),"canViewForm",void 0),He(it(o),"formBind",void 0);var i;o.options=Ot((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var l;o.optionConfig=(l=n==null?void 0:n.optionConfig)!==null&&l!==void 0?l:"custom",o.datasourceBind=new oe(n==null?void 0:n.datasourceBind);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:_f.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 Re(g))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new $n(n==null?void 0:n.formBind),o}return r}(A);He(Zo,"Rules",kU),He(Zo,"RuntimeRules",DU);function JE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LU(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 FU(e,t,r){return t&&QE(e.prototype,t),r&&QE(e,r),e}function zh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function jU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gh(e,t)}function CU(e,t){return t&&(xU(t)==="object"||typeof t=="function")?t:JE(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gh(e,t)}function xU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zU(e){var t=VU();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 CU(this,o)}}var _f=function(e){jU(r,e);var t=zU(r);function r(n){LU(this,r);var o;return o=t.call(this,n),zh(JE(o),"props",void 0),o.props=new Zo(n==null?void 0:n.props),o}return FU(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);zh(_f,"controlFieldType",c.FieldTypes.ARRAY),zh(_f,"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 ZE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 YU(e,t,r){return t&&eI(e.prototype,t),r&&eI(e,r),e}function tI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yf(e){return yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yf(e)}function HU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yh(e,t)}function qU(e,t){return t&&(UU(t)==="object"||typeof t=="function")?t:ZE(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yh(e,t)}function UU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KU(e){var t=WU();return function(){var n=yf(e),o;if(t){var i=yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qU(this,o)}}var nI=function(e){HU(r,e);var t=KU(r);function r(n){GU(this,r);var o;return o=t.call(this,n),tI(ZE(o),"props",void 0),o.props=new Zo(n==null?void 0:n.props),o}return YU(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(k);tI(nI,"controlFieldType",c.FieldTypes.ARRAY);var rI={Designer:_f,Runtime:nI,Property:Zo};function Gt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function iI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hh(e,t)}function XU(e,t){return t&&(JU(t)==="object"||typeof t=="function")?t:Gt(e)}function Hh(e,t){return Hh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hh(e,t)}function JU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uI(e){var t=QU();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 XU(this,o)}}var ZU=function(e){iI(r,e);var t=uI(r);function r(n){oI(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),pf=function(e){iI(r,e);var t=uI(r);function r(n){oI(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?_:hf.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 Re(g))})),o}return r}(A);Yt(pf,"RuntimeRules",ZU);function cI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tW(e,t,r){return t&&lI(e.prototype,t),r&&lI(e,r),e}function qh(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 nW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uh(e,t)}function rW(e,t){return t&&(oW(t)==="object"||typeof t=="function")?t:cI(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uh(e,t)}function oW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uW(e){var t=iW();return function(){var n=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rW(this,o)}}var hf=function(e){nW(r,e);var t=uW(r);function r(n){eW(this,r);var o;return o=t.call(this,n),qh(cI(o),"props",void 0),o.props=new pf(n==null?void 0:n.props),o}return tW(r,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(M);qh(hf,"controlFieldType",c.FieldTypes.EMPLOYEES),qh(hf,"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 fI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lW(e,t,r){return t&&aI(e.prototype,t),r&&aI(e,r),e}function sI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(e)}function fW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wh(e,t)}function aW(e,t){return t&&(sW(t)==="object"||typeof t=="function")?t:fI(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wh(e,t)}function sW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _W(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yW(e){var t=_W();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 aW(this,o)}}var _I=function(e){fW(r,e);var t=yW(r);function r(n){cW(this,r);var o;return o=t.call(this,n),sI(fI(o),"props",void 0),o.props=new pf(n==null?void 0:n.props),o}return lW(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(k);sI(_I,"controlFieldType",c.FieldTypes.EMPLOYEES);var yI={Designer:hf,Runtime:_I,Property:pf};function _t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(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&&Jh(e,t)}function dW(e,t){return t&&(pW(t)==="object"||typeof t=="function")?t:_t(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jh(e,t)}function pW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qh(e){var t=vW();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 dW(this,o)}}var hW=10485760,bW=104857600,gW=1048576e3,mW=function(e){Xh(r,e);var t=Qh(r);function r(n){Kh(this,r);var o;return o=t.call(this,n),ut(_t(o),"maxSize",{type:"number",min:0,max:gW,message:h.getMessage("attachmentMaxSize")}),o}return r}(ue),OW=function(e){Xh(r,e);var t=Qh(r);function r(n){Kh(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:h.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(x),Ar=function(e){Xh(r,e);var t=Qh(r);function r(n){Kh(this,r);var o;o=t.call(this,n),ut(_t(o),"defaultValue",void 0),ut(_t(o),"showType",void 0),ut(_t(o),"resultShowType",void 0),ut(_t(o),"attachmentAccept",void 0),ut(_t(o),"maxLimit",void 0),ut(_t(o),"minLimit",void 0),ut(_t(o),"isShowWatermark",void 0),ut(_t(o),"watermarkFx",void 0),ut(_t(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var l;o.resultShowType=(l=n==null?void 0:n.resultShowType)!==null&&l!==void 0?l:"simple";var f;o.attachmentAccept=(f=n==null?void 0:n.attachmentAccept)!==null&&f!==void 0?f:[];var a;o.maxLimit=(a=n==null?void 0:n.maxLimit)!==null&&a!==void 0?a:10;var s;o.minLimit=(s=n==null?void 0:n.minLimit)!==null&&s!==void 0?s:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:bW;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;return o.watermarkFx=(v=n==null?void 0:n.watermarkFx)!==null&&v!==void 0?v:{},o}return r}(A);ut(Ar,"Rules",mW),ut(Ar,"RuntimeRules",OW);function dI(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 PW(e,t,r){return t&&pI(e.prototype,t),r&&pI(e,r),e}function mf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function $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&&Zh(e,t)}function RW(e,t){return t&&(TW(t)==="object"||typeof t=="function")?t:dI(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zh(e,t)}function TW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EW(e){var t=SW();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RW(this,o)}}var Mr=function(e){$W(r,e);var t=EW(r);function r(n){wW(this,r);var o;return o=t.call(this,n),mf(dI(o),"props",void 0),o.props=new Ar(n==null?void 0:n.props),o}return PW(r,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(M);mf(Mr,"controlEventKeys",["on_change"]),mf(Mr,"controlFieldType",c.FieldTypes.FILE),mf(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 vI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 NW(e,t,r){return t&&hI(e.prototype,t),r&&hI(e,r),e}function bI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function BW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eb(e,t)}function AW(e,t){return t&&(MW(t)==="object"||typeof t=="function")?t:vI(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}function MW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof 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 DW(e){var t=kW();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 AW(this,o)}}var tb=function(e){BW(r,e);var t=DW(r);function r(n){IW(this,r);var o;return o=t.call(this,n),bI(vI(o),"props",void 0),o.props=new Ar(n==null?void 0:n.props),o}return NW(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(k);bI(tb,"controlFieldType",c.FieldTypes.FILE);var gI={Designer:Mr,Runtime:tb,Property:Ar};function LW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 jW(e,t,r){return t&&mI(e.prototype,t),r&&mI(e,r),e}function OI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function CW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nb(e,t)}function xW(e,t){return t&&(VW(t)==="object"||typeof t=="function")?t:LW(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}function VW(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 GW(e){var t=zW();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 xW(this,o)}}var rb=function(e){CW(r,e);var t=GW(r);function r(n){FW(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 jW(r,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(Mr);OI(rb,"controlFieldType",c.FieldTypes.IMAGE),OI(rb,"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 YW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qW(e,t,r){return t&&wI(e.prototype,t),r&&wI(e,r),e}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(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&&ob(e,t)}function WW(e,t){return t&&(KW(t)==="object"||typeof t=="function")?t:YW(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function KW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=XW();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 WW(this,o)}}var QW=function(e){UW(r,e);var t=JW(r);function r(n){HW(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 qW(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(tb);function ZW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function tK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ib(e,t)}function nK(e,t){return t&&(rK(t)==="object"||typeof t=="function")?t:ZW(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}function rK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iK(e){var t=oK();return function(){var n=Rf(e),o;if(t){var i=Rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nK(this,o)}}var uK=function(e){tK(r,e);var t=iK(r);function r(n){return eK(this,r),t.call(this,n)}return r}(Ar),PI={Designer:rb,Runtime:QW,Property:uK};function Ne(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 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 Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function cb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lb(e,t)}function cK(e){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 lK(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 fK(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lK(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function aK(e,t){return t&&(sK(t)==="object"||typeof t=="function")?t:Ne(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function sK(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 fb(e){var t=_K();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 aK(this,o)}}var yK=function(e){cb(r,e);var t=fb(r);function r(n){ub(this,r);var o;o=t.call(this,n),de(Ne(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:h.getMessage("pleaseEnterNumberRange")}]}}),de(Ne(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),dK=function(e){cb(r,e);var t=fb(r);function r(n){ub(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:[fK(cK({},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),ei=function(e){cb(r,e);var t=fb(r);function r(n){ub(this,r);var o;o=t.call(this,n),de(Ne(o),"rangeMin",void 0),de(Ne(o),"rangeMax",void 0),de(Ne(o),"showUpperCase",void 0),de(Ne(o),"submitSelectCurrency",void 0),de(Ne(o),"micrometer",void 0),de(Ne(o),"precision",void 0),de(Ne(o),"unitPosition",void 0),de(Ne(o),"optionConfig",void 0),de(Ne(o),"dataBind",void 0),de(Ne(o),"datasourceBind",void 0),de(Ne(o),"defaultValue",void 0),de(Ne(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 tu({value:"name"})]});var _;o.defaultValue=new BP((_=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=Ot(n==null?void 0:n.options);var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:ti.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\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(ei,"Rules",yK),de(ei,"RuntimeRules",dK);function $I(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vK(e,t,r){return t&&RI(e.prototype,t),r&&RI(e,r),e}function Sf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ef(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ef=Reflect.get:Ef=function(o,i,u){var l=gK(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Ef(e,t,r||e)}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function hK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ab(e,t)}function bK(e,t){return t&&(mK(t)==="object"||typeof t=="function")?t:$I(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}function gK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kr(e),e!==null););return e}function mK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wK(e){var t=OK();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 bK(this,o)}}var ti=function(e){hK(r,e);var t=wK(r);function r(n){pK(this,r);var o;return o=t.call(this,n),Sf($I(o),"props",void 0),o.props=new ei(n==null?void 0:n.props),o}return vK(r,[{key:"toDataBindModel",value:function(o){var i=Ef(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);Sf(ti,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Sf(ti,"controlFieldType",c.FieldTypes.MONEY),Sf(ti,"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 TI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $K(e,t,r){return t&&SI(e.prototype,t),r&&SI(e,r),e}function EI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function RK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TK(e,t){return t&&(SK(t)==="object"||typeof t=="function")?t:TI(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function SK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IK(e){var t=EK();return function(){var n=If(e),o;if(t){var i=If(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TK(this,o)}}var II=function(e){RK(r,e);var t=IK(r);function r(n){PK(this,r);var o;return o=t.call(this,n),EI(TI(o),"props",void 0),o.props=new ei(n==null?void 0:n.props),o}return $K(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(k);EI(II,"controlFieldType",c.FieldTypes.MONEY);var NI={Designer:ti,Runtime:II,Property:ei};function yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 yb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&db(e,t)}function NK(e,t){return t&&(BK(t)==="object"||typeof t=="function")?t:yn(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}function BK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pb(e){var t=AK();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 NK(this,o)}}var MK=function(e){yb(r,e);var t=pb(r);function r(n){_b(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),kK=function(e){yb(r,e);var t=pb(r);function r(n){_b(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),ni=function(e){yb(r,e);var t=pb(r);function r(n){_b(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 Wu(p)}))!==null&&a!==void 0?a:Array(o.totalScore).fill(void 0).map(function(){return new Wu});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?_:ri.controlName,o}return r}(A);Ht(ni,"Rules",MK),Ht(ni,"RuntimeRules",kK);function vb(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 DK(e){if(Array.isArray(e))return vb(e)}function BI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FK(e,t,r){return t&&AI(e.prototype,t),r&&AI(e,r),e}function Bf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Af(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Af=Reflect.get:Af=function(o,i,u){var l=zK(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Af(e,t,r||e)}function Dr(e){return Dr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dr(e)}function jK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hb(e,t)}function CK(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xK(){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 VK(e,t){return t&&(YK(t)==="object"||typeof t=="function")?t:BI(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hb(e,t)}function zK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Dr(e),e!==null););return e}function GK(e){return DK(e)||CK(e)||HK(e)||xK()}function YK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HK(e,t){if(!!e){if(typeof e=="string")return vb(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 vb(e,t)}}function qK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UK(e){var t=qK();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 VK(this,o)}}var ri=function(e){jK(r,e);var t=UK(r);function r(n){LK(this,r);var o;return o=t.call(this,n),Bf(BI(o),"props",void 0),o.props=new ni(n==null?void 0:n.props),o}return FK(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 Wu});(u=this.props.explain).push.apply(u,GK(f))}}Af(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);Bf(ri,"controlEventKeys",["on_change","on_click"]),Bf(ri,"controlFieldType",c.FieldTypes.DECIMAL),Bf(ri,"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 MI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KK(e,t,r){return t&&kI(e.prototype,t),r&&kI(e,r),e}function DI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function XK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bb(e,t)}function JK(e,t){return t&&(QK(t)==="object"||typeof t=="function")?t:MI(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function QK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eX(e){var t=ZK();return function(){var n=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JK(this,o)}}var LI=function(e){XK(r,e);var t=eX(r);function r(n){WK(this,r);var o;return o=t.call(this,n),DI(MI(o),"props",void 0),o.props=new ni(n==null?void 0:n.props),o}return KK(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(k);DI(LI,"controlFieldType",c.FieldTypes.DECIMAL);var FI={Designer:ri,Runtime:LI,Property:ni};function kf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Df(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 CI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tX(e,t){return t&&(nX(t)==="object"||typeof t=="function")?t:kf(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(e,t)}function nX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xI(e){var t=rX();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 tX(this,o)}}var oX=function(e){CI(r,e);var t=xI(r);function r(n){jI(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),Ff=function(e){CI(r,e);var t=xI(r);function r(n){jI(this,r);var o;o=t.call(this,n),Df(kf(o),"defaultValueType",void 0),Df(kf(o),"defaultValue",void 0),Df(kf(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Cf.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 kP((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);Df(Ff,"RuntimeRules",oX);function VI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uX(e,t,r){return t&&zI(e.prototype,t),r&&zI(e,r),e}function mb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function cX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ob(e,t)}function lX(e,t){return t&&(fX(t)==="object"||typeof t=="function")?t:VI(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function fX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sX(e){var t=aX();return function(){var n=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lX(this,o)}}var Cf=function(e){cX(r,e);var t=sX(r);function r(n){iX(this,r);var o;return o=t.call(this,n),mb(VI(o),"props",void 0),o.props=new Ff(n==null?void 0:n.props),o}return uX(r,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(M);mb(Cf,"controlFieldType",c.FieldTypes.ADDRESS),mb(Cf,"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 GI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _X(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yX(e,t,r){return t&&YI(e.prototype,t),r&&YI(e,r),e}function HI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function dX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wb(e,t)}function pX(e,t){return t&&(vX(t)==="object"||typeof t=="function")?t:GI(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function vX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bX(e){var t=hX();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pX(this,o)}}var qI=function(e){dX(r,e);var t=bX(r);function r(n){_X(this,r);var o;return o=t.call(this,n),HI(GI(o),"props",void 0),o.props=new Ff(n==null?void 0:n.props),o}return yX(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);HI(qI,"controlFieldType",c.FieldTypes.ADDRESS);var UI={Designer:Cf,Runtime:qI,Property:Ff};function yt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function KI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pb(e,t)}function gX(e,t){return t&&(mX(t)==="object"||typeof t=="function")?t:yt(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(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 XI(e){var t=OX();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 gX(this,o)}}var wX=function(e){KI(r,e);var t=XI(r);function r(n){WI(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),zf=function(e){KI(r,e);var t=XI(r);function r(n){WI(this,r);var o;o=t.call(this,n),dt(yt(o),"showType",void 0),dt(yt(o),"range",void 0),dt(yt(o),"defaultValueType",void 0),dt(yt(o),"multiple",void 0),dt(yt(o),"rangeOptions",void 0),dt(yt(o),"defaultValue",void 0),dt(yt(o),"displayLevel",void 0),dt(yt(o),"showSubDept",void 0),dt(yt(o),"multistageFilling",void 0),dt(yt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var l;o.range=(l=n==null?void 0:n.range)!==null&&l!==void 0?l:"all";var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var 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:oi.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 Re(m))})),o}return r}(A);dt(zf,"RuntimeRules",wX);function JI(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 QI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $X(e,t,r){return t&&QI(e.prototype,t),r&&QI(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}function Yf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Yf=Reflect.get:Yf=function(o,i,u){var l=SX(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Yf(e,t,r||e)}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lr(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&&$b(e,t)}function TX(e,t){return t&&(EX(t)==="object"||typeof t=="function")?t:JI(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}function SX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Lr(e),e!==null););return e}function EX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NX(e){var t=IX();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 TX(this,o)}}var oi=function(e){RX(r,e);var t=NX(r);function r(n){PX(this,r);var o;return o=t.call(this,n),Gf(JI(o),"props",void 0),o.props=new zf(n==null?void 0:n.props),o}return $X(r,[{key:"toDataBindModel",value:function(o){var i=Yf(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);Gf(oi,"controlName","\u90E8\u95E8"),Gf(oi,"controlFieldType",c.FieldTypes.DEPARTMENTS),Gf(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:"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 ZI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AX(e,t,r){return t&&eN(e.prototype,t),r&&eN(e,r),e}function tN(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 MX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rb(e,t)}function kX(e,t){return t&&(DX(t)==="object"||typeof t=="function")?t:ZI(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(e,t)}function DX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FX(e){var t=LX();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 kX(this,o)}}var nN=function(e){MX(r,e);var t=FX(r);function r(n){BX(this,r);var o;return o=t.call(this,n),tN(ZI(o),"props",void 0),o.props=new zf(n==null?void 0:n.props),o}return AX(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(k);tN(nN,"controlFieldType",c.FieldTypes.DEPARTMENTS);var rN={Designer:oi,Runtime:nN,Property:zf};function oN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CX(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 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&&Tb(e,t)}function VX(e,t){return t&&(zX(t)==="object"||typeof t=="function")?t:oN(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(e,t)}function zX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YX(e){var t=GX();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VX(this,o)}}var Sb=function(e){xX(r,e);var t=YX(r);function r(n){jX(this,r);var o;o=t.call(this,n),CX(oN(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:ii.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 iN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qX(e,t,r){return t&&uN(e.prototype,t),r&&uN(e,r),e}function Uf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wf(e)}function UX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eb(e,t)}function WX(e,t){return t&&(KX(t)==="object"||typeof t=="function")?t:iN(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}function KX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JX(e){var t=XX();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 WX(this,o)}}var ii=function(e){UX(r,e);var t=JX(r);function r(n){HX(this,r);var o;return o=t.call(this,n),Uf(iN(o),"props",void 0),o.props=new Sb(n==null?void 0:n.props),o}return qX(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);Uf(ii,"controlEventKeys",["on_change"]),Uf(ii,"controlFieldType",c.FieldTypes.AUTO_NUMBER),Uf(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:"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 cN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ZX(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 Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function eJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ib(e,t)}function tJ(e,t){return t&&(nJ(t)==="object"||typeof t=="function")?t:cN(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}function nJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oJ(e){var t=rJ();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tJ(this,o)}}var aN=function(e){eJ(r,e);var t=oJ(r);function r(n){QX(this,r);var o;return o=t.call(this,n),fN(cN(o),"props",void 0),o.props=new Sb(n==null?void 0:n.props),o}return ZX(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(k);fN(aN,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var sN={Designer:ii,Runtime:aN,Property:Sb};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 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 Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function Bb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ab(e,t)}function iJ(e,t){return t&&(uJ(t)==="object"||typeof t=="function")?t:Tt(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function uJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mb(e){var t=cJ();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 iJ(this,o)}}var lJ=function(e){Bb(r,e);var t=Mb(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),fJ=function(e){Bb(r,e);var t=Mb(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),ui=function(e){Bb(r,e);var t=Mb(r);function r(n){Nb(this,r);var o;o=t.call(this,n),pt(Tt(o),"precision",void 0),pt(Tt(o),"micrometer",void 0),pt(Tt(o),"showUpperCase",void 0),pt(Tt(o),"scriptSrc",void 0),pt(Tt(o),"scriptEcho",void 0),pt(Tt(o),"dataBind",void 0),pt(Tt(o),"defaultValue",void 0),pt(Tt(o),"unitPosition",void 0),pt(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 DP(n==null?void 0:n.dataBind),o.defaultValue=new LP(n==null?void 0:n.defaultValue);var f;o.caption=(f=n==null?void 0:n.caption)!==null&&f!==void 0?f:ci.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);pt(ui,"Rules",lJ),pt(ui,"RuntimeRules",fJ);function _N(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 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 sJ(e,t,r){return t&&yN(e.prototype,t),r&&yN(e,r),e}function Jf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qf(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Qf=Reflect.get:Qf=function(o,i,u){var l=dJ(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Qf(e,t,r||e)}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fr(e)}function _J(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function yJ(e,t){return t&&(pJ(t)==="object"||typeof t=="function")?t:_N(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}function dJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Fr(e),e!==null););return e}function pJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hJ(e){var t=vJ();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 yJ(this,o)}}var ci=function(e){_J(r,e);var t=hJ(r);function r(n){aJ(this,r);var o;return o=t.call(this,n),Jf(_N(o),"props",void 0),o.props=new ui(n==null?void 0:n.props),o}return sJ(r,[{key:"toDataBindModel",value:function(o){var i=Qf(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);Jf(ci,"controlEventKeys",["on_change"]),Jf(ci,"controlFieldType",c.FieldTypes.CALC),Jf(ci,"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 dN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bJ(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 gJ(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 Zf(e){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zf(e)}function mJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Db(e,t)}function OJ(e,t){return t&&(wJ(t)==="object"||typeof t=="function")?t:dN(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function wJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $J(e){var t=PJ();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 OJ(this,o)}}var hN=function(e){mJ(r,e);var t=$J(r);function r(n){bJ(this,r);var o;return o=t.call(this,n),vN(dN(o),"props",void 0),o.props=new ui(n==null?void 0:n.props),o}return gJ(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(k);vN(hN,"controlFieldType",c.FieldTypes.CALC);var bN={Designer:ci,Runtime:hN,Property:ui};function jr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gN(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 ea(e){return ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ea(e)}function mN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lb(e,t)}function RJ(e,t){return t&&(TJ(t)==="object"||typeof t=="function")?t:jr(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}function TJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ON(e){var t=SJ();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 RJ(this,o)}}var EJ=function(e){mN(r,e);var t=ON(r);function r(n){gN(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),ta=function(e){mN(r,e);var t=ON(r);function r(n){gN(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:ra.controlName,o}return r}(A);Cr(ta,"RuntimeRules",EJ);function wN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 NJ(e,t,r){return t&&PN(e.prototype,t),r&&PN(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 na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},na(e)}function BJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jb(e,t)}function AJ(e,t){return t&&(MJ(t)==="object"||typeof t=="function")?t:wN(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function MJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DJ(e){var t=kJ();return function(){var n=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AJ(this,o)}}var ra=function(e){BJ(r,e);var t=DJ(r);function r(n){IJ(this,r);var o;return o=t.call(this,n),Fb(wN(o),"props",void 0),o.props=new ta(n==null?void 0:n.props),o}return NJ(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);Fb(ra,"controlFieldType",c.FieldTypes.DECIMAL_RANGE),Fb(ra,"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 $N(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FJ(e,t,r){return t&&RN(e.prototype,t),r&&RN(e,r),e}function TN(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 jJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cb(e,t)}function CJ(e,t){return t&&(xJ(t)==="object"||typeof t=="function")?t:$N(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(e,t)}function xJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zJ(e){var t=VJ();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 CJ(this,o)}}var SN=function(e){jJ(r,e);var t=zJ(r);function r(n){LJ(this,r);var o;return o=t.call(this,n),TN($N(o),"props",void 0),o.props=new ta(n==null?void 0:n.props),o}return FJ(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(k);TN(SN,"controlFieldType",c.FieldTypes.DECIMAL_RANGE);var EN={Designer:ra,Runtime:SN,Property:ta};function vt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IN(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 ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ia(e)}function NN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GJ(e,t){return t&&(YJ(t)==="object"||typeof t=="function")?t:vt(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}function YJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BN(e){var t=HJ();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 GJ(this,o)}}var qJ=function(e){NN(r,e);var t=BN(r);function r(n){IN(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),ua=function(e){NN(r,e);var t=BN(r);function r(n){IN(this,r);var o,i;o=t.call(this,n),ht(vt(o),"rangeMin",void 0),ht(vt(o),"rangeMax",void 0),ht(vt(o),"placeholderStart",void 0),ht(vt(o),"placeholderEnd",void 0),ht(vt(o),"dateType",void 0),ht(vt(o),"dateFormat",void 0),ht(vt(o),"commonTimeSetting",void 0),ht(vt(o),"setValueType",void 0),ht(vt(o),"defaultValue",void 0),ht(vt(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:la.controlName;var m;return o.limitDateList=(m=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(d){return new Uu(d)}))!==null&&m!==void 0?m:[],o}return r}(A);ht(ua,"RuntimeRules",qJ);function AN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UJ(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 WJ(e,t,r){return t&&MN(e.prototype,t),r&&MN(e,r),e}function Vb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ca(e){return ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ca(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&&zb(e,t)}function XJ(e,t){return t&&(JJ(t)==="object"||typeof t=="function")?t:AN(e)}function zb(e,t){return zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zb(e,t)}function JJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZJ(e){var t=QJ();return function(){var n=ca(e),o;if(t){var i=ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XJ(this,o)}}var la=function(e){KJ(r,e);var t=ZJ(r);function r(n){UJ(this,r);var o;return o=t.call(this,n),Vb(AN(o),"props",void 0),o.props=new ua(n==null?void 0:n.props),o}return WJ(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);Vb(la,"controlFieldType",c.FieldTypes.ARRAY),Vb(la,"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 kN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tQ(e,t,r){return t&&DN(e.prototype,t),r&&DN(e,r),e}function LN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fa(e)}function nQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gb(e,t)}function rQ(e,t){return t&&(oQ(t)==="object"||typeof t=="function")?t:kN(e)}function Gb(e,t){return Gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gb(e,t)}function oQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uQ(e){var t=iQ();return function(){var n=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rQ(this,o)}}var FN=function(e){nQ(r,e);var t=uQ(r);function r(n){eQ(this,r);var o;return o=t.call(this,n),LN(kN(o),"props",void 0),o.props=new ua(n==null?void 0:n.props),o}return tQ(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(k);LN(FN,"controlFieldType",c.FieldTypes.ARRAY);var jN={Designer:la,Runtime:FN,Property:ua};function li(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 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 aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},aa(e)}function Hb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qb(e,t)}function cQ(e,t){return t&&(lQ(t)==="object"||typeof t=="function")?t:li(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}function lQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ub(e){var t=fQ();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 cQ(this,o)}}var aQ=function(e){Hb(r,e);var t=Ub(r);function r(n){Yb(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ue),sQ=function(e){Hb(r,e);var t=Ub(r);function r(n){Yb(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(x),fi=function(e){Hb(r,e);var t=Ub(r);function r(n){Yb(this,r);var o;o=t.call(this,n),xr(li(o),"controlExportName",void 0),xr(li(o),"permissions",void 0),xr(li(o),"defaultValue",void 0),xr(li(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(fi,"Rules",aQ),xr(fi,"RuntimeRules",sQ);function CN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yQ(e,t,r){return t&&xN(e.prototype,t),r&&xN(e,r),e}function ai(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 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&&Wb(e,t)}function pQ(e,t){return t&&(vQ(t)==="object"||typeof t=="function")?t:CN(e)}function Wb(e,t){return Wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wb(e,t)}function vQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bQ(e){var t=hQ();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 pQ(this,o)}}var Vr=function(e){dQ(r,e);var t=bQ(r);function r(n){_Q(this,r);var o;return o=t.call(this,n),ai(CN(o),"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return yQ(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);ai(Vr,"controlFieldType",c.FieldTypes.ANY),ai(Vr,"controlEventKeys",[]),ai(Vr,"slots",["grid-table-toolbar-slot",Hy.DEFAULT]),ai(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 VN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 mQ(e,t,r){return t&&zN(e.prototype,t),r&&zN(e,r),e}function GN(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 OQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kb(e,t)}function wQ(e,t){return t&&(PQ(t)==="object"||typeof t=="function")?t:VN(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}function PQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $Q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RQ(e){var t=$Q();return function(){var n=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wQ(this,o)}}var YN=function(e){OQ(r,e);var t=RQ(r);function r(n){gQ(this,r);var o;return o=t.call(this,n),GN(VN(o),"props",void 0),o.props=new fi(n==null?void 0:n.props),o}return mQ(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(k);GN(YN,"controlFieldType",c.FieldTypes.ANY);var HN={Designer:Vr,Runtime:YN,Property:fi};function Be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ya(e){return ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ya(e)}function UN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TQ(e,t){return t&&(SQ(t)==="object"||typeof t=="function")?t:Be(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}function SQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WN(e){var t=EQ();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 TQ(this,o)}}var IQ=function(e){UN(r,e);var t=WN(r);function r(n){qN(this,r);var o;return o=t.call(this,n),Ae(Be(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")}]}}]),Ae(Be(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),da=function(e){UN(r,e);var t=WN(r);function r(n){qN(this,r);var o;o=t.call(this,n),Ae(Be(o),"options",void 0),Ae(Be(o),"optionConfig",void 0),Ae(Be(o),"defaultValue",void 0),Ae(Be(o),"listPageBind",void 0),Ae(Be(o),"datasourceBind",void 0),Ae(Be(o),"multistageFilling",void 0),Ae(Be(o),"viewFormModelType",void 0),Ae(Be(o),"canViewForm",void 0),Ae(Be(o),"formBind",void 0),Ae(Be(o),"openMultistageFilling",void 0),Ae(Be(o),"showSelectedDetail",void 0),Ae(Be(o),"selectedContentConfig",void 0);var i;o.options=Ot((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new Zi(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:si.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 nu(n==null?void 0:n.selectedContentConfig),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 Re(g))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var b;return o.viewFormModelType=(b=n==null?void 0:n.viewFormModelType)!==null&&b!==void 0?b:"window",o.formBind=new $n(n==null?void 0:n.formBind),o}return r}(A);Ae(da,"Rules",IQ);function KN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BQ(e,t,r){return t&&XN(e.prototype,t),r&&XN(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 va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function AQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jb(e,t)}function MQ(e,t){return t&&(kQ(t)==="object"||typeof t=="function")?t:KN(e)}function Jb(e,t){return Jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jb(e,t)}function kQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LQ(e){var t=DQ();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 MQ(this,o)}}var si=function(e){AQ(r,e);var t=LQ(r);function r(n){NQ(this,r);var o;return o=t.call(this,n),pa(KN(o),"props",void 0),o.props=new da(n==null?void 0:n.props),o}return BQ(r,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(M);pa(si,"controlFieldType",c.FieldTypes.VARCHAR),pa(si,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]),pa(si,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function JN(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 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 jQ(e,t,r){return t&&QN(e.prototype,t),r&&QN(e,r),e}function ZN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ha(e)}function CQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qb(e,t)}function xQ(e,t){return t&&(VQ(t)==="object"||typeof t=="function")?t:JN(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qb(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=ha(e),o;if(t){var i=ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xQ(this,o)}}var eB=function(e){CQ(r,e);var t=GQ(r);function r(n){FQ(this,r);var o;return o=t.call(this,n),ZN(JN(o),"props",void 0),o.props=new da(n==null?void 0:n.props),o}return jQ(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(k);ZN(eB,"controlFieldType",c.FieldTypes.VARCHAR);var tB={Designer:si,Runtime:eB,Property:da};function YQ(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 ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(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&&Zb(e,t)}function UQ(e,t){return t&&(WQ(t)==="object"||typeof t=="function")?t:YQ(e)}function Zb(e,t){return Zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zb(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=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return UQ(this,o)}}var eg=function(e){qQ(r,e);var t=XQ(r);function r(n){return HQ(this,r),t.call(this,n)}return r}(Sr);function nB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QQ(e,t,r){return t&&rB(e.prototype,t),r&&rB(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 ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function ZQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tg(e,t)}function eZ(e,t){return t&&(tZ(t)==="object"||typeof t=="function")?t:nB(e)}function tg(e,t){return tg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tg(e,t)}function tZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rZ(e){var t=nZ();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 eZ(this,o)}}var iB=function(e){ZQ(r,e);var t=rZ(r);function r(n){JQ(this,r);var o;return o=t.call(this,n),oB(nB(o),"props",void 0),o.props=new eg(n==null?void 0:n.props),o}return QQ(r,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),r}(Er);oB(iB,"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 uB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 iZ(e,t,r){return t&&cB(e.prototype,t),r&&cB(e,r),e}function lB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function uZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ng(e,t)}function cZ(e,t){return t&&(lZ(t)==="object"||typeof t=="function")?t:uB(e)}function ng(e,t){return ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ng(e,t)}function lZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aZ(e){var t=fZ();return function(){var n=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cZ(this,o)}}var fB=function(e){uZ(r,e);var t=aZ(r);function r(n){oZ(this,r);var o;return o=t.call(this,n),lB(uB(o),"props",void 0),o.props=new eg(n==null?void 0:n.props),o}return iZ(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(k);lB(fB,"controlFieldType",c.FieldTypes.VARCHAR);var aB={Designer:iB,Runtime:fB,Property:eg};function te(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 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 Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(e)}function og(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ig(e,t)}function sZ(e,t){return t&&(_Z(t)==="object"||typeof t=="function")?t:te(e)}function ig(e,t){return ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ig(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 ug(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 dZ=function(e){og(r,e);var t=ug(r);function r(n){rg(this,r);var o;return o=t.call(this,n),ne(te(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),Bo.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),pZ=function(e){og(r,e);var t=ug(r);function r(n){rg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),_i=function(e){og(r,e);var t=ug(r);function r(n){rg(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 _d((O=n==null?void 0:n.datasourceBind)!==null&&O!==void 0?O:{attributes:dn.controlCustomAttributes});var P;o.filterItemDatasourceBind=new _d((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 Re(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(_i,"Rules",dZ),ne(_i,"RuntimeRules",pZ);function sB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 hZ(e,t,r){return t&&_B(e.prototype,t),r&&_B(e,r),e}function wa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pa(e){return Pa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pa(e)}function 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&&cg(e,t)}function gZ(e,t){return t&&(mZ(t)==="object"||typeof t=="function")?t:sB(e)}function cg(e,t){return cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cg(e,t)}function mZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wZ(e){var t=OZ();return function(){var n=Pa(e),o;if(t){var i=Pa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gZ(this,o)}}var dn=function(e){bZ(r,e);var t=wZ(r);function r(n){vZ(this,r);var o;return o=t.call(this,n),wa(sB(o),"props",void 0),o.props=new _i(n==null?void 0:n.props),o}return hZ(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);wa(dn,"controlEventKeys",["on_change","on_click"]),wa(dn,"controlFieldType",c.FieldTypes.ARRAY),wa(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 yB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 $Z(e,t,r){return t&&dB(e.prototype,t),r&&dB(e,r),e}function pB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $a(e){return $a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$a(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&&lg(e,t)}function TZ(e,t){return t&&(SZ(t)==="object"||typeof t=="function")?t:yB(e)}function lg(e,t){return lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lg(e,t)}function SZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IZ(e){var t=EZ();return function(){var n=$a(e),o;if(t){var i=$a(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TZ(this,o)}}var vB=function(e){RZ(r,e);var t=IZ(r);function r(n){PZ(this,r);var o;return o=t.call(this,n),pB(yB(o),"props",void 0),o.props=new _i(n==null?void 0:n.props),o}return $Z(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(k);pB(vB,"controlFieldType",c.FieldTypes.ARRAY);var hB={Designer:dn,Runtime:vB,Property:_i};function pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function ag(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sg(e,t)}function NZ(e,t){return t&&(BZ(t)==="object"||typeof t=="function")?t:pe(e)}function sg(e,t){return sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sg(e,t)}function BZ(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 _g(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 NZ(this,o)}}var MZ=function(e){ag(r,e);var t=_g(r);function r(n){fg(this,r);var o;return o=t.call(this,n),ve(pe(o),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),ve(pe(o),"externalScope",{type:"any"}),Bo.call(pe(o),n,zr.controlCustomAttributes),n.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:h.getMessage("pleaseAssignExternal")}),o}return r}(ue),kZ=function(e){ag(r,e);var t=_g(r);function r(n){fg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),yi=function(e){ag(r,e);var t=_g(r);function r(n){fg(this,r);var o;o=t.call(this,n),ve(pe(o),"showType",void 0),ve(pe(o),"range",void 0),ve(pe(o),"rangeOptions",void 0),ve(pe(o),"multiple",void 0),ve(pe(o),"defaultValueType",void 0),ve(pe(o),"defaultValue",void 0),ve(pe(o),"multistageFilling",void 0),ve(pe(o),"datasourceBind",void 0),ve(pe(o),"datasourceType",void 0),ve(pe(o),"insideType",void 0),ve(pe(o),"externalType",void 0),ve(pe(o),"externalScope",void 0),ve(pe(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?_:zr.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 To((b=n==null?void 0:n.datasourceBind)!==null&&b!==void 0?b:{attributes:zr.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 Re(P))})),o}return r}(A);ve(yi,"Rules",MZ),ve(yi,"RuntimeRules",kZ);function bB(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 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 LZ(e,t,r){return t&&gB(e.prototype,t),r&&gB(e,r),e}function yg(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 FZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dg(e,t)}function jZ(e,t){return t&&(CZ(t)==="object"||typeof t=="function")?t:bB(e)}function dg(e,t){return dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dg(e,t)}function CZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VZ(e){var t=xZ();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 jZ(this,o)}}var zr=function(e){FZ(r,e);var t=VZ(r);function r(n){DZ(this,r);var o;return o=t.call(this,n),yg(bB(o),"props",void 0),o.props=new yi(n==null?void 0:n.props),o}return LZ(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);yg(zr,"controlFieldType",c.FieldTypes.EMPLOYEES),yg(zr,"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 mB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function GZ(e,t,r){return t&&OB(e.prototype,t),r&&OB(e,r),e}function wB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e){return Sa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sa(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&&pg(e,t)}function HZ(e,t){return t&&(qZ(t)==="object"||typeof t=="function")?t:mB(e)}function pg(e,t){return pg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pg(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=Sa(e),o;if(t){var i=Sa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HZ(this,o)}}var PB=function(e){YZ(r,e);var t=WZ(r);function r(n){zZ(this,r);var o;return o=t.call(this,n),wB(mB(o),"props",void 0),o.props=new yi(n==null?void 0:n.props),o}return GZ(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(k);wB(PB,"controlFieldType",c.FieldTypes.EMPLOYEES);var $B={Designer:zr,Runtime:PB,Property:yi};function St(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(e)}function TB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vg(e,t)}function KZ(e,t){return t&&(XZ(t)==="object"||typeof t=="function")?t:St(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 SB(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 QZ=function(e){TB(r,e);var t=SB(r);function r(n){RB(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),Ia=function(e){TB(r,e);var t=SB(r);function r(n){RB(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:di.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u53D1\u8D77\u7B7E\u7F72";var l;o.buttonType=(l=n==null?void 0:n.buttonType)!==null&&l!==void 0?l:"primary";var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"text";var a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"primary";var s;return o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:"iconfenlei2",o.signatureConfig=new q$(n==null?void 0:n.signatureConfig),o}return r}(A);Et(Ia,"Rules",QZ);function EB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eee(e,t,r){return t&&IB(e.prototype,t),r&&IB(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 Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(e)}function tee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nee(e,t){return t&&(ree(t)==="object"||typeof t=="function")?t:EB(e)}function hg(e,t){return hg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hg(e,t)}function ree(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iee(e){var t=oee();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 nee(this,o)}}var di=function(e){tee(r,e);var t=iee(r);function r(n){ZZ(this,r);var o;return o=t.call(this,n),Na(EB(o),"props",void 0),o.props=new Ia(n==null?void 0:n.props),o}return eee(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(di,"controlEventKeys",["on_click","on_click_finish"]),Na(di,"controlFieldType",c.FieldTypes.VARCHAR),Na(di,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}]);function NB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cee(e,t,r){return t&&BB(e.prototype,t),r&&BB(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 Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function lee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bg(e,t)}function fee(e,t){return t&&(aee(t)==="object"||typeof t=="function")?t:NB(e)}function bg(e,t){return bg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bg(e,t)}function aee(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 _ee(e){var t=see();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 fee(this,o)}}var MB=function(e){lee(r,e);var t=_ee(r);function r(n){uee(this,r);var o;return o=t.call(this,n),AB(NB(o),"props",void 0),o.props=new Ia(n==null?void 0:n.props),o}return cee(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(k);AB(MB,"controlFieldType",c.FieldTypes.VARCHAR);var kB={Designer:di,Runtime:MB,Property:Ia};function $e(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 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 Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ma(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&&Og(e,t)}function yee(e,t){return t&&(dee(t)==="object"||typeof t=="function")?t:$e(e)}function Og(e,t){return Og=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Og(e,t)}function dee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function 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 wg(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 vee=function(e){mg(r,e);var t=wg(r);function r(n){gg(this,r);var o;return o=t.call(this,n),he($e(o),"content",{type:"string",required:!0,message:h.getMessage("pleaseEnterButtonContent")}),he($e(o),"canAdd",void 0),he($e(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),hee=function(e){mg(r,e);var t=wg(r);function r(n){gg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),pi=function(e){mg(r,e);var t=wg(r);function r(n){gg(this,r);var o;o=t.call(this,n),he($e(o),"content",void 0),he($e(o),"canAdd",void 0),he($e(o),"addLocal",void 0),he($e(o),"addOnline",void 0),he($e(o),"canDownload",void 0),he($e(o),"canEdit",void 0),he($e(o),"canExport",void 0),he($e(o),"canDelete",void 0),he($e(o),"wpsSetting",void 0),he($e(o),"maxSize",void 0),he($e(o),"defaultValue",void 0),he($e(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:vi.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:hW;var v;o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:[],o.wpsSetting=new U$(n==null?void 0:n.wpsSetting);var m;return o.revisionsMode=(m=n==null?void 0:n.revisionsMode)!==null&&m!==void 0?m:!1,o}return r}(A);he(pi,"Rules",vee),he(pi,"RuntimeRules",hee);function DB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bee(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 gee(e,t,r){return t&&LB(e.prototype,t),r&&LB(e,r),e}function ka(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 mee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pg(e,t)}function Oee(e,t){return t&&(wee(t)==="object"||typeof t=="function")?t:DB(e)}function Pg(e,t){return Pg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pg(e,t)}function wee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ee(e){var t=Pee();return function(){var n=Da(e),o;if(t){var i=Da(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Oee(this,o)}}var vi=function(e){mee(r,e);var t=$ee(r);function r(n){bee(this,r);var o;return o=t.call(this,n),ka(DB(o),"props",void 0),o.props=new pi(n==null?void 0:n.props),o}return gee(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);ka(vi,"controlEventKeys",["on_change","on_wps_open"]),ka(vi,"controlFieldType",c.FieldTypes.FILE),ka(vi,"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 FB(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 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 Tee(e,t,r){return t&&jB(e.prototype,t),r&&jB(e,r),e}function CB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function See(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$g(e,t)}function Eee(e,t){return t&&(Iee(t)==="object"||typeof t=="function")?t:FB(e)}function $g(e,t){return $g=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$g(e,t)}function Iee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bee(e){var t=Nee();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 Eee(this,o)}}var xB=function(e){See(r,e);var t=Bee(r);function r(n){Ree(this,r);var o;return o=t.call(this,n),CB(FB(o),"props",void 0),o.props=new pi(n==null?void 0:n.props),o}return Tee(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(k);CB(xB,"controlFieldType",c.FieldTypes.FILE);var VB={Designer:vi,Runtime:xB,Property:pi};function ae(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 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 Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(e)}function Tg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sg(e,t)}function Aee(e,t){return t&&(Mee(t)==="object"||typeof t=="function")?t:ae(e)}function Sg(e,t){return Sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sg(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 Eg(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 Dee=function(e){Tg(r,e);var t=Eg(r);function r(n){Rg(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"}),Bo.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),Lee=function(e){Tg(r,e);var t=Eg(r);function r(n){Rg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),hi=function(e){Tg(r,e);var t=Eg(r);function r(n){Rg(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 To((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 Re(w))})),o}return r}(A);se(hi,"Rules",Dee),se(hi,"RuntimeRules",Lee);function zB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 jee(e,t,r){return t&&GB(e.prototype,t),r&&GB(e,r),e}function ja(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ca(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ca=Reflect.get:Ca=function(o,i,u){var l=Vee(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Ca(e,t,r||e)}function Gr(e){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gr(e)}function Cee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ig(e,t)}function xee(e,t){return t&&(zee(t)==="object"||typeof t=="function")?t:zB(e)}function Ig(e,t){return Ig=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ig(e,t)}function Vee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gr(e),e!==null););return e}function zee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yee(e){var t=Gee();return function(){var n=Gr(e),o;if(t){var i=Gr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xee(this,o)}}var In=function(e){Cee(r,e);var t=Yee(r);function r(n){Fee(this,r);var o;return o=t.call(this,n),ja(zB(o),"props",void 0),o.props=new hi(n==null?void 0:n.props),o}return jee(r,[{key:"toDataBindModel",value:function(o){var i=Ca(Gr(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);ja(In,"controlName","\u90E8\u95E8"),ja(In,"controlFieldType",c.FieldTypes.DEPARTMENTS),ja(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 YB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qee(e,t,r){return t&&HB(e.prototype,t),r&&HB(e,r),e}function qB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xa(e)}function Uee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ng(e,t)}function Wee(e,t){return t&&(Kee(t)==="object"||typeof t=="function")?t:YB(e)}function Ng(e,t){return Ng=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ng(e,t)}function Kee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jee(e){var t=Xee();return function(){var n=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wee(this,o)}}var UB=function(e){Uee(r,e);var t=Jee(r);function r(n){Hee(this,r);var o;return o=t.call(this,n),qB(YB(o),"props",void 0),o.props=new hi(n==null?void 0:n.props),o}return qee(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(k);qB(UB,"controlFieldType",c.FieldTypes.DEPARTMENTS);var WB={Designer:In,Runtime:UB,Property:hi};function U(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function Ag(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mg(e,t)}function Qee(e,t){return t&&(Zee(t)==="object"||typeof t=="function")?t:U(e)}function Mg(e,t){return Mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mg(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 kg(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 tte=function(e){Ag(r,e);var t=kg(r);function r(n){Bg(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"}),Bo.call(U(o),n,Nn.controlCustomAttributes),n.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")}),o}return r}(ue),nte=function(e){Ag(r,e);var t=kg(r);function r(n){Bg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(x),bi=function(e){Ag(r,e);var t=kg(r);function r(n){Bg(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 Zi(n==null?void 0:n.listPageBind);var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var a;o.rangeOptions=(a=n==null?void 0:n.rangeOptions)!==null&&a!==void 0?a:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var p;o.showSubDept=(p=n==null?void 0:n.showSubDept)!==null&&p!==void 0?p:!0;var b;o.caption=(b=n==null?void 0:n.caption)!==null&&b!==void 0?b:Nn.controlName;var g;o.placeholder=(g=n==null?void 0:n.placeholder)!==null&&g!==void 0?g:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var v;o.datasourceBind=new SP((v=n==null?void 0:n.datasourceBind)!==null&&v!==void 0?v:{attributes:Nn.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 nu(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 Re(E))})),o}return r}(A);W(bi,"Rules",tte),W(bi,"RuntimeRules",nte);function KB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ote(e,t,r){return t&&XB(e.prototype,t),r&&XB(e,r),e}function za(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ga=Reflect.get:Ga=function(o,i,u){var l=cte(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Ga(e,t,r||e)}function Yr(e){return Yr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yr(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&&Dg(e,t)}function ute(e,t){return t&&(lte(t)==="object"||typeof t=="function")?t:KB(e)}function Dg(e,t){return Dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dg(e,t)}function cte(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yr(e),e!==null););return e}function lte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ate(e){var t=fte();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 ute(this,o)}}var Nn=function(e){ite(r,e);var t=ate(r);function r(n){rte(this,r);var o;return o=t.call(this,n),za(KB(o),"props",void 0),o.props=new bi(n==null?void 0:n.props),o}return ote(r,[{key:"toDataBindModel",value:function(o){var i=Ga(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"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(M);za(Nn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),za(Nn,"controlFieldType",c.FieldTypes.DEPARTMENTS),za(Nn,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function JB(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 QB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _te(e,t,r){return t&&QB(e.prototype,t),r&&QB(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 Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function yte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lg(e,t)}function dte(e,t){return t&&(pte(t)==="object"||typeof t=="function")?t:JB(e)}function Lg(e,t){return Lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lg(e,t)}function pte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hte(e){var t=vte();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 dte(this,o)}}var e3=function(e){yte(r,e);var t=hte(r);function r(n){ste(this,r);var o;return o=t.call(this,n),ZB(JB(o),"props",void 0),o.props=new bi(n==null?void 0:n.props),o}return _te(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(k);ZB(e3,"controlFieldType",c.FieldTypes.DEPARTMENTS);var t3={Designer:Nn,Runtime:e3,Property:bi};function gi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(e)}function jg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cg(e,t)}function bte(e,t){return t&&(gte(t)==="object"||typeof t=="function")?t:gi(e)}function Cg(e,t){return Cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cg(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 xg(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 Ote=function(e){jg(r,e);var t=xg(r);function r(n){Fg(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(ue),wte=function(e){jg(r,e);var t=xg(r);function r(n){Fg(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(x),mi=function(e){jg(r,e);var t=xg(r);function r(n){Fg(this,r);var o;o=t.call(this,n),Hr(gi(o),"controlExportName",void 0),Hr(gi(o),"permissions",void 0),Hr(gi(o),"defaultValue",void 0),Hr(gi(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Oi.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);Hr(mi,"Rules",Ote),Hr(mi,"RuntimeRules",wte);function n3(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 r3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $te(e,t,r){return t&&r3(e.prototype,t),r&&r3(e,r),e}function qa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(e)}function Rte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tte(e,t){return t&&(Ste(t)==="object"||typeof t=="function")?t:n3(e)}function Vg(e,t){return Vg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vg(e,t)}function Ste(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 Ite(e){var t=Ete();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 Tte(this,o)}}var Oi=function(e){Rte(r,e);var t=Ite(r);function r(n){Pte(this,r);var o;return o=t.call(this,n),qa(n3(o),"props",void 0),o.props=new mi(n==null?void 0:n.props),o}return $te(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);qa(Oi,"controlFieldType",c.FieldTypes.ANY),qa(Oi,"controlEventKeys",[]),qa(Oi,"setting",[]);function o3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bte(e,t,r){return t&&i3(e.prototype,t),r&&i3(e,r),e}function u3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(e)}function Ate(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zg(e,t)}function Mte(e,t){return t&&(kte(t)==="object"||typeof t=="function")?t:o3(e)}function zg(e,t){return zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zg(e,t)}function kte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lte(e){var t=Dte();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 Mte(this,o)}}var c3=function(e){Ate(r,e);var t=Lte(r);function r(n){Nte(this,r);var o;return o=t.call(this,n),u3(o3(o),"props",void 0),o.props=new mi(n==null?void 0:n.props),o}return Bte(r,null,[{key:"controlType",get:function(){return c.CONTROL_TYPE.VUE_PAGE}}]),r}(k);u3(c3,"controlFieldType",c.FieldTypes.ANY);var l3={Designer:Oi,Runtime:c3,Property:mi},Fte=Object.freeze({__proto__:null,Input:CS,Checkbox:qS,Radio:nE,Number:fE,DatePicker:vE,DateRange:TE,Textarea:ME,RichText:xE,Select:XE,SelectMultiple:rI,Employee:yI,Image:PI,Attachment:gI,Amount:NI,Score:FI,Address:UI,Department:rN,AutoNumber:sN,Calc:bN,SearchNumberRange:EN,SearchDateRange:jN,VueFormItem:HN,SelectRelation:tB,SearchInput:aB,Tree:hB,Employee2:$B,ElectronicSignature:kB,WPS:VB,Department2:WB,OrganizationSelection:t3,VuePage:l3});function jte(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 f3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xte(e,t,r){return t&&f3(e.prototype,t),r&&f3(e,r),e}function Vte(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 zte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gg(e,t)}function Gte(e,t){return t&&(Yte(t)==="object"||typeof t=="function")?t:jte(e)}function Gg(e,t){return Gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gg(e,t)}function Yte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qte(e){var t=Hte();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 Gte(this,o)}}var a3=function(e){zte(r,e);var t=qte(r);function r(n){return Cte(this,r),t.call(this,n)}return xte(r,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(q);Vte(a3,"excludes",[c.CONTROL_TYPE.GRID]);function Ute(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wte(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 Kte(e,t,r){return t&&s3(e.prototype,t),r&&s3(e,r),e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xa(e)}function Xte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Jte(e,t){return t&&(Qte(t)==="object"||typeof t=="function")?t:Ute(e)}function Yg(e,t){return Yg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yg(e,t)}function Qte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ene(e){var t=Zte();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 Jte(this,o)}}var tne=function(e){Xte(r,e);var t=ene(r);function r(n){return Wte(this,r),t.call(this,n)}return Kte(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(Z),_3={Designer:a3,Runtime:tne,Property:z};function Hg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(e)}function rne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qg(e,t)}function one(e,t){return t&&(ine(t)==="object"||typeof t=="function")?t:Hg(e)}function qg(e,t){return qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qg(e,t)}function ine(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 cne(e){var t=une();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 one(this,o)}}var lne=24,Bn=function(e){rne(r,e);var t=cne(r);function r(n){nne(this,r);var o;o=t.call(this,n),y3(Hg(o),"span",void 0),y3(Hg(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:lne;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(z);function d3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fne(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 ane(e,t,r){return t&&p3(e.prototype,t),r&&p3(e,r),e}function Ug(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(e)}function sne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wg(e,t)}function _ne(e,t){return t&&(yne(t)==="object"||typeof t=="function")?t:d3(e)}function Wg(e,t){return Wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wg(e,t)}function yne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pne(e){var t=dne();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 _ne(this,o)}}var wi=function(e){sne(r,e);var t=pne(r);function r(n){fne(this,r);var o;return o=t.call(this,n),Ug(d3(o),"props",void 0),o.props=new Bn(n==null?void 0:n.props),o}return ane(r,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(q);Ug(wi,"excludes",[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.DIVIDER]),Ug(wi,"childrenMaxLength",1);function v3(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 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 hne(e,t,r){return t&&h3(e.prototype,t),r&&h3(e,r),e}function bne(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 gne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kg(e,t)}function mne(e,t){return t&&(One(t)==="object"||typeof t=="function")?t:v3(e)}function Kg(e,t){return Kg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kg(e,t)}function One(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pne(e){var t=wne();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 mne(this,o)}}var Xg=function(e){gne(r,e);var t=Pne(r);function r(n){vne(this,r);var o;return o=t.call(this,n),bne(v3(o),"props",void 0),o.props=new Bn(n==null?void 0:n.props),o}return hne(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Z),es={Designer:wi,Runtime:Xg,Property:Bn};function Jg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b3(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 Rne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qg(e,t)}function Tne(e,t){return t&&(Sne(t)==="object"||typeof t=="function")?t:Jg(e)}function Qg(e,t){return Qg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qg(e,t)}function Sne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ene(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ine(e){var t=Ene();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 Tne(this,o)}}var ns=function(e){Rne(r,e);var t=Ine(r);function r(n){$ne(this,r);var o;o=t.call(this,n),b3(Jg(o),"layoutMode",void 0),b3(Jg(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 g3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bne(e,t,r){return t&&m3(e.prototype,t),r&&m3(e,r),e}function Zg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rs(e)}function Ane(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e0(e,t)}function Mne(e,t){return t&&(kne(t)==="object"||typeof t=="function")?t:g3(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e0(e,t)}function kne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lne(e){var t=Dne();return function(){var n=rs(e),o;if(t){var i=rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mne(this,o)}}var os=function(e){Ane(r,e);var t=Lne(r);function r(n){Nne(this,r);var o;return o=t.call(this,n),Zg(g3(o),"props",void 0),o.props=new ns(n==null?void 0:n.props),o}return Bne(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);Zg(os,"excludes",[c.CONTROL_TYPE.ROW]),Zg(os,"setting",[{key:"col-setting",visible:!0}]);function O3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w3(e,t){for(var r=0;r<t.length;r++){var 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&&w3(e.prototype,t),r&&w3(e,r),e}function Cne(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 xne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t0(e,t)}function Vne(e,t){return t&&(zne(t)==="object"||typeof t=="function")?t:O3(e)}function t0(e,t){return t0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t0(e,t)}function zne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yne(e){var t=Gne();return function(){var n=is(e),o;if(t){var i=is(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vne(this,o)}}var P3=function(e){xne(r,e);var t=Yne(r);function r(n){Fne(this,r);var o;return o=t.call(this,n),Cne(O3(o),"props",void 0),o.props=new ns(n==null?void 0:n.props),o}return jne(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Z),$3={Designer:os,Runtime:P3,Property:ns};function Hne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Une(e,t,r){return t&&R3(e.prototype,t),r&&R3(e,r),e}function n0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},us(e)}function Wne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r0(e,t)}function Kne(e,t){return t&&(Xne(t)==="object"||typeof t=="function")?t:Hne(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r0(e,t)}function Xne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qne(e){var t=Jne();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 Kne(this,o)}}var Zne=4,cs=function(e){Wne(r,e);var t=Qne(r);function r(n){return qne(this,r),t.call(this,n)}return Une(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}(os);n0(cs,"excludes",[c.CONTROL_TYPE.GRID_ROW]),n0(cs,"setting",[]),n0(cs,"childrenMaxLength",Zne);function ere(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 nre(e,t,r){return t&&T3(e.prototype,t),r&&T3(e,r),e}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ls(e)}function rre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ore(e,t){return t&&(ire(t)==="object"||typeof t=="function")?t:ere(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o0(e,t)}function ire(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ure(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cre(e){var t=ure();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 ore(this,o)}}var lre=function(e){rre(r,e);var t=cre(r);function r(n){return tre(this,r),t.call(this,n)}return nre(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(P3);function fre(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 fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fs(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&&i0(e,t)}function _re(e,t){return t&&(yre(t)==="object"||typeof t=="function")?t:fre(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function yre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pre(e){var t=dre();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 _re(this,o)}}var vre=function(e){sre(r,e);var t=pre(r);function r(n){return are(this,r),t.call(this,n)}return r}(ns),u0={Designer:cs,Runtime:lre,Property:vre};function Pi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S3(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 as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},as(e)}function E3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c0(e,t)}function hre(e,t){return t&&(bre(t)==="object"||typeof t=="function")?t:Pi(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c0(e,t)}function bre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I3(e){var t=gre();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 hre(this,o)}}var mre=function(e){E3(r,e);var t=I3(r);function r(){S3(this,r);var n;return n=t.apply(this,arguments),$i(Pi(n),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),n}return r}(z.Rules),ss=function(e){E3(r,e);var t=I3(r);function r(n){S3(this,r);var o;o=t.call(this,n),$i(Pi(o),"caption",void 0),$i(Pi(o),"isHideCaption",void 0),$i(Pi(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);$i(ss,"Rules",mre);function N3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ore(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 wre(e,t,r){return t&&B3(e.prototype,t),r&&B3(e,r),e}function l0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_s(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&&f0(e,t)}function $re(e,t){return t&&(Rre(t)==="object"||typeof t=="function")?t:N3(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}function Rre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sre(e){var t=Tre();return function(){var n=_s(e),o;if(t){var i=_s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $re(this,o)}}var a0=function(e){Pre(r,e);var t=Sre(r);function r(n){Ore(this,r);var o;return o=t.call(this,n),l0(N3(o),"props",void 0),o.props=new ss(n==null?void 0:n.props),o}return wre(r,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(q);l0(a0,"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}]),l0(a0,"excludes",[c.CONTROL_TYPE.CARD_GROUP]);function A3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ere(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ire(e,t,r){return t&&M3(e.prototype,t),r&&M3(e,r),e}function Nre(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 Bre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s0(e,t)}function Are(e,t){return t&&(Mre(t)==="object"||typeof t=="function")?t:A3(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s0(e,t)}function Mre(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 Dre(e){var t=kre();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 Are(this,o)}}var Lre=function(e){Bre(r,e);var t=Dre(r);function r(n){Ere(this,r);var o;return o=t.call(this,n),Nre(A3(o),"props",void 0),o.props=new ss(n==null?void 0:n.props),o}return Ire(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(Z),k3={Designer:a0,Runtime:Lre,Property:ss};function It(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D3(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 ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function L3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fre(e,t){return t&&(jre(t)==="object"||typeof t=="function")?t:It(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_0(e,t)}function jre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F3(e){var t=Cre();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 Fre(this,o)}}var xre=function(e){L3(r,e);var t=F3(r);function r(n){D3(this,r);var o;return o=t.call(this,n),Nt(It(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Nt(It(o),"width",{type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")}),Nt(It(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(re),ps=function(e){L3(r,e);var t=F3(r);function r(n){D3(this,r);var o;o=t.call(this,n),Nt(It(o),"metaAutoWidth",void 0),Nt(It(o),"caption",void 0),Nt(It(o),"fixed",void 0),Nt(It(o),"isShowCaptionTip",void 0),Nt(It(o),"captionTip",void 0),Nt(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 ld(n==null?void 0:n.metaAutoWidth),o}return r}(z);Nt(ps,"Rules",xre);function j3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 vs(e){return vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vs(e)}function zre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y0(e,t)}function Gre(e,t){return t&&(Yre(t)==="object"||typeof t=="function")?t:j3(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}function Yre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qre(e){var t=Hre();return function(){var n=vs(e),o;if(t){var i=vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gre(this,o)}}var bt=function(e){zre(r,e);var t=qre(r);function r(n){Vre(this,r);var o;return o=t.call(this,n),An(j3(o),"props",void 0),o.props=new ps(n==null?void 0:n.props),o}return r}(q);An(bt,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),An(bt,"controlType","subtable-column"),An(bt,"controlIcon","subtable-column"),An(bt,"childrenMaxLength",1),An(bt,"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(bt,"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 C3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ure(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function Wre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d0(e,t)}function Kre(e,t){return t&&(Xre(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 Xre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qre(e){var t=Jre();return function(){var n=hs(e),o;if(t){var i=hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kre(this,o)}}var V3=function(e){Wre(r,e);var t=Qre(r);function r(n){Ure(this,r);var o;return o=t.call(this,n),x3(C3(o),"props",void 0),o.props=new ps(n==null?void 0:n.props),o}return r}(Z);x3(V3,"controlType","subtable-column");var p0={Designer:bt,Runtime:V3,Property:ps};function Zre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bs(e){return bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bs(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&&v0(e,t)}function noe(e,t){return t&&(roe(t)==="object"||typeof t=="function")?t:Zre(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v0(e,t)}function roe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ooe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ioe(e){var t=ooe();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 noe(this,o)}}var h0=function(e){toe(r,e);var t=ioe(r);function r(n){return eoe(this,r),t.call(this,n)}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 uoe(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 gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gs(e)}function coe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b0(e,t)}function loe(e,t){return t&&(foe(t)==="object"||typeof t=="function")?t:z3(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b0(e,t)}function foe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function soe(e){var t=aoe();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 loe(this,o)}}var kn=function(e){coe(r,e);var t=soe(r);function r(n){uoe(this,r);var o;return o=t.call(this,n),Mn(z3(o),"props",void 0),o.props=new h0(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 G3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yoe(e,t,r){return t&&Y3(e.prototype,t),r&&Y3(e,r),e}function doe(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 poe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g0(e,t)}function voe(e,t){return t&&(hoe(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 hoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function boe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function goe(e){var t=boe();return function(){var n=ms(e),o;if(t){var i=ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return voe(this,o)}}var moe=function(e){poe(r,e);var t=goe(r);function r(n){_oe(this,r);var o;return o=t.call(this,n),doe(G3(o),"props",void 0),o.props=new h0(n==null?void 0:n.props),o}return yoe(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(Z),H3={Designer:kn,Runtime:moe,Property:h0};function qe(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 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 Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Os(e)}function woe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m0(e,t)}function Poe(e,t){return t&&($oe(t)==="object"||typeof t=="function")?t:qe(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m0(e,t)}function $oe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Roe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Toe(e){var t=Roe();return function(){var n=Os(e),o;if(t){var i=Os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Poe(this,o)}}var O0=function(e){woe(r,e);var t=Toe(r);function r(n){Ooe(this,r);var o;o=t.call(this,n),ct(qe(o),"widthType",void 0),ct(qe(o),"width",void 0),ct(qe(o),"caption",void 0),ct(qe(o),"fieldCode",void 0),ct(qe(o),"fieldType",void 0),ct(qe(o),"fieldName",void 0),ct(qe(o),"datasourceBind",void 0),ct(qe(o),"fixed",void 0),ct(qe(o),"textCleanFormart",void 0),ct(qe(o),"decimalKeepPrecision",void 0),ct(qe(o),"timestampDateType",void 0),ct(qe(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 q3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Soe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ws(e){return ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ws(e)}function Eoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w0(e,t)}function Ioe(e,t){return t&&(Noe(t)==="object"||typeof t=="function")?t:q3(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(e,t)}function Noe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Boe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aoe(e){var t=Boe();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 Ioe(this,o)}}var Ln=function(e){Eoe(r,e);var t=Aoe(r);function r(n){Soe(this,r);var o;return o=t.call(this,n),Dn(q3(o),"props",void 0),o.props=new O0(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 U3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Moe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ps(e){return Ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ps(e)}function koe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Doe(e,t){return t&&(Loe(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 Loe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Foe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function joe(e){var t=Foe();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 Doe(this,o)}}var K3=function(e){koe(r,e);var t=joe(r);function r(n){Moe(this,r);var o;return o=t.call(this,n),W3(U3(o),"props",void 0),o.props=new O0(n==null?void 0:n.props),o}return r}(Z);W3(K3,"controlType","gridtable-column");var X3={Designer:Ln,Runtime:K3,Property:O0};function $0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Coe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $s(e){return $s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$s(e)}function xoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R0(e,t)}function Voe(e,t){return t&&(zoe(t)==="object"||typeof t=="function")?t:$0(e)}function R0(e,t){return R0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R0(e,t)}function zoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Goe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yoe(e){var t=Goe();return function(){var n=$s(e),o;if(t){var i=$s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Voe(this,o)}}var T0=function(e){xoe(r,e);var t=Yoe(r);function r(n){Coe(this,r);var o;o=t.call(this,n),J3($0(o),"childMinWidth",void 0),J3($0(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 Q3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qoe(e,t,r){return t&&Z3(e.prototype,t),r&&Z3(e,r),e}function S0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rs(e){return Rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rs(e)}function Uoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E0(e,t)}function Woe(e,t){return t&&(Koe(t)==="object"||typeof t=="function")?t:Q3(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E0(e,t)}function Koe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Joe(e){var t=Xoe();return function(){var n=Rs(e),o;if(t){var i=Rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Woe(this,o)}}var I0=function(e){Uoe(r,e);var t=Joe(r);function r(n){Hoe(this,r);var o;return o=t.call(this,n),S0(Q3(o),"props",void 0),o.props=new T0(n==null?void 0:n.props),o}return qoe(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);S0(I0,"excludes",[c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.TAB]),S0(I0,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",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 Qoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zoe(e,t,r){return t&&t1(e.prototype,t),r&&t1(e,r),e}function eie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ts(e){return Ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ts(e)}function tie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nie(e,t){return t&&(rie(t)==="object"||typeof t=="function")?t:e1(e)}function N0(e,t){return N0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N0(e,t)}function rie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iie(e){var t=oie();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 nie(this,o)}}var uie=function(e){tie(r,e);var t=iie(r);function r(n){Qoe(this,r);var o;return o=t.call(this,n),eie(e1(o),"props",void 0),o.props=new T0(n==null?void 0:n.props),o}return Zoe(r,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),r}(Z),n1={Designer:I0,Runtime:uie,Property:T0};function r1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lie(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 fie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B0(e,t)}function aie(e,t){return t&&(sie(t)==="object"||typeof t=="function")?t:r1(e)}function B0(e,t){return B0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B0(e,t)}function sie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yie(e){var t=_ie();return function(){var n=Ss(e),o;if(t){var i=Ss(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aie(this,o)}}var A0=function(e){fie(r,e);var t=yie(r);function r(n){cie(this,r);var o;o=t.call(this,n),lie(r1(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 M0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k0(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 i1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 die(e,t){return t&&(pie(t)==="object"||typeof t=="function")?t:M0(e)}function D0(e,t){return D0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D0(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 u1(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 hie=function(e){i1(r,e);var t=u1(r);function r(n){o1(this,r);var o;return o=t.call(this,n),k0(M0(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),o}return r}(re),Is=function(e){i1(r,e);var t=u1(r);function r(n){o1(this,r);var o;o=t.call(this,n),k0(M0(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ti.controlName,o}return r}(z);k0(Is,"Rules",hie);function c1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gie(e,t,r){return t&&l1(e.prototype,t),r&&l1(e,r),e}function L0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ns(e){return Ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ns(e)}function mie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F0(e,t)}function Oie(e,t){return t&&(wie(t)==="object"||typeof t=="function")?t:c1(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function wie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ie(e){var t=Pie();return function(){var n=Ns(e),o;if(t){var i=Ns(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Oie(this,o)}}var Ri=function(e){mie(r,e);var t=$ie(r);function r(n){bie(this,r);var o;return o=t.call(this,n),L0(c1(o),"props",void 0),o.props=new Is(n==null?void 0:n.props),o}return gie(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);L0(Ri,"excludes",[c.CONTROL_TYPE.TAB]),L0(Ri,"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 f1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tie(e,t,r){return t&&a1(e.prototype,t),r&&a1(e,r),e}function Sie(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 Eie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j0(e,t)}function Iie(e,t){return t&&(Nie(t)==="object"||typeof t=="function")?t:f1(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(e,t)}function Nie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aie(e){var t=Bie();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 Iie(this,o)}}var Mie=function(e){Eie(r,e);var t=Aie(r);function r(n){Rie(this,r);var o;return o=t.call(this,n),Sie(f1(o),"props",void 0),o.props=new Is(n==null?void 0:n.props),o}return Tie(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(Z),s1={Designer:Ri,Runtime:Mie,Property:Is};function _1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Die(e,t,r){return t&&y1(e.prototype,t),r&&y1(e,r),e}function As(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 Lie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fie(e,t){return t&&(jie(t)==="object"||typeof t=="function")?t:_1(e)}function C0(e,t){return C0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},C0(e,t)}function jie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xie(e){var t=Cie();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 Fie(this,o)}}var Ti=function(e){Lie(r,e);var t=xie(r);function r(n){kie(this,r);var o;o=t.call(this,n),As(_1(o),"props",void 0),o.props=new A0(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Ri,new Ri],o}return Die(r,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(q);As(Ti,"excludes",[c.CONTROL_TYPE.TAB]),As(Ti,"controlEventKeys",["on_change_tab"]),As(Ti,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function d1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vie(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 zie(e,t,r){return t&&p1(e.prototype,t),r&&p1(e,r),e}function Gie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ks(e){return ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ks(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&&x0(e,t)}function Hie(e,t){return t&&(qie(t)==="object"||typeof t=="function")?t:d1(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x0(e,t)}function qie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wie(e){var t=Uie();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 Hie(this,o)}}var Kie=function(e){Yie(r,e);var t=Wie(r);function r(n){Vie(this,r);var o;return o=t.call(this,n),Gie(d1(o),"props",void 0),o.props=new A0(n==null?void 0:n.props),o}return zie(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(Z),v1={Designer:Ti,Runtime:Kie,Property:A0};function Xie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ds(e){return Ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ds(e)}function Qie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V0(e,t)}function Zie(e,t){return t&&(eue(t)==="object"||typeof t=="function")?t:Xie(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function eue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nue(e){var t=tue();return function(){var n=Ds(e),o;if(t){var i=Ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zie(this,o)}}var h1=function(e){Qie(r,e);var t=nue(r);function r(n){return Jie(this,r),t.call(this,n)}return r}(z);function b1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rue(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 oue(e,t,r){return t&&g1(e.prototype,t),r&&g1(e,r),e}function m1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ls(e)}function iue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z0(e,t)}function uue(e,t){return t&&(cue(t)==="object"||typeof t=="function")?t:b1(e)}function z0(e,t){return z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z0(e,t)}function cue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fue(e){var t=lue();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 uue(this,o)}}var O1=function(e){iue(r,e);var t=fue(r);function r(n){rue(this,r);var o;return o=t.call(this,n),m1(b1(o),"props",void 0),o.props=new h1({}),o.children=(n==null?void 0:n.children)||[new wi({props:new Bn({span:12})}),new wi({props:new Bn({span:12})})],o}return oue(r,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(q);m1(O1,"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 aue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _ue(e,t,r){return t&&w1(e.prototype,t),r&&w1(e,r),e}function Fs(e){return Fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fs(e)}function yue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G0(e,t)}function due(e,t){return t&&(pue(t)==="object"||typeof t=="function")?t:aue(e)}function G0(e,t){return G0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G0(e,t)}function pue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hue(e){var t=vue();return function(){var n=Fs(e),o;if(t){var i=Fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return due(this,o)}}var bue=function(e){yue(r,e);var t=hue(r);function r(n){sue(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new Xg({props:new Bn({span:12})}),new Xg({props:new Bn({span:12})})],o}return _ue(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(Z),P1={Designer:O1,Runtime:bue,Property:h1};function K(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y0(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 js(e){return js=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},js(e)}function H0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gue(e,t){return t&&(mue(t)==="object"||typeof t=="function")?t:K(e)}function q0(e,t){return q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q0(e,t)}function mue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function U0(e){var t=Oue();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 gue(this,o)}}var $1;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})($1||($1={}));var wue=function(e){H0(r,e);var t=U0(r);function r(n){Y0(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(en),Pue=function(e){H0(r,e);var t=U0(r);function r(n){Y0(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")}}}}]}}]),lu.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),Si=function(e){H0(r,e);var t=U0(r);function r(n){Y0(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 PP(n==null?void 0:n.sublistPage);var a;o.isShowJoinRelation=(a=n==null?void 0:n.isShowJoinRelation)!==null&&a!==void 0?a:!1,o.joinRelation=new RP(n==null?void 0:n.joinRelation);var s;o.showType=(s=n==null?void 0:n.showType)!==null&&s!==void 0?s:"stretch";var _;o.showFullScreen=(_=n==null?void 0:n.showFullScreen)!==null&&_!==void 0?_:!1;var 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 zP(n==null?void 0:n.rowStyle),o}return r}(z);X(Si,"Rules",Pue),X(Si,"RuntimeRules",wue);function R1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rue(e,t,r){return t&&T1(e.prototype,t),r&&T1(e,r),e}function Ei(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cs(e){return Cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cs(e)}function Tue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W0(e,t)}function Sue(e,t){return t&&(Eue(t)==="object"||typeof t=="function")?t:R1(e)}function W0(e,t){return W0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W0(e,t)}function Eue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nue(e){var t=Iue();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 Sue(this,o)}}var Ii=function(e){Tue(r,e);var t=Nue(r);function r(n){$ue(this,r);var o;return o=t.call(this,n),Ei(R1(o),"props",void 0),o.props=new Si(n==null?void 0:n.props),o}return Rue(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);Ei(Ii,"slotPosition",{left:"list-view-left-slot"}),Ei(Ii,"excludes",[c.CONTROL_TYPE.ROW]),Ei(Ii,"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"]),Ei(Ii,"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 S1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Aue(e,t,r){return t&&E1(e.prototype,t),r&&E1(e,r),e}function Mue(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 kue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K0(e,t)}function Due(e,t){return t&&(Lue(t)==="object"||typeof t=="function")?t:S1(e)}function K0(e,t){return K0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K0(e,t)}function Lue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jue(e){var t=Fue();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 Due(this,o)}}var Cue=function(e){kue(r,e);var t=jue(r);function r(n){Bue(this,r);var o;return o=t.call(this,n),Mue(S1(o),"props",void 0),o.props=new Si(n==null?void 0:n.props),o}return Aue(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Z),X0={Designer:Ii,Runtime:Cue,Property:Si};function pn(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 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 Vs(e){return Vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vs(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&&J0(e,t)}function xue(e,t){return t&&(Vue(t)==="object"||typeof t=="function")?t:pn(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J0(e,t)}function Vue(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 B1(e){var t=zue();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 xue(this,o)}}var Gue=function(e){N1(r,e);var t=B1(r);function r(n){I1(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(en),zs=function(e){N1(r,e);var t=B1(r);function r(n){I1(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(zs,"RuntimeRules",Gue);function A1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Hue(e,t,r){return t&&M1(e.prototype,t),r&&M1(e,r),e}function k1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gs(e){return Gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gs(e)}function que(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Uue(e,t){return t&&(Wue(t)==="object"||typeof t=="function")?t:A1(e)}function Q0(e,t){return Q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Q0(e,t)}function Wue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xue(e){var t=Kue();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 Uue(this,o)}}var D1=function(e){que(r,e);var t=Xue(r);function r(n){Yue(this,r);var o;return o=t.call(this,n),k1(A1(o),"props",void 0),o.props=new zs(n==null?void 0:n.props),o}return Hue(r,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),r}(q);k1(D1,"excludes",[]);function L1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Que(e,t,r){return t&&F1(e.prototype,t),r&&F1(e,r),e}function Zue(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 ece(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z0(e,t)}function tce(e,t){return t&&(nce(t)==="object"||typeof t=="function")?t:L1(e)}function Z0(e,t){return Z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z0(e,t)}function nce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oce(e){var t=rce();return function(){var n=Ys(e),o;if(t){var i=Ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tce(this,o)}}var ice=function(e){ece(r,e);var t=oce(r);function r(n){Jue(this,r);var o;return o=t.call(this,n),Zue(L1(o),"props",void 0),o.props=new zs(n==null?void 0:n.props),o}return Que(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Z),em={Designer:D1,Runtime:ice,Property:zs};function uce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 lce(e,t,r){return t&&j1(e.prototype,t),r&&j1(e,r),e}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hs(e)}function fce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tm(e,t)}function ace(e,t){return t&&(sce(t)==="object"||typeof t=="function")?t:uce(e)}function tm(e,t){return tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tm(e,t)}function sce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yce(e){var t=_ce();return function(){var n=Hs(e),o;if(t){var i=Hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ace(this,o)}}var dce=function(e){fce(r,e);var t=yce(r);function r(n){return cce(this,r),t.call(this,n)}return lce(r,null,[{key:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(q);function pce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 hce(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 bce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nm(e,t)}function gce(e,t){return t&&(mce(t)==="object"||typeof t=="function")?t:pce(e)}function nm(e,t){return nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nm(e,t)}function mce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wce(e){var t=Oce();return function(){var n=qs(e),o;if(t){var i=qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gce(this,o)}}var Pce=function(e){bce(r,e);var t=wce(r);function r(n){return vce(this,r),t.call(this,n)}return hce(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(Z);function qr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Us(e){return Us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Us(e)}function Rce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tce(e,t){return t&&(Sce(t)==="object"||typeof t=="function")?t:qr(e)}function rm(e,t){return rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rm(e,t)}function Sce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ece(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ice(e){var t=Ece();return function(){var n=Us(e),o;if(t){var i=Us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tce(this,o)}}var Nce=function(e){Rce(r,e);var t=Ice(r);function r(n){$ce(this,r);var o;o=t.call(this,n),Ni(qr(o),"hideHeader",void 0),Ni(qr(o),"background","#fff"),Ni(qr(o),"minWidth",""),Ni(qr(o),"maxWidth",""),Ni(qr(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),x1={Designer:dce,Runtime:Pce,Property:Nce};function Bce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ace(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mce(e,t,r){return t&&V1(e.prototype,t),r&&V1(e,r),e}function Ws(e){return Ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ws(e)}function kce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&om(e,t)}function Dce(e,t){return t&&(Lce(t)==="object"||typeof t=="function")?t:Bce(e)}function om(e,t){return om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},om(e,t)}function Lce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jce(e){var t=Fce();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 Dce(this,o)}}var Cce=function(e){kce(r,e);var t=jce(r);function r(n){return Ace(this,r),t.call(this,n)}return Mce(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 xce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 zce(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 Gce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yce(e,t){return t&&(Hce(t)==="object"||typeof t=="function")?t:xce(e)}function im(e,t){return im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},im(e,t)}function Hce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uce(e){var t=qce();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 Yce(this,o)}}var Wce=function(e){Gce(r,e);var t=Uce(r);function r(n){return Vce(this,r),t.call(this,n)}return zce(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Z);function um(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xs(e){return Xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xs(e)}function Xce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cm(e,t)}function Jce(e,t){return t&&(Qce(t)==="object"||typeof t=="function")?t:um(e)}function cm(e,t){return cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cm(e,t)}function Qce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ele(e){var t=Zce();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 Jce(this,o)}}var tle=function(e){Xce(r,e);var t=ele(r);function r(n){Kce(this,r);var o;return o=t.call(this,n),G1(um(o),"display",void 0),G1(um(o),"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new Z$(n==null?void 0:n.flexConfig),o}return r}(z),Y1={Designer:Cce,Runtime:Wce,Property:tle};function nle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ole(e,t,r){return t&&H1(e.prototype,t),r&&H1(e,r),e}function Js(e){return Js=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Js(e)}function ile(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ule(e,t){return t&&(cle(t)==="object"||typeof t=="function")?t:nle(e)}function lm(e,t){return lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lm(e,t)}function cle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fle(e){var t=lle();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 ule(this,o)}}var ale=function(e){ile(r,e);var t=fle(r);function r(n){return rle(this,r),t.call(this,n)}return ole(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 sle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _le(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 yle(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 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&&fm(e,t)}function ple(e,t){return t&&(vle(t)==="object"||typeof t=="function")?t:sle(e)}function fm(e,t){return fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fm(e,t)}function vle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=hle();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 ple(this,o)}}var gle=function(e){dle(r,e);var t=ble(r);function r(n){return _le(this,r),t.call(this,n)}return yle(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Z);function mle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ole(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zs(e){return Zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zs(e)}function wle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&am(e,t)}function Ple(e,t){return t&&($le(t)==="object"||typeof t=="function")?t:mle(e)}function am(e,t){return am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},am(e,t)}function $le(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tle(e){var t=Rle();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 Ple(this,o)}}var Sle=function(e){wle(r,e);var t=Tle(r);function r(n){return Ole(this,r),t.call(this,n)}return r}(z),U1={Designer:ale,Runtime:gle,Property:Sle};function Ele(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ile(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nle(e,t,r){return t&&W1(e.prototype,t),r&&W1(e,r),e}function e_(e){return e_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},e_(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&&sm(e,t)}function Ale(e,t){return t&&(Mle(t)==="object"||typeof t=="function")?t:Ele(e)}function sm(e,t){return sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sm(e,t)}function Mle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dle(e){var t=kle();return function(){var n=e_(e),o;if(t){var i=e_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ale(this,o)}}var Lle=function(e){Ble(r,e);var t=Dle(r);function r(n){return Ile(this,r),t.call(this,n)}return Nle(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 Fle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Cle(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 xle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_m(e,t)}function Vle(e,t){return t&&(zle(t)==="object"||typeof t=="function")?t:Fle(e)}function _m(e,t){return _m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_m(e,t)}function zle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yle(e){var t=Gle();return function(){var n=t_(e),o;if(t){var i=t_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vle(this,o)}}var Hle=function(e){xle(r,e);var t=Yle(r);function r(n){return jle(this,r),t.call(this,n)}return Cle(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(Z);function Bi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 r_(e){return r_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},r_(e)}function Ule(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wle(e,t){return t&&(Kle(t)==="object"||typeof t=="function")?t:Bi(e)}function ym(e,t){return ym=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ym(e,t)}function Kle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jle(e){var t=Xle();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 Wle(this,o)}}var Qle=function(e){Ule(r,e);var t=Jle(r);function r(n){qle(this,r);var o;o=t.call(this,n),n_(Bi(o),"widthSpan",void 0),n_(Bi(o),"heightSpan",void 0),n_(Bi(o),"left",void 0),n_(Bi(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),X1={Designer:Lle,Runtime:Hle,Property:Qle};function o_(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 dm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i_(e){return i_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},i_(e)}function efe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pm(e,t)}function tfe(e,t){return t&&(nfe(t)==="object"||typeof t=="function")?t:o_(e)}function pm(e,t){return pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pm(e,t)}function nfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ofe(e){var t=rfe();return function(){var n=i_(e),o;if(t){var i=i_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tfe(this,o)}}var vm=function(e){efe(r,e);var t=ofe(r);function r(n){Zle(this,r);var o;o=t.call(this,n),dm(o_(o),"position",void 0),dm(o_(o),"opacity",void 0),dm(o_(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 J1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ife(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ufe(e,t,r){return t&&Q1(e.prototype,t),r&&Q1(e,r),e}function u_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c_(e){return c_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},c_(e)}function cfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hm(e,t)}function lfe(e,t){return t&&(ffe(t)==="object"||typeof t=="function")?t:J1(e)}function hm(e,t){return hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hm(e,t)}function ffe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function afe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sfe(e){var t=afe();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 lfe(this,o)}}var l_=function(e){cfe(r,e);var t=sfe(r);function r(n){ife(this,r);var o;o=t.call(this,n),u_(J1(o),"props",void 0);var i;return o.props=new vm((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return ufe(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);u_(l_,"slotPosition",{default:"action-bar-slot"}),u_(l_,"excludes",[]),u_(l_,"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 Z1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yfe(e,t,r){return t&&eA(e.prototype,t),r&&eA(e,r),e}function dfe(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 pfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bm(e,t)}function vfe(e,t){return t&&(hfe(t)==="object"||typeof t=="function")?t:Z1(e)}function bm(e,t){return bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bm(e,t)}function hfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gfe(e){var t=bfe();return function(){var n=f_(e),o;if(t){var i=f_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vfe(this,o)}}var mfe=function(e){pfe(r,e);var t=gfe(r);function r(n){_fe(this,r);var o;o=t.call(this,n),dfe(Z1(o),"props",void 0);var i;return o.props=new vm((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return yfe(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(Z),tA={Designer:l_,Runtime:mfe,Property:vm},Ofe=Object.freeze({__proto__:null,Grid:_3,Col:es,Row:$3,GridRow:u0,CardGroup:k3,SubTableColumn:p0,SubTableRow:H3,GridTableColumn:X3,GridLayoutContainer:n1,Tab:v1,TabPane:s1,Toolbox:P1,ListView:X0,DataView:em,Page:x1,AdvancedContainer:Y1,PositioningContainer:U1,Position:X1,ActionBar:tA});function N(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 a_(e){return a_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},a_(e)}function mm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Om(e,t)}function wfe(e,t){return t&&(Pfe(t)==="object"||typeof t=="function")?t:N(e)}function Om(e,t){return Om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Om(e,t)}function Pfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $fe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wm(e){var t=$fe();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 wfe(this,o)}}var Rfe=function(e){mm(r,e);var t=wm(r);function r(n){gm(this,r);var o;return o=t.call(this,n),I(N(o),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),I(N(o),"limitRows",[{type:"number",required:!0,message:h.getMessage("isNotNumber")},{type:"number",min:0,message:h.getMessage("limitRowsCannotBeLessThan0")}]),I(N(o),"formKey",{type:"string",required:!1,message:h.getMessage("pleaseEnterForm")}),I(N(o),"maxHeight",{type:"number",required:!0,message:h.getMessage("pleaseEnterMaxHeight")}),I(N(o),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")}),I(N(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),Tfe=function(e){mm(r,e);var t=wm(r);function r(n){gm(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),Ai=function(e){mm(r,e);var t=wm(r);function r(n,o){gm(this,r);var i;i=t.call(this,n,o,r.mode),I(N(i),"caption",void 0),I(N(i),"labelPosition",void 0),I(N(i),"isHideCaption",void 0),I(N(i),"isShowCaptionTip",void 0),I(N(i),"captionTip",void 0),I(N(i),"defaultState",void 0),I(N(i),"limitRows",void 0),I(N(i),"maxRows",void 0),I(N(i),"defaultRows",void 0),I(N(i),"datasourceBind",void 0),I(N(i),"printMode",void 0),I(N(i),"openType",void 0),I(N(i),"formKey",void 0),I(N(i),"useCustomHeight",void 0),I(N(i),"maxHeight",void 0),I(N(i),"canAdd",void 0),I(N(i),"canDelete",void 0),I(N(i),"canCheck",void 0),I(N(i),"canEdit",void 0),I(N(i),"canImport",void 0),I(N(i),"importConfig",void 0),I(N(i),"canExport",void 0),I(N(i),"exportConfig",void 0),I(N(i),"canClear",void 0),I(N(i),"isPaste",void 0),I(N(i),"mobileShowType",void 0),I(N(i),"mobileDefaultNum",void 0),I(N(i),"dataStorageDoc",void 0),I(N(i),"serverPagination",void 0),I(N(i),"fixedColumn",void 0),I(N(i),"mobileRowCaption",void 0),I(N(i),"mobileIsTile",void 0),I(N(i),"sortable",void 0),I(N(i),"sortKey",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:Mi.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:J$;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 be;i.isShowCaptionTip=(be=o==null?void 0:o.isShowCaptionTip)!==null&&be!==void 0?be:!1;var ge;i.captionTip=(ge=o==null?void 0:o.captionTip)!==null&&ge!==void 0?ge:"";var bo;i.mobileShowType=(bo=o==null?void 0:o.mobileShowType)!==null&&bo!==void 0?bo:"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 bP;var Dw;i.fixedColumn=(Dw=o==null?void 0:o.fixedColumn)!==null&&Dw!==void 0?Dw:[];var Lw;i.mobileRowCaption=(Lw=o==null?void 0:o.mobileRowCaption)!==null&&Lw!==void 0?Lw:"\u660E\u7EC6";var Fw;i.mobileIsTile=(Fw=o==null?void 0:o.mobileIsTile)!==null&&Fw!==void 0?Fw:!1;var jw;i.isPaste=(jw=o==null?void 0:o.isPaste)!==null&&jw!==void 0?jw:!1;var Cw;i.pageSize=(Cw=o==null?void 0:o.pageSize)!==null&&Cw!==void 0?Cw:10;var xw;i.pageSizeOptions=(xw=o==null?void 0:o.pageSizeOptions)!==null&&xw!==void 0?xw:[10,20,50,100],i.importConfig=new K$(o==null?void 0:o.importConfig),i.exportConfig=new X$(o==null?void 0:o.exportConfig);var Vw;i.sortable=(Vw=o==null?void 0:o.sortable)!==null&&Vw!==void 0?Vw:!1;var zw;return i.sortKey=(zw=o==null?void 0:o.sortKey)!==null&&zw!==void 0?zw:{},i}return r}(Mo);I(Ai,"Rules",Rfe),I(Ai,"RuntimeRules",Tfe);function Pm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Efe(e,t,r){return t&&nA(e.prototype,t),r&&nA(e,r),e}function s_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function __(e){return __=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},__(e)}function Ife(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nfe(e,t){return t&&(Bfe(t)==="object"||typeof t=="function")?t:Pm(e)}function $m(e,t){return $m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$m(e,t)}function Bfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Afe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mfe(e){var t=Afe();return function(){var n=__(e),o;if(t){var i=__(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nfe(this,o)}}var Mi=function(e){Ife(r,e);var t=Mfe(r);function r(n){Sfe(this,r);var o,i,u;return o=t.call(this,n),s_(Pm(o),"props",void 0),o.props=new Ai(Pm(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 bt,new bt,new bt]),(n==null||(u=n.props)===null||u===void 0?void 0:u.footers)===void 0&&(o.props.footers=[]),o}return Efe(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new bt,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}(wu);s_(Mi,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),s_(Mi,"slotPosition",{toolbar:"subtable-toolbar-slot"}),s_(Mi,"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 Rm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kfe(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 Dfe(e,t,r){return t&&rA(e.prototype,t),r&&rA(e,r),e}function Lfe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y_(e){return y_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},y_(e)}function Ffe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tm(e,t)}function jfe(e,t){return t&&(Cfe(t)==="object"||typeof t=="function")?t:Rm(e)}function Tm(e,t){return Tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tm(e,t)}function Cfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vfe(e){var t=xfe();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 jfe(this,o)}}var zfe=function(e){Ffe(r,e);var t=Vfe(r);function r(n){kfe(this,r);var o;return o=t.call(this,n),Lfe(Rm(o),"props",void 0),o.props=new Ai(Rm(o),n==null?void 0:n.props),o}return Dfe(r,[{key:"getChildrenDataSourceBindLayout",value:function(){Jt("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(zd),oA={Designer:Mi,Runtime:zfe,Property:Ai};function Ur(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ki(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d_(e){return d_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},d_(e)}function Yfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hfe(e,t){return t&&(qfe(t)==="object"||typeof t=="function")?t:Ur(e)}function Sm(e,t){return Sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sm(e,t)}function qfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ufe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wfe(e){var t=Ufe();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 Hfe(this,o)}}var Em=function(e){Yfe(r,e);var t=Wfe(r);function r(n,o){Gfe(this,r);var i;i=t.call(this,n,o),ki(Ur(i),"isFixedHeader",void 0),ki(Ur(i),"selectionType",void 0),ki(Ur(i),"isShowToolbar",void 0),ki(Ur(i),"isShowSelection",void 0),ki(Ur(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}(Mo);function Kfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 p_(e){return p_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},p_(e)}function uA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Im(e,t)}function Jfe(e,t){return t&&(Qfe(t)==="object"||typeof t=="function")?t:Kfe(e)}function Im(e,t){return Im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Im(e,t)}function Qfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cA(e){var t=Zfe();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 Jfe(this,o)}}var eae=function(e){uA(r,e);var t=cA(r);function r(n){iA(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(ft),v_=function(e){uA(r,e);var t=cA(r);function r(n){iA(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);Xfe(v_,"Rules",eae);function lA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 h_(e){return h_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},h_(e)}function nae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nm(e,t)}function rae(e,t){return t&&(oae(t)==="object"||typeof t=="function")?t:lA(e)}function Nm(e,t){return Nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nm(e,t)}function oae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uae(e){var t=iae();return function(){var n=h_(e),o;if(t){var i=h_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rae(this,o)}}var Fn=function(e){nae(r,e);var t=uae(r);function r(n){tae(this,r);var o;return o=t.call(this,n),Di(lA(o),"props",void 0),o.props=new v_(n==null?void 0:n.props),o}return r}(le);Di(Fn,"controlType","order-column"),Di(Fn,"controlName","\u5E8F\u53F7"),Di(Fn,"controlIcon","order-column"),Di(Fn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function fA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bm(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 lae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Am(e,t)}function fae(e,t){return t&&(aae(t)==="object"||typeof t=="function")?t:fA(e)}function Am(e,t){return Am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Am(e,t)}function aae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ae(e){var t=sae();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 fae(this,o)}}var Mm=function(e){lae(r,e);var t=_ae(r);function r(n){cae(this,r);var o;return o=t.call(this,n),Bm(fA(o),"props",void 0),o.props=new v_(n==null?void 0:n.props),o}return r}(fe);Bm(Mm,"controlType","order-column"),Bm(Mm,"controlFieldType",c.FieldTypes.DECIMAL);var aA={Designer:Fn,Runtime:Mm,Property:v_};function km(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function g_(e){return g_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},g_(e)}function dae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dm(e,t)}function pae(e,t){return t&&(vae(t)==="object"||typeof t=="function")?t:km(e)}function Dm(e,t){return Dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dm(e,t)}function vae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bae(e){var t=hae();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 pae(this,o)}}var Lm=function(e){dae(r,e);var t=bae(r);function r(n){yae(this,r);var o,i;o=t.call(this,n),sA(km(o),"showType",void 0),sA(km(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 _A(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yA(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 gae(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){yA(i,n,o,u,l,"next",f)}function l(f){yA(i,n,o,u,l,"throw",f)}u(void 0)})}}function mae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Oae(e,t,r){return t&&dA(e.prototype,t),r&&dA(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 Fi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Fi=Reflect.get:Fi=function(o,i,u){var l=$ae(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},Fi(e,t,r||e)}function jn(e){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jn(e)}function wae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fm(e,t)}function Pae(e,t){return t&&(Rae(t)==="object"||typeof t=="function")?t:_A(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fm(e,t)}function $ae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=jn(e),e!==null););return e}function Rae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sae(e){var t=Tae();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 Pae(this,o)}}function Eae(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){wae(r,e);var t=Sae(r);function r(n){mae(this,r);var o;return o=t.call(this,n),Li(_A(o),"props",void 0),o.props=new Lm(n==null?void 0:n.props),o}return Oae(r,[{key:"toDataBindModel",value:function(){var o=Fi(jn(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===bl.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 Fi(jn(r.prototype),"validate",u)};return gae(function(){return Eae(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);Li(Cn,"controlType","operation-column"),Li(Cn,"controlName","\u64CD\u4F5C"),Li(Cn,"controlIcon","operation-column"),Li(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 pA(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 jm(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 Nae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cm(e,t)}function Bae(e,t){return t&&(Aae(t)==="object"||typeof t=="function")?t:pA(e)}function Cm(e,t){return Cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cm(e,t)}function Aae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kae(e){var t=Mae();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 Bae(this,o)}}var xm=function(e){Nae(r,e);var t=kae(r);function r(n){Iae(this,r);var o;return o=t.call(this,n),jm(pA(o),"props",void 0),o.props=new Lm(n==null?void 0:n.props),o}return r}(fe);jm(xm,"controlType","operation-column"),jm(xm,"controlFieldType",c.FieldTypes.FILE);var vA={Designer:Cn,Runtime:xm,Property:Lm};function xn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hA(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 Dae(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(f){hA(i,n,o,u,l,"next",f)}function l(f){hA(i,n,o,u,l,"throw",f)}u(void 0)})}}function Lae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fae(e,t,r){return t&&bA(e.prototype,t),r&&bA(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 ji(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ji=Reflect.get:ji=function(o,i,u){var l=Yae(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 Vn(e){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vn(e)}function jae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vm(e,t)}function Cae(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function xae(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 Vae(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 zae(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Vae(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Gae(e,t){return t&&(Hae(t)==="object"||typeof t=="function")?t:xn(e)}function Vm(e,t){return Vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vm(e,t)}function Yae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Vn(e),e!==null););return e}function Hae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uae(e){var t=qae();return function(){var n=Vn(e),o;if(t){var i=Vn(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gae(this,o)}}function Wae(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 Kae=1e4,Ci=function(t){jae(n,t);var r=Uae(n);function n(o){Lae(this,n);var i,u;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 l=Cae(this,n)?this.constructor:void 0,f=l.excludes,a=l.childrenMaxLength;return i.props=new Em(xn(i),o==null?void 0:o.props),lt(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]),(o==null||(u=o.props)===null||u===void 0?void 0:u.footers)===void 0&&(i.props.footers=[]),i.excludes=Xe(f),i.childrenMaxLength=a,i}return Fae(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=ji(Vn(n.prototype),"toSchema",this).call(this),u=this.children.map(function(l){return l.toSchema()});return zae(xae({},i),{children:u})}},{key:"validate",value:function(i,u){var l=this,f=this,a=function(){return ji(Vn(n.prototype),"validate",l)};return Dae(function(){return Wae(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}(wu);qt(Ci,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),qt(Ci,"setting",[{key:"list-fixed-header",visible:!0}]),qt(Ci,"excludes",[]),qt(Ci,"childrenMaxLength",Kae);function zm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 Jae(e,t,r){return t&&gA(e.prototype,t),r&&gA(e,r),e}function Qae(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 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&&Gm(e,t)}function ese(e,t){return t&&(tse(t)==="object"||typeof t=="function")?t:zm(e)}function Gm(e,t){return Gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gm(e,t)}function tse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rse(e){var t=nse();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 ese(this,o)}}var ose=function(e){Zae(r,e);var t=rse(r);function r(n){Xae(this,r);var o;return o=t.call(this,n),Qae(zm(o),"props",void 0),o.props=new Em(zm(o),n==null?void 0:n.props),o}return Jae(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}(zd),mA={Designer:Ci,Runtime:ose,Property:Em},ise=Object.freeze({__proto__:null,SubTable:oA,GridTable:mA});function Ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OA(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 w_(e){return w_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},w_(e)}function wA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ym(e,t)}function use(e,t){return t&&(cse(t)==="object"||typeof t=="function")?t:Ut(e)}function Ym(e,t){return Ym=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ym(e,t)}function cse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PA(e){var t=lse();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 use(this,o)}}var fse=function(e){wA(r,e);var t=PA(r);function r(n){OA(this,r);var o;return o=t.call(this,n),Ft.call(Ut(o),n),o}return r}(Ud),P_=function(e){wA(r,e);var t=PA(r);function r(n){OA(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=Ot((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]);var f;o.showLinkOperation=(f=n==null?void 0:n.showLinkOperation)!==null&&f!==void 0?f:!1,o.linkOperationOption=new mt(n==null?void 0:n.linkOperationOption);var a;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(P_,"Rules",fse);function $A(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ase(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $_(e){return $_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$_(e)}function sse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _se(e,t){return t&&(yse(t)==="object"||typeof t=="function")?t:$A(e)}function Hm(e,t){return Hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hm(e,t)}function yse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pse(e){var t=dse();return function(){var n=$_(e),o;if(t){var i=$_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _se(this,o)}}var zn=function(e){sse(r,e);var t=pse(r);function r(n){ase(this,r);var o;return o=t.call(this,n),Wr($A(o),"props",void 0),o.props=new P_(n==null?void 0:n.props),o}return r}(le);Wr(zn,"controlType","varchar-column"),Wr(zn,"controlName","\u77ED\u6587\u672C"),Wr(zn,"controlIcon","varchar-column"),Wr(zn,"controlFieldType",c.FieldTypes.VARCHAR),Wr(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 RA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vse(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 R_(e){return R_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},R_(e)}function hse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Um(e,t)}function bse(e,t){return t&&(gse(t)==="object"||typeof t=="function")?t:RA(e)}function Um(e,t){return Um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Um(e,t)}function gse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ose(e){var t=mse();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 bse(this,o)}}var Wm=function(e){hse(r,e);var t=Ose(r);function r(n){vse(this,r);var o;return o=t.call(this,n),qm(RA(o),"props",void 0),o.props=new P_(n==null?void 0:n.props),o}return r}(fe);qm(Wm,"controlType","varchar-column"),qm(Wm,"controlFieldType",c.FieldTypes.VARCHAR);var TA={Designer:zn,Runtime:Wm,Property:P_};function Kr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T_(e){return T_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},T_(e)}function EA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Km(e,t)}function wse(e,t){return t&&(Pse(t)==="object"||typeof t=="function")?t:Kr(e)}function Km(e,t){return Km=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Km(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 IA(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 Rse=function(e){EA(r,e);var t=IA(r);function r(n){SA(this,r);var o;return o=t.call(this,n),Ft.call(Kr(o),n),o}return r}(ft),S_=function(e){EA(r,e);var t=IA(r);function r(n){SA(this,r);var o;o=t.call(this,n),xi(Kr(o),"escapeHTML",void 0),xi(Kr(o),"showLinkOperation",void 0),xi(Kr(o),"linkOperationOption",void 0),xi(Kr(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 mt(n==null?void 0:n.linkOperationOption),o}return r}(ee);xi(S_,"Rules",Rse);function NA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sse(e,t,r){return t&&BA(e.prototype,t),r&&BA(e,r),e}function Xr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?E_=Reflect.get:E_=function(o,i,u){var l=Nse(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},E_(e,t,r||e)}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jr(e)}function Ese(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ise(e,t){return t&&(Bse(t)==="object"||typeof t=="function")?t:NA(e)}function Xm(e,t){return Xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xm(e,t)}function Nse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Jr(e),e!==null););return e}function Bse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ase(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mse(e){var t=Ase();return function(){var n=Jr(e),o;if(t){var i=Jr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ise(this,o)}}var Gn=function(e){Ese(r,e);var t=Mse(r);function r(n){Tse(this,r);var o;return o=t.call(this,n),Xr(NA(o),"props",void 0),o.props=new S_(n==null?void 0:n.props),o}return Sse(r,[{key:"toDataBindModel",value:function(o){var i=E_(Jr(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(le);Xr(Gn,"controlType","text-column"),Xr(Gn,"controlName","\u957F\u6587\u672C"),Xr(Gn,"controlIcon","text-column"),Xr(Gn,"controlFieldType",c.FieldTypes.TEXT),Xr(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 AA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I_(e){return I_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},I_(e)}function Dse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qm(e,t)}function Lse(e,t){return t&&(Fse(t)==="object"||typeof t=="function")?t:AA(e)}function Qm(e,t){return Qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qm(e,t)}function Fse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jse();return function(){var n=I_(e),o;if(t){var i=I_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lse(this,o)}}var Zm=function(e){Dse(r,e);var t=Cse(r);function r(n){kse(this,r);var o;return o=t.call(this,n),Jm(AA(o),"props",void 0),o.props=new S_(n==null?void 0:n.props),o}return r}(fe);Jm(Zm,"controlType","text-column"),Jm(Zm,"controlFieldType",c.FieldTypes.TEXT);var MA={Designer:Gn,Runtime:Zm,Property:S_};function Bt(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 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 DA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xse(e,t){return t&&(Vse(t)==="object"||typeof t=="function")?t:Bt(e)}function eO(e,t){return eO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eO(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 LA(e){var t=zse();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 xse(this,o)}}var Gse=function(e){DA(r,e);var t=LA(r);function r(n){kA(this,r);var o;return o=t.call(this,n),Ft.call(Bt(o),n),o}return r}(ft),B_=function(e){DA(r,e);var t=LA(r);function r(n){kA(this,r);var o;o=t.call(this,n),Wt(Bt(o),"optionConfig",void 0),Wt(Bt(o),"datasourceBind",void 0),Wt(Bt(o),"showLinkOperation",void 0),Wt(Bt(o),"linkOperationOption",void 0),Wt(Bt(o),"options",void 0),Wt(Bt(o),"precision",void 0),Wt(Bt(o),"micrometer",void 0),Wt(Bt(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=Ot((s=n==null?void 0:n.options)!==null&&s!==void 0?s:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new mt(n==null?void 0:n.linkOperationOption),o}return r}(ee);Wt(B_,"Rules",Gse);function FA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Hse(e,t,r){return t&&jA(e.prototype,t),r&&jA(e,r),e}function Qr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function A_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?A_=Reflect.get:A_=function(o,i,u){var l=Wse(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},A_(e,t,r||e)}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zr(e)}function qse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tO(e,t)}function Use(e,t){return t&&(Kse(t)==="object"||typeof t=="function")?t:FA(e)}function tO(e,t){return tO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tO(e,t)}function Wse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Zr(e),e!==null););return e}function Kse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jse(e){var t=Xse();return function(){var n=Zr(e),o;if(t){var i=Zr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Use(this,o)}}var Yn=function(e){qse(r,e);var t=Jse(r);function r(n){Yse(this,r);var o;return o=t.call(this,n),Qr(FA(o),"props",void 0),o.props=new B_(n==null?void 0:n.props),o}return Hse(r,[{key:"toDataBindModel",value:function(o){var i=A_(Zr(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);Qr(Yn,"controlType","decimal-column"),Qr(Yn,"controlName","\u6570\u503C"),Qr(Yn,"controlIcon","decimal-column"),Qr(Yn,"controlFieldType",c.FieldTypes.DECIMAL),Qr(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 CA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M_(e){return M_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},M_(e)}function Zse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rO(e,t)}function e_e(e,t){return t&&(t_e(t)==="object"||typeof t=="function")?t:CA(e)}function rO(e,t){return rO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rO(e,t)}function t_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r_e(e){var t=n_e();return function(){var n=M_(e),o;if(t){var i=M_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e_e(this,o)}}var oO=function(e){Zse(r,e);var t=r_e(r);function r(n){Qse(this,r);var o;return o=t.call(this,n),nO(CA(o),"props",void 0),o.props=new B_(n==null?void 0:n.props),o}return r}(fe);nO(oO,"controlType","decimal-column"),nO(oO,"controlFieldType",c.FieldTypes.DECIMAL);var xA={Designer:Yn,Runtime:oO,Property:B_};function Vi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D_(e){return D_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},D_(e)}function zA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iO(e,t)}function o_e(e,t){return t&&(i_e(t)==="object"||typeof t=="function")?t:Vi(e)}function iO(e,t){return iO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iO(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 GA(e){var t=u_e();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 o_e(this,o)}}var c_e=function(e){zA(r,e);var t=GA(r);function r(n){VA(this,r);var o;return o=t.call(this,n),Ft.call(Vi(o),n),o}return r}(ft),L_=function(e){zA(r,e);var t=GA(r);function r(n){VA(this,r);var o;o=t.call(this,n),k_(Vi(o),"dateType",void 0),k_(Vi(o),"showLinkOperation",void 0),k_(Vi(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:c.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new mt(n==null?void 0:n.linkOperationOption);var l;return o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Hn.controlName,o}return r}(ee);k_(L_,"Rules",c_e);function YA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f_e(e,t,r){return t&&HA(e.prototype,t),r&&HA(e,r),e}function eo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function F_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?F_=Reflect.get:F_=function(o,i,u){var l=__e(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},F_(e,t,r||e)}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},to(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&&uO(e,t)}function s_e(e,t){return t&&(y_e(t)==="object"||typeof t=="function")?t:YA(e)}function uO(e,t){return uO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uO(e,t)}function __e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=to(e),e!==null););return e}function y_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p_e(e){var t=d_e();return function(){var n=to(e),o;if(t){var i=to(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return s_e(this,o)}}var Hn=function(e){a_e(r,e);var t=p_e(r);function r(n){l_e(this,r);var o;return o=t.call(this,n),eo(YA(o),"props",void 0),o.props=new L_(n==null?void 0:n.props),o}return f_e(r,[{key:"toDataBindModel",value:function(o){var i=F_(to(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(le);eo(Hn,"controlType","timescope-column"),eo(Hn,"controlName","\u65E5\u671F\u533A\u95F4"),eo(Hn,"controlIcon","timescope-column"),eo(Hn,"controlFieldType",c.FieldTypes.TIMESCOPE),eo(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 qA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 j_(e){return j_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},j_(e)}function h_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lO(e,t)}function b_e(e,t){return t&&(g_e(t)==="object"||typeof t=="function")?t:qA(e)}function lO(e,t){return lO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lO(e,t)}function g_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O_e(e){var t=m_e();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 b_e(this,o)}}var fO=function(e){h_e(r,e);var t=O_e(r);function r(n){v_e(this,r);var o;return o=t.call(this,n),cO(qA(o),"props",void 0),o.props=new L_(n==null?void 0:n.props),o}return r}(fe);cO(fO,"controlType","timescope-column"),cO(fO,"controlFieldType",c.FieldTypes.TIMESCOPE);var UA={Designer:Hn,Runtime:fO,Property:L_};function zi(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 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 x_(e){return x_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},x_(e)}function KA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aO(e,t)}function w_e(e,t){return t&&(P_e(t)==="object"||typeof t=="function")?t:zi(e)}function aO(e,t){return aO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aO(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 XA(e){var t=$_e();return function(){var n=x_(e),o;if(t){var i=x_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return w_e(this,o)}}var R_e=function(e){KA(r,e);var t=XA(r);function r(n){WA(this,r);var o;return o=t.call(this,n),Ft.call(zi(o),n),o}return r}(ft),V_=function(e){KA(r,e);var t=XA(r);function r(n){WA(this,r);var o;o=t.call(this,n),C_(zi(o),"dateType",void 0),C_(zi(o),"showLinkOperation",void 0),C_(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 mt(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);C_(V_,"Rules",R_e);function JA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T_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 S_e(e,t,r){return t&&QA(e.prototype,t),r&&QA(e,r),e}function no(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function z_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?z_=Reflect.get:z_=function(o,i,u){var l=N_e(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},z_(e,t,r||e)}function ro(e){return ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ro(e)}function E_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sO(e,t)}function I_e(e,t){return t&&(B_e(t)==="object"||typeof t=="function")?t:JA(e)}function sO(e,t){return sO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sO(e,t)}function N_e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ro(e),e!==null););return e}function B_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 M_e(e){var t=A_e();return function(){var n=ro(e),o;if(t){var i=ro(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return I_e(this,o)}}var qn=function(e){E_e(r,e);var t=M_e(r);function r(n){T_e(this,r);var o;return o=t.call(this,n),no(JA(o),"props",void 0),o.props=new V_(n==null?void 0:n.props),o}return S_e(r,[{key:"toDataBindModel",value:function(o){var i=z_(ro(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(le);no(qn,"controlType","timestamp-column"),no(qn,"controlName","\u65E5\u671F"),no(qn,"controlIcon","timestamp-column"),no(qn,"controlFieldType",c.FieldTypes.TIMESTAMP),no(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 ZA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function G_(e){return G_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},G_(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&&yO(e,t)}function L_e(e,t){return t&&(F_e(t)==="object"||typeof t=="function")?t:ZA(e)}function yO(e,t){return yO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yO(e,t)}function F_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C_e(e){var t=j_e();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 L_e(this,o)}}var dO=function(e){D_e(r,e);var t=C_e(r);function r(n){k_e(this,r);var o;return o=t.call(this,n),_O(ZA(o),"props",void 0),o.props=new V_(n==null?void 0:n.props),o}return r}(fe);_O(dO,"controlType","timestamp-column"),_O(dO,"controlFieldType",c.FieldTypes.TIMESTAMP);var eM={Designer:qn,Runtime:dO,Property:V_};function Un(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Y_(e){return Y_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Y_(e)}function nM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pO(e,t)}function x_e(e,t){return t&&(V_e(t)==="object"||typeof t=="function")?t:Un(e)}function pO(e,t){return pO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pO(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 rM(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 G_e=function(e){nM(r,e);var t=rM(r);function r(n){tM(this,r);var o;return o=t.call(this,n),Ft.call(Un(o),n),o}return r}(Ud),H_=function(e){nM(r,e);var t=rM(r);function r(n){tM(this,r);var o;o=t.call(this,n),oo(Un(o),"optionConfig",void 0),oo(Un(o),"datasourceBind",void 0),oo(Un(o),"showLinkOperation",void 0),oo(Un(o),"linkOperationOption",void 0),oo(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 mt(n==null?void 0:n.linkOperationOption);var f;return o.options=Ot((f=n==null?void 0:n.options)!==null&&f!==void 0?f:[{}]),o}return r}(ee);oo(H_,"Rules",G_e);function oM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 q_(e){return q_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},q_(e)}function H_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vO(e,t)}function q_e(e,t){return t&&(U_e(t)==="object"||typeof t=="function")?t:oM(e)}function vO(e,t){return vO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vO(e,t)}function U_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K_e(e){var t=W_e();return function(){var n=q_(e),o;if(t){var i=q_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return q_e(this,o)}}var Wn=function(e){H_e(r,e);var t=K_e(r);function r(n){Y_e(this,r);var o;return o=t.call(this,n),io(oM(o),"props",void 0),o.props=new H_(n==null?void 0:n.props),o}return r}(le);io(Wn,"controlType","array-column"),io(Wn,"controlName","\u6570\u7EC4"),io(Wn,"controlIcon","array-column"),io(Wn,"controlFieldType",c.FieldTypes.ARRAY),io(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 iM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 U_(e){return U_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},U_(e)}function J_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bO(e,t)}function Q_e(e,t){return t&&(Z_e(t)==="object"||typeof t=="function")?t:iM(e)}function bO(e,t){return bO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bO(e,t)}function Z_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tye(e){var t=eye();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 Q_e(this,o)}}var gO=function(e){J_e(r,e);var t=tye(r);function r(n){X_e(this,r);var o;return o=t.call(this,n),hO(iM(o),"props",void 0),o.props=new H_(n==null?void 0:n.props),o}return r}(fe);hO(gO,"controlType","array-column"),hO(gO,"controlFieldType",c.FieldTypes.ARRAY);var uM={Designer:Wn,Runtime:gO,Property:H_};function cM(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 rye(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 oye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mO(e,t)}function iye(e,t){return t&&(uye(t)==="object"||typeof t=="function")?t:cM(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 cye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=cye();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 iye(this,o)}}var OO=function(e){oye(r,e);var t=lye(r);function r(n){nye(this,r);var o;o=t.call(this,n),rye(cM(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 lM(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 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 aye(e,t,r){return t&&fM(e.prototype,t),r&&fM(e,r),e}function uo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function K_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?K_=Reflect.get:K_=function(o,i,u){var l=yye(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},K_(e,t,r||e)}function co(e){return co=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},co(e)}function sye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wO(e,t)}function _ye(e,t){return t&&(dye(t)==="object"||typeof t=="function")?t:lM(e)}function wO(e,t){return wO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wO(e,t)}function yye(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=co(e),e!==null););return e}function dye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vye(e){var t=pye();return function(){var n=co(e),o;if(t){var i=co(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _ye(this,o)}}var Kn=function(e){sye(r,e);var t=vye(r);function r(n){fye(this,r);var o;return o=t.call(this,n),uo(lM(o),"props",void 0),o.props=new OO(n==null?void 0:n.props),o}return aye(r,[{key:"toDataBindModel",value:function(o){var i=K_(co(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(le);uo(Kn,"controlType","department-column"),uo(Kn,"controlName","\u90E8\u95E8"),uo(Kn,"controlIcon","department-column"),uo(Kn,"controlFieldType",c.FieldTypes.DEPARTMENTS),uo(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 aM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function X_(e){return X_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},X_(e)}function bye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$O(e,t)}function gye(e,t){return t&&(mye(t)==="object"||typeof t=="function")?t:aM(e)}function $O(e,t){return $O=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$O(e,t)}function mye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wye(e){var t=Oye();return function(){var n=X_(e),o;if(t){var i=X_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gye(this,o)}}var RO=function(e){bye(r,e);var t=wye(r);function r(n){hye(this,r);var o;return o=t.call(this,n),PO(aM(o),"props",void 0),o.props=new OO(n==null?void 0:n.props),o}return r}(fe);PO(RO,"controlType","department-column"),PO(RO,"controlFieldType",c.FieldTypes.DEPARTMENTS);var sM={Designer:Kn,Runtime:RO,Property:OO};function J_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q_(e){return Q_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Q_(e)}function yM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&SO(e,t)}function Pye(e,t){return t&&($ye(t)==="object"||typeof t=="function")?t:J_(e)}function SO(e,t){return SO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},SO(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 dM(e){var t=Rye();return function(){var n=Q_(e),o;if(t){var i=Q_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pye(this,o)}}var Tye=function(e){yM(r,e);var t=dM(r);function r(n){_M(this,r);var o;return o=t.call(this,n),Ft.call(J_(o),n),o}return r}(ft),Z_=function(e){yM(r,e);var t=dM(r);function r(n){_M(this,r);var o;o=t.call(this,n),TO(J_(o),"showLinkOperation",void 0),TO(J_(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 mt(n==null?void 0:n.linkOperationOption),o}return r}(ee);TO(Z_,"Rules",Tye);function pM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ey(e){return ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ey(e)}function Eye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&EO(e,t)}function Iye(e,t){return t&&(Nye(t)==="object"||typeof t=="function")?t:pM(e)}function EO(e,t){return EO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EO(e,t)}function Nye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aye(e){var t=Bye();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 Iye(this,o)}}var Xn=function(e){Eye(r,e);var t=Aye(r);function r(n){Sye(this,r);var o;return o=t.call(this,n),lo(pM(o),"props",void 0),o.props=new Z_(n==null?void 0:n.props),o}return r}(le);lo(Xn,"controlType","auto-number-column"),lo(Xn,"controlName","\u81EA\u52A8\u7F16\u53F7"),lo(Xn,"controlIcon","auto-number-column"),lo(Xn,"controlFieldType",c.FieldTypes.AUTO_NUMBER),lo(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 vM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ty(e)}function kye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NO(e,t)}function Dye(e,t){return t&&(Lye(t)==="object"||typeof t=="function")?t:vM(e)}function NO(e,t){return NO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NO(e,t)}function Lye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jye(e){var t=Fye();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 Dye(this,o)}}var BO=function(e){kye(r,e);var t=jye(r);function r(n){Mye(this,r);var o;return o=t.call(this,n),IO(vM(o),"props",void 0),o.props=new Z_(n==null?void 0:n.props),o}return r}(fe);IO(BO,"controlType","auto-number-column"),IO(BO,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var hM={Designer:Xn,Runtime:BO,Property:Z_};function Cye(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 ny(e){return ny=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ny(e)}function Vye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&AO(e,t)}function zye(e,t){return t&&(Gye(t)==="object"||typeof t=="function")?t:Cye(e)}function AO(e,t){return AO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},AO(e,t)}function Gye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hye(e){var t=Yye();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 zye(this,o)}}var MO=function(e){Vye(r,e);var t=Hye(r);function r(n){xye(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 bM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qye(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 ry(e){return ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ry(e)}function Uye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kO(e,t)}function Wye(e,t){return t&&(Kye(t)==="object"||typeof t=="function")?t:bM(e)}function kO(e,t){return kO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kO(e,t)}function Kye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jye(e){var t=Xye();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 Wye(this,o)}}var Jn=function(e){Uye(r,e);var t=Jye(r);function r(n){qye(this,r);var o;return o=t.call(this,n),fo(bM(o),"props",void 0),o.props=new MO(n==null?void 0:n.props),o}return r}(le);fo(Jn,"controlType","file-column"),fo(Jn,"controlName","\u9644\u4EF6"),fo(Jn,"controlIcon","file-column"),fo(Jn,"controlFieldType",c.FieldTypes.FILE),fo(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 gM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function oy(e){return oy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},oy(e)}function Zye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&LO(e,t)}function ede(e,t){return t&&(tde(t)==="object"||typeof t=="function")?t:gM(e)}function LO(e,t){return LO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LO(e,t)}function tde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rde(e){var t=nde();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 ede(this,o)}}var FO=function(e){Zye(r,e);var t=rde(r);function r(n){Qye(this,r);var o;return o=t.call(this,n),DO(gM(o),"props",void 0),o.props=new MO(n==null?void 0:n.props),o}return r}(fe);DO(FO,"controlType","file-column"),DO(FO,"controlFieldType",c.FieldTypes.FILE);var mM={Designer:Jn,Runtime:FO,Property:MO};function ode(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ide(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iy(e){return iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iy(e)}function ude(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jO(e,t)}function cde(e,t){return t&&(lde(t)==="object"||typeof t=="function")?t:ode(e)}function jO(e,t){return jO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jO(e,t)}function lde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ade(e){var t=fde();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 cde(this,o)}}var CO=function(e){ude(r,e);var t=ade(r);function r(n){ide(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 OM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 uy(e){return uy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uy(e)}function _de(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xO(e,t)}function yde(e,t){return t&&(dde(t)==="object"||typeof t=="function")?t:OM(e)}function xO(e,t){return xO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xO(e,t)}function dde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vde(e){var t=pde();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 yde(this,o)}}var Qn=function(e){_de(r,e);var t=vde(r);function r(n){sde(this,r);var o;return o=t.call(this,n),ao(OM(o),"props",void 0),o.props=new CO(n==null?void 0:n.props),o}return r}(le);ao(Qn,"controlType","image-column"),ao(Qn,"controlName","\u56FE\u7247"),ao(Qn,"controlIcon","image-column"),ao(Qn,"controlFieldType",c.FieldTypes.IMAGE),ao(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 wM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cy(e){return cy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cy(e)}function bde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zO(e,t)}function gde(e,t){return t&&(mde(t)==="object"||typeof t=="function")?t:wM(e)}function zO(e,t){return zO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zO(e,t)}function mde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ode(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wde(e){var t=Ode();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 gde(this,o)}}var GO=function(e){bde(r,e);var t=wde(r);function r(n){hde(this,r);var o;return o=t.call(this,n),VO(wM(o),"props",void 0),o.props=new CO(n==null?void 0:n.props),o}return r}(fe);VO(GO,"controlType","image-column"),VO(GO,"controlFieldType",c.FieldTypes.IMAGE);var PM={Designer:Qn,Runtime:GO,Property:CO};function Pde(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ly(e){return ly=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ly(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&&YO(e,t)}function Tde(e,t){return t&&(Sde(t)==="object"||typeof t=="function")?t:Pde(e)}function YO(e,t){return YO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YO(e,t)}function Sde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ede(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ide(e){var t=Ede();return function(){var n=ly(e),o;if(t){var i=ly(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tde(this,o)}}var HO=function(e){Rde(r,e);var t=Ide(r);function r(n){$de(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 $M(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 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 fy(e){return fy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fy(e)}function Bde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qO(e,t)}function Ade(e,t){return t&&(Mde(t)==="object"||typeof t=="function")?t:$M(e)}function qO(e,t){return qO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qO(e,t)}function Mde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dde(e){var t=kde();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 Ade(this,o)}}var Zn=function(e){Bde(r,e);var t=Dde(r);function r(n){Nde(this,r);var o;return o=t.call(this,n),so($M(o),"props",void 0),o.props=new HO(n==null?void 0:n.props),o}return r}(le);so(Zn,"controlType","people-column"),so(Zn,"controlName","\u4EBA\u5458"),so(Zn,"controlIcon","people-column"),so(Zn,"controlFieldType",c.FieldTypes.EMPLOYEES),so(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 RM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 ay(e){return ay=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ay(e)}function Fde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&WO(e,t)}function jde(e,t){return t&&(Cde(t)==="object"||typeof t=="function")?t:RM(e)}function WO(e,t){return WO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},WO(e,t)}function Cde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vde(e){var t=xde();return function(){var n=ay(e),o;if(t){var i=ay(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jde(this,o)}}var KO=function(e){Fde(r,e);var t=Vde(r);function r(n){Lde(this,r);var o;return o=t.call(this,n),UO(RM(o),"props",void 0),o.props=new HO(n==null?void 0:n.props),o}return r}(fe);UO(KO,"controlType","people-column"),UO(KO,"controlFieldType",c.FieldTypes.EMPLOYEES);var TM={Designer:Zn,Runtime:KO,Property:HO};function sy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _y(e){return _y=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_y(e)}function EM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&JO(e,t)}function zde(e,t){return t&&(Gde(t)==="object"||typeof t=="function")?t:sy(e)}function JO(e,t){return JO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},JO(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 IM(e){var t=Yde();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 zde(this,o)}}var Hde=function(e){EM(r,e);var t=IM(r);function r(n){SM(this,r);var o;return o=t.call(this,n),Ft.call(sy(o),n),o}return r}(ft),yy=function(e){EM(r,e);var t=IM(r);function r(n){SM(this,r);var o;o=t.call(this,n),XO(sy(o),"showLinkOperation",void 0),XO(sy(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:er.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new mt(n==null?void 0:n.linkOperationOption),o}return r}(ee);XO(yy,"Rules",Hde);function NM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _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 dy(e){return dy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dy(e)}function Ude(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&QO(e,t)}function Wde(e,t){return t&&(Kde(t)==="object"||typeof t=="function")?t:NM(e)}function QO(e,t){return QO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},QO(e,t)}function Kde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jde(e){var t=Xde();return function(){var n=dy(e),o;if(t){var i=dy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wde(this,o)}}var er=function(e){Ude(r,e);var t=Jde(r);function r(n){qde(this,r);var o;return o=t.call(this,n),_o(NM(o),"props",void 0),o.props=new yy(n==null?void 0:n.props),o}return r}(le);_o(er,"controlType","location-column"),_o(er,"controlName","\u5730\u5740"),_o(er,"controlIcon","location-column"),_o(er,"controlFieldType",c.FieldTypes.ADDRESS),_o(er,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}]);function BM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function 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 py(e){return py=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},py(e)}function Zde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ew(e,t)}function epe(e,t){return t&&(tpe(t)==="object"||typeof t=="function")?t:BM(e)}function ew(e,t){return ew=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ew(e,t)}function tpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function npe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rpe(e){var t=npe();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 epe(this,o)}}var tw=function(e){Zde(r,e);var t=rpe(r);function r(n){Qde(this,r);var o;return o=t.call(this,n),ZO(BM(o),"props",void 0),o.props=new yy(n==null?void 0:n.props),o}return r}(fe);ZO(tw,"controlType","location-column"),ZO(tw,"controlFieldType",c.FieldTypes.ADDRESS);var AM={Designer:er,Runtime:tw,Property:yy};function vy(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 hy(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 kM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nw(e,t)}function ope(e,t){return t&&(ipe(t)==="object"||typeof t=="function")?t:vy(e)}function nw(e,t){return nw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nw(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 DM(e){var t=upe();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 ope(this,o)}}var cpe=function(e){kM(r,e);var t=DM(r);function r(n){MM(this,r);var o;return o=t.call(this,n),hy(vy(o),"sortFieldCode",{type:"string",message:h.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(ft),gy=function(e){kM(r,e);var t=DM(r);function r(n){MM(this,r);var o;o=t.call(this,n),hy(vy(o),"fieldCodeList",void 0),hy(vy(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);hy(gy,"Rules",cpe);function yo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fpe(e,t,r){return t&&LM(e.prototype,t),r&&LM(e,r),e}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 my(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?my=Reflect.get:my=function(o,i,u){var l=ype(o,i);if(!!l){var f=Object.getOwnPropertyDescriptor(l,i);return f.get?f.get.call(u||o):f.value}},my(e,t,r||e)}function po(e){return po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},po(e)}function ape(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 spe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function _pe(e,t){return t&&(dpe(t)==="object"||typeof t=="function")?t:yo(e)}function rw(e,t){return rw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rw(e,t)}function ype(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=po(e),e!==null););return e}function dpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ppe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vpe(e){var t=ppe();return function(){var n=po(e),o;if(t){var i=po(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _pe(this,o)}}var hpe=1,Kt=function(t){ape(n,t);var r=vpe(n);function n(o){lpe(this,n);var i;i=r.call(this,o),gt(yo(i),"excludes",void 0),gt(yo(i),"childrenMaxLength",void 0),gt(yo(i),"props",void 0),gt(yo(i),"children",void 0);var u=spe(this,n)?this.constructor:void 0,l=u.excludes,f=u.childrenMaxLength;return i.props=new gy(o==null?void 0:o.props),lt(yo(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Xe(l),i.childrenMaxLength=f,i}return fpe(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=my(po(n.prototype),"toDataBindModel",this).call(this,i);if(u){var l=this.props.fieldCodeList;u.props.fieldCodeList=l}return u}}]),n}(le);gt(Kt,"controlType","custom-column"),gt(Kt,"controlName","\u81EA\u5B9A\u4E49"),gt(Kt,"controlIcon","custom-column"),gt(Kt,"slots",["column-column-slot"]),gt(Kt,"excludes",[]),gt(Kt,"childrenMaxLength",hpe),gt(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 Oy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ow(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wy(e){return wy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wy(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&&iw(e,t)}function mpe(e,t){return t&&(Ope(t)==="object"||typeof t=="function")?t:Oy(e)}function iw(e,t){return iw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iw(e,t)}function Ope(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ppe(e){var t=wpe();return function(){var n=wy(e),o;if(t){var i=wy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mpe(this,o)}}var FM=function(e){gpe(r,e);var t=Ppe(r);function r(n){bpe(this,r);var o;return o=t.call(this,n),ow(Oy(o),"props",void 0),ow(Oy(o),"children",void 0),o.props=new gy(n==null?void 0:n.props),lt(Oy(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(fe);ow(FM,"controlType","custom-column");var jM={Designer:Kt,Runtime:FM,Property:gy};function CM(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 Rpe(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 Tpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uw(e,t)}function Spe(e,t){return t&&(Epe(t)==="object"||typeof t=="function")?t:CM(e)}function uw(e,t){return uw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uw(e,t)}function Epe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ipe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Npe(e){var t=Ipe();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 Spe(this,o)}}var cw=function(e){Tpe(r,e);var t=Npe(r);function r(n){$pe(this,r);var o;o=t.call(this,n),Rpe(CM(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 To((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:bn.controlCustomAttributes}),o}return r}(ee);function xM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ape(e,t,r){return t&&VM(e.prototype,t),r&&VM(e,r),e}function vo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $y(e){return $y=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$y(e)}function Mpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lw(e,t)}function kpe(e,t){return t&&(Dpe(t)==="object"||typeof t=="function")?t:xM(e)}function lw(e,t){return lw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lw(e,t)}function Dpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fpe(e){var t=Lpe();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 kpe(this,o)}}var bn=function(e){Mpe(r,e);var t=Fpe(r);function r(n){Bpe(this,r);var o;return o=t.call(this,n),vo(xM(o),"props",void 0),o.props=new cw(n==null?void 0:n.props),o}return Ape(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(le);vo(bn,"controlType","employee-column"),vo(bn,"controlName","\u4EBA\u5458"),vo(bn,"controlIcon","employee-column"),vo(bn,"controlFieldType",c.FieldTypes.EMPLOYEES),vo(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 zM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ry(e){return Ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ry(e)}function Cpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aw(e,t)}function xpe(e,t){return t&&(Vpe(t)==="object"||typeof t=="function")?t:zM(e)}function aw(e,t){return aw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aw(e,t)}function Vpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gpe(e){var t=zpe();return function(){var n=Ry(e),o;if(t){var i=Ry(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xpe(this,o)}}var sw=function(e){Cpe(r,e);var t=Gpe(r);function r(n){jpe(this,r);var o;return o=t.call(this,n),fw(zM(o),"props",void 0),o.props=new cw(n==null?void 0:n.props),o}return r}(fe);fw(sw,"controlType","employee-column"),fw(sw,"controlFieldType",c.FieldTypes.EMPLOYEES);var GM={Designer:bn,Runtime:sw,Property:cw};function Ty(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ype(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 Sy(e){return Sy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sy(e)}function Hpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yw(e,t)}function qpe(e,t){return t&&(Upe(t)==="object"||typeof t=="function")?t:Ty(e)}function yw(e,t){return yw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yw(e,t)}function Upe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Wpe();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 qpe(this,o)}}var dw=function(e){Hpe(r,e);var t=Kpe(r);function r(n){Ype(this,r);var o;o=t.call(this,n),_w(Ty(o),"lineEllipsis",void 0),_w(Ty(o),"showLinkOperation",void 0),_w(Ty(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 mt(n==null?void 0:n.linkOperationOption);var l;return o.lineEllipsis=(l=n==null?void 0:n.lineEllipsis)!==null&&l!==void 0?l:1,o}return r}(ee);function pw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xpe(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 Ey(e){return Ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ey(e)}function Jpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vw(e,t)}function Qpe(e,t){return t&&(Zpe(t)==="object"||typeof t=="function")?t:pw(e)}function vw(e,t){return vw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vw(e,t)}function Zpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tve(e){var t=eve();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 Qpe(this,o)}}var nr=function(e){Jpe(r,e);var t=tve(r);function r(n){Xpe(this,r);var o;return o=t.call(this,n),tr(pw(o),"props",void 0),tr(pw(o),"children",void 0),o.props=new dw(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 hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bw(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 rve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gw(e,t)}function ove(e,t){return t&&(ive(t)==="object"||typeof t=="function")?t:hw(e)}function gw(e,t){return gw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gw(e,t)}function ive(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cve(e){var t=uve();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 ove(this,o)}}var YM=function(e){rve(r,e);var t=cve(r);function r(n){nve(this,r);var o;return o=t.call(this,n),bw(hw(o),"props",void 0),bw(hw(o),"children",void 0),o.props=new dw(n==null?void 0:n.props),o}return r}(fe);bw(YM,"controlType","approval-status-column");var HM={Designer:nr,Runtime:YM,Property:dw},lve=Object.freeze({__proto__:null,VarcharColumn:TA,TextColumn:MA,DecimalColumn:xA,TimescopeColumn:UA,TimestampColumn:eM,ArrayColumn:uM,DepartmentColumn:sM,AutoNumberColumn:hM,FileColumn:mM,ImageColumn:PM,PeopleColumn:TM,LocationColumn:AM,CustomColumn:jM,OrderColumn:aA,OperationColumn:vA,EmployeeColumn:GM,ApprovalStatusColumn:HM});function Ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ny(e){return Ny=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ny(e)}function UM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fve(e,t){return t&&(ave(t)==="object"||typeof t=="function")?t:Ue(e)}function mw(e,t){return mw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mw(e,t)}function ave(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 WM(e){var t=sve();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 fve(this,o)}}var _ve=function(e){UM(r,e);var t=WM(r);function r(n){qM(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(en),By=function(e){UM(r,e);var t=WM(r);function r(n){qM(this,r);var o;o=t.call(this,n),We(Ue(o),"search",void 0),We(Ue(o),"cancel",void 0),We(Ue(o),"searchType",void 0),We(Ue(o),"labelPosition",void 0),We(Ue(o),"viewType",void 0),We(Ue(o),"isLoading",void 0),We(Ue(o),"custom",void 0),We(Ue(o),"queryTypeMap",void 0),We(Ue(o),"childMinWidth",void 0),We(Ue(o),"colGap",void 0),We(Ue(o),"viewConfig",void 0),We(Ue(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}(Iu);We(By,"RuntimeRules",_ve);function KM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ay(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function My(e){return My=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},My(e)}function dve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pve(e,t){return t&&(vve(t)==="object"||typeof t=="function")?t:KM(e)}function Ow(e,t){return Ow=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ow(e,t)}function vve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bve(e){var t=hve();return function(){var n=My(e),o;if(t){var i=My(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pve(this,o)}}var ky=function(e){dve(r,e);var t=bve(r);function r(n){yve(this,r);var o;return o=t.call(this,n),Ay(KM(o),"props",void 0),o.props=new By(n==null?void 0:n.props),o}return r}(w$);Ay(ky,"controlType","simple-search"),Ay(ky,"slotPosition",{default:"search"}),Ay(ky,"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 ww(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dy(e){return Dy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dy(e)}function mve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$w(e,t)}function Ove(e,t){return t&&(wve(t)==="object"||typeof t=="function")?t:ww(e)}function $w(e,t){return $w=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$w(e,t)}function wve(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 $ve(e){var t=Pve();return function(){var n=Dy(e),o;if(t){var i=Dy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ove(this,o)}}var XM=function(e){mve(r,e);var t=$ve(r);function r(n){gve(this,r);var o;o=t.call(this,n),Pw(ww(o),"props",void 0),Pw(ww(o),"children",void 0),o.props=new By(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}($$);Pw(XM,"controlType","simple-search");var JM={Designer:ky,Runtime:XM,Property:By},Rve=Object.freeze({__proto__:null,SimpleSearch:JM});function QM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sve(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 Eve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ive(e,t){return t&&(Nve(t)==="object"||typeof t=="function")?t:QM(e)}function Rw(e,t){return Rw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rw(e,t)}function Nve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ave(e){var t=Bve();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 Ive(this,o)}}var Tw=function(e){Eve(r,e);var t=Ave(r);function r(n){Tve(this,r);var o;o=t.call(this,n),Sve(QM(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}(Mu);function ZM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ek(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kve(e,t,r){return t&&ek(e.prototype,t),r&&ek(e,r),e}function Dve(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 Lve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Fve(e,t){return t&&(jve(t)==="object"||typeof t=="function")?t:ZM(e)}function Sw(e,t){return Sw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sw(e,t)}function jve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xve(e){var t=Cve();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 Fve(this,o)}}var Vve=function(e){Lve(r,e);var t=xve(r);function r(n){Mve(this,r);var o;return o=t.call(this,n),Dve(ZM(o),"props",void 0),o.props=new Tw(n==null?void 0:n.props),o}return kve(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}(T$);function tk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gve(e,t,r){return t&&nk(e.prototype,t),r&&nk(e,r),e}function Yve(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 Hve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qve(e,t){return t&&(Uve(t)==="object"||typeof t=="function")?t:tk(e)}function Ew(e,t){return Ew=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ew(e,t)}function Uve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kve(e){var t=Wve();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 qve(this,o)}}var Xve=function(e){Hve(r,e);var t=Kve(r);function r(n){zve(this,r);var o;return o=t.call(this,n),Yve(tk(o),"props",void 0),o.props=new Tw(n==null?void 0:n.props),o}return Gve(r,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(E$);function kbe(e){return e}var Jve={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},rk={Designer:Vve,Runtime:Xve,Property:Tw,Setting:Jve},Qve=Object.freeze({__proto__:null,GridLayoutWrap:rk});function Iw(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 Zve(e){if(Array.isArray(e))return e}function ehe(e){if(Array.isArray(e))return Iw(e)}function the(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nhe(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 rhe(){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 ohe(){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 ihe(e,t){return Zve(e)||nhe(e,t)||ik(e,t)||rhe()}function ok(e){return ehe(e)||the(e)||ik(e)||ohe()}function ik(e,t){if(!!e){if(typeof e=="string")return Iw(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 Iw(e,t)}}var uhe=function(e,t){var r=Array.isArray(e),n=r?e:[e];bhe(t==null?void 0:t.events),_he(n),yhe(n);var o=she(n),i=dhe(o,t),u=Qt(V(i,function(l){return ahe(l,t)}));return r?u:u[0]},che=[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"],lhe=["subtable","grid-table"],fhe=["simple-search"];function ahe(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":che.includes(i.type)?i.controlType="base":i.controlType="form",lhe.includes(i.type)&&(i.controlType="list"),fhe.includes(i.type)&&(i.controlType="search-view")),delete i.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),me(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),me(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),me(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(i.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(i.type="department",e.props.value.length&&(i.props.default_value=e.props.value),i.props.showType=e.props.show_tree?"tree":"default",i.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=e.props.value),e.type==="file"){var u;i.type="attachment",i.props.attachmentAccept=(u=e.attachment_format)===null||u===void 0?void 0:u.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var l;i.props.attachmentAccept=(l=e.attachment_format)===null||l===void 0?void 0:l.split(",")}if(e.type==="date-pick"&&(i.type="date-picker"),e.type==="rich-text"&&(me(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(me(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var f,a=i.props.entry_type||i.props.entryType;i.props.openType=a==="subpage"?"modal":"default",((f=i.children[0])===null||f===void 0?void 0:f.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function(T,E){var D=new p0.Designer;D.props.caption=me(T.field_name)?T.field_name.zh:T.field_name;var Fe=D.toSchema();Fe.id=T.header_id;var be=i.children[0].children[E].children[0];return be&&(Fe.children=[be]),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=me(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 es.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&&(uk(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&&(uk(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=me(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=me(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=me(e.props.caption)?e.props.caption.zh:e.props.caption;var 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=me(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"),ghe(i,t==null?void 0:t.control_events),i}function uk(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 she(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new em.Designer,n=r.toSchema();return n.children=e,[n]}function _he(e){e.forEach(function(t){t.children&&hhe(t.children)})}function yhe(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 dhe(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=ihe(a,3),_=s[0],p=s[1],b=s[2];phe(_),b.props.is_fixed_header=f==null||(r=f.source_config)===null||r===void 0?void 0:r.is_fixed_header,vhe(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 X0.Designer;w.props.datasourceBind=new oe({dataCode:v,svcCode:d,orders:oP(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=me(T.title)?T.title.zh:T.title}),w.props.sublistPage=f.sublist_page;var R=w.toSchema();return R.children.push(_,b),[R]}function phe(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=me(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"){var n,o;t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=t.dateType)===null||o===void 0||(n=o.replace)===null||n===void 0?void 0:n.call(o,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function vhe(e,t){e.children=t.children.filter(function(r){return r.type!=="list-page-btn-custom-head"}),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(function(r){var n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:me(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=me(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order")n.type="order-column",n.props.fixed=!0;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var i;n.props.delete=(i=r.delete)!==null&&i!==void 0?i:{},n.props.delete.openType="window";var u;n.props.edit=(u=r.edit)!==null&&u!==void 0?u:{},n.props.edit.openType="window",n.props.fixed=!0}else n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column");return r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new 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 hhe(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 bhe(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 ghe(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,ok(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,ok(t[e.id].on_blur))}}}var mhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Qt(V(n,function(i){return Ohe(i)}));return r?o:o[0]};function Ohe(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 Ze({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var whe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Qt(V(n,function(i){return Phe(i)}));return r?o:o[0]};function Phe(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 $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.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 The=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Qt(V(n,function(i){return Ehe(i)}));return r?o:o[0]},She=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function Ehe(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(She.includes(r.type))return r;var n=new u0.Designer,o=new es.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var Ihe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Qt(V(n,function(i){return Nhe(i)}));return r?o:o[0]};function Nhe(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 Bhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return Ahe(i)});return r?o:o[0]};function Ahe(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 Mhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return khe(i)});return r?o:o[0]};function gn(e,t){e.field_code&&(e.field_type=t)}function khe(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 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.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 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 jhe(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 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[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 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[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 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 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 Go.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 Go.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,be,ge=new Go.Designer;Object.defineProperty(ge,"id",{value:"listPageDeleteBtnId"}),ge.props.code="delete",ge.props.icon="iconlajitong",ge.props.command="delete",ge.props.content=(R=r.props)===null||R===void 0?void 0:R.delete.content,ge.props.priorityProcess=(T=r.props)===null||T===void 0?void 0:T.delete.priority_process,ge.props.openType=(E=r.props)===null||E===void 0?void 0:E.delete.open_type,ge.props.formKey=(D=r.props)===null||D===void 0?void 0:D.delete.form_key,ge.props.needConfirm=!0,ge.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(ge.toSchema()),(be=r.props)===null||be===void 0||delete be.delete}}}),[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[c.CONTROL_TYPE.SELECT,c.CONTROL_TYPE.SELECT_RELATION,c.CONTROL_TYPE.SELECT_MULTIPLE,c.CONTROL_TYPE.RADIO,c.CONTROL_TYPE.CHECKBOX,c.CONTROL_TYPE.TREE,c.CONTROL_TYPE.DEPARTMENT2,c.CONTROL_TYPE.EMPLOYEE2,c.CONTROL_TYPE.DEPARTMENT,c.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}function Gi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Hhe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return qhe(i,t)});return r?o:o[0]};function qhe(e,t){e.type===c.CONTROL_TYPE.SUBTABLE&&e.props.headers.map(function(o){var i;o.props.meta_auto_width=new ld,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={},Gi(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}]),Gi(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}]),Gi(r,c.CONTROL_TYPE.LIST_VIEW,[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}]),Gi(r,c.CONTROL_TYPE.SIMPLE_SEARCH,[{key:"col-gap",value:24},{key:"child-min-width",value:230}]),Gi(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 Ji)}),e.type===c.CONTROL_TYPE.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),Uhe(t),e}function Uhe(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:[Whe()]}];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 Whe(){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 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){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 ru),e}function Jhe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Qhe=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){var r=Jhe({},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 ebe(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 tbe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=V(n,function(u){var l=nbe(u);return o[u.id]=u,l});return ebe(o,t),r?i:i[0]};function nbe(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 cd({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 rbe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=V(n,function(u){var l=obe(u);return o[u.id]=u,l});return ibe(o,t),r?i:i[0]};function obe(e,t){return e}function ibe(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 ube=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=V(n,function(u){var l=cbe(u);return o[u.id]=u,l});return lbe(o,t),r?i:i[0]};function cbe(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 lbe(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 fbe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return abe(i)});return r?o:o[0]};function abe(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 sbe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=V(n,function(i){return _be(i)});return hbe(o),ybe(o),r?o:o[0]};function _be(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 ybe(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=vbe(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 ck(e,t){return t||(t={}),e.forEach(function(r){if(r.children)ck(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 dbe(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 pbe(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 vbe(e,t){var r=ck(e),n=dbe(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=pbe(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 hbe(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 lk={"v1.0":uhe,"v2.0":mhe,"v2.1":whe,"v2.2":$he,"v2.3":The,"v2.4":Ihe,"v2.5":Bhe,"v2.6":Mhe,"v2.7":Dhe,"v2.8":Fhe,"v2.9":Che,"v2.10":Vhe,"v3.0":Ghe,"v3.1":Hhe,"v3.2":Khe,"v3.3":Qhe,"v3.4":tbe,"v3.5":rbe,"v3.6":ube,"v3.7":fbe,"v3.8":sbe,"v3.10":function(){}};const fk=(e,t)=>{const r=ak(e),n=ak(t),o=r.pop(),i=n.pop(),u=yk(r,n);return u!==0?u:o&&i?yk(o.split("."),i.split(".")):o||i?o?-1:1:0},Cy=(e,t,r)=>{Obe(r);const n=fk(e,t);return dk[r].includes(n)},bbe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,ak=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(bbe);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},sk=e=>e==="*"||e==="x"||e==="X",_k=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},gbe=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],mbe=(e,t)=>{if(sk(e)||sk(t))return 0;const[r,n]=gbe(_k(e),_k(t));return r>n?1:r<n?-1:0},yk=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=mbe(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},dk={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},pk=Object.keys(dk),Obe=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(pk.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${pk.join("|")}`)};function wbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pbe(e,t,r){return t&&vk(e.prototype,t),r&&vk(e,r),e}function hk(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bw(e){return e.replace(/^v/,"")}var ho=Object.keys(lk).map(function(e){return Bw(e)}).sort(fk),Yi=ho[ho.length-1],$be=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Yi;wbe(this,e),hk(this,"toVersion",void 0),hk(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=r,Cy(r,Yi,">")?Jt("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(Yi)):(!ho.includes(Bw(r))||!ho.includes(Bw(t)))&&Jt("Version Builder: Please give me a valid version number, The valid version is: ".concat(ho.join(","),", But give me a ").concat(t))}return Pbe(e,[{key:"dataCleaner",value:function(r,n){var o=this;if(Cy(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;Po("Version Builder: current version: ".concat(l,", nextVersion: ").concat(_));var p=lk[l],b=u;if(typeof p=="function"){var g=p(u,n);g&&(b=g)}return b},r);return Po("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var r=this;return ho.filter(function(n){return Cy(n,r.schemaVersion,">=")&&Cy(n,r.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(r){return"v"+r})}},{key:"version",get:function(){return Yi}}],[{key:"version",get:function(){return Yi}}]),e}();const xy=[],Aw={exports:{}};let Mw=!1;const Rbe=window.module,Tbe=window.exports,Sbe=window.require;function Ebe(e){return Mw||(window.module=Aw,window.exports=Aw.exports,window.require=function(t){return e[t]},Mw=!0),function(){window.module=Rbe,window.exports=Tbe,window.require=Sbe,Mw=!1}}function Ibe(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=Ebe(t);i.src=e,i.type="text/javascript";const l=()=>{document.head.removeChild(i);const f=xy.findIndex(a=>a===r);xy.splice(f,1),xy.length===0&&u()};i.onerror=function(f){l(),o(f)},i.onload=function(){n(Aw.exports),l()},document.head.appendChild(i)});return xy.push(r),r}function kw(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 bk(e,t,r={fetch:kw}){return new Promise((n,o)=>{r.fetch(e).then(i=>{const u={exports:{}};new Function("module","exports","require",i)(u,u.exports,function(l){return t[l]}),n(u.exports)}).catch(i=>{o(i)})})}function Vy(e,t){return bk(e,t)}function Nbe(e,t){return Hi(this,null,function*(){return yield Promise.all(e.map(r=>Vy(r,t)))})}function zy(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 Bbe(e,t,r,n){return Hi(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>Hi(this,null,function*(){let u=!0,l;try{u=!0;let f="";n.type==="runtime"?f=i.runtime:f=i.designer,f+="?v="+i.version,l=yield Vy(f,r),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=zy(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)}}gk(n.type,l,o,u,i)}))),e==null||e.map(i=>{const[u,l]=i.split(":");if(o.has(u)===!1){const a=zy(u,n.type,n.tipMessage);gk(n.type,a,o,!1,{fieldType:"",id:u,name:"",runtime:"",designer:"",type:"",version:l})}})),o})}function gk(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 Abe(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 Mbe(e,t){return Hi(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield kw(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const u=yield Vy(`${e}/${t.type}.js?v=${r}`,t.globalModules);i.map(l=>{let f=u.find(a=>t.type==="runtime"?a.Runtime.controlType===l.id:a.Designer.controlType===l.id);f===void 0&&(f=zy(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=tA,c.Address=UI,c.AddressValue=kP,c.AdvancedContainer=Y1,c.Amount=NI,c.AmountDataBind=NP,c.AmountValue=BP,c.ApprovalStatusColumn=HM,c.ArrayColumn=uM,c.Attachment=gI,c.AutoNumber=sN,c.AutoNumberColumn=hM,c.AutoWidth=Ji,c.BaseControlProperty=A,c.BaseControlPropertyRules=ue,c.BaseControlPropertyRuntimeRules=x,c.BaseStyle=jP,c.BatchDeleteButton=AS,c.BatchPrintListButton=pS,c.BatchPrintRecordListButton=mS,c.BatchSubmissionListButton=BR,c.Button=H$,c.Calc=bN,c.CalcDataBind=DP,c.CalcScriptEchoItem=wF,c.CalcValue=LP,c.CardGroup=k3,c.Checkbox=qS,c.Col=es,c.ColumnControlProperty=ee,c.ColumnControlPropertyRules=ft,c.ColumnOptionAndDataSourcePropertyRules=Ud,c.CreateFormListButton=PR,c.CustomAttributeItem=sd,c.CustomColumn=jM,c.CustomPermissionItem=$j,c.DEFAULT_LOCALE=Gw,c.DESIGNER_SLOT=Hy,c.Dashboard=DT,c.DataBind=Ze,c.DataSourceBind=oe,c.DataSourceDataSetValue=TP,c.DataSourceOrderItem=fd,c.DataSourceParamItem=Oj,c.DataStorageDoc=bP,c.DataView=em,c.DatePicker=vE,c.DateRange=TE,c.DecimalColumn=xA,c.Department=rN,c.Department2=WB,c.DepartmentColumn=sM,c.DepartmentEntity=Gy,c.DesignerColumnControl=le,c.DesignerControl=F,c.DesignerFormControl=M,c.DesignerLayoutControl=q,c.DesignerListControl=wu,c.DesignerSearchControl=w$,c.DesignerWrapControl=T$,c.DisplayBoListItem=tu,c.Divider=cR,c.ElectronicSignature=kB,c.ElectronicSignatureConfig=q$,c.Employee=yI,c.Employee2=$B,c.EmployeeColumn=GM,c.EventLogic=aP,c.Explain=Wu,c.ExportConfig=X$,c.ExportListButton=zR,c.ExportRecordListButton=UR,c.ExportTemplate=Lo,c.FieldBindItem=OP,c.FieldFilterCondition=Ro,c.FieldFilterConditions=eu,c.FileColumn=mM,c.FillBackBind=dd,c.FillPayloadBind=yd,c.FlexStyleConfig=Z$,c.FormBind=$n,c.FormSelectBind=gP,c.FormSelectButton=lT,c.Grid=_3,c.GridLayoutContainer=n1,c.GridLayoutWrap=rk,c.GridRow=u0,c.GridTable=mA,c.GridTableColumn=X3,c.Image=PI,c.ImageColumn=PM,c.ImageOptionSetting=IP,c.ImportConfig=K$,c.ImportListBind=W$,c.ImportRecordListButton=ZR,c.Input=CS,c.InvoiceCheckButton=cS,c.JSONCopy=Xe,c.JoinRelation=RP,c.Language=wj,c.LayoutControlProperty=z,c.LeftVariable=$P,c.LimitDate=Uu,c.Link=x$,c.LinkOperationOption=mt,c.ListBind=Zi,c.ListControlProperty=Mo,c.ListSelectButton=hT,c.ListView=X0,c.ListViewSelect=HT,c.LocationColumn=AM,c.MetaAutoWidth=ld,c.MetaRowHeight=cd,c.MetaWidth=Qi,c.MultistageFillingItem=Re,c.Number=fE,c.ObjectDataBind=ou,c.OperationButton=Go,c.OperationColumn=vA,c.OperationItem=kt,c.OptObject=CP,c.OptionAndDataSourcePropertyRules=Rn,c.OptionSetting=pd,c.OrderColumn=aA,c.OrganizationDataSourceBind=SP,c.OrganizationSelection=t3,c.Page=x1,c.Pagination=RT,c.PeopleColumn=TM,c.Position=X1,c.PositioningContainer=U1,c.PrintTemplate=Q$,c.Property=J,c.PropertyRules=re,c.PropertyRuntimeRules=en,c.Radio=nE,c.RangeDataBind=AP,c.RangeDateValue=MP,c.RegisterControls=$o,c.RegularRules=ru,c.RichText=xE,c.RightVariable=ir,c.Row=$3,c.RowHeight=ud,c.RowStyle=zP,c.RowStyleRule=xP,c.RowStyleSettings=VP,c.RulesMessage=h,c.RuntimeColumnControl=fe,c.RuntimeControl=Q,c.RuntimeFormControl=k,c.RuntimeLayoutControl=Z,c.RuntimeListControl=zd,c.RuntimeSearchControl=$$,c.RuntimeWrapControl=E$,c.SUBTABLE_DEFAULT_MAX_HEIGHT=J$,c.Score=FI,c.SearchControlProperty=Iu,c.SearchDateRange=jN,c.SearchInput=aB,c.SearchNumberRange=EN,c.Select=XE,c.SelectMultiple=rI,c.SelectRelation=tB,c.SelectedContentConfig=nu,c.SimpleSearch=JM,c.SubListItem=wP,c.SubListPageConfig=PP,c.SubTable=oA,c.SubTableColumn=p0,c.SubTableRow=H3,c.SubmissionRecordListButton=LR,c.SuperDataSourceBind=To,c.Tab=v1,c.TabPane=s1,c.Text=D$,c.TextColumn=MA,c.TextOcrButton=ZT,c.Textarea=ME,c.TimescopeColumn=UA,c.TimestampColumn=eM,c.Title=pR,c.Toolbox=P1,c.Tree=hB,c.TreeDataSourceBind=_d,c.UndersignedPerson=Op,c.UserEntity=Yy,c.VarcharColumn=TA,c.VersionBuilder=$be,c.ViewOperationItem=FP,c.VueFormItem=HN,c.VuePage=l3,c.WPS=VB,c.WPSSetting=U$,c.Watcher=lP,c.WpsOperationItem=wp,c.WrapControlProperty=Mu,c.baseControls=mY,c.camelizeKeys=oP,c.columnControls=lve,c.controlHooksEmitter=JP,c.createValidator=XP,c.debounce=JF,c.decamelizeKeys=Qt,c.defineArrayParent=_P,c.defineControlArrayToProperty=lt,c.defineParent=od,c.error=Jt,c.formControls=Fte,c.genNonDuplicateId=Ke,c.getHackerControl=zy,c.getNotRepeatItems=rP,c.initExpression=Fo,c.initImageOptions=Pj,c.initLinkOperationRules=Ft,c.initOptionAndDataSourceRules=lu,c.initOptions=Ot,c.initSuperDataSourceRules=Bo,c.isArray=wn,c.isBuiltInControls=ZF,c.isDataBind=f$,c.isFunction=HF,c.isJSONArray=KF,c.isJSONObject=XF,c.isLanguageObject=me,c.isNumber=ed,c.isNumberAndEmptyStringArray=WF,c.isNumberArray=UF,c.isObject=YF,c.isPlainObject=Zy,c.isString=nP,c.isStringArray=qF,c.layoutControls=Ofe,c.listControls=ise,c.loadRemoteControl=Vy,c.loadRemoteControls=Nbe,c.loadScriptFromFetch=bk,c.loadScriptFromTag=Ibe,c.log=Po,c.logerror=Xw,c.loop=V,c.loopFormSchema=Wi,c.nativeFetch=kw,c.noop=PF,c.referenceError=Xy,c.registerByteluckControls=Mbe,c.registerCustomControls=Bbe,c.searchControls=Rve,c.setPropertyDontEnum=Ki,c.toNumberOrEmpty=Pn,c.updateValueFromKeys=Zw,c.upgradeCustomControlSchema=Abe,c.wait=QF,c.warn=On,c.wrapControls=Qve,Object.defineProperty(c,"__esModule",{value:!0})});
|