@byteluck-fe/model-driven-core-all 2.7.0-alpha.28a → 2.7.0-alpha.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.umd.js +1 -1
- package/package.json +6 -6
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var zi=(c,An,un)=>new Promise((S_,Gi)=>{var H=Vt=>{try{bo(un.next(Vt))}catch(go){Gi(go)}},E_=Vt=>{try{bo(un.throw(Vt))}catch(go){Gi(go)}},bo=Vt=>Vt.done?S_(Vt.value):Promise.resolve(Vt.value).then(H,E_);bo((un=un.apply(c,An)).next())});(function(c,An){typeof exports=="object"&&typeof module!="undefined"?An(exports):typeof define=="function"&&define.amd?define(["exports"],An):(c=typeof globalThis!="undefined"?globalThis:c||self,An(c.modelDrivenCoreAll={}))})(this,function(c){"use strict";function An(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function un(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S_=function e(){An(this,e),un(this,"department_en_name",void 0),un(this,"department_id",void 0),un(this,"department_name",void 0)};function Gi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E_=function e(){Gi(this,e),H(this,"avatar_big",void 0),H(this,"avatar_small",void 0),H(this,"avatar_url",void 0),H(this,"belong_dept_en_name",void 0),H(this,"belong_dept_id_list",void 0),H(this,"belong_dept_ids",void 0),H(this,"belong_dept_name",void 0),H(this,"cookie_language_enum",void 0),H(this,"department_id",void 0),H(this,"department_name",void 0),H(this,"email",void 0),H(this,"employee_card",void 0),H(this,"employee_en_name",void 0),H(this,"employee_id",void 0),H(this,"employee_name",void 0),H(this,"external_user",void 0),H(this,"gender",void 0),H(this,"is_show_chat_group",void 0),H(this,"manage_dept_en_name",void 0),H(this,"manage_dept_ids",void 0),H(this,"manage_dept_name",void 0),H(this,"msg_relation_type",void 0),H(this,"sequence",void 0),H(this,"telephone",void 0),H(this,"tenant_id",void 0)},bo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Vt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",go="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",lA="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",aA="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",sA="{caption}\u5FC5\u586B",pA="\u8BF7\u8F93\u5165\u6807\u9898",_A="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",yA="\u8BF7\u8F93\u5165\u884C\u6807\u9898",dA="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",vA="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",hA="\u8BF7\u7ED1\u5B9A\u8868\u5355",bA="\u8BF7\u7ED1\u5B9A\u5217\u8868",gA="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",mA="\u8BF7\u8F93\u5165\u663E\u793A\u503C",OA="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",wA="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",PA="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",$A="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",RA="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",TA="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",SA="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",EA="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",IA="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",BA="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",NA="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",MA="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",AA="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",kA="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",DA="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",LA="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",jA="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",FA="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",CA="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",xA="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",VA="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",zA="\u8BF7\u7ED1\u5B9A\u670D\u52A1",GA="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",YA="\u8BF7\u9009\u62E9\u7701",HA="\u8BF7\u9009\u62E9\u5E02",qA="\u8BF7\u9009\u62E9\u533A",UA="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",WA="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",KA="\u8BF7\u8F93\u5165\u5217\u5BBD",XA="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",JA="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",QA="\u8BF7\u9009\u62E9\u63A7\u4EF6",ZA="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",ek="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",tk="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",nk="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",rk="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ok="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ik="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",uk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ck="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",fk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",lk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ak="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",sk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",pk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",_k="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",yk="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",dk="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",vk="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",hk="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",bk="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",gk="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",mk="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Ok="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",wk="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Pk="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",$k="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Rk={isNotNumber:bo,isNotString:Vt,isNotObject:go,isNotArray:lA,isNotBoolean:aA,runtimeRequired:sA,pleaseEnterCaption:pA,pleaseEnterCaptionTip:_A,pleaseEnterRowCaption:yA,pleaseEnterPlaceholder:dA,pleaseEnterFieldCode:vA,pleaseEnterForm:hA,pleaseEnterList:bA,pleaseEnterProcess:gA,pleaseEnterLabel:mA,pleaseEnterValue:OA,bizKeyNotBindFiled:wA,pleaseSelectOneField:PA,pleaseEnterNumberRange:$A,pleaseEnterAValueGreaterThanMin:RA,pleaseEnterAValueLessThanMax:TA,numberRangeSetError:SA,stringRangeError:EA,attachmentMaxSize:IA,pleaseEnterTotalScoreSetting:BA,theTotalScoreMustNotBeLessThan1:NA,scoreDefaultValueRange:MA,attachmentLimitError:AA,PleaseReselectTheOptionalQuantity:kA,TheMaximumLengthIsGreaterThanTheMinimumLength:DA,TheMinimumLengthIsGreaterThanTheMaximumLength:LA,PleaseSelectTheCorrectOptionSettings:jA,optionIdIsRepeat:FA,optionIsRequired:CA,pleaseEnterDataCode:xA,pleaseEnterValueFieldCode:VA,pleaseEnterSvcCode:zA,pleaseBindAtLeastOneDisplayValue:GA,pleaseSelectProvince:YA,pleaseSelectCity:HA,pleaseSelectDistrict:qA,limitRowsCannotBeLessThan0:UA,TheNumberOfRowsCannotBeLessThanMinRows:WA,pleaseEnterColumnWidth:KA,pleaseSetTheLogicalRelationshipOfAllRuleConditions:XA,pleaseCompleteAllRulesAndConditions:JA,pleaseSelectControl:QA,pleaseSelectAtLeastOneColumn:ZA,pleaseSelectFillBackMode:ek,pleaseSelectDashboard:tk,rootNodeIsRequired:nk,theViewNameCannotBeEmpty:rk,pleaseSelectOcrType:ok,pleaseSelectAtLeastOneFieldToFillIn:ik,pleaseChooseAtLeastOne:uk,pleaseEnterButtonContent:ck,pleaseEnterDataCodeInDataSetting:fk,pleaseEnterValueFieldCodeInDataSetting:lk,pleaseEnterSvcCodeInDataSetting:ak,pleaseBindAtLeastOneDisplayValueInDataSetting:sk,rootNodeIsRequiredInDataSetting:pk,pleaseEnterMaxHeight:_k,pleaseEnter:yk,pleaseEnterWatermark:dk,pleaseEnterFileName:vk,pleaseUploadAtLeastOnePrintTemplate:hk,pleaseAssignBusiness:bk,pleaseAssignExternal:gk,pleaseEnterAliasCode:mk,pleaseSelectDataCode:Ok,pleaseSelectSvcCode:wk,pleaseSelectJoinFieldCode:Pk,pleaseSelectMainFieldCode:$k},Tk="Please enter a number",Sk="Please enter a string",Ek="Please enter an object",Ik="Please enter an array",Bk="Please enter a boolean",Nk="{caption} Required",Mk="Please enter the title",Ak="Please enter the bubble prompt",kk="Please enter the row title",Dk="Please enter the prompt text",Lk="Please bind data items",jk="Please bind the form",Fk="Please bind the list",Ck="Please bind the process",xk="Please enter the displayed value",Vk="Please enter the stored value",zk="The document number is not bound to the data item",Gk="Please select at least one display field",Yk="Please enter a value greater than or equal to {min} and less than or equal to {max}",Hk="Please enter a value greater than or equal to {min}",qk="Please enter a value less than or equal to {max}",Uk="The value range is set incorrectly",Wk="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Kk="The attachment size must be between 0MB and 1000MB",Xk="Please fill in the total score setting",Jk="The total score cannot be less than 1",Qk="The default value must be between {min} and {max}",Zk="The number of attachments uploaded must be between {min} and {max}",eD="Please re-select the optional quantity",tD="The maximum length of the control must be greater than the minimum length",nD="The minimum length of the control must be less than the maximum length",rD="Please select the correct option setting",oD="Option ID cannot be repeated",iD="Please enter at least one option",uD="Please bind the data source",cD="Please bind the stored value",fD="Please bind the service",lD="At least one display value must be bound",aD="Please select a province",sD="Please select a city",pD="Please select a district",_D="The minimum number of lines to fill in cannot be less than 0",yD="The number of rows cannot be less than {min} rows",dD="Please enter the column width",vD="Please set the logical relationship of all rule conditions",hD="Please complete all rules and conditions",bD="please select control",gD="Please select the dashboard",mD="View name cannot be empty",OD="Please select recognition type",wD="Please select at least one field to fill in",PD="Please select at least one",$D="Please enter the button title",RD="Please bind the business model in the data settings",TD="Please bind storage values in data settings",SD="Please bind the service in the data settings",ED="Please bind at least one display value in the data settings",ID="Please select the root node in the data settings",BD="Please enter the maximum height",ND="The input content cannot be empty",MD="Watermark cannot be empty",AD="File name cannot be empty",kD="Please upload at least one printing template!\uFF01",DD="Please select a specific business department",LD="Please select a specified external organization",jD="Please enter a sub table alias",FD="Please select the associated table to set the business model",CD="Please select the association table to set the binding service",xD="Select associated sub table fields",VD="Please select the associated main table field",zD={isNotNumber:Tk,isNotString:Sk,isNotObject:Ek,isNotArray:Ik,isNotBoolean:Bk,runtimeRequired:Nk,pleaseEnterCaption:Mk,pleaseEnterCaptionTip:Ak,pleaseEnterRowCaption:kk,pleaseEnterPlaceholder:Dk,pleaseEnterFieldCode:Lk,pleaseEnterForm:jk,pleaseEnterList:Fk,pleaseEnterProcess:Ck,pleaseEnterLabel:xk,pleaseEnterValue:Vk,bizKeyNotBindFiled:zk,pleaseSelectOneField:Gk,pleaseEnterNumberRange:Yk,pleaseEnterAValueGreaterThanMin:Hk,pleaseEnterAValueLessThanMax:qk,numberRangeSetError:Uk,stringRangeError:Wk,attachmentMaxSize:Kk,pleaseEnterTotalScoreSetting:Xk,theTotalScoreMustNotBeLessThan1:Jk,scoreDefaultValueRange:Qk,attachmentLimitError:Zk,PleaseReselectTheOptionalQuantity:eD,TheMaximumLengthIsGreaterThanTheMinimumLength:tD,TheMinimumLengthIsGreaterThanTheMaximumLength:nD,PleaseSelectTheCorrectOptionSettings:rD,optionIdIsRepeat:oD,optionIsRequired:iD,pleaseEnterDataCode:uD,pleaseEnterValueFieldCode:cD,pleaseEnterSvcCode:fD,pleaseBindAtLeastOneDisplayValue:lD,pleaseSelectProvince:aD,pleaseSelectCity:sD,pleaseSelectDistrict:pD,limitRowsCannotBeLessThan0:_D,TheNumberOfRowsCannotBeLessThanMinRows:yD,pleaseEnterColumnWidth:dD,pleaseSetTheLogicalRelationshipOfAllRuleConditions:vD,pleaseCompleteAllRulesAndConditions:hD,pleaseSelectControl:bD,pleaseSelectDashboard:gD,theViewNameCannotBeEmpty:mD,pleaseSelectOcrType:OD,pleaseSelectAtLeastOneFieldToFillIn:wD,pleaseChooseAtLeastOne:PD,pleaseEnterButtonContent:$D,pleaseEnterDataCodeInDataSetting:RD,pleaseEnterValueFieldCodeInDataSetting:TD,pleaseEnterSvcCodeInDataSetting:SD,pleaseBindAtLeastOneDisplayValueInDataSetting:ED,rootNodeIsRequiredInDataSetting:ID,pleaseEnterMaxHeight:BD,pleaseEnter:ND,pleaseEnterWatermark:MD,pleaseEnterFileName:AD,pleaseUploadAtLeastOnePrintTemplate:kD,pleaseAssignBusiness:DD,pleaseAssignExternal:LD,pleaseEnterAliasCode:jD,pleaseSelectDataCode:FD,pleaseSelectSvcCode:CD,pleaseSelectJoinFieldCode:xD,pleaseSelectMainFieldCode:VD},GD="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",YD="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HD="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qD="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UD="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",WD="{caption}\u5FC5\u9808",KD="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",XD="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",JD="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",QD="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ZD="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",eL="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tL="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nL="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rL="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oL="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",iL="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",uL="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",cL="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",fL="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lL="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aL="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",sL="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pL="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",_L="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",yL="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",dL="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",vL="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",hL="\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",gL="\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",OL="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",wL="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",PL="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$L="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",RL="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",TL="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",SL="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",EL="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",IL="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",BL="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",NL="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ML="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",AL="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",kL="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",DL="please select control",LL="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jL="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",FL="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",CL="\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",xL="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",VL="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",GL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",YL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",HL="\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",qL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",UL="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",WL="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",KL="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",XL="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",JL="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",QL="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ZL="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ej="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tj="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",nj="\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",rj="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",oj="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ij={isNotNumber:GD,isNotString:YD,isNotObject:HD,isNotArray:qD,isNotBoolean:UD,runtimeRequired:WD,pleaseEnterCaption:KD,pleaseEnterCaptionTip:XD,pleaseEnterRowCaption:JD,pleaseEnterPlaceholder:QD,pleaseEnterFieldCode:ZD,pleaseEnterForm:eL,pleaseEnterList:tL,pleaseEnterProcess:nL,pleaseEnterLabel:rL,pleaseEnterValue:oL,bizKeyNotBindFiled:iL,pleaseSelectOneField:uL,pleaseEnterNumberRange:cL,pleaseEnterAValueGreaterThanMin:fL,pleaseEnterAValueLessThanMax:lL,numberRangeSetError:aL,stringRangeError:sL,attachmentMaxSize:pL,pleaseEnterTotalScoreSetting:_L,theTotalScoreMustNotBeLessThan1:yL,scoreDefaultValueRange:dL,attachmentLimitError:vL,PleaseReselectTheOptionalQuantity:hL,TheMaximumLengthIsGreaterThanTheMinimumLength:bL,TheMinimumLengthIsGreaterThanTheMaximumLength:gL,PleaseSelectTheCorrectOptionSettings:mL,optionIdIsRepeat:OL,optionIsRequired:wL,pleaseEnterDataCode:PL,pleaseEnterValueFieldCode:$L,pleaseEnterSvcCode:RL,pleaseBindAtLeastOneDisplayValue:TL,pleaseSelectProvince:SL,pleaseSelectCity:EL,pleaseSelectDistrict:IL,limitRowsCannotBeLessThan0:BL,TheNumberOfRowsCannotBeLessThanMinRows:NL,pleaseEnterColumnWidth:ML,pleaseSetTheLogicalRelationshipOfAllRuleConditions:AL,pleaseCompleteAllRulesAndConditions:kL,pleaseSelectControl:DL,pleaseSelectDashboard:LL,theViewNameCannotBeEmpty:jL,pleaseSelectOcrType:FL,pleaseSelectAtLeastOneFieldToFillIn:CL,pleaseChooseAtLeastOne:xL,pleaseEnterButtonContent:VL,pleaseEnterDataCodeInDataSetting:zL,pleaseEnterValueFieldCodeInDataSetting:GL,pleaseEnterSvcCodeInDataSetting:YL,pleaseBindAtLeastOneDisplayValueInDataSetting:HL,rootNodeIsRequiredInDataSetting:qL,pleaseEnterMaxHeight:UL,pleaseEnter:WL,pleaseEnterWatermark:KL,pleaseEnterFileName:XL,pleaseUploadAtLeastOnePrintTemplate:JL,pleaseAssignBusiness:QL,pleaseAssignExternal:ZL,pleaseEnterAliasCode:ej,pleaseSelectDataCode:tj,pleaseSelectSvcCode:nj,pleaseSelectJoinFieldCode:rj,pleaseSelectMainFieldCode:oj},uj={zhCN:Rk,enUS:zD,jaJP:ij};function cj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 fj=function e(t){cj(this,e);var n,r,o,i,u,f;gr(this,"name",void 0),gr(this,"id",void 0),gr(this,"type",void 0),gr(this,"subTableId",void 0),gr(this,"subTableName",void 0),gr(this,"aggregateType",void 0);var a;this.name=(a=(n=t)===null||n===void 0?void 0:n.name)!==null&&a!==void 0?a:"";var l;this.id=(l=(r=t)===null||r===void 0?void 0:r.id)!==null&&l!==void 0?l:"";var s;this.type=(s=(o=t)===null||o===void 0?void 0:o.type)!==null&&s!==void 0?s:c.CALC_TOKEN_TYPE.Number;var p;this.subTableId=(p=(i=t)===null||i===void 0?void 0:i.subTableId)!==null&&p!==void 0?p:void 0;var _;this.subTableName=(_=(u=t)===null||u===void 0?void 0:u.subTableId)!==null&&_!==void 0?_:void 0;var y;this.aggregateType=(y=(f=t)===null||f===void 0?void 0:f.aggregateType)!==null&&y!==void 0?y:void 0},Ww="zh-CN",lj=function(){};function Ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}c.CONTROL_BASE_TYPE=void 0,function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"}(c.CONTROL_BASE_TYPE||(c.CONTROL_BASE_TYPE={})),c.CONTROL_TYPE=void 0,function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap"}(c.CONTROL_TYPE||(c.CONTROL_TYPE={})),c.FieldTypes=void 0,function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"}(c.FieldTypes||(c.FieldTypes={}));var ke,aj=(ke={},Ke(ke,c.FieldTypes.ARRAY,c.CONTROL_TYPE.ARRAY_COLUMN),Ke(ke,c.FieldTypes.AUTO_NUMBER,c.CONTROL_TYPE.AUTO_NUMBER_COLUMN),Ke(ke,c.FieldTypes.DECIMAL,c.CONTROL_TYPE.DECIMAL_COLUMN),Ke(ke,c.FieldTypes.DEPARTMENTS,c.CONTROL_TYPE.DEPARTMENT_COLUMN),Ke(ke,c.FieldTypes.FILE,c.CONTROL_TYPE.FILE_COLUMN),Ke(ke,c.FieldTypes.IMAGE,c.CONTROL_TYPE.IMAGE_COLUMN),Ke(ke,c.FieldTypes.ADDRESS,c.CONTROL_TYPE.LOCATION_COLUMN),Ke(ke,c.FieldTypes.EMPLOYEES,c.CONTROL_TYPE.EMPLOYEE_COLUMN),Ke(ke,c.FieldTypes.TEXT,c.CONTROL_TYPE.TEXT_COLUMN),Ke(ke,c.FieldTypes.TIMESCOPE,c.CONTROL_TYPE.TIMESCOPE_COLUMN),Ke(ke,c.FieldTypes.TIMESTAMP,c.CONTROL_TYPE.TIMESTAMP_COLUMN),Ke(ke,c.FieldTypes.VARCHAR,c.CONTROL_TYPE.VARCHAR_COLUMN),Ke(ke,c.FieldTypes.RELATION,c.CONTROL_TYPE.VARCHAR_COLUMN),ke);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 Kw="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",sj=Kw+"0123456789";function yt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?Kw:sj,o=Math.random()*r.length;t+=r[parseInt(String(o),10)]}return t}function I_(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pj(e){if(Array.isArray(e))return I_(e)}function _j(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yi(e,t,n){return Zw()?Yi=Reflect.construct:Yi=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&Oo(l,u.prototype),l},Yi.apply(null,arguments)}function mo(e){return mo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mo(e)}function Jw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oo(e,t)}function yj(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function dj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vj(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function hj(e,t){return t&&(bj(t)==="object"||typeof t=="function")?t:_j(e)}function Oo(e,t){return Oo=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Oo(e,t)}function Qw(e){return pj(e)||dj(e)||gj(e)||vj()}function bj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gj(e,t){if(!!e){if(typeof e=="string")return I_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I_(e,t)}}function B_(e){var t=typeof Map=="function"?new Map:void 0;return B_=function(r){if(r===null||!yj(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return Yi(r,arguments,mo(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Oo(o,r)},B_(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 eP(e){var t=Zw();return function(){var r=mo(e),o;if(t){var i=mo(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return hj(this,o)}}var N_=console;function kn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t.slice(1);(r=N_).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(Qw(o)))}function wo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t.slice(1);(r=N_).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(Qw(o)))}function mj(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var M_=function(e){Jw(n,e);var t=eP(n);function n(r){Xw(this,n);var o;return o=t.call(this,r),o.name="\u{1F4A5} Driven Error",o.message=r?mj(r):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return n}(B_(Error)),Oj=function(e){Jw(n,e);var t=eP(n);function n(r){Xw(this,n);var o;return o=t.call(this,r),o.name="\u{1F6A8} Driven Reference Error",o}return n}(M_);function cn(e){throw new M_(e)}function A_(e){throw new Oj(e)}function tP(e){N_.error(new M_(e))}function Hi(e,t){Array.isArray(e)&&e.map(function(n){switch(n.controlType){case"layout":var r;Hi((r=n)===null||r===void 0?void 0:r.children,t);break;case"wrap":var o;Hi((o=n)===null||o===void 0?void 0:o.children,t);break;case"search":var i;Hi((i=n)===null||i===void 0?void 0:i.children,t);break;case"form":t(n)}})}var wj=Object.prototype.toString;function nP(e,t){return wj.call(e)==="[object "+t+"]"}function Pj(e){return nP(e,"String")}function $j(e){return nP(e,"Promise")}var Rj=function(){function e(t){var n,r;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((r=(n=t.messages)!==null&&n!==void 0?n:this.getPreImport(t.locale))!==null&&r!==void 0?r:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var n=this;this.locale=t,this._messageCache.clear();var r=this.getMessageData();$j(r)?r.then(function(o){n._messageCache.clear(),n.messages[n.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=r},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,n,r){var o=this.getMessage(t);return o?this.formatMessage(o,r):this.formatMessage(n,r)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var n=this.getPathArray(t),r=n.reduce(function(o,i,u,f){if(o!==void 0){var a=o[i];if(!(u===f.length-1&&!Pj(a)))return a}},this.message);return this._messageCache.set(t,r),r},e.prototype.formatMessage=function(t,n){return n?t.replace(this.variableRegExp,function(r,o){var i=n[o];return i!==void 0?String(i):r}):t},e.prototype.getPreImport=function(t){var n;if(window.okI18nPreImport){var r=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(r)?window.okI18nPreImport:(n={},n[r]=window.okI18nPreImport,n)}},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 Tj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sj(e,t,n){return t&&rP(e.prototype,t),n&&rP(e,n),e}function Ej(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=function(){function e(){Tj(this,e)}return Sj(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",r)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ww;return new Rj({locale:n,messages:uj})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),e}();Ej(w,"$i18n",w.resetI18n());function oP(e,t,n){var r=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return r.reduce(function(i,u,f,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){kn("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return f===a.length-1&&!Object.is(l[u],n)&&(l[u]=n,o=!0),l[u]}},e),o}var Ij=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},k_={exports:{}};(function(e){(function(t){var n=function(d,g,m){if(!l(g)||p(g)||_(g)||y(g)||a(g))return g;var O,$=0,T=0;if(s(g))for(O=[],T=g.length;$<T;$++)O.push(n(d,g[$],m));else{O={};for(var R in g)Object.prototype.hasOwnProperty.call(g,R)&&(O[d(R,m)]=n(d,g[R],m))}return O},r=function(d,g){g=g||{};var m=g.separator||"_",O=g.split||/(?=[A-Z])/;return d.split(O).join(m)},o=function(d){return v(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(g,m){return m?m.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},i=function(d){var g=o(d);return g.substr(0,1).toUpperCase()+g.substr(1)},u=function(d,g){return r(d,g).toLowerCase()},f=Object.prototype.toString,a=function(d){return typeof d=="function"},l=function(d){return d===Object(d)},s=function(d){return f.call(d)=="[object Array]"},p=function(d){return f.call(d)=="[object Date]"},_=function(d){return f.call(d)=="[object RegExp]"},y=function(d){return f.call(d)=="[object Boolean]"},v=function(d){return d=d-0,d===d},h=function(d,g){var m=g&&"process"in g?g.process:g;return typeof m!="function"?d:function(O,$){return m(O,d,$)}},b={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(d,g){return n(h(o,g),d)},decamelizeKeys:function(d,g){return n(h(u,g),d,g)},pascalizeKeys:function(d,g){return n(h(i,g),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=b:t.humps=b})(Ij)})(k_);var iP={};Object.defineProperty(iP,"__esModule",{value:!0});function D_(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:D_(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:D_(r)}return t}}var Bj=iP.default=D_;function zt(e){if(e!==void 0)return typeof e=="object"?Bj(e):e}function Se(e){return L_(e)&&"zh"in e}function L_(e){return Object.prototype.toString.call(e)==="[object Object]"}function Nj(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function Dn(e){return Array.isArray(e)}function uP(e){return typeof e=="string"}function j_(e){return typeof e=="number"}function Mj(e){return typeof e=="function"}function Aj(e){return Dn(e)&&e.every(function(t){return uP(t)})}function kj(e){return Dn(e)&&e.every(function(t){return j_(t)})}function Dj(e){return Dn(e)&&e.every(function(t){return j_(t)||t===""})}function Lj(e){return/^\[.*?]$/.test(e)}function jj(e){return/^{.*?}$/.test(e)}function Ln(e){return isNaN(parseFloat(e))?"":Number(e)}function cP(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function Fj(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,n;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var u=this;n||(n=setTimeout(function(){e.apply(u,o),clearTimeout(n),n=null},t))}}function Cj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function Ee(e,t){var n=[];return Array.isArray(e)&&(n=e.map(function(r){var o,i,u=r;return Array.isArray((o=r)===null||o===void 0?void 0:o.children)&&(u.children=Ee(r.children,t)),Array.isArray((i=r)===null||i===void 0?void 0:i.footers)&&(u.footers=Ee(r.footers,t)),t(u)})),n}function fP(e){return k_.exports.camelizeKeys(e)}function jn(e){return k_.exports.decamelizeKeys(e)}function xj(e){return Object.values(c.CONTROL_TYPE).includes(e)}function F_(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vj(e){if(Array.isArray(e))return F_(e)}function lP(e,t,n,r,o,i,u){try{var f=e[i](u),a=f.value}catch(l){n(l);return}f.done?t(a):Promise.resolve(a).then(r,o)}function zj(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(a){lP(i,r,o,u,f,"next",a)}function f(a){lP(i,r,o,u,f,"throw",a)}u(void 0)})}}function Gj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yj(e,t,n){return t&&aP(e.prototype,t),n&&aP(e,n),e}function sP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qj(){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 C_(e){return Vj(e)||Hj(e)||Uj(e)||qj()}function Uj(e,t){if(!!e){if(typeof e=="string")return F_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F_(e,t)}}function Wj(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var pP=function(){function e(){Gj(this,e),sP(this,"_events",new Map),sP(this,"debug",!1)}return Yj(e,[{key:"emit",value:function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];var u=this;return zj(function(){var f,a,l,s,p,_,y,v,h,b,d,g;return Wj(this,function(m){switch(m.label){case 0:if(f=u._events.get(n),a=[],!f)return[3,10];l=f.slice(),s=!0,p=!1,_=void 0,m.label=1;case 1:m.trys.push([1,8,9,10]),y=l[Symbol.iterator](),m.label=2;case 2:if(s=(v=y.next()).done)return[3,7];if(h=v.value,!f.includes(h))return[3,6];m.label=3;case 3:return m.trys.push([3,5,,6]),u.debug&&wo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(C_(o))),[4,h.apply(null,C_(o))];case 4:return b=m.sent(),u.debug&&wo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(C_(o),[b])),a.push(b),b===!1?[3,7]:[3,6];case 5:return d=m.sent(),tP(String(d)+":"+String(d.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return g=m.sent(),p=!0,_=g,[3,10];case 9:try{!s&&y.return!=null&&y.return()}finally{if(p)throw _}return[7];case 10:return[2,a]}})})()}},{key:"on",value:function(n,r){if(this._events.has(n)){var o;(o=this._events.get(n))===null||o===void 0||o.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var o,i,u=this._events.get(n),f=(o=u)===null||o===void 0?void 0:o.indexOf(r);(i=u)===null||i===void 0||i.splice(f,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function Kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _P(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xj(e,t,n){return t&&_P(e.prototype,t),n&&_P(e,n),e}function Jj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qj=[{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"}],yP=function(){function e(){Kj(this,e)}return Xj(e,[{key:"getEventsFromKeys",value:function(n){var r=typeof n=="string"?[n]:n;return e.events.filter(function(o){return r.includes(o.key)})}}]),e}();Jj(yP,"events",Qj);function x_(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Zj(e){if(Array.isArray(e))return x_(e)}function eF(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tF(){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 dP(e){return Zj(e)||eF(e)||nF(e)||tF()}function nF(e,t){if(!!e){if(typeof e=="string")return x_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x_(e,t)}}function V_(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function z_(e,t,n){n==="Designer"&&(e.parent=t,V_(e,"parent"))}function vP(e,t,n){e.forEach(function(r){z_(r,t,n)})}var hP=Symbol("targetKey");function bP(e){var t;return(t=e[hP])!==null&&t!==void 0?t:e}function gP(e,t,n){return vP(e,t,n),new Proxy(e,{get:function(o,i){for(var u=arguments.length,f=new Array(u>2?u-2:0),a=2;a<u;a++)f[a-2]=arguments[a];var l;return i===hP?o:(l=Reflect).get.apply(l,[o,i].concat(dP(f)))},set:function(o,i,u){for(var f=arguments.length,a=new Array(f>3?f-3:0),l=3;l<f;l++)a[l-3]=arguments[l];var s;if(Dn(e)&&i==="length"&&u===e.length)return!0;var p=(s=Reflect).set.apply(s,[o,i,u].concat(dP(a)));return L_(u)&&z_(u,t,n),p}})}function dt(e,t,n,r,o){var i=r!=null?r:e,u=gP(bP(n!=null?n:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(a){u=gP(bP(a),i,o)},enumerable:!0})}function rF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oF(e,t,n){return t&&mP(e.prototype,t),n&&mP(e,n),e}function fn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var OP=[],Po=function(){function e(t){rF(this,e),fn(this,"registeredControlTypes",new Set),fn(this,"controlConfigMap",new Map),fn(this,"_controls",[]),fn(this,"_type",void 0),this._type=t,this._initControls(t)}return oF(e,[{key:"registerControlConfig",value:function(n,r){return this.controlConfigMap.set(n,r),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||cn("".concat(n.name," is not a Control"));var r=this._controls.findIndex(function(o){return o.controlType===n.controlType});return r>-1&&(kn("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(r,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===c.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===c.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(n){return n.controlType===c.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===c.CONTROL_BASE_TYPE.COLUMN}},{key:"createControl",value:function(n,r){var o=this;if(Array.isArray(n))return n.map(function(s){return o.createControl(s,r)});if(n.children&&(n.children=n.children.map(function(s){return o.createControl(s,r)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(s){return o.createControl(s,r)})),i.footers&&(i.footers=i.footers.map(function(s){var p;return s&&(p=o.createControl(s,r)),p}))}var u=this.getControlFormType(n.type);if(u){var f=n;if(typeof r=="function"){var a=r(f);a&&(f=a)}var l;return u.mode==="Runtime"?(l=f,this._setParentPrototypeToSchema(l,this)):l=new u(f),l}else cn("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"_setParentPrototypeToSchema",value:function(n,r){r._type==="Runtime"&&(Object.defineProperty(n,"parent",{get:function(){var i=n.id,u=r._controlParentIdMap,f=r.instanceMap;if(!(!u||!f)){var a=u[i],l=f[i];if(!(!a&&!l)){var s=l.findIndex(function(y){return y==n}),p=f[a]||[],_;return p.length!==l.length?_=p[0]:_=p[s],_}}}}),V_(n,"parent"))}},{key:"createControlInstance",value:function(n,r){var o=this.getControlFormType(n);if(o)return new o(r)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(r){return r.controlType===n})}},{key:"_initControls",value:function(n){var r=this;this.constructor.staticControls.forEach(function(o){r.register(o[n]),e.staticControlsRuntimeRules.set(o.Runtime.controlType,o.Property.RuntimeRules),o.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,r){var o=e.staticControlsRuntimeRules.get(n),i=[];if(o){var u=new o(r);i=Array.from(u)}return i}},{key:"register",value:function(n,r){var o=n.Designer,i=n.Runtime,u=n.Property;(!o||!i||!o.__is_control__||!i.__is_control__)&&cn("".concat(n," is can't register as a Control"));var f=this.staticControls.findIndex(function(a){return a.Designer.controlType===o.controlType});return f>-1&&(kn("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(f,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(n),u.mode=r,this}}]),e}();fn(Po,"staticControlsRuntimeRules",new Map),fn(Po,"staticControls",OP),fn(Po,"staticRegisteredTypes",new Set(OP.map(function(e){return e.Designer.controlType}))),fn(Po,"staticRegisteredConfigs",new Map);function q(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 P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(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&&G_(e,t)}function iF(e,t){return t&&(uF(t)==="object"||typeof t=="function")?t:q(e)}function G_(e,t){return G_=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},G_(e,t)}function uF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ot(e){var t=cF();return function(){var r=qi(e),o;if(t){var i=qi(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return iF(this,o)}}var it=function e(t){k(this,e);var n,r,o,i;P(this,"dataCode",void 0),P(this,"fieldCode",void 0),P(this,"fieldType",void 0),P(this,"aliasCode",void 0);var u;this.dataCode=(u=(n=t)===null||n===void 0?void 0:n.dataCode)!==null&&u!==void 0?u:"";var f;this.fieldCode=(f=(r=t)===null||r===void 0?void 0:r.fieldCode)!==null&&f!==void 0?f:"";var a;this.fieldType=(a=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&a!==void 0?a:"",this.aliasCode=(i=t)===null||i===void 0?void 0:i.aliasCode},Y_=function e(t){k(this,e);var n,r,o;P(this,"minWidth",void 0),P(this,"maxWidth",void 0),P(this,"flex",void 0);var i;this.minWidth=(i=(n=t)===null||n===void 0?void 0:n.minWidth)!==null&&i!==void 0?i:150,this.maxWidth=(r=t)===null||r===void 0?void 0:r.maxWidth;var u;this.flex=(u=(o=t)===null||o===void 0?void 0:o.flex)!==null&&u!==void 0?u:1},Ui=function(e){rt(n,e);var t=ot(n);function n(r){k(this,n);var o,i,u;o=t.call(this,r),P(q(o),"width",void 0),P(q(o),"widthType",void 0);var f;o.width=(f=(i=r)===null||i===void 0?void 0:i.width)!==null&&f!==void 0?f:240;var a;return o.widthType=(a=(u=r)===null||u===void 0?void 0:u.widthType)!==null&&a!==void 0?a:"auto",o}return n}(Y_),wP=function e(t){k(this,e);var n,r,o;P(this,"pc",void 0),P(this,"mobile",void 0),this.pc=new Ui((n=t)===null||n===void 0?void 0:n.pc),this.mobile=!((r=t)===null||r===void 0)&&r.mobile?new Ui((o=t)===null||o===void 0?void 0:o.mobile):new Ui({width:130,minWidth:180})},PP=function e(t){k(this,e);var n,r;P(this,"type",void 0),P(this,"customOptions",void 0);var o;this.type=(o=(n=t)===null||n===void 0?void 0:n.type)!==null&&o!==void 0?o:"firstThree";var i;this.customOptions=(i=(r=t)===null||r===void 0?void 0:r.customOptions)!==null&&i!==void 0?i:[]},Fn=function e(t){k(this,e);var n,r,o;P(this,"dataCode",void 0),P(this,"formKey",void 0),P(this,"appId",void 0);var i;this.dataCode=(i=(n=t)===null||n===void 0?void 0:n.dataCode)!==null&&i!==void 0?i:"";var u;this.formKey=(u=(r=t)===null||r===void 0?void 0:r.formKey)!==null&&u!==void 0?u:"";var f;this.appId=(f=(o=t)===null||o===void 0?void 0:o.appId)!==null&&f!==void 0?f:""},$P=function(e){rt(n,e);var t=ot(n);function n(r){k(this,n);var o,i;o=t.call(this,r),P(q(o),"primaryControlId",void 0);var u;return o.primaryControlId=(u=(i=r)===null||i===void 0?void 0:i.primaryControlId)!==null&&u!==void 0?u:"",o}return n}(Fn),RP=function e(t){k(this,e);var n;P(this,"fieldCode",void 0);var r;this.fieldCode=(r=(n=t)===null||n===void 0?void 0:n.fieldCode)!==null&&r!==void 0?r:""},Wi=function e(t){k(this,e);var n,r,o,i;P(this,"appId",void 0),P(this,"formKey",void 0),P(this,"headers",void 0);var u;this.appId=(u=(n=t)===null||n===void 0?void 0:n.appId)!==null&&u!==void 0?u:"";var f;this.formKey=(f=(r=t)===null||r===void 0?void 0:r.formKey)!==null&&f!==void 0?f:"";var a;this.headers=(a=(i=t)===null||i===void 0||(o=i.headers)===null||o===void 0?void 0:o.map(function(l){return new RP(l)}))!==null&&a!==void 0?a:[]},TP=function e(t){k(this,e);var n,r,o;P(this,"fieldName",void 0),P(this,"fieldCode",void 0),P(this,"fieldType",void 0);var i;this.fieldName=(i=(n=t)===null||n===void 0?void 0:n.fieldName)!==null&&i!==void 0?i:"";var u;this.fieldCode=(u=(r=t)===null||r===void 0?void 0:r.fieldCode)!==null&&u!==void 0?u:"";var f;this.fieldType=(f=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&f!==void 0?f:c.FieldTypes.VARCHAR},SP=function(e){rt(n,e);var t=ot(n);function n(r){k(this,n);var o,i,u,f,a;o=t.call(this,r),P(q(o),"title",void 0),P(q(o),"svcCode",void 0),P(q(o),"isOpenFilter",void 0),P(q(o),"filters",void 0);var l;o.title=(l=(i=r)===null||i===void 0?void 0:i.title)!==null&&l!==void 0?l:"";var s;o.svcCode=(s=(u=r)===null||u===void 0?void 0:u.svcCode)!==null&&s!==void 0?s:"";var p;o.isOpenFilter=(p=(f=r)===null||f===void 0?void 0:f.isOpenFilter)!==null&&p!==void 0?p:!1;var _;return o.filters=(_=(a=r)===null||a===void 0?void 0:a.filters)!==null&&_!==void 0?_:[],o}return n}(Fn),EP=function e(t){k(this,e);var n,r,o,i,u;P(this,"type","sublist-page"),P(this,"formBind",void 0),P(this,"displayFields",void 0),P(this,"sublists",void 0),this.formBind=new Fn((n=t)===null||n===void 0?void 0:n.formBind);var f;this.displayFields=(f=(o=t)===null||o===void 0||(r=o.displayFields)===null||r===void 0?void 0:r.map(function(l){return new TP(l)}))!==null&&f!==void 0?f:[];var a;this.sublists=(a=(u=t)===null||u===void 0||(i=u.sublists)===null||i===void 0?void 0:i.map(function(l){return new SP(l)}))!==null&&a!==void 0?a:[]},IP=function e(t){k(this,e);var n,r;P(this,"type",void 0),P(this,"value",void 0),this.type=(n=t)===null||n===void 0?void 0:n.type,this.value=(r=t)===null||r===void 0?void 0:r.value},mr=function e(t){k(this,e);var n,r,o;P(this,"type",void 0),P(this,"value",void 0),P(this,"displayBos",void 0);var i;this.type=(i=(n=t)===null||n===void 0?void 0:n.type)!==null&&i!==void 0?i:"custom";var u;this.value=(u=(r=t)===null||r===void 0?void 0:r.value)!==null&&u!==void 0?u:[];var f;this.displayBos=(f=(o=t)===null||o===void 0?void 0:o.displayBos)!==null&&f!==void 0?f:[]},H_=function e(t){var n=this;k(this,e);var r,o,i,u,f;P(this,"id",void 0),P(this,"ruleId",void 0),P(this,"type","conditions"),P(this,"level",void 0),P(this,"value",void 0),P(this,"children",void 0);var a;this.id=(a=(r=t)===null||r===void 0?void 0:r.id)!==null&&a!==void 0?a:yt();var l;this.ruleId=(l=(o=t)===null||o===void 0?void 0:o.ruleId)!==null&&l!==void 0?l:new Date().valueOf();var s;this.level=(s=(i=t)===null||i===void 0?void 0:i.level)!==null&&s!==void 0?s:0;var p;if(this.value=(p=(u=t)===null||u===void 0?void 0:u.value)!==null&&p!==void 0?p:"and",this.children=[],Array.isArray((f=t)===null||f===void 0?void 0:f.children)){var _;(_=t)===null||_===void 0||_.children.map(function(y){if(y.children!==void 0){var v,h=new e(y);(v=n.children)===null||v===void 0||v.push(h)}else{var b,d=new Ki(y);(b=n.children)===null||b===void 0||b.push(d)}})}},Ki=function e(t){k(this,e);var n,r,o,i,u,f,a;P(this,"id",void 0),P(this,"ruleId",void 0),P(this,"type","condition"),P(this,"symbol",void 0),P(this,"checked",void 0),P(this,"describe",void 0),P(this,"leftVariableBo",void 0),P(this,"rightVariableBo",void 0);var l;this.id=(l=(n=t)===null||n===void 0?void 0:n.id)!==null&&l!==void 0?l:yt();var s;this.ruleId=(s=(r=t)===null||r===void 0?void 0:r.ruleId)!==null&&s!==void 0?s:new Date().valueOf();var p;this.symbol=(p=(o=t)===null||o===void 0?void 0:o.symbol)!==null&&p!==void 0?p:"";var _;this.checked=(_=(i=t)===null||i===void 0?void 0:i.checked)!==null&&_!==void 0?_:!1;var y;this.describe=(y=(u=t)===null||u===void 0?void 0:u.describe)!==null&&y!==void 0?y:"",this.leftVariableBo=new IP((f=t)===null||f===void 0?void 0:f.leftVariableBo),this.rightVariableBo=new mr((a=t)===null||a===void 0?void 0:a.rightVariableBo)},BP=function e(t){k(this,e);var n,r,o;P(this,"aliasCode",void 0),P(this,"datasourceBind",void 0),P(this,"relationFields",void 0);var i;this.aliasCode=(i=(n=t)===null||n===void 0?void 0:n.aliasCode)!==null&&i!==void 0?i:"",this.datasourceBind=new de((r=t)===null||r===void 0?void 0:r.datasourceBind);var u;this.relationFields=(u=(o=t)===null||o===void 0?void 0:o.relationFields)!==null&&u!==void 0?u:[]},De=function e(t){k(this,e);var n,r,o,i;P(this,"controlId",void 0),P(this,"fieldCode",void 0),P(this,"fieldType",void 0),P(this,"propName",void 0);var u;this.controlId=(u=(n=t)===null||n===void 0?void 0:n.controlId)!==null&&u!==void 0?u:"";var f;this.fieldCode=(f=(r=t)===null||r===void 0?void 0:r.fieldCode)!==null&&f!==void 0?f:"";var a;this.fieldType=(a=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&a!==void 0?a:"";var l;this.propName=(l=(i=t)===null||i===void 0?void 0:i.propName)!==null&&l!==void 0?l:""},Xi=function e(t){k(this,e);var n,r,o;P(this,"type",void 0),P(this,"value",void 0),P(this,"fieldType",void 0);var i;this.type=(i=(n=t)===null||n===void 0?void 0:n.type)!==null&&i!==void 0?i:"FIELD";var u;this.value=(u=(r=t)===null||r===void 0?void 0:r.value)!==null&&u!==void 0?u:"",this.fieldType=(o=t)===null||o===void 0?void 0:o.fieldType},q_=function e(t){k(this,e),P(this,"columnName",void 0),P(this,"desc",void 0);var n;this.columnName=(n=t.columnName)!==null&&n!==void 0?n:"";var r;this.desc=(r=t.desc)!==null&&r!==void 0?r:!1},NP=function e(t){k(this,e),P(this,"code",void 0),P(this,"value",void 0),P(this,"field_type",void 0);var n;this.code=(n=t.code)!==null&&n!==void 0?n:"";var r;this.value=(r=t.value)!==null&&r!==void 0?r:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY},fF=function e(t){k(this,e);var n,r;P(this,"id",void 0),P(this,"limit",void 0),P(this,"orders",void 0),P(this,"formKey",void 0),P(this,"dataSet",void 0);var o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var u;this.formKey=(u=t.formKey)!==null&&u!==void 0?u:"";var f;this.orders=(f=(n=t.orders)===null||n===void 0?void 0:n.map(function(l){return new q_(l)}))!==null&&f!==void 0?f:[];var a;this.dataSet=(a=(r=t.dataSet)===null||r===void 0?void 0:r.map(function(l){return new NP(l)}))!==null&&a!==void 0?a:[]};function U_(e){var t,n,r,o,i,u,f;this.filters=(f=(n=e)===null||n===void 0||(t=n.filters)===null||t===void 0?void 0:t.map(function(s){return s.children!==void 0?new H_(s):new Ki(s)}))!==null&&f!==void 0?f:[];var a;this.viewFilters=(a=(o=e)===null||o===void 0||(r=o.viewFilters)===null||r===void 0?void 0:r.map(function(s){return s.children!==void 0?new H_(s):new Ki(s)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=(u=e)===null||u===void 0||(i=u.orders)===null||i===void 0?void 0:i.map(function(s){return new q_(s)}))!==null&&l!==void 0?l:[]}var de=function e(t){var n=this;k(this,e);var r,o,i,u,f,a,l,s;P(this,"dataCode",void 0),P(this,"valueFieldCode",void 0),P(this,"displayBoList",void 0),P(this,"keywordMapping",void 0),P(this,"svcCode",void 0),P(this,"appId",void 0),P(this,"filters",void 0),P(this,"viewFilters",void 0),P(this,"isOpenViewFilters",void 0),P(this,"orders",void 0),P(this,"showOrder",void 0);var p;this.dataCode=(p=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&p!==void 0?p:"";var _;this.appId=(_=(o=t)===null||o===void 0?void 0:o.appId)!==null&&_!==void 0?_:"";var y;this.valueFieldCode=(y=(i=t)===null||i===void 0?void 0:i.valueFieldCode)!==null&&y!==void 0?y:"",this.displayBoList=[];var v;if(this.isOpenViewFilters=(v=(u=t)===null||u===void 0?void 0:u.isOpenViewFilters)!==null&&v!==void 0?v:0,Array.isArray((f=t)===null||f===void 0?void 0:f.displayBoList)){var h;(h=t)===null||h===void 0||h.displayBoList.map(function(m){var O;(O=n.displayBoList)===null||O===void 0||O.push(new Xi(m))})}var b;this.keywordMapping=(b=(a=t)===null||a===void 0?void 0:a.keywordMapping)!==null&&b!==void 0?b:"";var d;this.showOrder=(d=(l=t)===null||l===void 0?void 0:l.showOrder)!==null&&d!==void 0?d:!0;var g;this.svcCode=(g=(s=t)===null||s===void 0?void 0:s.svcCode)!==null&&g!==void 0?g:"",U_.call(this,t)},Ji=function e(t){k(this,e);var n,r;P(this,"dataCode",void 0),P(this,"displayBoList",void 0);var o;this.dataCode=(o=(n=t)===null||n===void 0?void 0:n.dataCode)!==null&&o!==void 0?o:"";var i;this.displayBoList=(i=(r=t)===null||r===void 0?void 0:r.displayBoList)!==null&&i!==void 0?i:[]},Gt=function e(t){k(this,e);var n,r,o,i,u,f,a,l,s,p,_;P(this,"code",void 0),P(this,"color",void 0),P(this,"command",void 0),P(this,"confirmMessage",void 0),P(this,"defaultState",void 0),P(this,"formKey",void 0),P(this,"formType",void 0),P(this,"icon",void 0),P(this,"needConfirm",void 0),P(this,"openType",void 0),P(this,"priorityProcess",void 0);var y;this.code=(y=(n=t)===null||n===void 0?void 0:n.code)!==null&&y!==void 0?y:"view";var v;this.color=(v=(r=t)===null||r===void 0?void 0:r.color)!==null&&v!==void 0?v:"primary";var h;this.command=(h=(o=t)===null||o===void 0?void 0:o.command)!==null&&h!==void 0?h:"view";var b;this.confirmMessage=(b=(i=t)===null||i===void 0?void 0:i.confirmMessage)!==null&&b!==void 0?b:void 0;var d;this.defaultState=(d=(u=t)===null||u===void 0?void 0:u.defaultState)!==null&&d!==void 0?d:"default";var g;this.formKey=(g=(f=t)===null||f===void 0?void 0:f.formKey)!==null&&g!==void 0?g:void 0,this.formType=(a=t)===null||a===void 0?void 0:a.formType;var m;this.icon=(m=(l=t)===null||l===void 0?void 0:l.icon)!==null&&m!==void 0?m:"iconliulan1";var O;this.needConfirm=(O=(s=t)===null||s===void 0?void 0:s.needConfirm)!==null&&O!==void 0?O:!1;var $;this.openType=($=(p=t)===null||p===void 0?void 0:p.openType)!==null&&$!==void 0?$:"modal";var T;this.priorityProcess=(T=(_=t)===null||_===void 0?void 0:_.priorityProcess)!==null&&T!==void 0?T:!0},W_=function e(t){k(this,e);var n,r,o,i;P(this,"name",void 0),P(this,"key",void 0),P(this,"value",void 0);var u;this.name=(u=(n=t)===null||n===void 0?void 0:n.name)!==null&&u!==void 0?u:"";var f;this.key=(f=(r=t)===null||r===void 0?void 0:r.key)!==null&&f!==void 0?f:"";var a;this.value=(a=(i=t)===null||i===void 0||(o=i.value)===null||o===void 0?void 0:o.map(function(l){return new Xi(l)}))!==null&&a!==void 0?a:[]},$o=function(e){rt(n,e);var t=ot(n);function n(r){k(this,n);var o,i,u;o=t.call(this,r),P(q(o),"attributes",void 0);var f;return o.attributes=(f=(u=r)===null||u===void 0||(i=u.attributes)===null||i===void 0?void 0:i.map(function(a){return new W_(a)}))!==null&&f!==void 0?f:[],o}return n}(de),MP=function(e){rt(n,e);var t=ot(n);function n(r){k(this,n);var o,i,u,f;o=t.call(this,r),P(q(o),"attributes",void 0),P(q(o),"formCode",void 0);var a;o.attributes=(a=(u=r)===null||u===void 0||(i=u.attributes)===null||i===void 0?void 0:i.map(function(s){return new W_(s)}))!==null&&a!==void 0?a:[];var l;return o.formCode=(l=(f=r)===null||f===void 0?void 0:f.formCode)!==null&&l!==void 0?l:"",o}return n}(de),K_=function(e){rt(n,e);var t=ot(n);function n(r){k(this,n);var o,i,u;o=t.call(this,r),P(q(o),"rootNode",void 0),P(q(o),"filterCode",void 0),o.rootNode=new mr((i=r)===null||i===void 0?void 0:i.rootNode);var f;return o.filterCode=(f=(u=r)===null||u===void 0?void 0:u.filterCode)!==null&&f!==void 0?f:"",o}return n}($o),AP=function e(t){k(this,e);var n,r,o,i;P(this,"dataCode",void 0),P(this,"appId",void 0),P(this,"fillList",void 0);var u;this.dataCode=(u=(n=t)===null||n===void 0?void 0:n.dataCode)!==null&&u!==void 0?u:"";var f;this.appId=(f=(r=t)===null||r===void 0?void 0:r.appId)!==null&&f!==void 0?f:"";var a;this.fillList=(a=(i=t)===null||i===void 0||(o=i.fillList)===null||o===void 0?void 0:o.map(function(l){return new De(l)}))!==null&&a!==void 0?a:[]},X_=function(e){rt(n,e);var t=ot(n);function n(r){k(this,n);var o;return o=t.call(this,r),P(q(o),"filters",void 0),P(q(o),"viewFilters",void 0),P(q(o),"orders",void 0),U_.call(q(o),r),o}return n}(AP),J_=function(e){rt(n,e);var t=ot(n);function n(r){k(this,n);var o,i,u;o=t.call(this,r),P(q(o),"mode",void 0),P(q(o),"multiple",void 0);var f;o.mode=(f=(i=r)===null||i===void 0?void 0:i.mode)!==null&&f!==void 0?f:"current";var a;return o.multiple=(a=(u=r)===null||u===void 0?void 0:u.multiple)!==null&&a!==void 0?a:!1,o}return n}(AP),lF=function e(t){k(this,e);var n,r,o;P(this,"zh",void 0),P(this,"en",void 0),P(this,"ja",void 0);var i;this.zh=(i=(n=t)===null||n===void 0?void 0:n.zh)!==null&&i!==void 0?i:"";var u;this.en=(u=(r=t)===null||r===void 0?void 0:r.en)!==null&&u!==void 0?u:"";var f;this.ja=(f=(o=t)===null||o===void 0?void 0:o.ja)!==null&&f!==void 0?f:""},Q_=function e(t){k(this,e);var n,r,o;P(this,"stencilName",void 0),P(this,"expression",void 0),P(this,"errMessage",void 0);var i;this.stencilName=(i=(n=t)===null||n===void 0?void 0:n.stencilName)!==null&&i!==void 0?i:"";var u;this.expression=(u=(r=t)===null||r===void 0?void 0:r.expression)!==null&&u!==void 0?u:"";var f;this.errMessage=(f=(o=t)===null||o===void 0?void 0:o.errMessage)!==null&&f!==void 0?f:""},Z_=function e(t){k(this,e);var n,r,o;P(this,"id",void 0),P(this,"label",void 0),P(this,"value",void 0);var i;this.id=(i=(n=t)===null||n===void 0?void 0:n.id)!==null&&i!==void 0?i:yt(8);var u;this.label=(u=(r=t)===null||r===void 0?void 0:r.label)!==null&&u!==void 0?u:"";var f;this.value=(f=(o=t)===null||o===void 0?void 0:o.value)!==null&&f!==void 0?f:this.label},kP=function(e){rt(n,e);var t=ot(n);function n(r){k(this,n);var o,i,u;o=t.call(this,r),P(q(o),"image",void 0),P(q(o),"type",void 0);var f;o.image=(f=(i=r)===null||i===void 0?void 0:i.image)!==null&&f!==void 0?f:"";var a;return o.type=(a=(u=r)===null||u===void 0?void 0:u.type)!==null&&a!==void 0?a:"src",o}return n}(Z_);function It(e){var t,n;return(n=(t=e)===null||t===void 0?void 0:t.map(function(r){return new Z_(r)}))!==null&&n!==void 0?n:[]}function aF(e){var t,n;return(n=(t=e)===null||t===void 0?void 0:t.map(function(r){return new kP(r)}))!==null&&n!==void 0?n:[]}var Qi=function e(){k(this,e)},DP=function(e){rt(n,e);var t=ot(n);function n(r){k(this,n);var o,i,u;return o=t.call(this),P(q(o),"amount",void 0),P(q(o),"currency",void 0),o.amount=new it((i=r)===null||i===void 0?void 0:i.amount),o.currency=new it((u=r)===null||u===void 0?void 0:u.currency),o}return n}(Qi),LP=function e(t){k(this,e);var n,r;P(this,"amount",void 0),P(this,"currency",void 0);var o;this.amount=(o=(n=t)===null||n===void 0?void 0:n.amount)!==null&&o!==void 0?o:"";var i;this.currency=(i=(r=t)===null||r===void 0?void 0:r.currency)!==null&&i!==void 0?i:c.AMOUNT_TYPE.CNY},jP=function(e){rt(n,e);var t=ot(n);function n(r){k(this,n);var o,i,u;return o=t.call(this),P(q(o),"min",void 0),P(q(o),"max",void 0),o.min=new it((i=r)===null||i===void 0?void 0:i.min),o.max=new it((u=r)===null||u===void 0?void 0:u.max),o}return n}(Qi),FP=function e(t){k(this,e);var n,r;P(this,"min",void 0),P(this,"max",void 0);var o;this.min=(o=(n=t)===null||n===void 0?void 0:n.min)!==null&&o!==void 0?o:"";var i;this.max=(i=(r=t)===null||r===void 0?void 0:r.max)!==null&&i!==void 0?i:""},CP=function e(t){k(this,e);var n,r,o,i,u,f;P(this,"city",void 0),P(this,"cityDisplay",void 0),P(this,"district",void 0),P(this,"districtDisplay",void 0),P(this,"province",void 0),P(this,"provinceDisplay",void 0);var a;this.city=(a=(n=t)===null||n===void 0?void 0:n.city)!==null&&a!==void 0?a:"";var l;this.cityDisplay=(l=(r=t)===null||r===void 0?void 0:r.cityDisplay)!==null&&l!==void 0?l:"";var s;this.district=(s=(o=t)===null||o===void 0?void 0:o.district)!==null&&s!==void 0?s:"";var p;this.districtDisplay=(p=(i=t)===null||i===void 0?void 0:i.districtDisplay)!==null&&p!==void 0?p:"";var _;this.province=(_=(u=t)===null||u===void 0?void 0:u.province)!==null&&_!==void 0?_:"";var y;this.provinceDisplay=(y=(f=t)===null||f===void 0?void 0:f.provinceDisplay)!==null&&y!==void 0?y:""},xP=function(e){rt(n,e);var t=ot(n);function n(r){k(this,n);var o,i,u;return o=t.call(this),P(q(o),"result",void 0),P(q(o),"unit",void 0),o.result=new it((i=r)===null||i===void 0?void 0:i.result),o.unit=new it((u=r)===null||u===void 0?void 0:u.unit),o}return n}(Qi),VP=function e(t){k(this,e);var n,r;P(this,"result",void 0),P(this,"unit",void 0);var o;this.result=(o=(n=t)===null||n===void 0?void 0:n.result)!==null&&o!==void 0?o:0;var i;this.unit=(i=(r=t)===null||r===void 0?void 0:r.unit)!==null&&i!==void 0?i:""};c.AMOUNT_TYPE=void 0,function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"}(c.AMOUNT_TYPE||(c.AMOUNT_TYPE={})),c.COMMON_SETTING_TYPE=void 0,function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste"}(c.COMMON_SETTING_TYPE||(c.COMMON_SETTING_TYPE={})),c.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(c.PAGE_STATUS||(c.PAGE_STATUS={}));var Yt=function e(t){k(this,e);var n,r,o,i,u,f;P(this,"isShow",void 0),P(this,"priorityProcess",void 0),P(this,"formKey",void 0),P(this,"content",void 0),P(this,"openType",void 0),P(this,"type",void 0);var a;this.isShow=(a=(n=t)===null||n===void 0?void 0:n.isShow)!==null&&a!==void 0?a:!0;var l;this.content=(l=(r=t)===null||r===void 0?void 0:r.content)!==null&&l!==void 0?l:"";var s;this.formKey=(s=(o=t)===null||o===void 0?void 0:o.formKey)!==null&&s!==void 0?s:"";var p;this.openType=(p=(i=t)===null||i===void 0?void 0:i.openType)!==null&&p!==void 0?p:"modal";var _;this.type=(_=(u=t)===null||u===void 0?void 0:u.type)!==null&&_!==void 0?_:"";var y;this.priorityProcess=(y=(f=t)===null||f===void 0?void 0:f.priorityProcess)!==null&&y!==void 0?y:!1},zP=function e(t){k(this,e);var n,r,o,i;P(this,"id",void 0),P(this,"title",void 0),P(this,"filters",void 0),P(this,"viewFilters",void 0),P(this,"headers",void 0);var u;this.id=(u=(n=t)===null||n===void 0?void 0:n.id)!==null&&u!==void 0?u:yt(8);var f;this.title=(f=(r=t)===null||r===void 0?void 0:r.title)!==null&&f!==void 0?f:"";var a;this.headers=(a=(i=t)===null||i===void 0||(o=i.headers)===null||o===void 0?void 0:o.map(function(l){return new RP(l)}))!==null&&a!==void 0?a:[],U_.call(this,t)},sF=function e(t){k(this,e),P(this,"key",void 0),P(this,"caption",void 0);var n;this.key=(n=t.key)!==null&&n!==void 0?n:yt(8);var r;this.caption=(r=t.caption)!==null&&r!==void 0?r:""},GP=function e(t){k(this,e);var n,r,o,i;P(this,"width",void 0),P(this,"height",void 0),P(this,"widthConfig",void 0),P(this,"heightConfig",void 0);var u;this.width=(u=(n=t)===null||n===void 0?void 0:n.width)!==null&&u!==void 0?u:"";var f;this.height=(f=(r=t)===null||r===void 0?void 0:r.height)!==null&&f!==void 0?f:"";var a;this.widthConfig=(a=(o=t)===null||o===void 0?void 0:o.widthConfig)!==null&&a!==void 0?a:"fill";var l;this.heightConfig=(l=(i=t)===null||i===void 0?void 0:i.heightConfig)!==null&&l!==void 0?l:"fill"},YP=function e(t){k(this,e);var n,r;P(this,"optCode",void 0),P(this,"optType",void 0);var o;this.optCode=(o=(n=t)===null||n===void 0?void 0:n.optCode)!==null&&o!==void 0?o:"";var i;this.optType=(i=(r=t)===null||r===void 0?void 0:r.optType)!==null&&i!==void 0?i:""};function pF(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 Zi(e,t,n){return HP()?Zi=Reflect.construct:Zi=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&To(l,u.prototype),l},Zi.apply(null,arguments)}function ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ro(e)}function _F(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&To(e,t)}function yF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function dF(e,t){return t&&(vF(t)==="object"||typeof t=="function")?t:pF(e)}function To(e,t){return To=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},To(e,t)}function vF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ty(e){var t=typeof Map=="function"?new Map:void 0;return ty=function(r){if(r===null||!yF(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return Zi(r,arguments,Ro(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),To(o,r)},ty(e)}function HP(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hF(e){var t=HP();return function(){var r=Ro(e),o;if(t){var i=Ro(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return dF(this,o)}}var ye=function e(t){ey(this,e),ln(this,"isHide",{type:"boolean"})},an=function(e){_F(n,e);var t=hF(n);function n(r){return ey(this,n),t.call(this)}return n}(ty(Array)),ue=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ey(this,e);var r,o,i;ln(this,"isHide",void 0),ln(this,"className",void 0),ln(this,"style",void 0),ln(this,"caption",void 0);var u;this.isHide=(u=(r=t)===null||r===void 0?void 0:r.isHide)!==null&&u!==void 0?u:!1,this.style=new GP((o=t)===null||o===void 0?void 0:o.style);var f;this.caption=(f=(i=t)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:n};ln(ue,"mode",void 0),ln(ue,"Rules",ye),ln(ue,"RuntimeRules",an);function Bt(){return Bt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bt.apply(this,arguments)}function bF(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ny(e){return ny=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ny(e)}function eu(e,t){return eu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},eu(e,t)}function gF(){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 tu(e,t,n){return gF()?tu=Reflect.construct:tu=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&eu(l,u.prototype),l},tu.apply(null,arguments)}function mF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ry(e){var t=typeof Map=="function"?new Map:void 0;return ry=function(r){if(r===null||!mF(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return tu(r,arguments,ny(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),eu(o,r)},ry(e)}var OF=/%[sdj%]/g,qP=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(qP=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function oy(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Xe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=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(OF,function(f){if(f==="%%")return"%";if(r>=i)return f;switch(f){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(a){return"[Circular]"}break;default:return f}});return u}return o}function wF(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function ve(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||wF(t)&&typeof e=="string"&&!e)}function PF(e,t,n){var r=[],o=0,i=e.length;function u(f){r.push.apply(r,f),o++,o===i&&n(r)}e.forEach(function(f){t(f,u)})}function UP(e,t,n){var r=0,o=e.length;function i(u){if(u&&u.length){n(u);return}var f=r;r=r+1,f<o?t(e[f],i):n([])}i([])}function $F(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var WP=function(e){bF(t,e);function t(n,r){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=n,o.fields=r,o}return t}(ry(Error));function RF(e,t,n,r){if(t.first){var o=new Promise(function(p,_){var y=function(b){return r(b),b.length?_(new WP(b,oy(b))):p()},v=$F(e);UP(v,n,y)});return o.catch(function(p){return p}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),f=u.length,a=0,l=[],s=new Promise(function(p,_){var y=function(h){if(l.push.apply(l,h),a++,a===f)return r(l),l.length?_(new WP(l,oy(l))):p()};u.length||(r(l),p()),u.forEach(function(v){var h=e[v];i.indexOf(v)!==-1?UP(h,n,y):PF(h,n,y)})});return s.catch(function(p){return p}),s}function KP(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 XP(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=Bt(Bt({},e[n]),r):e[n]=r}}return e}function JP(e,t,n,r,o,i){e.required&&(!n.hasOwnProperty(e.field)||ve(t,i||e.type))&&r.push(Xe(o.messages.required,e.fullField))}function TF(e,t,n,r,o){(/^\s+$/.test(t)||t==="")&&r.push(Xe(o.messages.whitespace,e.fullField))}var iy={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},So={integer:function(t){return So.number(t)&&parseInt(t,10)===t},float:function(t){return So.number(t)&&!So.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){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"&&!So.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(iy.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(iy.url)},hex:function(t){return typeof t=="string"&&!!t.match(iy.hex)}};function SF(e,t,n,r,o){if(e.required&&t===void 0){JP(e,t,n,r,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?So[u](t)||r.push(Xe(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&r.push(Xe(o.messages.types[u],e.fullField,e.type))}function EF(e,t,n,r,o){var i=typeof e.len=="number",u=typeof e.min=="number",f=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,s=null,p=typeof t=="number",_=typeof t=="string",y=Array.isArray(t);if(p?s="number":_?s="string":y&&(s="array"),!s)return!1;y&&(l=t.length),_&&(l=t.replace(a,"_").length),i?l!==e.len&&r.push(Xe(o.messages[s].len,e.fullField,e.len)):u&&!f&&l<e.min?r.push(Xe(o.messages[s].min,e.fullField,e.min)):f&&!u&&l>e.max?r.push(Xe(o.messages[s].max,e.fullField,e.max)):u&&f&&(l<e.min||l>e.max)&&r.push(Xe(o.messages[s].range,e.fullField,e.min,e.max))}var Or="enum";function IF(e,t,n,r,o){e[Or]=Array.isArray(e[Or])?e[Or]:[],e[Or].indexOf(t)===-1&&r.push(Xe(o.messages[Or],e.fullField,e[Or].join(", ")))}function BF(e,t,n,r,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(Xe(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||r.push(Xe(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var x={required:JP,whitespace:TF,type:SF,range:EF,enum:IF,pattern:BF};function NF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(ve(t,"string")&&!e.required)return n();x.required(e,t,r,i,o,"string"),ve(t,"string")||(x.type(e,t,r,i,o),x.range(e,t,r,i,o),x.pattern(e,t,r,i,o),e.whitespace===!0&&x.whitespace(e,t,r,i,o))}n(i)}function MF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(ve(t)&&!e.required)return n();x.required(e,t,r,i,o),t!==void 0&&x.type(e,t,r,i,o)}n(i)}function AF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),ve(t)&&!e.required)return n();x.required(e,t,r,i,o),t!==void 0&&(x.type(e,t,r,i,o),x.range(e,t,r,i,o))}n(i)}function kF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(ve(t)&&!e.required)return n();x.required(e,t,r,i,o),t!==void 0&&x.type(e,t,r,i,o)}n(i)}function DF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(ve(t)&&!e.required)return n();x.required(e,t,r,i,o),ve(t)||x.type(e,t,r,i,o)}n(i)}function LF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(ve(t)&&!e.required)return n();x.required(e,t,r,i,o),t!==void 0&&(x.type(e,t,r,i,o),x.range(e,t,r,i,o))}n(i)}function jF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(ve(t)&&!e.required)return n();x.required(e,t,r,i,o),t!==void 0&&(x.type(e,t,r,i,o),x.range(e,t,r,i,o))}n(i)}function FF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return n();x.required(e,t,r,i,o,"array"),t!=null&&(x.type(e,t,r,i,o),x.range(e,t,r,i,o))}n(i)}function CF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(ve(t)&&!e.required)return n();x.required(e,t,r,i,o),t!==void 0&&x.type(e,t,r,i,o)}n(i)}var xF="enum";function VF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(ve(t)&&!e.required)return n();x.required(e,t,r,i,o),t!==void 0&&x[xF](e,t,r,i,o)}n(i)}function zF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(ve(t,"string")&&!e.required)return n();x.required(e,t,r,i,o),ve(t,"string")||x.pattern(e,t,r,i,o)}n(i)}function GF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(ve(t,"date")&&!e.required)return n();if(x.required(e,t,r,i,o),!ve(t,"date")){var f;t instanceof Date?f=t:f=new Date(t),x.type(e,f,r,i,o),f&&x.range(e,f.getTime(),r,i,o)}}n(i)}function YF(e,t,n,r,o){var i=[],u=Array.isArray(t)?"array":typeof t;x.required(e,t,r,i,o,u),n(i)}function uy(e,t,n,r,o){var i=e.type,u=[],f=e.required||!e.required&&r.hasOwnProperty(e.field);if(f){if(ve(t,i)&&!e.required)return n();x.required(e,t,r,u,o,i),ve(t,i)||x.type(e,t,r,u,o)}n(u)}function HF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(ve(t)&&!e.required)return n();x.required(e,t,r,i,o)}n(i)}var Eo={string:NF,method:MF,number:AF,boolean:kF,regexp:DF,integer:LF,float:jF,array:FF,object:CF,enum:VF,pattern:zF,date:GF,url:uy,hex:uy,email:uy,required:YF,any:HF};function cy(){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 fy=cy();function sn(e){this.rules=null,this._messages=fy,this.define(e)}sn.prototype={messages:function(t){return t&&(this._messages=XP(cy(),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 n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var o=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var i=t,u=n,f=r;if(typeof u=="function"&&(f=u,u={}),!this.rules||Object.keys(this.rules).length===0)return f&&f(),Promise.resolve();function a(h){var b,d=[],g={};function m(O){if(Array.isArray(O)){var $;d=($=d).concat.apply($,O)}else d.push(O)}for(b=0;b<h.length;b++)m(h[b]);d.length?g=oy(d):(d=null,g=null),f(d,g)}if(u.messages){var l=this.messages();l===fy&&(l=cy()),XP(l,u.messages),u.messages=l}else u.messages=this.messages();var s,p,_={},y=u.keys||Object.keys(this.rules);y.forEach(function(h){s=o.rules[h],p=i[h],s.forEach(function(b){var d=b;typeof d.transform=="function"&&(i===t&&(i=Bt({},i)),p=i[h]=d.transform(p)),typeof d=="function"?d={validator:d}:d=Bt({},d),d.validator=o.getValidationMethod(d),d.field=h,d.fullField=d.fullField||h,d.type=o.getType(d),d.validator&&(_[h]=_[h]||[],_[h].push({rule:d,value:p,source:i,field:h}))})});var v={};return RF(_,u,function(h,b){var d=h.rule,g=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");g=g&&(d.required||!d.required&&h.value),d.field=h.field;function m(T,R){return Bt(Bt({},R),{},{fullField:d.fullField+"."+T})}function O(T){T===void 0&&(T=[]);var R=T;if(Array.isArray(R)||(R=[R]),!u.suppressWarning&&R.length&&sn.warning("async-validator:",R),R.length&&d.message!==void 0&&(R=[].concat(d.message)),R=R.map(KP(d)),u.first&&R.length)return v[d.field]=1,b(R);if(!g)b(R);else{if(d.required&&!h.value)return d.message!==void 0?R=[].concat(d.message).map(KP(d)):u.error&&(R=[u.error(d,Xe(u.messages.required,d.field))]),b(R);var S={};if(d.defaultField)for(var I in h.value)h.value.hasOwnProperty(I)&&(S[I]=d.defaultField);S=Bt(Bt({},S),h.rule.fields);for(var E in S)if(S.hasOwnProperty(E)){var N=Array.isArray(S[E])?S[E]:[S[E]];S[E]=N.map(m.bind(null,E))}var B=new sn(S);B.messages(u.messages),h.rule.options&&(h.rule.options.messages=u.messages,h.rule.options.error=u.error),B.validate(h.value,h.rule.options||u,function(A){var M=[];R&&R.length&&M.push.apply(M,R),A&&A.length&&M.push.apply(M,A),b(M.length?M:null)})}}var $;d.asyncValidator?$=d.asyncValidator(d,h.value,O,h.source,u):d.validator&&($=d.validator(d,h.value,O,h.source,u),$===!0?O():$===!1?O(d.message||d.field+" fails"):$ instanceof Array?O($):$ instanceof Error&&O($.message)),$&&$.then&&$.then(function(){return O()},function(T){return O(T)})},function(h){a(h)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Eo.hasOwnProperty(t.type))throw new Error(Xe("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?Eo.required:Eo[this.getType(t)]||!1}},sn.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Eo[t]=n},sn.warning=qP,sn.messages=fy,sn.validators=Eo;var qF={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 QP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new sn(e);return n.messages(Object.assign(qF,t)),n}var ZP=new pP;function ly(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function UF(e){if(Array.isArray(e))return e}function WF(e){if(Array.isArray(e))return ly(e)}function e$(e,t,n,r,o,i,u){try{var f=e[i](u),a=f.value}catch(l){n(l);return}f.done?t(a):Promise.resolve(a).then(r,o)}function t$(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(a){e$(i,r,o,u,f,"next",a)}function f(a){e$(i,r,o,u,f,"throw",a)}u(void 0)})}}function KF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function XF(e,t,n){return t&&n$(e.prototype,t),n&&n$(e,n),e}function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r$(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function o$(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function JF(){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 QF(){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 i$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){K(e,o,n[o])})}return e}function ZF(e){return UF(e)||o$(e)||u$(e)||JF()}function ay(e){return WF(e)||o$(e)||u$(e)||QF()}function u$(e,t){if(!!e){if(typeof e=="string")return ly(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ly(e,t)}}function c$(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var U=function(){function t(n){var r=this;KF(this,t);var o,i,u,f,a;K(this,"id",void 0),K(this,"name",void 0),K(this,"icon",void 0),K(this,"type",void 0),K(this,"controlType",void 0),K(this,"props",void 0),K(this,"setting",[]),K(this,"fieldType",void 0),K(this,"eventKeys",[]),K(this,"customEvents",[]),K(this,"parent",null),K(this,"updateSetting",l$),K(this,"removeSetting",f$),this._callControlHooks("preInstance",n);var l=r$(this,t)?this.constructor:void 0,s=l.controlName,p=l.controlIcon,_=l.controlType,y=l.controlFieldType,v=l.controlEventKeys,h=l.controlCustomEvents,b=l.name,d=l.setting;s&&p&&_||A_("The ".concat(b," controlName,controlIcon,controlType is not define"));var g;this.id=(g=(o=n)===null||o===void 0?void 0:o.id)!==null&&g!==void 0?g:yt(10),this.name=s,this.icon=p;var m;this.type=(m=(i=n)===null||i===void 0?void 0:i.type)!==null&&m!==void 0?m:_,this.props=new ue((u=n)===null||u===void 0?void 0:u.props,(r$(this,t)?this.constructor:void 0).controlName);var O;this.controlType=(O=(f=n)===null||f===void 0?void 0:f.controlType)!==null&&O!==void 0?O:"base",this.setting=zt(d);var $;this.fieldType=($=(a=n)===null||a===void 0?void 0:a.fieldType)!==null&&$!==void 0?$:y,this.eventKeys=zt(v),this.customEvents=zt(h),Promise.resolve().then(function(){r._callControlHooks("postInstance",n)})}return XF(t,[{key:"rules",get:function(){var r=this.props.constructor.Rules;return r?new r(this.props):{}}},{key:"_callControlHooks",value:function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var u,f=ZF(o),a=f[0],l=f.slice(1);return(u=ZP).emit.apply(u,[a,this].concat(ay(l)))}},{key:"preUpdate",value:function(r,o){this._callControlHooks("preUpdateProps",r,o)}},{key:"postUpdate",value:function(r,o){this._callControlHooks("postUpdateProps",r,o)}},{key:"updateProps",value:function(r,o){this.preUpdate(r,o),oP(this.props,r,o),this.postUpdate(r,o)}},{key:"preValidate",value:function(){var r=this;return t$(function(){var o,i,u;return c$(this,function(f){switch(f.label){case 0:return o=i$({},r.rules),[4,r._callControlHooks("preValidate",o)];case 1:return i=f.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(r,o){var i=this;return t$(function(){var u,f,a,l;return c$(this,function(s){switch(s.label){case 0:return[4,i.preValidate()];case 1:u=s.sent(),f=u!==void 0?u:i$({},i.rules),Array.isArray(o)&&o.forEach(function(p){f.hasOwnProperty(p)&&delete f[p]}),a=QP(f,r),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return s.sent(),[2,!0];case 4:throw l=s.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,f=this.props,a=f.dataBind,l=f.datasourceBind,s=f.optionConfig,p=f.caption,_=f.required,y=f.maxLength,v=f.options,h=f.encrypted,b=f.encryptedMode;if(!(!o&&!a&&!l)){var d={parentId:r,fieldType:o,controlId:i,caption:p,type:u,props:{}};switch(a&&(d.dataBind=a),s){case"datasource":case void 0:l&&(d.datasourceBind=l);break;case"custom":d.props.options=v;break}return _!==void 0&&(d.required=_),y!==void 0&&(d.maxLength=y),h!==void 0&&(d.encrypted=h),b!==void 0&&(d.encryptedMode=b),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:zt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(r,o){if(r==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,ay(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();K(U,"mode","Designer"),K(U,"controlName","\u63A7\u4EF6"),K(U,"controlIcon","icon"),K(U,"controlType","control"),K(U,"controlFieldType",void 0),K(U,"controlEventKeys",[]),K(U,"controlCustomEvents",[]),K(U,"setting",[]),K(U,"__is_control__",!0),K(U,"removeSettingItem",f$),K(U,"updateSettingItem",l$);function f$(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(r){var o,i=typeof r!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(l){return l.key===(i?r.key:r)});if(u!==-1){var f,a;i?t.setting[u].showItems=(f=t.setting[u].showItems)===null||f===void 0?void 0:f.filter(function(l){return!r.hideItems.includes(l)}):t.setting.splice(u,1),i&&!(!((a=t.setting[u].showItems)===null||a===void 0)&&a.length)&&t.setting.splice(u,1)}})}function l$(e,t){var n=this,r=typeof e=="string"?[e]:e;r.forEach(function(o){var i=n.setting.find(function(l){return l.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,f=(u=t.type)!==null&&u!==void 0?u:"replace";if(f==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,ay(t.showItems))}}}})}function e4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function t4(e,t,n){return t&&a$(e.prototype,t),n&&a$(e,n),e}function Je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n4(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var ce=function(){function t(n){e4(this,t);var r,o,i,u,f,a;Je(this,"id",void 0),Je(this,"type",void 0),Je(this,"controlType",void 0),Je(this,"props",void 0),Je(this,"fieldType",void 0),Je(this,"customEvents",[]),Je(this,"pageStatus",void 0),Je(this,"parent",null);var l=n4(this,t)?this.constructor:void 0,s=l.controlType,p=l.controlFieldType,_=l.name,y=l.controlCustomEvents;s||A_("The ".concat(_," controlType is not define"));var v;this.id=(v=(r=n)===null||r===void 0?void 0:r.id)!==null&&v!==void 0?v:yt(10);var h;this.type=(h=(o=n)===null||o===void 0?void 0:o.type)!==null&&h!==void 0?h:s,this.props=new ue((i=n)===null||i===void 0?void 0:i.props),this.customEvents=y;var b;this.controlType=(b=(u=n)===null||u===void 0?void 0:u.controlType)!==null&&b!==void 0?b:"base";var d;this.fieldType=(d=(f=n)===null||f===void 0?void 0:f.fieldType)!==null&&d!==void 0?d:p;var g;this.pageStatus=(g=(a=n)===null||a===void 0?void 0:a.pageStatus)!==null&&g!==void 0?g:c.PAGE_STATUS.UNKNOWN}return t4(t,[{key:"rules",get:function(){var r=this.props.constructor.RuntimeRules;if(r){var o=new r(this.props);return Array.from(o)}return[]}}]),t}();Je(ce,"mode","Runtime"),Je(ce,"controlType","control"),Je(ce,"controlFieldType",void 0),Je(ce,"__is_control__",!0),Je(ce,"controlCustomEvents",[]);function nu(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:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:w.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:w.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,r,o){r.length===0&&o(w.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(n,r,o){var i=r.map(function(f){return f.value}),u=cP(i);i.length!==u.length?o(w.getMessage("optionIdIsRepeat")):o()},message:w.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",validator:function(n,r,o){r.length===0&&o(w.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:w.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:w.getMessage("isNotBoolean")}}}}]}}])}function Io(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:w.getMessage("isNotString")},key:{type:"string",required:!0,message:w.getMessage("isNotString")},value:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(w.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:w.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:w.getMessage("isNotBoolean")}}}}]}}]}function s$(e){var t,n;return((t=e)===null||t===void 0?void 0:t.dataCode)!==void 0&&((n=e)===null||n===void 0?void 0:n.fieldCode)!==void 0}function Z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ru(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(e)}function iu(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sy(e,t)}function r4(e,t){return t&&(o4(t)==="object"||typeof t=="function")?t:Z(e)}function sy(e,t){return sy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},sy(e,t)}function o4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uu(e){var t=i4();return function(){var r=ou(e),o;if(t){var i=ou(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return r4(this,o)}}var Oe=function(e){iu(n,e);var t=uu(n);function n(r){ru(this,n);var o;o=t.call(this,r),ee(Z(o),"dataBind",{}),ee(Z(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),ee(Z(o),"isHideCaption",{type:"boolean"}),ee(Z(o),"labelPosition",{type:"enum",enum:["top","left"]}),ee(Z(o),"defaultState",{type:"enum",enum:["default","readonly"]}),ee(Z(o),"required",{type:"boolean"}),ee(Z(o),"captionTip",{type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")}};if(s$(r.dataBind))o.dataBind={type:"object",required:!0,fields:zt(i),message:w.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:w.getMessage("pleaseEnterFieldCode")};Object.keys(r.dataBind).forEach(function(f){u.fields[f]={type:"object",required:!0,fields:zt(i),message:w.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return r.isShowCaptionTip&&(o.captionTip.required=!0),o}return n}(ye),J=function(e){iu(n,e);var t=uu(n);function n(r){ru(this,n);var o;o=t.call(this,r);var i=r.isHide?!1:r.required;return i&&o.push({type:"string",required:i,message:r.requiredMessage!==""?r.requiredMessage:w.getMessage("runtimeRequired",{caption:r.caption})}),o}return n}(an),V=function(e){iu(n,e);var t=uu(n);function n(r){ru(this,n);var o,i,u,f,a,l,s,p,_,y,v,h;o=t.call(this,r),ee(Z(o),"caption",void 0),ee(Z(o),"isHideCaption",void 0),ee(Z(o),"isShowCaptionTip",void 0),ee(Z(o),"captionTip",void 0),ee(Z(o),"labelPosition",void 0),ee(Z(o),"dataBind",void 0),ee(Z(o),"defaultValue",void 0),ee(Z(o),"placeholder",void 0),ee(Z(o),"defaultState",void 0),ee(Z(o),"required",void 0),ee(Z(o),"requiredMessage",void 0);var b;o.caption=(b=(i=r)===null||i===void 0?void 0:i.caption)!==null&&b!==void 0?b:"";var d;o.isHideCaption=(d=(u=r)===null||u===void 0?void 0:u.isHideCaption)!==null&&d!==void 0?d:!1;var g;o.isShowCaptionTip=(g=(f=r)===null||f===void 0?void 0:f.isShowCaptionTip)!==null&&g!==void 0?g:!1;var m;o.captionTip=(m=(a=r)===null||a===void 0?void 0:a.captionTip)!==null&&m!==void 0?m:"";var O;o.defaultState=(O=(l=r)===null||l===void 0?void 0:l.defaultState)!==null&&O!==void 0?O:"default";var $;o.labelPosition=($=(s=r)===null||s===void 0?void 0:s.labelPosition)!==null&&$!==void 0?$:"top";var T;o.placeholder=(T=(p=r)===null||p===void 0?void 0:p.placeholder)!==null&&T!==void 0?T:"";var R;o.required=(R=(_=r)===null||_===void 0?void 0:_.required)!==null&&R!==void 0?R:!1;var S;o.requiredMessage=(S=(y=r)===null||y===void 0?void 0:y.requiredMessage)!==null&&S!==void 0?S:"",o.dataBind=new it((v=r)===null||v===void 0?void 0:v.dataBind);var I;return o.defaultValue=(I=(h=r)===null||h===void 0?void 0:h.defaultValue)!==null&&I!==void 0?I:"",o}return n}(ue);ee(V,"Rules",Oe),ee(V,"RuntimeRules",J);var Cn=function(e){iu(n,e);var t=uu(n);function n(r){ru(this,n);var o;return o=t.call(this,r),ee(Z(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:w.getMessage("PleaseSelectTheCorrectOptionSettings")}),ee(Z(o),"options",[{type:"array",message:w.getMessage("isNotArray")}]),ee(Z(o),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),nu.call(Z(o),r),o}return n}(Oe);function py(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fu(e)}function c4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_y(e,t)}function f4(e,t){return t&&(l4(t)==="object"||typeof t=="function")?t:py(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_y(e,t)}function l4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s4(e){var t=a4();return function(){var r=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return f4(this,o)}}var z=function(e){c4(n,e);var t=s4(n);function n(r){u4(this,n);var o,i;return o=t.call(this,r),cu(py(o),"controlType","form"),cu(py(o),"props",void 0),o.props=new V((i=r)===null||i===void 0?void 0:i.props),o}return n}(U);cu(z,"controlEventKeys",["on_change","on_focus","on_blur"]),cu(z,"controlCustomAttributes",void 0);function lu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},au(e)}function _4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dy(e,t)}function y4(e,t){return t&&(d4(t)==="object"||typeof t=="function")?t:lu(e)}function dy(e,t){return dy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},dy(e,t)}function d4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h4(e){var t=v4();return function(){var r=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return y4(this,o)}}var G=function(e){_4(n,e);var t=h4(n);function n(r){p4(this,n);var o,i;return o=t.call(this,r),yy(lu(o),"controlType","form"),yy(lu(o),"props",void 0),yy(lu(o),"value",void 0),o.props=new V((i=r)===null||i===void 0?void 0:i.props),o}return n}(ce);function b4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(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&&vy(e,t)}function O4(e,t){return t&&(w4(t)==="object"||typeof t=="function")?t:b4(e)}function vy(e,t){return vy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},vy(e,t)}function w4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $4(e){var t=P4();return function(){var r=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return O4(this,o)}}var Q=function(e){m4(n,e);var t=$4(n);function n(r){return g4(this,n),t.call(this,r)}return n}(ue);function hy(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function R4(e){if(Array.isArray(e))return hy(e)}function xn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p$(e,t,n,r,o,i,u){try{var f=e[i](u),a=f.value}catch(l){n(l);return}f.done?t(a):Promise.resolve(a).then(r,o)}function T4(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(a){p$(i,r,o,u,f,"next",a)}function f(a){p$(i,r,o,u,f,"throw",a)}u(void 0)})}}function S4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E4(e,t,n){return t&&_$(e.prototype,t),n&&_$(e,n),e}function pn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wr(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?wr=Reflect.get:wr=function(o,i,u){var f=j4(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},wr(e,t,n||e)}function _n(e){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_n(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&&by(e,t)}function B4(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function N4(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function M4(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function A4(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){pn(e,o,n[o])})}return e}function k4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function D4(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):k4(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function L4(e,t){return t&&(F4(t)==="object"||typeof t=="function")?t:xn(e)}function by(e,t){return by=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},by(e,t)}function j4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_n(e),e!==null););return e}function y$(e){return R4(e)||N4(e)||C4(e)||M4()}function F4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C4(e,t){if(!!e){if(typeof e=="string")return hy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return hy(e,t)}}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 V4(e){var t=x4();return function(){var r=_n(e),o;if(t){var i=_n(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return L4(this,o)}}function z4(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var G4=1e4,te=function(t){I4(r,t);var n=V4(r);function r(o){S4(this,r);var i,u,f;i=n.call(this,o),pn(xn(i),"controlType","layout"),pn(xn(i),"children",void 0),pn(xn(i),"excludes",void 0),pn(xn(i),"childrenMaxLength",void 0),pn(xn(i),"props",void 0);var a=B4(this,r)?this.constructor:void 0,l=a.excludes,s=a.childrenMaxLength;return i.props=new Q((u=o)===null||u===void 0?void 0:u.props),dt(xn(i),"children",(f=o)===null||f===void 0?void 0:f.children,void 0,"Designer"),i.excludes=zt(l),i.childrenMaxLength=s,i}return E4(r,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var f=this,a=this,l=function(){return wr(_n(r.prototype),"validate",f)};return T4(function(){return z4(this,function(s){switch(s.label){case 0:return[4,l().call(a,i,u)];case 1:return s.sent(),[4,Promise.all(a.children.map(function(p){return p.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=wr(_n(r.prototype),"toDataBindModel",this).call(this),f=u?[u]:[];return this.children.reduce(function(a,l){var s=l.toDataBindModel(i);if(Array.isArray(s)){var p=s.filter(function(_){return!!_});return y$(a).concat(y$(p))}return s&&a.push(s),a},f)}},{key:"toSchema",value:function(){var i=wr(_n(r.prototype),"toSchema",this).call(this),u=this.children.map(function(f){var a=f.toSchema();return a});return D4(A4({},i),{children:u})}}]),r}(U);pn(te,"excludes",!1),pn(te,"childrenMaxLength",G4);function Bo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pu(e)}function H4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&my(e,t)}function q4(e,t){return t&&(U4(t)==="object"||typeof t=="function")?t:Bo(e)}function my(e,t){return my=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},my(e,t)}function U4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}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 r=pu(e),o;if(t){var i=pu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return q4(this,o)}}var fe=function(e){H4(n,e);var t=K4(n);function n(r){Y4(this,n);var o,i,u;return o=t.call(this,r),gy(Bo(o),"controlType","layout"),gy(Bo(o),"children",void 0),gy(Bo(o),"props",void 0),o.props=new Q((i=r)===null||i===void 0?void 0:i.props),dt(Bo(o),"children",(u=r)===null||u===void 0?void 0:u.children,void 0,"Runtime"),o}return n}(ce);function No(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(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&&Oy(e,t)}function Q4(e,t){return t&&(Z4(t)==="object"||typeof t=="function")?t:No(e)}function Oy(e,t){return Oy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Oy(e,t)}function Z4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tC(e){var t=eC();return function(){var r=_u(e),o;if(t){var i=_u(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Q4(this,o)}}var Mo=function(e){J4(n,e);var t=tC(n);function n(r,o,i){X4(this,n);var u,f,a;return u=t.call(this,o),d$(No(u),"headers",void 0),d$(No(u),"footers",void 0),dt(No(u),"headers",(f=o)===null||f===void 0?void 0:f.headers,r,i),dt(No(u),"footers",(a=o)===null||a===void 0?void 0:a.footers,r),u}return n}(ue);function wy(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nC(e){if(Array.isArray(e))return wy(e)}function yu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v$(e,t,n,r,o,i,u){try{var f=e[i](u),a=f.value}catch(l){n(l);return}f.done?t(a):Promise.resolve(a).then(r,o)}function rC(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(a){v$(i,r,o,u,f,"next",a)}function f(a){v$(i,r,o,u,f,"throw",a)}u(void 0)})}}function oC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iC(e,t,n){return t&&h$(e.prototype,t),n&&h$(e,n),e}function du(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pr(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Pr=Reflect.get:Pr=function(o,i,u){var f=sC(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Pr(e,t,n||e)}function yn(e){return yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yn(e)}function uC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Py(e,t)}function cC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fC(){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 b$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){du(e,o,n[o])})}return e}function lC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function g$(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lC(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function aC(e,t){return t&&(pC(t)==="object"||typeof t=="function")?t:yu(e)}function Py(e,t){return Py=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Py(e,t)}function sC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=yn(e),e!==null););return e}function m$(e){return nC(e)||cC(e)||_C(e)||fC()}function pC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _C(e,t){if(!!e){if(typeof e=="string")return wy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wy(e,t)}}function yC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dC(e){var t=yC();return function(){var r=yn(e),o;if(t){var i=yn(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return aC(this,o)}}function vC(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var vu=function(e){uC(n,e);var t=dC(n);function n(r){oC(this,n);var o,i;return o=t.call(this,r),du(yu(o),"controlType","list"),du(yu(o),"props",void 0),o.props=new Mo(yu(o),(i=r)===null||i===void 0?void 0:i.props,"Designer"),o}return iC(n,[{key:"validate",value:function(o,i){var u=this,f=this,a=function(){return Pr(yn(n.prototype),"validate",u)};return rC(function(){return vC(this,function(l){switch(l.label){case 0:return[4,a().call(f,o)];case 1:return l.sent(),[4,Promise.all(f.props.headers.map(function(s){return s.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Pr(yn(n.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(f,a){var l=a.toDataBindModel(u);if(Array.isArray(l)){var s=l.filter(function(p){return!!p});return m$(f).concat(m$(s))}return l&&f.push(l),f},i)}},{key:"toSchema",value:function(){var o,i,u=Pr(yn(n.prototype),"toSchema",this).call(this),f=this.props.headers.map(function(l){return l.toSchema()}),a=(i=this.props)===null||i===void 0||(o=i.footers)===null||o===void 0?void 0:o.map(function(l){if(l)return l.toSchema()});return g$(b$({},u),{props:g$(b$({},this.props),{headers:f,footers:a})})}}]),n}(U);du(vu,"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 hC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bC(e,t,n){return t&&O$(e.prototype,t),n&&O$(e,n),e}function $y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hu(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&&Ry(e,t)}function mC(e,t){return t&&(OC(t)==="object"||typeof t=="function")?t:$r(e)}function Ry(e,t){return Ry=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ry(e,t)}function OC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PC(e){var t=wC();return function(){var r=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mC(this,o)}}var Ty=function(e){gC(n,e);var t=PC(n);function n(r){hC(this,n);var o,i,u;return o=t.call(this,r),$y($r(o),"controlType","list"),$y($r(o),"children",void 0),$y($r(o),"props",void 0),o.props=new Mo($r(o),(i=r)===null||i===void 0?void 0:i.props,"Runtime"),dt($r(o),"children",(u=r)===null||u===void 0?void 0:u.children,void 0,"Runtime"),o}return bC(n,[{key:"length",get:function(){return this.children.length}}]),n}(ce);function we(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 Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(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&&Iy(e,t)}function $C(e,t){return t&&(RC(t)==="object"||typeof t=="function")?t:we(e)}function Iy(e,t){return Iy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Iy(e,t)}function RC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function By(e){var t=TC();return function(){var r=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return $C(this,o)}}var Nt=function(e){Ey(n,e);var t=By(n);function n(r){Sy(this,n);var o;return o=t.call(this,r),Ie(we(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),Ie(we(o),"width",{type:"number",required:!1,message:w.getMessage("pleaseEnterColumnWidth")}),o.width.required=r.widthType==="px",o}return n}(ye),le=function(e){Ey(n,e);var t=By(n);function n(r){Sy(this,n);var o,i,u,f,a,l,s,p,_,y,v;o=t.call(this,r),Ie(we(o),"widthType",void 0),Ie(we(o),"width",void 0),Ie(we(o),"caption",void 0),Ie(we(o),"dataBind",void 0),Ie(we(o),"autoWidth",void 0),Ie(we(o),"fixed",void 0),Ie(we(o),"sort",void 0),Ie(we(o),"align",void 0),Ie(we(o),"colSpan",void 0),Ie(we(o),"autoHeight",void 0);var h;o.width=(h=(i=r)===null||i===void 0?void 0:i.width)!==null&&h!==void 0?h:150,o.widthType=((u=r)===null||u===void 0?void 0:u.widthType)||"auto";var b;o.caption=(b=(f=r)===null||f===void 0?void 0:f.caption)!==null&&b!==void 0?b:"";var d;o.fixed=(d=(a=r)===null||a===void 0?void 0:a.fixed)!==null&&d!==void 0?d:"none",o.autoWidth=new Y_((l=r)===null||l===void 0?void 0:l.autoWidth),o.dataBind=new it((s=r)===null||s===void 0?void 0:s.dataBind);var g;o.sort=(g=(p=r)===null||p===void 0?void 0:p.sort)!==null&&g!==void 0?g:!0,o.align=(_=r)===null||_===void 0?void 0:_.align,o.colSpan=(y=r)===null||y===void 0?void 0:y.colSpan;var m;return o.autoHeight=(m=(v=r)===null||v===void 0?void 0:v.autoHeight)!==null&&m!==void 0?m:!1,o}return n}(ue);Ie(le,"Rules",Nt);var Ny=function(e){Ey(n,e);var t=By(n);function n(r){Sy(this,n);var o;return o=t.call(this,r),Ie(we(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:w.getMessage("PleaseSelectTheCorrectOptionSettings")}),Ie(we(o),"options",[{type:"array",message:w.getMessage("isNotArray")}]),Ie(we(o),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),nu.call(we(o),r),o}return n}(Nt);function My(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(e)}function EC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ay(e,t)}function IC(e,t){return t&&(BC(t)==="object"||typeof t=="function")?t:My(e)}function Ay(e,t){return Ay=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ay(e,t)}function BC(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 MC(e){var t=NC();return function(){var r=gu(e),o;if(t){var i=gu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return IC(this,o)}}var he=function(e){EC(n,e);var t=MC(n);function n(r){SC(this,n);var o,i;return o=t.call(this,r),w$(My(o),"controlType","column"),w$(My(o),"props",void 0),o.props=new le((i=r)===null||i===void 0?void 0:i.props),o}return n}(U);function ky(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(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&&Dy(e,t)}function DC(e,t){return t&&(LC(t)==="object"||typeof t=="function")?t:ky(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Dy(e,t)}function LC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FC(e){var t=jC();return function(){var r=mu(e),o;if(t){var i=mu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return DC(this,o)}}var be=function(e){kC(n,e);var t=FC(n);function n(r){AC(this,n);var o,i;return o=t.call(this,r),P$(ky(o),"controlType","column"),P$(ky(o),"props",void 0),o.props=new le((i=r)===null||i===void 0?void 0:i.props),o}return n}(ce);function $$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(e)}function VC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ly(e,t)}function zC(e,t){return t&&(GC(t)==="object"||typeof t=="function")?t:$$(e)}function Ly(e,t){return Ly=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ly(e,t)}function GC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HC(e){var t=YC();return function(){var r=Ou(e),o;if(t){var i=Ou(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zC(this,o)}}var wu=function(e){VC(n,e);var t=HC(n);function n(r){CC(this,n);var o,i;return o=t.call(this,r),xC($$(o),"dataBind",void 0),o.dataBind=new it((i=r)===null||i===void 0?void 0:i.dataBind),o}return n}(Q);function jy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pu(e)}function UC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fy(e,t)}function WC(e,t){return t&&(KC(t)==="object"||typeof t=="function")?t:jy(e)}function Fy(e,t){return Fy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Fy(e,t)}function KC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JC(e){var t=XC();return function(){var r=Pu(e),o;if(t){var i=Pu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return WC(this,o)}}var T$=function(e){UC(n,e);var t=JC(n);function n(r){qC(this,n);var o,i;return o=t.call(this,r),R$(jy(o),"controlType","search"),R$(jy(o),"props",void 0),o.props=new wu((i=r)===null||i===void 0?void 0:i.props),o}return n}(te);function Cy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$u(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&&xy(e,t)}function e5(e,t){return t&&(t5(t)==="object"||typeof t=="function")?t:Cy(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},xy(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 r=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return e5(this,o)}}var E$=function(e){ZC(n,e);var t=r5(n);function n(r){QC(this,n);var o,i;return o=t.call(this,r),S$(Cy(o),"controlType","search"),S$(Cy(o),"props",void 0),o.props=new wu((i=r)===null||i===void 0?void 0:i.props),o}return n}(fe);function o5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ru(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&&Vy(e,t)}function c5(e,t){return t&&(f5(t)==="object"||typeof t=="function")?t:o5(e)}function Vy(e,t){return Vy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Vy(e,t)}function f5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a5(e){var t=l5();return function(){var r=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return c5(this,o)}}var Tu=function(e){u5(n,e);var t=a5(n);function n(r){return i5(this,n),t.call(this,r)}return n}(Q);function zy(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 I$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Su(e)}function p5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gy(e,t)}function _5(e,t){return t&&(y5(t)==="object"||typeof t=="function")?t:zy(e)}function Gy(e,t){return Gy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Gy(e,t)}function y5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v5(e){var t=d5();return function(){var r=Su(e),o;if(t){var i=Su(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _5(this,o)}}var B$=function(e){p5(n,e);var t=v5(n);function n(r){s5(this,n);var o,i;return o=t.call(this,r),I$(zy(o),"controlType","wrap"),I$(zy(o),"props",void 0),o.props=new Tu((i=r)===null||i===void 0?void 0:i.props),o}return n}(te);function Yy(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 N$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Eu(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&&Hy(e,t)}function g5(e,t){return t&&(m5(t)==="object"||typeof t=="function")?t:Yy(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Hy(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 r=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return g5(this,o)}}var M$=function(e){b5(n,e);var t=w5(n);function n(r){h5(this,n);var o,i;return o=t.call(this,r),N$(Yy(o),"controlType","wrap"),N$(Yy(o),"props",void 0),o.props=new Tu((i=r)===null||i===void 0?void 0:i.props),o}return n}(fe);function dn(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:w.getMessage("pleaseEnterForm")}}}])}function Rr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ao(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(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&&qy(e,t)}function R5(e,t){return t&&(T5(t)==="object"||typeof t=="function")?t:Rr(e)}function qy(e,t){return qy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},qy(e,t)}function T5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E5(e){var t=S5();return function(){var r=Iu(e),o;if(t){var i=Iu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return R5(this,o)}}var Uy=function(e){$5(n,e);var t=E5(n);function n(r){P5(this,n);var o,i,u,f,a,l;o=t.call(this,r),Ao(Rr(o),"content",void 0),Ao(Rr(o),"fontSize",void 0),Ao(Rr(o),"color",void 0),Ao(Rr(o),"icon",void 0),Ao(Rr(o),"showState",void 0);var s;o.fontSize=(s=(i=r)===null||i===void 0?void 0:i.fontSize)!==null&&s!==void 0?s:"14px";var p;o.color=(p=(u=r)===null||u===void 0?void 0:u.color)!==null&&p!==void 0?p:"#646A73";var _;o.icon=(_=(f=r)===null||f===void 0?void 0:f.icon)!==null&&_!==void 0?_:"page-hint";var y;o.showState=(y=(a=r)===null||a===void 0?void 0:a.showState)!==null&&y!==void 0?y:"text";var v;return o.content=(v=(l=r)===null||l===void 0?void 0:l.content)!==null&&v!==void 0?v:"\u8BF4\u660E\u6587\u5B57",o}return n}(ue);function A$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function B5(e,t,n){return t&&k$(e.prototype,t),n&&k$(e,n),e}function D$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bu(e)}function N5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wy(e,t)}function M5(e,t){return t&&(A5(t)==="object"||typeof t=="function")?t:A$(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Wy(e,t)}function A5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D5(e){var t=k5();return function(){var r=Bu(e),o;if(t){var i=Bu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return M5(this,o)}}var L$=function(e){N5(n,e);var t=D5(n);function n(r){I5(this,n);var o,i;return o=t.call(this,r),D$(A$(o),"props",void 0),o.props=new Uy((i=r)===null||i===void 0?void 0:i.props),o}return B5(n,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),n}(U);D$(L$,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function j$(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 F$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function j5(e,t,n){return t&&F$(e.prototype,t),n&&F$(e,n),e}function F5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(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&&Ky(e,t)}function x5(e,t){return t&&(V5(t)==="object"||typeof t=="function")?t:j$(e)}function Ky(e,t){return Ky=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ky(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 r=Nu(e),o;if(t){var i=Nu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return x5(this,o)}}var Y5=function(e){C5(n,e);var t=G5(n);function n(r){L5(this,n);var o,i;return o=t.call(this,r),F5(j$(o),"props",void 0),o.props=new Uy((i=r)===null||i===void 0?void 0:i.props),o}return j5(n,null,[{key:"controlType",get:function(){return"text"}}]),n}(ce),C$={Designer:L$,Runtime:Y5,Property:Uy};function Mu(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 Xy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Au(e)}function q5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jy(e,t)}function U5(e,t){return t&&(W5(t)==="object"||typeof t=="function")?t:Mu(e)}function Jy(e,t){return Jy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Jy(e,t)}function W5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X5(e){var t=K5();return function(){var r=Au(e),o;if(t){var i=Au(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return U5(this,o)}}var Qy=function(e){q5(n,e);var t=X5(n);function n(r){H5(this,n);var o,i,u,f;o=t.call(this,r),Xy(Mu(o),"content",void 0),Xy(Mu(o),"url",void 0),Xy(Mu(o),"openMode",void 0);var a;o.content=(a=(i=r)===null||i===void 0?void 0:i.content)!==null&&a!==void 0?a:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var l;o.url=(l=(u=r)===null||u===void 0?void 0:u.url)!==null&&l!==void 0?l:"";var s;return o.openMode=(s=(f=r)===null||f===void 0?void 0:f.openMode)!==null&&s!==void 0?s:"new",o}return n}(ue);function x$(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 V$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Q5(e,t,n){return t&&V$(e.prototype,t),n&&V$(e,n),e}function Zy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(e)}function Z5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ed(e,t)}function e6(e,t){return t&&(t6(t)==="object"||typeof t=="function")?t:x$(e)}function ed(e,t){return ed=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ed(e,t)}function t6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r6(e){var t=n6();return function(){var r=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return e6(this,o)}}var td=function(e){Z5(n,e);var t=r6(n);function n(r){J5(this,n);var o,i;return o=t.call(this,r),Zy(x$(o),"props",void 0),o.props=new Qy((i=r)===null||i===void 0?void 0:i.props),o}return Q5(n,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),n}(U);Zy(td,"controlEventKeys",["on_click"]),Zy(td,"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 z$(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 G$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i6(e,t,n){return t&&G$(e.prototype,t),n&&G$(e,n),e}function u6(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Du(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&&nd(e,t)}function f6(e,t){return t&&(l6(t)==="object"||typeof t=="function")?t:z$(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},nd(e,t)}function l6(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 r=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return f6(this,o)}}var p6=function(e){c6(n,e);var t=s6(n);function n(r){o6(this,n);var o,i;return o=t.call(this,r),u6(z$(o),"props",void 0),o.props=new Qy((i=r)===null||i===void 0?void 0:i.props),o}return i6(n,null,[{key:"controlType",get:function(){return"link"}}]),n}(ce),Y$={Designer:td,Runtime:p6,Property:Qy};function Mt(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 Ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lu(e)}function y6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rd(e,t)}function d6(e,t){return t&&(v6(t)==="object"||typeof t=="function")?t:Mt(e)}function rd(e,t){return rd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},rd(e,t)}function v6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b6(e){var t=h6();return function(){var r=Lu(e),o;if(t){var i=Lu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return d6(this,o)}}var Le=function(e){y6(n,e);var t=b6(n);function n(r){_6(this,n);var o,i,u,f,a,l,s,p,_,y;o=t.call(this,r),Ht(Mt(o),"content",void 0),Ht(Mt(o),"buttonType",void 0),Ht(Mt(o),"showType",void 0),Ht(Mt(o),"color",void 0),Ht(Mt(o),"icon",void 0),Ht(Mt(o),"defaultState",void 0),Ht(Mt(o),"command",void 0),Ht(Mt(o),"isLoading",void 0),Ht(Mt(o),"optObj",void 0);var v;o.content=(v=(i=r)===null||i===void 0?void 0:i.content)!==null&&v!==void 0?v:"\u6309\u94AE";var h;o.buttonType=(h=(u=r)===null||u===void 0?void 0:u.buttonType)!==null&&h!==void 0?h:"primary";var b;o.showType=(b=(f=r)===null||f===void 0?void 0:f.showType)!==null&&b!==void 0?b:"text";var d;o.color=(d=(a=r)===null||a===void 0?void 0:a.color)!==null&&d!==void 0?d:"primary";var g;o.icon=(g=(l=r)===null||l===void 0?void 0:l.icon)!==null&&g!==void 0?g:"iconfenlei2";var m;o.defaultState=(m=(s=r)===null||s===void 0?void 0:s.defaultState)!==null&&m!==void 0?m:"default";var O;o.command=(O=(p=r)===null||p===void 0?void 0:p.command)!==null&&O!==void 0?O:"custom";var $;o.isLoading=($=(_=r)===null||_===void 0?void 0:_.isLoading)!==null&&$!==void 0?$:!1;var T;return o.optObj=new YP((T=(y=r)===null||y===void 0?void 0:y.optObj)!==null&&T!==void 0?T:{}),o}return n}(ue);function H$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m6(e,t,n){return t&&q$(e.prototype,t),n&&q$(e,n),e}function od(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},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&&id(e,t)}function w6(e,t){return t&&(P6(t)==="object"||typeof t=="function")?t:H$(e)}function id(e,t){return id=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},id(e,t)}function P6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R6(e){var t=$6();return function(){var r=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return w6(this,o)}}var je=function(e){O6(n,e);var t=R6(n);function n(r){g6(this,n);var o,i;return o=t.call(this,r),od(H$(o),"props",void 0),o.props=new Le((i=r)===null||i===void 0?void 0:i.props),o}return m6(n,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),n}(U);od(je,"controlEventKeys",["on_click","on_click_finish"]),od(je,"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 U$(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 W$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S6(e,t,n){return t&&W$(e.prototype,t),n&&W$(e,n),e}function E6(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fu(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&&ud(e,t)}function B6(e,t){return t&&(N6(t)==="object"||typeof t=="function")?t:U$(e)}function ud(e,t){return ud=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ud(e,t)}function N6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A6(e){var t=M6();return function(){var r=Fu(e),o;if(t){var i=Fu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return B6(this,o)}}var Qe=function(e){I6(n,e);var t=A6(n);function n(r){T6(this,n);var o,i;return o=t.call(this,r),E6(U$(o),"props",void 0),o.props=new Le((i=r)===null||i===void 0?void 0:i.props),o}return S6(n,null,[{key:"controlType",get:function(){return"button"}}]),n}(ce),K$={Designer:je,Runtime:Qe,Property:Le};function qt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 Cu=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:c.DATE_CONFIG_TYPE.UN_SELECT_ABLE_INTERVAL,dateLimitType:c.DATE_LIMIT_TYPE.FILE_IN_TIME,id:yt(8),value:["",""]};qt(this,e),L(this,"dateConfigType",void 0),L(this,"dateLimitType",void 0),L(this,"id",void 0),L(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 xu=function e(t){qt(this,e);var n,r;L(this,"id",void 0),L(this,"text",void 0);var o;this.id=(o=(n=t)===null||n===void 0?void 0:n.id)!==null&&o!==void 0?o:yt();var i;this.text=(i=(r=t)===null||r===void 0?void 0:r.text)!==null&&i!==void 0?i:""};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 cd=function e(t){qt(this,e);var n,r,o,i,u,f,a,l;L(this,"type",void 0),L(this,"person",void 0),L(this,"signatureType",void 0),L(this,"telephone",void 0),L(this,"company",void 0),L(this,"remark",void 0);var s;this.type=(s=(n=t)===null||n===void 0?void 0:n.type)!==null&&s!==void 0?s:"private";var p;this.person=new mr((p=(r=t)===null||r===void 0?void 0:r.person)!==null&&p!==void 0?p:{type:"form"});var _;this.signatureType=(_=(o=t)===null||o===void 0?void 0:o.signatureType)!==null&&_!==void 0?_:[];var y,v;this.telephone=(v=(i=t)===null||i===void 0?void 0:i.telephone)!==null&&v!==void 0?v:new mr((y=(u=t)===null||u===void 0?void 0:u.telephone)!==null&&y!==void 0?y:{type:"form"});var h,b;this.company=(b=(f=t)===null||f===void 0?void 0:f.company)!==null&&b!==void 0?b:new mr((h=(a=t)===null||a===void 0?void 0:a.company)!==null&&h!==void 0?h:{type:"form"});var d;this.remark=(d=(l=t)===null||l===void 0?void 0:l.remark)!==null&&d!==void 0?d:""},X$=function e(t){qt(this,e);var n,r,o,i,u,f;L(this,"fileControl",void 0),L(this,"undersignedList",void 0),L(this,"statusControl",void 0),L(this,"completeControl",void 0),L(this,"completeTimeControl",void 0);var a;this.fileControl=(a=(n=t)===null||n===void 0?void 0:n.fileControl)!==null&&a!==void 0?a:"";var l;this.undersignedList=(l=(o=t)===null||o===void 0||(r=o.undersignedList)===null||r===void 0?void 0:r.map(function(y){return new cd(y)}))!==null&&l!==void 0?l:[new cd];var s;this.statusControl=(s=(i=t)===null||i===void 0?void 0:i.statusControl)!==null&&s!==void 0?s:"";var p;this.completeControl=(p=(u=t)===null||u===void 0?void 0:u.completeControl)!==null&&p!==void 0?p:"";var _;this.completeTimeControl=(_=(f=t)===null||f===void 0?void 0:f.completeTimeControl)!==null&&_!==void 0?_:""},fd=function e(t){qt(this,e);var n,r,o,i,u,f,a;L(this,"id",void 0),L(this,"appId",void 0),L(this,"dataCode",void 0),L(this,"svcCode",void 0),L(this,"name",void 0),L(this,"fieldList",void 0),L(this,"active",void 0);var l;this.id=(l=(n=t)===null||n===void 0?void 0:n.id)!==null&&l!==void 0?l:yt(8);var s;this.appId=(s=(r=t)===null||r===void 0?void 0:r.appId)!==null&&s!==void 0?s:"";var p;this.dataCode=(p=(o=t)===null||o===void 0?void 0:o.dataCode)!==null&&p!==void 0?p:"";var _;this.svcCode=(_=(i=t)===null||i===void 0?void 0:i.svcCode)!==null&&_!==void 0?_:"";var y;this.name=(y=(u=t)===null||u===void 0?void 0:u.name)!==null&&y!==void 0?y:"";var v;this.fieldList=(v=(f=t)===null||f===void 0?void 0:f.fieldList)!==null&&v!==void 0?v:[];var h;this.active=(h=(a=t)===null||a===void 0?void 0:a.active)!==null&&h!==void 0?h:!1},ld=function e(t){qt(this,e);var n,r;L(this,"active",void 0),L(this,"text",void 0);var o;this.active=(o=(n=t)===null||n===void 0?void 0:n.active)!==null&&o!==void 0?o:!1;var i;this.text=(i=(r=t)===null||r===void 0?void 0:r.text)!==null&&i!==void 0?i:""},J$=function e(t){qt(this,e);var n,r,o,i,u,f;L(this,"types",void 0),L(this,"history",void 0),L(this,"collaborativeRecord",void 0),L(this,"logicToDelete",void 0),L(this,"watermark",void 0),L(this,"autoRename",void 0);var a;this.types=(a=(n=t)===null||n===void 0?void 0:n.types)!==null&&a!==void 0?a:["word","ppt","excel"];var l;this.history=(l=(r=t)===null||r===void 0?void 0:r.history)!==null&&l!==void 0?l:!1;var s;this.collaborativeRecord=(s=(o=t)===null||o===void 0?void 0:o.collaborativeRecord)!==null&&s!==void 0?s:!1;var p;this.logicToDelete=(p=(i=t)===null||i===void 0?void 0:i.logicToDelete)!==null&&p!==void 0?p:!0,this.watermark=new ld((u=t)===null||u===void 0?void 0:u.watermark),this.autoRename=new ld((f=t)===null||f===void 0?void 0:f.autoRename)},Q$=480;function ko(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var Z$=function e(t){qt(this,e);var n,r,o;L(this,"fileId",void 0),L(this,"fileName",void 0),L(this,"ruleName",void 0),L(this,"isDefault",void 0),L(this,"rules",void 0);var i;this.fileId=(i=(n=t)===null||n===void 0?void 0:n.fileId)!==null&&i!==void 0?i:"";var u;this.fileName=(u=(r=t)===null||r===void 0?void 0:r.fileName)!==null&&u!==void 0?u:"";var f;this.ruleName=(f=(o=t)===null||o===void 0?void 0:o.ruleName)!==null&&f!==void 0?f:"";var a;this.isDefault=(a=t.isDefault)!==null&&a!==void 0?a:!1;var l;this.rules=(l=t.rules)!==null&&l!==void 0?l:[]},eR=function e(t){qt(this,e);var n,r,o;L(this,"direction",void 0),L(this,"justifyContent",void 0),L(this,"alignItems",void 0);var i;this.direction=(i=(n=t)===null||n===void 0?void 0:n.direction)!==null&&i!==void 0?i:"row";var u;this.justifyContent=(u=(r=t)===null||r===void 0?void 0:r.justifyContent)!==null&&u!==void 0?u:"flex-start";var f;this.alignItems=(f=(o=t)===null||o===void 0?void 0:o.alignItems)!==null&&f!==void 0?f:"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 ad(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 tR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(e)}function D6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function L6(e,t){return t&&(j6(t)==="object"||typeof t=="function")?t:ad(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},sd(e,t)}function j6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C6(e){var t=F6();return function(){var r=Vu(e),o;if(t){var i=Vu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return L6(this,o)}}var pd=function(e){D6(n,e);var t=C6(n);function n(r){k6(this,n);var o,i,u;o=t.call(this,r),tR(ad(o),"color",void 0),tR(ad(o),"lineStyle",void 0);var f;o.color=(f=(i=r)===null||i===void 0?void 0:i.color)!==null&&f!==void 0?f:"#000";var a;return o.lineStyle=(a=(u=r)===null||u===void 0?void 0:u.lineStyle)!==null&&a!==void 0?a:c.LINE_STYLE.SOLID,o}return n}(ue);function nR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function V6(e,t,n){return t&&rR(e.prototype,t),n&&rR(e,n),e}function oR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(e)}function z6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function G6(e,t){return t&&(Y6(t)==="object"||typeof t=="function")?t:nR(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_d(e,t)}function Y6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q6(e){var t=H6();return function(){var r=zu(e),o;if(t){var i=zu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return G6(this,o)}}var iR=function(e){z6(n,e);var t=q6(n);function n(r){x6(this,n);var o,i;return o=t.call(this,r),oR(nR(o),"props",void 0),o.props=new pd((i=r)===null||i===void 0?void 0:i.props),o}return V6(n,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),n}(U);oR(iR,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}]);function uR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function W6(e,t,n){return t&&cR(e.prototype,t),n&&cR(e,n),e}function K6(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gu(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&&yd(e,t)}function J6(e,t){return t&&(Q6(t)==="object"||typeof t=="function")?t:uR(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},yd(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 r=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return J6(this,o)}}var tx=function(e){X6(n,e);var t=ex(n);function n(r){U6(this,n);var o,i;return o=t.call(this,r),K6(uR(o),"props",void 0),o.props=new pd((i=r)===null||i===void 0?void 0:i.props),o}return W6(n,null,[{key:"controlType",get:function(){return"divider"}}]),n}(ce),fR={Designer:iR,Runtime:tx,Property:pd};function vn(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 hn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yu(e)}function aR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dd(e,t)}function nx(e,t){return t&&(rx(t)==="object"||typeof t=="function")?t:vn(e)}function dd(e,t){return dd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},dd(e,t)}function rx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ox(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sR(e){var t=ox();return function(){var r=Yu(e),o;if(t){var i=Yu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return nx(this,o)}}var ix=function(e){aR(n,e);var t=sR(n);function n(r){lR(this,n);var o;return o=t.call(this,r),hn(vn(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),hn(vn(o),"dataBind",{type:"any"}),hn(vn(o),"config",{type:"array"}),r.config.includes(c.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:w.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:w.getMessage("bizKeyNotBindFiled")}},message:w.getMessage("bizKeyNotBindFiled")}),!r.isHide&&r.config.length===0&&(o.config={type:"array",min:1,required:!0,message:w.getMessage("pleaseSelectOneField")}),o}return n}(ye),Hu=function(e){aR(n,e);var t=sR(n);function n(r){lR(this,n);var o,i,u,f,a,l;o=t.call(this,r),hn(vn(o),"dataBind",void 0),hn(vn(o),"caption",void 0),hn(vn(o),"config",void 0),hn(vn(o),"position",void 0),o.dataBind=new it((i=r)===null||i===void 0?void 0:i.dataBind);var s;o.config=(s=(u=r)===null||u===void 0?void 0:u.config)!==null&&s!==void 0?s:[c.TitleConfigEnum.ShowSubmitUser,c.TitleConfigEnum.ShowSubmitDept,c.TitleConfigEnum.ShowSubmitTime,c.TitleConfigEnum.ShowCurrentApprovar,c.TitleConfigEnum.ShowTitle];var p,_;o.caption=(_=(p=(f=r)===null||f===void 0?void 0:f.caption)!==null&&p!==void 0?p:(a=Uu)===null||a===void 0?void 0:a.controlName)!==null&&_!==void 0?_:"";var y;return o.position=(y=(l=r)===null||l===void 0?void 0:l.position)!==null&&y!==void 0?y:"top",o}return n}(ue);hn(Hu,"Rules",ix);function pR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ux(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cx(e,t,n){return t&&_R(e.prototype,t),n&&_R(e,n),e}function vd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(e)}function fx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hd(e,t)}function lx(e,t){return t&&(ax(t)==="object"||typeof t=="function")?t:pR(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},hd(e,t)}function ax(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 px(e){var t=sx();return function(){var r=qu(e),o;if(t){var i=qu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return lx(this,o)}}var Uu=function(e){fx(n,e);var t=px(n);function n(r){ux(this,n);var o,i;return o=t.call(this,r),vd(pR(o),"props",void 0),o.props=new Hu((i=r)===null||i===void 0?void 0:i.props),o}return cx(n,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),n}(U);vd(Uu,"controlFieldType",c.FieldTypes.AUTO_NUMBER),vd(Uu,"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 _x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yx(e,t,n){return t&&dR(e.prototype,t),n&&dR(e,n),e}function dx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wu(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&&bd(e,t)}function hx(e,t){return t&&(bx(t)==="object"||typeof t=="function")?t:yR(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},bd(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 r=Wu(e),o;if(t){var i=Wu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return hx(this,o)}}var Ox=function(e){vx(n,e);var t=mx(n);function n(r){_x(this,n);var o,i;return o=t.call(this,r),dx(yR(o),"props",void 0),o.props=new Hu((i=r)===null||i===void 0?void 0:i.props),o}return yx(n,null,[{key:"controlType",get:function(){return"title"}}]),n}(ce),vR={Designer:Uu,Runtime:Ox,Property:Hu};function Ku(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ju(e)}function bR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function wx(e,t){return t&&(Px(t)==="object"||typeof t=="function")?t:Ku(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},gd(e,t)}function Px(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gR(e){var t=$x();return function(){var r=Ju(e),o;if(t){var i=Ju(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return wx(this,o)}}var Rx=function(e){bR(n,e);var t=gR(n);function n(r){hR(this,n);var o;return o=t.call(this,r),Xu(Ku(o),"formKey",{type:"string",required:!0,message:w.getMessage("pleaseEnterForm")}),o}return n}(ye),Qu=function(e){bR(n,e);var t=gR(n);function n(r){hR(this,n);var o,i,u,f,a;o=t.call(this,r),Xu(Ku(o),"formKey",void 0),Xu(Ku(o),"openType",void 0);var l;o.icon=(l=(i=r)===null||i===void 0?void 0:i.icon)!==null&&l!==void 0?l:Do.controlIcon;var s;o.content=(s=(u=r)===null||u===void 0?void 0:u.content)!==null&&s!==void 0?s:Do.controlName;var p;o.formKey=(p=(f=r)===null||f===void 0?void 0:f.formKey)!==null&&p!==void 0?p:"";var _;return o.openType=(_=(a=r)===null||a===void 0?void 0:a.openType)!==null&&_!==void 0?_:"modal",o}return n}(Le);Xu(Qu,"Rules",Rx);function mR(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 n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sx(e,t,n){return t&&OR(e.prototype,t),n&&OR(e,n),e}function md(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zu(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&&Od(e,t)}function Ix(e,t){return t&&(Bx(t)==="object"||typeof t=="function")?t:mR(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Od(e,t)}function Bx(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 Mx(e){var t=Nx();return function(){var r=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Ix(this,o)}}var Do=function(e){Ex(n,e);var t=Mx(n);function n(r){Tx(this,n);var o,i;return o=t.call(this,r),md(mR(o),"props",void 0),o.props=new Qu((i=r)===null||i===void 0?void 0:i.props),o}return Sx(n,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"}}]),n}(je);md(Do,"controlEventKeys",["on_click","on_click_finish"]),md(Do,"setting",[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function wR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ax(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kx(e,t,n){return t&&PR(e.prototype,t),n&&PR(e,n),e}function Dx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ec(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&&wd(e,t)}function jx(e,t){return t&&(Fx(t)==="object"||typeof t=="function")?t:wR(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},wd(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 r=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return jx(this,o)}}var Vx=function(e){Lx(n,e);var t=xx(n);function n(r){Ax(this,n);var o,i;return o=t.call(this,r),Dx(wR(o),"props",void 0),o.props=new Qu((i=r)===null||i===void 0?void 0:i.props),o}return kx(n,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),n}(Qe),$R={Designer:Do,Runtime:Vx,Property:Qu};function Tr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tc(e)}function TR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pd(e,t)}function zx(e,t){return t&&(Gx(t)==="object"||typeof t=="function")?t:Tr(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Pd(e,t)}function Gx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SR(e){var t=Yx();return function(){var r=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zx(this,o)}}var Hx=function(e){TR(n,e);var t=SR(n);function n(r){RR(this,n);var o;return o=t.call(this,r),Sr(Tr(o),"processKey",[{type:"string",message:w.getMessage("isNotString")},{type:"string",required:!0,message:w.getMessage("pleaseEnterProcess")}]),o}return n}(ye),nc=function(e){TR(n,e);var t=SR(n);function n(r){RR(this,n);var o,i,u,f,a,l,s;o=t.call(this,r),Sr(Tr(o),"processKey",void 0),Sr(Tr(o),"initiatorMode",void 0),Sr(Tr(o),"fieldCode",void 0),Sr(Tr(o),"employeeId",void 0);var p;o.icon=(p=(i=r)===null||i===void 0?void 0:i.icon)!==null&&p!==void 0?p:Lo.controlIcon;var _;o.content=(_=(u=r)===null||u===void 0?void 0:u.content)!==null&&_!==void 0?_:Lo.controlName;var y;o.initiatorMode=(y=(f=r)===null||f===void 0?void 0:f.initiatorMode)!==null&&y!==void 0?y:"currentInitiator";var v;o.processKey=(v=(a=r)===null||a===void 0?void 0:a.processKey)!==null&&v!==void 0?v:"";var h;o.fieldCode=(h=(l=r)===null||l===void 0?void 0:l.fieldCode)!==null&&h!==void 0?h:"";var b;return o.employeeId=(b=(s=r)===null||s===void 0?void 0:s.employeeId)!==null&&b!==void 0?b:"",o}return n}(Le);Sr(nc,"Rules",Hx);function ER(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 IR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ux(e,t,n){return t&&IR(e.prototype,t),n&&IR(e,n),e}function $d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rc(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&&Rd(e,t)}function Kx(e,t){return t&&(Xx(t)==="object"||typeof t=="function")?t:ER(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Rd(e,t)}function Xx(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 Qx(e){var t=Jx();return function(){var r=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Kx(this,o)}}var Lo=function(e){Wx(n,e);var t=Qx(n);function n(r){qx(this,n);var o,i;return o=t.call(this,r),$d(ER(o),"props",void 0),o.props=new nc((i=r)===null||i===void 0?void 0:i.props),o}return Ux(n,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"}}]),n}(je);$d(Lo,"controlEventKeys",["on_click","on_click_finish"]),$d(Lo,"setting",[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function BR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function e7(e,t,n){return t&&NR(e.prototype,t),n&&NR(e,n),e}function t7(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oc(e)}function n7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Td(e,t)}function r7(e,t){return t&&(o7(t)==="object"||typeof t=="function")?t:BR(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Td(e,t)}function o7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u7(e){var t=i7();return function(){var r=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return r7(this,o)}}var c7=function(e){n7(n,e);var t=u7(n);function n(r){Zx(this,n);var o,i;return o=t.call(this,r),t7(BR(o),"props",void 0),o.props=new nc((i=r)===null||i===void 0?void 0:i.props),o}return e7(n,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),n}(Qe),MR={Designer:Lo,Runtime:c7,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 l7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ic(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&&Sd(e,t)}function s7(e,t){return t&&(p7(t)==="object"||typeof t=="function")?t:f7(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Sd(e,t)}function p7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y7(e){var t=_7();return function(){var r=ic(e),o;if(t){var i=ic(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return s7(this,o)}}var Ed=function(e){a7(n,e);var t=y7(n);function n(r){l7(this,n);var o,i,u;o=t.call(this,r);var f;o.content=(f=(i=r)===null||i===void 0?void 0:i.content)!==null&&f!==void 0?f:jo.controlName;var a;return o.icon=(a=(u=r)===null||u===void 0?void 0:u.icon)!==null&&a!==void 0?a:jo.controlIcon,o}return n}(Le);function AR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v7(e,t,n){return t&&kR(e.prototype,t),n&&kR(e,n),e}function Id(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uc(e)}function h7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bd(e,t)}function b7(e,t){return t&&(g7(t)==="object"||typeof t=="function")?t:AR(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Bd(e,t)}function g7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O7(e){var t=m7();return function(){var r=uc(e),o;if(t){var i=uc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return b7(this,o)}}var jo=function(e){h7(n,e);var t=O7(n);function n(r){d7(this,n);var o,i;return o=t.call(this,r),Id(AR(o),"props",void 0),o.props=new Ed((i=r)===null||i===void 0?void 0:i.props),o}return v7(n,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"}}]),n}(je);Id(jo,"controlEventKeys",["on_click"]),Id(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:"super-setting",visible:!0}]);function DR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function P7(e,t,n){return t&&LR(e.prototype,t),n&&LR(e,n),e}function $7(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cc(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&&Nd(e,t)}function T7(e,t){return t&&(S7(t)==="object"||typeof t=="function")?t:DR(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Nd(e,t)}function S7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I7(e){var t=E7();return function(){var r=cc(e),o;if(t){var i=cc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return T7(this,o)}}var B7=function(e){R7(n,e);var t=I7(n);function n(r){w7(this,n);var o,i;return o=t.call(this,r),$7(DR(o),"props",void 0),o.props=new Ed((i=r)===null||i===void 0?void 0:i.props),o}return P7(n,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),n}(Qe),jR={Designer:jo,Runtime:B7,Property:Ed};function Md(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fc(e)}function M7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ad(e,t)}function A7(e,t){return t&&(k7(t)==="object"||typeof t=="function")?t:Md(e)}function Ad(e,t){return Ad=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ad(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 r=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return A7(this,o)}}var kd=function(e){M7(n,e);var t=L7(n);function n(r){N7(this,n);var o,i,u,f,a,l;o=t.call(this,r),FR(Md(o),"templateList",void 0),FR(Md(o),"templateType",void 0);var s;o.icon=(s=(i=r)===null||i===void 0?void 0:i.icon)!==null&&s!==void 0?s:Fo.controlIcon;var p;o.content=(p=(u=r)===null||u===void 0?void 0:u.content)!==null&&p!==void 0?p:Fo.controlName;var _;o.templateType=(_=(f=r)===null||f===void 0?void 0:f.templateType)!==null&&_!==void 0?_:"system";var y;return o.templateList=(y=(l=r)===null||l===void 0||(a=l.templateList)===null||a===void 0?void 0:a.map(function(v){return new fd(v)}))!==null&&y!==void 0?y:[new fd({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return n}(Le);function CR(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 xR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function F7(e,t,n){return t&&xR(e.prototype,t),n&&xR(e,n),e}function Dd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lc(e)}function C7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ld(e,t)}function x7(e,t){return t&&(V7(t)==="object"||typeof t=="function")?t:CR(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ld(e,t)}function V7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G7(e){var t=z7();return function(){var r=lc(e),o;if(t){var i=lc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return x7(this,o)}}var Fo=function(e){C7(n,e);var t=G7(n);function n(r){j7(this,n);var o,i;return o=t.call(this,r),Dd(CR(o),"props",void 0),o.props=new kd((i=r)===null||i===void 0?void 0:i.props),o}return F7(n,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),n}(je);Dd(Fo,"controlEventKeys",["on_click","on_click_finish"]),Dd(Fo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function VR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function H7(e,t,n){return t&&zR(e.prototype,t),n&&zR(e,n),e}function q7(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ac(e)}function U7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jd(e,t)}function W7(e,t){return t&&(K7(t)==="object"||typeof t=="function")?t:VR(e)}function jd(e,t){return jd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},jd(e,t)}function K7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J7(e){var t=X7();return function(){var r=ac(e),o;if(t){var i=ac(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return W7(this,o)}}var Q7=function(e){U7(n,e);var t=J7(n);function n(r){Y7(this,n);var o,i;return o=t.call(this,r),q7(VR(o),"props",void 0),o.props=new kd((i=r)===null||i===void 0?void 0:i.props),o}return H7(n,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),n}(Qe),GR={Designer:Fo,Runtime:Q7,Property:kd};function Z7(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 sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sc(e)}function t8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fd(e,t)}function n8(e,t){return t&&(r8(t)==="object"||typeof t=="function")?t:Z7(e)}function Fd(e,t){return Fd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Fd(e,t)}function r8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i8(e){var t=o8();return function(){var r=sc(e),o;if(t){var i=sc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return n8(this,o)}}var Cd=function(e){t8(n,e);var t=i8(n);function n(r){e8(this,n);var o,i,u;o=t.call(this,r);var f;o.content=(f=(i=r)===null||i===void 0?void 0:i.content)!==null&&f!==void 0?f:Co.controlName;var a;return o.icon=(a=(u=r)===null||u===void 0?void 0:u.icon)!==null&&a!==void 0?a:Co.controlIcon,o}return n}(Le);function YR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c8(e,t,n){return t&&HR(e.prototype,t),n&&HR(e,n),e}function xd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pc(e)}function f8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vd(e,t)}function l8(e,t){return t&&(a8(t)==="object"||typeof t=="function")?t:YR(e)}function Vd(e,t){return Vd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Vd(e,t)}function a8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p8(e){var t=s8();return function(){var r=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return l8(this,o)}}var Co=function(e){f8(n,e);var t=p8(n);function n(r){u8(this,n);var o,i;return o=t.call(this,r),xd(YR(o),"props",void 0),o.props=new Cd((i=r)===null||i===void 0?void 0:i.props),o}return c8(n,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"}}]),n}(je);xd(Co,"controlEventKeys",["on_click"]),xd(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:"super-setting",visible:!0}]);function qR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y8(e,t,n){return t&&UR(e.prototype,t),n&&UR(e,n),e}function d8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_c(e)}function v8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 h8(e,t){return t&&(b8(t)==="object"||typeof t=="function")?t:qR(e)}function zd(e,t){return zd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},zd(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 m8(e){var t=g8();return function(){var r=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return h8(this,o)}}var O8=function(e){v8(n,e);var t=m8(n);function n(r){_8(this,n);var o,i;return o=t.call(this,r),d8(qR(o),"props",void 0),o.props=new Cd((i=r)===null||i===void 0?void 0:i.props),o}return y8(n,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),n}(Qe),WR={Designer:Co,Runtime:O8,Property:Cd};function Gd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yc(e)}function w8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hd(e,t)}function P8(e,t){return t&&($8(t)==="object"||typeof t=="function")?t:Gd(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Hd(e,t)}function $8(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 T8(e){var t=R8();return function(){var r=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return P8(this,o)}}var S8=function e(t){KR(this,e),Yd(this,"dataCode",void 0),this.dataCode=t.dataCode},qd=function(e){w8(n,e);var t=T8(n);function n(r){KR(this,n);var o,i,u,f,a,l;o=t.call(this,r),Yd(Gd(o),"canImportList",void 0),Yd(Gd(o),"templateType",void 0);var s;o.content=(s=(i=r)===null||i===void 0?void 0:i.content)!==null&&s!==void 0?s:xo.controlName;var p;o.icon=(p=(u=r)===null||u===void 0?void 0:u.icon)!==null&&p!==void 0?p:xo.controlIcon;var _;o.canImportList=(_=(a=r)===null||a===void 0||(f=a.canImportList)===null||f===void 0?void 0:f.map(function(v){return new S8(v)}))!==null&&_!==void 0?_:[];var y;return o.templateType=(y=(l=r)===null||l===void 0?void 0:l.templateType)!==null&&y!==void 0?y:"system",o}return n}(Le);function XR(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 JR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I8(e,t,n){return t&&JR(e.prototype,t),n&&JR(e,n),e}function Ud(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dc(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&&Wd(e,t)}function N8(e,t){return t&&(M8(t)==="object"||typeof t=="function")?t:XR(e)}function Wd(e,t){return Wd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Wd(e,t)}function M8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k8(e){var t=A8();return function(){var r=dc(e),o;if(t){var i=dc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return N8(this,o)}}var xo=function(e){B8(n,e);var t=k8(n);function n(r){E8(this,n);var o,i;return o=t.call(this,r),Ud(XR(o),"props",void 0),o.props=new qd((i=r)===null||i===void 0?void 0:i.props),o}return I8(n,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),n}(je);Ud(xo,"controlEventKeys",["on_click","on_click_finish"]),Ud(xo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function QR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function L8(e,t,n){return t&&ZR(e.prototype,t),n&&ZR(e,n),e}function j8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vc(e)}function F8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kd(e,t)}function C8(e,t){return t&&(x8(t)==="object"||typeof t=="function")?t:QR(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Kd(e,t)}function x8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z8(e){var t=V8();return function(){var r=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return C8(this,o)}}var G8=function(e){F8(n,e);var t=z8(n);function n(r){D8(this,n);var o,i;return o=t.call(this,r),j8(QR(o),"props",void 0),o.props=new qd((i=r)===null||i===void 0?void 0:i.props),o}return L8(n,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),n}(Qe),eT={Designer:xo,Runtime:G8,Property:qd};function hc(){return{dataCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:w.getMessage("pleaseSelectControl")}}}}}}function bn(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 Ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bc(e)}function nT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xd(e,t)}function rT(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Ut(e,o,n[o])})}return e}function Y8(e,t){return t&&(H8(t)==="object"||typeof t=="function")?t:bn(e)}function Xd(e,t){return Xd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Xd(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 oT(e){var t=q8();return function(){var r=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Y8(this,o)}}var U8=function(e){nT(n,e);var t=oT(n);function n(r){tT(this,n);var o;return o=t.call(this,r),Ut(bn(o),"fillPayload",{type:"object",fields:rT({},hc())}),Ut(bn(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:w.getMessage("pleaseEnterList")}}}),Ut(bn(o),"fillBack",{type:"object",fields:rT({mode:{type:"string",required:!0,message:w.getMessage("pleaseSelectFillBackMode")}},hc())}),(r.command==="edit"||r.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:w.getMessage("pleaseSelectControl")}),o}return n}(ye),gc=function(e){nT(n,e);var t=oT(n);function n(r){tT(this,n);var o,i,u,f,a,l,s;o=t.call(this,r),Ut(bn(o),"fillPayload",void 0),Ut(bn(o),"formBind",void 0),Ut(bn(o),"fillBack",void 0),Ut(bn(o),"command",void 0);var p;o.content=(p=(i=r)===null||i===void 0?void 0:i.content)!==null&&p!==void 0?p:Vo.controlName;var _;o.icon=(_=(u=r)===null||u===void 0?void 0:u.icon)!==null&&_!==void 0?_:Vo.controlIcon;var y;return o.command=(y=(f=r)===null||f===void 0?void 0:f.command)!==null&&y!==void 0?y:"create",o.fillPayload=new X_((a=r)===null||a===void 0?void 0:a.fillPayload),o.formBind=new $P((l=r)===null||l===void 0?void 0:l.formBind),o.fillBack=new J_((s=r)===null||s===void 0?void 0:s.fillBack),o}return n}(Le);Ut(gc,"Rules",U8);function iT(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 uT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function K8(e,t,n){return t&&uT(e.prototype,t),n&&uT(e,n),e}function Jd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mc(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&&Qd(e,t)}function J8(e,t){return t&&(Q8(t)==="object"||typeof t=="function")?t:iT(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Qd(e,t)}function Q8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e9(e){var t=Z8();return function(){var r=mc(e),o;if(t){var i=mc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return J8(this,o)}}var Vo=function(e){X8(n,e);var t=e9(n);function n(r){W8(this,n);var o,i;return o=t.call(this,r),Jd(iT(o),"props",void 0),o.props=new gc((i=r)===null||i===void 0?void 0:i.props),o}return K8(n,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),n}(je);Jd(Vo,"controlEventKeys",["on_click","on_click_finish"]),Jd(Vo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function cT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function n9(e,t,n){return t&&fT(e.prototype,t),n&&fT(e,n),e}function r9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oc(e)}function o9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i9(e,t){return t&&(u9(t)==="object"||typeof t=="function")?t:cT(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Zd(e,t)}function u9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f9(e){var t=c9();return function(){var r=Oc(e),o;if(t){var i=Oc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return i9(this,o)}}var l9=function(e){o9(n,e);var t=f9(n);function n(r){t9(this,n);var o,i;return o=t.call(this,r),r9(cT(o),"props",void 0),o.props=new gc((i=r)===null||i===void 0?void 0:i.props),o}return n9(n,null,[{key:"controlType",get:function(){return"form-select-button"}}]),n}(Qe),lT={Designer:Vo,Runtime:l9,Property:gc};function Wt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function At(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wc(e)}function sT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ev(e,t)}function pT(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){At(e,o,n[o])})}return e}function a9(e,t){return t&&(s9(t)==="object"||typeof t=="function")?t:Wt(e)}function ev(e,t){return ev=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ev(e,t)}function s9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _T(e){var t=p9();return function(){var r=wc(e),o;if(t){var i=wc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return a9(this,o)}}var _9=function(e){sT(n,e);var t=_T(n);function n(r){aT(this,n);var o;return o=t.call(this,r),At(Wt(o),"fillPayload",{type:"object",fields:pT({},hc())}),At(Wt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:w.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:w.getMessage("pleaseSelectAtLeastOneColumn")}}}),At(Wt(o),"fillBack",{type:"object",fields:pT({mode:{type:"string",required:!0,message:w.getMessage("pleaseSelectFillBackMode")}},hc())}),o}return n}(ye),Pc=function(e){sT(n,e);var t=_T(n);function n(r){aT(this,n);var o,i,u,f,a,l,s,p;o=t.call(this,r),At(Wt(o),"fillPayload",void 0),At(Wt(o),"listPageBind",void 0),At(Wt(o),"fillBack",void 0),At(Wt(o),"showSelectedDetail",void 0),At(Wt(o),"selectedContentConfig",void 0);var _;o.content=(_=(i=r)===null||i===void 0?void 0:i.content)!==null&&_!==void 0?_:zo.controlName;var y;o.icon=(y=(u=r)===null||u===void 0?void 0:u.icon)!==null&&y!==void 0?y:zo.controlIcon,o.fillPayload=new X_((f=r)===null||f===void 0?void 0:f.fillPayload),o.listPageBind=new Wi((a=r)===null||a===void 0?void 0:a.listPageBind),o.fillBack=new J_((l=r)===null||l===void 0?void 0:l.fillBack);var v;return o.showSelectedDetail=(v=(s=r)===null||s===void 0?void 0:s.showSelectedDetail)!==null&&v!==void 0?v:!1,o.selectedContentConfig=new Ji((p=r)===null||p===void 0?void 0:p.selectedContentConfig),o}return n}(Le);At(Pc,"Rules",_9);function yT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d9(e,t,n){return t&&dT(e.prototype,t),n&&dT(e,n),e}function tv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$c(e)}function v9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 h9(e,t){return t&&(b9(t)==="object"||typeof t=="function")?t:yT(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},nv(e,t)}function b9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m9(e){var t=g9();return function(){var r=$c(e),o;if(t){var i=$c(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return h9(this,o)}}var zo=function(e){v9(n,e);var t=m9(n);function n(r){y9(this,n);var o,i;return o=t.call(this,r),tv(yT(o),"props",void 0),o.props=new Pc((i=r)===null||i===void 0?void 0:i.props),o}return d9(n,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),n}(je);tv(zo,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),tv(zo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function vT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w9(e,t,n){return t&&hT(e.prototype,t),n&&hT(e,n),e}function P9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rc(e)}function $9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rv(e,t)}function R9(e,t){return t&&(T9(t)==="object"||typeof t=="function")?t:vT(e)}function rv(e,t){return rv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},rv(e,t)}function T9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E9(e){var t=S9();return function(){var r=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return R9(this,o)}}var I9=function(e){$9(n,e);var t=E9(n);function n(r){O9(this,n);var o,i;return o=t.call(this,r),P9(vT(o),"props",void 0),o.props=new Pc((i=r)===null||i===void 0?void 0:i.props),o}return w9(n,null,[{key:"controlType",get:function(){return"list-select-button"}}]),n}(Qe),bT={Designer:zo,Runtime:I9,Property:Pc};function B9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ov(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tc(e)}function iv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}function N9(e,t){return t&&(M9(t)==="object"||typeof t=="function")?t:B9(e)}function uv(e,t){return uv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},uv(e,t)}function M9(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 cv(e){var t=A9();return function(){var r=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return N9(this,o)}}var k9=function(e){iv(n,e);var t=cv(n);function n(r){return ov(this,n),t.call(this,r)}return n}(ye),D9=function(e){iv(n,e);var t=cv(n);function n(r){return ov(this,n),t.call(this,r)}return n}(an),Go=function(e){iv(n,e);var t=cv(n);function n(r){return ov(this,n),t.call(this,r)}return n}(ue);gT(Go,"Rules",k9),gT(Go,"RuntimeRules",D9);function mT(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 OT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function j9(e,t,n){return t&&OT(e.prototype,t),n&&OT(e,n),e}function wT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sc(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&&fv(e,t)}function C9(e,t){return t&&(x9(t)==="object"||typeof t=="function")?t:mT(e)}function fv(e,t){return fv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},fv(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 r=Sc(e),o;if(t){var i=Sc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return C9(this,o)}}var PT=function(e){F9(n,e);var t=z9(n);function n(r){L9(this,n);var o,i;return o=t.call(this,r),wT(mT(o),"props",void 0),o.props=new Go((i=r)===null||i===void 0?void 0:i.props),o}return j9(n,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),n}(U);wT(PT,"setting",[]);function $T(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Y9(e,t,n){return t&&RT(e.prototype,t),n&&RT(e,n),e}function H9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ec(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&&lv(e,t)}function U9(e,t){return t&&(W9(t)==="object"||typeof t=="function")?t:$T(e)}function lv(e,t){return lv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},lv(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 r=Ec(e),o;if(t){var i=Ec(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return U9(this,o)}}var J9=function(e){q9(n,e);var t=X9(n);function n(r){G9(this,n);var o,i;return o=t.call(this,r),H9($T(o),"props",void 0),o.props=new Go((i=r)===null||i===void 0?void 0:i.props),o}return Y9(n,null,[{key:"controlType",get:function(){return"pagination"}}]),n}(ce),TT={Designer:PT,Runtime:J9,Property:Go};function ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ST(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ic(e)}function ET(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function Q9(e,t){return t&&(Z9(t)==="object"||typeof t=="function")?t:ut(e)}function av(e,t){return av=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},av(e,t)}function Z9(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 IT(e){var t=eV();return function(){var r=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Q9(this,o)}}var tV=function(e){ET(n,e);var t=IT(n);function n(r){ST(this,n);var o;return o=t.call(this,r),ct(ut(o),"dashboardKey",{type:"string",required:!0,message:w.getMessage("pleaseSelectDashboard")}),ct(ut(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),ct(ut(o),"isHideCaption",{type:"boolean"}),ct(ut(o),"labelPosition",{type:"enum",enum:["top","left"]}),ct(ut(o),"captionTip",{type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")}),r.isShowCaptionTip&&(o.captionTip.required=!0),o}return n}(ye),Bc=function(e){ET(n,e);var t=IT(n);function n(r){ST(this,n);var o,i,u,f,a,l,s;o=t.call(this,r),ct(ut(o),"dashboardKey",void 0),ct(ut(o),"caption",void 0),ct(ut(o),"isHideCaption",void 0),ct(ut(o),"isShowCaptionTip",void 0),ct(ut(o),"captionTip",void 0),ct(ut(o),"labelPosition",void 0);var p;o.dashboardKey=(p=(i=r)===null||i===void 0?void 0:i.dashboardKey)!==null&&p!==void 0?p:"";var _;o.caption=(_=(u=r)===null||u===void 0?void 0:u.caption)!==null&&_!==void 0?_:"";var y;o.isHideCaption=(y=(f=r)===null||f===void 0?void 0:f.isHideCaption)!==null&&y!==void 0?y:!1;var v;o.isShowCaptionTip=(v=(a=r)===null||a===void 0?void 0:a.isShowCaptionTip)!==null&&v!==void 0?v:!1;var h;o.captionTip=(h=(l=r)===null||l===void 0?void 0:l.captionTip)!==null&&h!==void 0?h:"";var b;return o.labelPosition=(b=(s=r)===null||s===void 0?void 0:s.labelPosition)!==null&&b!==void 0?b:"top",o}return n}(ue);ct(Bc,"Rules",tV);function BT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rV(e,t,n){return t&&NT(e.prototype,t),n&&NT(e,n),e}function MT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nc(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&&sv(e,t)}function iV(e,t){return t&&(uV(t)==="object"||typeof t=="function")?t:BT(e)}function sv(e,t){return sv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},sv(e,t)}function uV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fV(e){var t=cV();return function(){var r=Nc(e),o;if(t){var i=Nc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return iV(this,o)}}var AT=function(e){oV(n,e);var t=fV(n);function n(r){nV(this,n);var o,i;return o=t.call(this,r),MT(BT(o),"props",void 0),o.props=new Bc((i=r)===null||i===void 0?void 0:i.props),o}return rV(n,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),n}(U);MT(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 kT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function aV(e,t,n){return t&&DT(e.prototype,t),n&&DT(e,n),e}function sV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mc(e)}function pV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function _V(e,t){return t&&(yV(t)==="object"||typeof t=="function")?t:kT(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},pv(e,t)}function yV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vV(e){var t=dV();return function(){var r=Mc(e),o;if(t){var i=Mc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _V(this,o)}}var hV=function(e){pV(n,e);var t=vV(n);function n(r){lV(this,n);var o,i;return o=t.call(this,r),sV(kT(o),"props",void 0),o.props=new Bc((i=r)===null||i===void 0?void 0:i.props),o}return aV(n,null,[{key:"controlType",get:function(){return"dashboard"}}]),n}(ce),LT={Designer:AT,Runtime:hV,Property:Bc};function Yo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ho(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ac(e)}function FT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_v(e,t)}function bV(e,t){return t&&(gV(t)==="object"||typeof t=="function")?t:Yo(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_v(e,t)}function gV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CT(e){var t=mV();return function(){var r=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return bV(this,o)}}var OV=function(e){FT(n,e);var t=CT(n);function n(r){jT(this,n);var o;return o=t.call(this,r),Ho(Yo(o),"showType",{type:"enum",enum:["select","tabs"]}),Ho(Yo(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:w.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:w.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return n}(ye),kc=function(e){FT(n,e);var t=CT(n);function n(r){jT(this,n);var o,i,u,f;o=t.call(this,r),Ho(Yo(o),"showType",void 0),Ho(Yo(o),"viewList",void 0);var a;o.showType=(a=(i=r)===null||i===void 0?void 0:i.showType)!==null&&a!==void 0?a:"select";var l;return o.viewList=(l=(f=r)===null||f===void 0||(u=f.viewList)===null||u===void 0?void 0:u.map(function(s){return new zP(s)}))!==null&&l!==void 0?l:[],o}return n}(ue);Ho(kc,"Rules",OV);function xT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function PV(e,t,n){return t&&VT(e.prototype,t),n&&VT(e,n),e}function zT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dc(e)}function $V(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function RV(e,t){return t&&(TV(t)==="object"||typeof t=="function")?t:xT(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},yv(e,t)}function TV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EV(e){var t=SV();return function(){var r=Dc(e),o;if(t){var i=Dc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return RV(this,o)}}var GT=function(e){$V(n,e);var t=EV(n);function n(r){wV(this,n);var o,i;return o=t.call(this,r),zT(xT(o),"props",void 0),o.props=new kc((i=r)===null||i===void 0?void 0:i.props),o}return PV(n,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),n}(U);zT(GT,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function YT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function BV(e,t,n){return t&&HT(e.prototype,t),n&&HT(e,n),e}function NV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lc(e)}function MV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function AV(e,t){return t&&(kV(t)==="object"||typeof t=="function")?t:YT(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},dv(e,t)}function kV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LV(e){var t=DV();return function(){var r=Lc(e),o;if(t){var i=Lc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return AV(this,o)}}var jV=function(e){MV(n,e);var t=LV(n);function n(r){IV(this,n);var o,i;return o=t.call(this,r),NV(YT(o),"props",void 0),o.props=new kc((i=r)===null||i===void 0?void 0:i.props),o}return BV(n,null,[{key:"controlType",get:function(){return"list-view-select"}}]),n}(ce),qT={Designer:GT,Runtime:jV,Property:kc};function ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jc(e)}function WT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vv(e,t)}function FV(e,t){return t&&(CV(t)==="object"||typeof t=="function")?t:ze(e)}function vv(e,t){return vv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},vv(e,t)}function CV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KT(e){var t=xV();return function(){var r=jc(e),o;if(t){var i=jc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return FV(this,o)}}var VV=function(e){WT(n,e);var t=KT(n);function n(r){UT(this,n);var o;return o=t.call(this,r),Ge(ze(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),Ge(ze(o),"isHideCaption",{type:"boolean"}),Ge(ze(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ge(ze(o),"ocrType",{type:"string",required:!0,message:w.getMessage("pleaseSelectOcrType")}),Ge(ze(o),"fillList",{type:"array",validator:function(u,f,a){var l=f.every(function(s){return!s.controlId});if(l){a(w.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Ge(ze(o),"captionTip",{type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")}),r.isShowCaptionTip&&(o.captionTip.required=!0),o}return n}(ye),Fc=function(e){WT(n,e);var t=KT(n);function n(r){UT(this,n);var o,i,u,f,a,l,s,p,_,y,v;o=t.call(this,r),Ge(ze(o),"caption",void 0),Ge(ze(o),"isHideCaption",void 0),Ge(ze(o),"isShowCaptionTip",void 0),Ge(ze(o),"captionTip",void 0),Ge(ze(o),"labelPosition",void 0),Ge(ze(o),"ocrType",void 0),Ge(ze(o),"fillList",void 0);var h;o.caption=(h=(i=r)===null||i===void 0?void 0:i.caption)!==null&&h!==void 0?h:Er.controlName;var b;o.isHideCaption=(b=(u=r)===null||u===void 0?void 0:u.isHideCaption)!==null&&b!==void 0?b:!1;var d;o.isShowCaptionTip=(d=(f=r)===null||f===void 0?void 0:f.isShowCaptionTip)!==null&&d!==void 0?d:!1;var g;o.captionTip=(g=(a=r)===null||a===void 0?void 0:a.captionTip)!==null&&g!==void 0?g:"";var m;o.labelPosition=(m=(l=r)===null||l===void 0?void 0:l.labelPosition)!==null&&m!==void 0?m:"top";var O;o.content=(O=(s=r)===null||s===void 0?void 0:s.content)!==null&&O!==void 0?O:Er.controlName;var $;o.icon=($=(p=r)===null||p===void 0?void 0:p.icon)!==null&&$!==void 0?$:Er.controlIcon;var T;o.ocrType=(T=(_=r)===null||_===void 0?void 0:_.ocrType)!==null&&T!==void 0?T:"";var R;return o.fillList=(R=(v=r)===null||v===void 0||(y=v.fillList)===null||y===void 0?void 0:y.map(function(S){return new De(S)}))!==null&&R!==void 0?R:[],o}return n}(Le);Ge(Fc,"Rules",VV);function XT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function GV(e,t,n){return t&&JT(e.prototype,t),n&&JT(e,n),e}function hv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(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&&bv(e,t)}function HV(e,t){return t&&(qV(t)==="object"||typeof t=="function")?t:XT(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},bv(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 r=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return HV(this,o)}}var Er=function(e){YV(n,e);var t=WV(n);function n(r){zV(this,n);var o,i;return o=t.call(this,r),hv(XT(o),"props",void 0),o.props=new Fc((i=r)===null||i===void 0?void 0:i.props),o}return GV(n,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),n}(je);hv(Er,"controlEventKeys",["on_click","on_click_finish"]),hv(Er,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function QT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function XV(e,t,n){return t&&ZT(e.prototype,t),n&&ZT(e,n),e}function JV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(e)}function QV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gv(e,t)}function ZV(e,t){return t&&(ez(t)==="object"||typeof t=="function")?t:QT(e)}function gv(e,t){return gv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},gv(e,t)}function ez(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nz(e){var t=tz();return function(){var r=xc(e),o;if(t){var i=xc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return ZV(this,o)}}var rz=function(e){QV(n,e);var t=nz(n);function n(r){KV(this,n);var o,i;return o=t.call(this,r),JV(QT(o),"props",void 0),o.props=new Fc((i=r)===null||i===void 0?void 0:i.props),o}return XV(n,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),n}(Qe),eS={Designer:Er,Runtime:rz,Property:Fc};function Ye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(e)}function nS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mv(e,t)}function oz(e,t){return t&&(iz(t)==="object"||typeof t=="function")?t:Ye(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},mv(e,t)}function iz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rS(e){var t=uz();return function(){var r=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return oz(this,o)}}var cz=function(e){nS(n,e);var t=rS(n);function n(r){tS(this,n);var o;return o=t.call(this,r),He(Ye(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),He(Ye(o),"isHideCaption",{type:"boolean"}),He(Ye(o),"labelPosition",{type:"enum",enum:["top","left"]}),He(Ye(o),"invoiceCheck",{type:"boolean"}),He(Ye(o),"fillList",{type:"array",validator:function(u,f,a){var l=f.every(function(s){return!s.controlId});if(l){a(w.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),He(Ye(o),"captionTip",{type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")}),r.isShowCaptionTip&&(o.captionTip.required=!0),o}return n}(ye),zc=function(e){nS(n,e);var t=rS(n);function n(r){tS(this,n);var o,i,u,f,a,l,s,p,_,y,v;o=t.call(this,r),He(Ye(o),"caption",void 0),He(Ye(o),"isHideCaption",void 0),He(Ye(o),"isShowCaptionTip",void 0),He(Ye(o),"captionTip",void 0),He(Ye(o),"labelPosition",void 0),He(Ye(o),"invoiceCheck",void 0),He(Ye(o),"fillList",void 0);var h;o.caption=(h=(i=r)===null||i===void 0?void 0:i.caption)!==null&&h!==void 0?h:Ir.controlName;var b;o.isHideCaption=(b=(u=r)===null||u===void 0?void 0:u.isHideCaption)!==null&&b!==void 0?b:!1;var d;o.isShowCaptionTip=(d=(f=r)===null||f===void 0?void 0:f.isShowCaptionTip)!==null&&d!==void 0?d:!1;var g;o.captionTip=(g=(a=r)===null||a===void 0?void 0:a.captionTip)!==null&&g!==void 0?g:"";var m;o.labelPosition=(m=(l=r)===null||l===void 0?void 0:l.labelPosition)!==null&&m!==void 0?m:"top";var O;o.content=(O=(s=r)===null||s===void 0?void 0:s.content)!==null&&O!==void 0?O:Ir.controlName;var $;o.icon=($=(p=r)===null||p===void 0?void 0:p.icon)!==null&&$!==void 0?$:Ir.controlIcon;var T;o.invoiceCheck=(T=(_=r)===null||_===void 0?void 0:_.invoiceCheck)!==null&&T!==void 0?T:!0;var R;return o.fillList=(R=(v=r)===null||v===void 0||(y=v.fillList)===null||y===void 0?void 0:y.map(function(S){return new De(S)}))!==null&&R!==void 0?R:[],o}return n}(Le);He(zc,"Rules",cz);function oS(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 iS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lz(e,t,n){return t&&iS(e.prototype,t),n&&iS(e,n),e}function Ov(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gc(e)}function az(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function sz(e,t){return t&&(pz(t)==="object"||typeof t=="function")?t:oS(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},wv(e,t)}function pz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yz(e){var t=_z();return function(){var r=Gc(e),o;if(t){var i=Gc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return sz(this,o)}}var Ir=function(e){az(n,e);var t=yz(n);function n(r){fz(this,n);var o,i;return o=t.call(this,r),Ov(oS(o),"props",void 0),o.props=new zc((i=r)===null||i===void 0?void 0:i.props),o}return lz(n,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),n}(je);Ov(Ir,"controlEventKeys",["on_click","on_click_finish"]),Ov(Ir,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function uS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vz(e,t,n){return t&&cS(e.prototype,t),n&&cS(e,n),e}function hz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yc(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&&Pv(e,t)}function gz(e,t){return t&&(mz(t)==="object"||typeof t=="function")?t:uS(e)}function Pv(e,t){return Pv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Pv(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 r=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return gz(this,o)}}var Pz=function(e){bz(n,e);var t=wz(n);function n(r){dz(this,n);var o,i;return o=t.call(this,r),hz(uS(o),"props",void 0),o.props=new zc((i=r)===null||i===void 0?void 0:i.props),o}return vz(n,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),n}(Qe),fS={Designer:Ir,Runtime:Pz,Property:zc};function Hc(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 qc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uc(e)}function aS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$v(e,t)}function $z(e,t){return t&&(Rz(t)==="object"||typeof t=="function")?t:Hc(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},$v(e,t)}function Rz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sS(e){var t=Tz();return function(){var r=Uc(e),o;if(t){var i=Uc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return $z(this,o)}}var Sz=function(e){aS(n,e);var t=sS(n);function n(){lS(this,n);var r;return r=t.apply(this,arguments),qc(Hc(r),"printTemplates",{type:"array",min:1,required:!0,message:w.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),r}return n}(ye),Wc=function(e){aS(n,e);var t=sS(n);function n(r){lS(this,n);var o,i,u,f,a,l;o=t.call(this,r),qc(Hc(o),"printTemplates",void 0),qc(Hc(o),"autoSelectTemplate",void 0);var s;o.icon=(s=(i=r)===null||i===void 0?void 0:i.icon)!==null&&s!==void 0?s:qo.controlIcon;var p;o.content=(p=(u=r)===null||u===void 0?void 0:u.content)!==null&&p!==void 0?p:qo.controlName;var _;o.printTemplates=(_=(a=r)===null||a===void 0||(f=a.printTemplates)===null||f===void 0?void 0:f.map(function(v){return new Z$(v)}))!==null&&_!==void 0?_:[];var y;return o.autoSelectTemplate=(y=(l=r)===null||l===void 0?void 0:l.autoSelectTemplate)!==null&&y!==void 0?y:!1,o}return n}(Le);qc(Wc,"Rules",Sz);function pS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ez(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Iz(e,t,n){return t&&_S(e.prototype,t),n&&_S(e,n),e}function Rv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kc(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&&Tv(e,t)}function Nz(e,t){return t&&(Mz(t)==="object"||typeof t=="function")?t:pS(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Tv(e,t)}function Mz(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 kz(e){var t=Az();return function(){var r=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Nz(this,o)}}var qo=function(e){Bz(n,e);var t=kz(n);function n(r){Ez(this,n);var o,i;return o=t.call(this,r),Rv(pS(o),"props",void 0),o.props=new Wc((i=r)===null||i===void 0?void 0:i.props),o}return Iz(n,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"}}]),n}(je);Rv(qo,"controlEventKeys",["on_click","on_click_finish"]),Rv(qo,"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 Dz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lz(e,t,n){return t&&dS(e.prototype,t),n&&dS(e,n),e}function jz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xc(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&&Sv(e,t)}function Cz(e,t){return t&&(xz(t)==="object"||typeof t=="function")?t:yS(e)}function Sv(e,t){return Sv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Sv(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 r=Xc(e),o;if(t){var i=Xc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Cz(this,o)}}var Gz=function(e){Fz(n,e);var t=zz(n);function n(r){Dz(this,n);var o,i;return o=t.call(this,r),jz(yS(o),"props",void 0),o.props=new Wc((i=r)===null||i===void 0?void 0:i.props),o}return Lz(n,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),n}(Qe),vS={Designer:qo,Runtime:Gz,Property:Wc};function Yz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jc(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&&Ev(e,t)}function Uz(e,t){return t&&(Wz(t)==="object"||typeof t=="function")?t:Yz(e)}function Ev(e,t){return Ev=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ev(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 r=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Uz(this,o)}}var Iv=function(e){qz(n,e);var t=Xz(n);function n(r){Hz(this,n);var o,i,u;o=t.call(this,r);var f;o.content=(f=(i=r)===null||i===void 0?void 0:i.content)!==null&&f!==void 0?f:Uo.controlName;var a;return o.icon=(a=(u=r)===null||u===void 0?void 0:u.icon)!==null&&a!==void 0?a:Uo.controlIcon,o}return n}(Le);function hS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qz(e,t,n){return t&&bS(e.prototype,t),n&&bS(e,n),e}function Bv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qc(e)}function Zz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nv(e,t)}function eG(e,t){return t&&(tG(t)==="object"||typeof t=="function")?t:hS(e)}function Nv(e,t){return Nv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Nv(e,t)}function tG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rG(e){var t=nG();return function(){var r=Qc(e),o;if(t){var i=Qc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return eG(this,o)}}var Uo=function(e){Zz(n,e);var t=rG(n);function n(r){Jz(this,n);var o,i;return o=t.call(this,r),Bv(hS(o),"props",void 0),o.props=new Iv((i=r)===null||i===void 0?void 0:i.props),o}return Qz(n,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"}}]),n}(je);Bv(Uo,"controlEventKeys",["on_click"]),Bv(Uo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function gS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iG(e,t,n){return t&&mS(e.prototype,t),n&&mS(e,n),e}function uG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zc(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&&Mv(e,t)}function fG(e,t){return t&&(lG(t)==="object"||typeof t=="function")?t:gS(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Mv(e,t)}function lG(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 r=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return fG(this,o)}}var pG=function(e){cG(n,e);var t=sG(n);function n(r){oG(this,n);var o,i;return o=t.call(this,r),uG(gS(o),"props",void 0),o.props=new Iv((i=r)===null||i===void 0?void 0:i.props),o}return iG(n,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),n}(Qe),OS={Designer:Uo,Runtime:pG,Property:Iv};function Fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ef(e)}function PS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Av(e,t)}function _G(e,t){return t&&(yG(t)==="object"||typeof t=="function")?t:Fe(e)}function Av(e,t){return Av=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Av(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 $S(e){var t=dG();return function(){var r=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _G(this,o)}}var vG=function(e){PS(n,e);var t=$S(n);function n(r){wS(this,n);var o;return o=t.call(this,r),Ce(Fe(o),"formKey",{type:"string",required:!1}),(r.command==="edit"||r.command==="view")&&(o.formKey={type:"string",required:!0,message:w.getMessage("pleaseEnterForm")}),o}return n}(ye),tf=function(e){PS(n,e);var t=$S(n);function n(r){wS(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b,d;o=t.call(this,r),Ce(Fe(o),"content",void 0),Ce(Fe(o),"code",void 0),Ce(Fe(o),"command",void 0),Ce(Fe(o),"color",void 0),Ce(Fe(o),"icon",void 0),Ce(Fe(o),"formKey",void 0),Ce(Fe(o),"openType",void 0),Ce(Fe(o),"needConfirm",void 0),Ce(Fe(o),"confirmMessage",void 0),Ce(Fe(o),"options",void 0),Ce(Fe(o),"defaultState",void 0),Ce(Fe(o),"priorityProcess",void 0),Ce(Fe(o),"isLoading",void 0);var g;o.content=(g=(i=r)===null||i===void 0?void 0:i.content)!==null&&g!==void 0?g:"\u6309\u94AE",o.code=(u=r)===null||u===void 0?void 0:u.code;var m;o.command=(m=(f=r)===null||f===void 0?void 0:f.command)!==null&&m!==void 0?m:"custom";var O;o.color=(O=(a=r)===null||a===void 0?void 0:a.color)!==null&&O!==void 0?O:"primary",o.icon=(l=r)===null||l===void 0?void 0:l.icon,o.formKey=(s=r)===null||s===void 0?void 0:s.formKey,o.openType=(p=r)===null||p===void 0?void 0:p.openType,o.needConfirm=(_=r)===null||_===void 0?void 0:_.needConfirm,o.confirmMessage=(y=r)===null||y===void 0?void 0:y.confirmMessage,o.options=(v=r)===null||v===void 0?void 0:v.options;var $;o.defaultState=($=(h=r)===null||h===void 0?void 0:h.defaultState)!==null&&$!==void 0?$:"default",o.priorityProcess=(b=r)===null||b===void 0?void 0:b.priorityProcess;var T;return o.isLoading=(T=(d=r)===null||d===void 0?void 0:d.isLoading)!==null&&T!==void 0?T:!1,o}return n}(ue);Ce(tf,"Rules",vG);function RS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bG(e,t,n){return t&&TS(e.prototype,t),n&&TS(e,n),e}function kv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nf(e)}function gG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function mG(e,t){return t&&(OG(t)==="object"||typeof t=="function")?t:RS(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Dv(e,t)}function OG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PG(e){var t=wG();return function(){var r=nf(e),o;if(t){var i=nf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mG(this,o)}}var rf=function(e){gG(n,e);var t=PG(n);function n(r){hG(this,n);var o,i;return o=t.call(this,r),kv(RS(o),"props",void 0),o.props=new tf((i=r)===null||i===void 0?void 0:i.props),o}return bG(n,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),n}(U);kv(rf,"controlEventKeys",["on_click"]),kv(rf,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function SS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $G(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ES(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function RG(e,t,n){return t&&ES(e.prototype,t),n&&ES(e,n),e}function TG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},of(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&&Lv(e,t)}function EG(e,t){return t&&(IG(t)==="object"||typeof t=="function")?t:SS(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Lv(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 r=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return EG(this,o)}}var MG=function(e){SG(n,e);var t=NG(n);function n(r){$G(this,n);var o,i;return o=t.call(this,r),TG(SS(o),"props",void 0),o.props=new tf((i=r)===null||i===void 0?void 0:i.props),o}return RG(n,null,[{key:"controlType",get:function(){return"operation-button"}}]),n}(ce),Wo={Designer:rf,Runtime:MG,Property:tf};function Kt(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 gn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uf(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&&jv(e,t)}function DG(e,t){return t&&(LG(t)==="object"||typeof t=="function")?t:Kt(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},jv(e,t)}function LG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FG(e){var t=jG();return function(){var r=uf(e),o;if(t){var i=uf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return DG(this,o)}}var Fv=function(e){kG(n,e);var t=FG(n);function n(r){AG(this,n);var o,i,u,f,a,l,s,p,_,y;o=t.call(this,r),gn(Kt(o),"content",void 0),gn(Kt(o),"buttonType",void 0),gn(Kt(o),"showType",void 0),gn(Kt(o),"color",void 0),gn(Kt(o),"icon",void 0),gn(Kt(o),"defaultState",void 0),gn(Kt(o),"command",void 0),gn(Kt(o),"isLoading",void 0);var v;o.content=(v=(i=r)===null||i===void 0?void 0:i.content)!==null&&v!==void 0?v:Ko.controlName;var h;o.icon=(h=(u=r)===null||u===void 0?void 0:u.icon)!==null&&h!==void 0?h:Ko.controlIcon;var b;o.buttonType=(b=(f=r)===null||f===void 0?void 0:f.buttonType)!==null&&b!==void 0?b:"primary";var d;o.showType=(d=(a=r)===null||a===void 0?void 0:a.showType)!==null&&d!==void 0?d:"iconText";var g;o.color=(g=(l=r)===null||l===void 0?void 0:l.color)!==null&&g!==void 0?g:"danger";var m;o.isHide=(m=(s=r)===null||s===void 0?void 0:s.isHide)!==null&&m!==void 0?m:!1;var O;o.defaultState=(O=(p=r)===null||p===void 0?void 0:p.defaultState)!==null&&O!==void 0?O:"default";var $;o.command=($=(_=r)===null||_===void 0?void 0:_.command)!==null&&$!==void 0?$:"custom";var T;return o.isLoading=(T=(y=r)===null||y===void 0?void 0:y.isLoading)!==null&&T!==void 0?T:!1,o}return n}(ue);function IS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xG(e,t,n){return t&&BS(e.prototype,t),n&&BS(e,n),e}function Cv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cf(e)}function VG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function zG(e,t){return t&&(GG(t)==="object"||typeof t=="function")?t:IS(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},xv(e,t)}function GG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HG(e){var t=YG();return function(){var r=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zG(this,o)}}var Ko=function(e){VG(n,e);var t=HG(n);function n(r){CG(this,n);var o,i;return o=t.call(this,r),Cv(IS(o),"props",void 0),o.props=new Fv((i=r)===null||i===void 0?void 0:i.props),o}return xG(n,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"}}]),n}(U);Cv(Ko,"controlEventKeys",["on_click"]),Cv(Ko,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[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 qG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function UG(e,t,n){return t&&MS(e.prototype,t),n&&MS(e,n),e}function WG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ff(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&&Vv(e,t)}function XG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:NS(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Vv(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 r=ff(e),o;if(t){var i=ff(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return XG(this,o)}}var eY=function(e){KG(n,e);var t=ZG(n);function n(r){qG(this,n);var o,i;return o=t.call(this,r),WG(NS(o),"props",void 0),o.props=new Fv((i=r)===null||i===void 0?void 0:i.props),o}return UG(n,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),n}(ce),AS={Designer:Ko,Runtime:eY,Property:Fv},tY=Object.freeze({__proto__:null,Text:C$,Link:Y$,Button:K$,Divider:fR,Title:vR,CreateFormListButton:$R,BatchSubmissionListButton:MR,SubmissionRecordListButton:jR,ExportListButton:GR,ExportRecordListButton:WR,ImportRecordListButton:eT,FormSelectButton:lT,ListSelectButton:bT,Pagination:TT,Dashboard:LT,ListViewSelect:qT,TextOcrButton:eS,InvoiceCheckButton:fS,BatchPrintListButton:vS,BatchPrintRecordListButton:OS,OperationButton:Wo,BatchDeleteButton:AS});function kt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lf(e)}function Gv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}function nY(e,t){return t&&(rY(t)==="object"||typeof t=="function")?t:kt(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Yv(e,t)}function rY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hv(e){var t=oY();return function(){var r=lf(e),o;if(t){var i=lf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return nY(this,o)}}var iY=function(e){Gv(n,e);var t=Hv(n);function n(r){zv(this,n);var o;return o=t.call(this,r),vt(kt(o),"maxLength",{type:"number",min:0,message:w.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),vt(kt(o),"minLength",{type:"number",max:200,message:w.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),vt(kt(o),"defaultValue",[{type:"string",max:200,min:0,message:w.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=r.minLength,o.minLength.max=r.maxLength,o.defaultValue[0].max=r.maxLength,o.defaultValue[0].min=r.minLength,o.defaultValue[0].message=w.getMessage("stringRangeError",{max:r.maxLength,min:r.minLength}),o.defaultValue[1].pattern=ko(r.regularRules.expression),o.defaultValue[1].message=r.regularRules.errMessage,o}return n}(Oe),uY=function(e){Gv(n,e);var t=Hv(n);function n(r){zv(this,n);var o;return o=t.call(this,r),o.push({type:"string",message:w.getMessage("isNotString")},{max:r.maxLength,min:r.minLength,message:w.getMessage("stringRangeError",{max:r.maxLength,min:r.minLength})}),r.regularRules.expression&&r.regularRules.errMessage&&o.push({pattern:ko(r.regularRules.expression),message:r.regularRules.errMessage}),o}return n}(J),Br=function(e){Gv(n,e);var t=Hv(n);function n(r){zv(this,n);var o,i,u,f,a,l,s,p,_;o=t.call(this,r),vt(kt(o),"maxLength",void 0),vt(kt(o),"minLength",void 0),vt(kt(o),"regularRules",void 0),vt(kt(o),"defaultValue",void 0),vt(kt(o),"encrypted",void 0),vt(kt(o),"encryptedMode",void 0);var y;o.maxLength=(y=(i=r)===null||i===void 0?void 0:i.maxLength)!==null&&y!==void 0?y:200;var v;o.minLength=(v=(u=r)===null||u===void 0?void 0:u.minLength)!==null&&v!==void 0?v:0,o.regularRules=new Q_((f=r)===null||f===void 0?void 0:f.regularRules);var h;o.defaultValue=(h=(a=r)===null||a===void 0?void 0:a.defaultValue)!==null&&h!==void 0?h:"";var b;o.caption=(b=(l=r)===null||l===void 0?void 0:l.caption)!==null&&b!==void 0?b:Nr.controlName;var d;o.placeholder=(d=(s=r)===null||s===void 0?void 0:s.placeholder)!==null&&d!==void 0?d:"\u8BF7\u8F93\u5165";var g;o.encrypted=(g=(p=r)===null||p===void 0?void 0:p.encrypted)!==null&&g!==void 0?g:!1;var m;return o.encryptedMode=(m=(_=r)===null||_===void 0?void 0:_.encryptedMode)!==null&&m!==void 0?m:"",o}return n}(V);vt(Br,"Rules",iY),vt(Br,"RuntimeRules",uY);function kS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fY(e,t,n){return t&&DS(e.prototype,t),n&&DS(e,n),e}function af(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sf(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&&qv(e,t)}function aY(e,t){return t&&(sY(t)==="object"||typeof t=="function")?t:kS(e)}function qv(e,t){return qv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},qv(e,t)}function sY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Y(e){var t=pY();return function(){var r=sf(e),o;if(t){var i=sf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return aY(this,o)}}var Nr=function(e){lY(n,e);var t=_Y(n);function n(r){cY(this,n);var o,i;return o=t.call(this,r),af(kS(o),"props",void 0),o.props=new Br((i=r)===null||i===void 0?void 0:i.props),o}return fY(n,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),n}(z);af(Nr,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),af(Nr,"controlFieldType",c.FieldTypes.VARCHAR),af(Nr,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function LS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function dY(e,t,n){return t&&jS(e.prototype,t),n&&jS(e,n),e}function FS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pf(e)}function vY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uv(e,t)}function hY(e,t){return t&&(bY(t)==="object"||typeof t=="function")?t:LS(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Uv(e,t)}function bY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mY(e){var t=gY();return function(){var r=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return hY(this,o)}}var CS=function(e){vY(n,e);var t=mY(n);function n(r){yY(this,n);var o,i;return o=t.call(this,r),FS(LS(o),"props",void 0),o.props=new Br((i=r)===null||i===void 0?void 0:i.props),o}return dY(n,null,[{key:"controlType",get:function(){return"input"}}]),n}(G);FS(CS,"controlFieldType",c.FieldTypes.VARCHAR);var xS={Designer:Nr,Runtime:CS,Property:Br};function Be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_f(e)}function Kv(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xv(e,t)}function OY(e,t){return t&&(wY(t)==="object"||typeof t=="function")?t:Be(e)}function Xv(e,t){return Xv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Xv(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 Jv(e){var t=PY();return function(){var r=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return OY(this,o)}}var $Y=function(e){Kv(n,e);var t=Jv(n);function n(r){Wv(this,n);var o;o=t.call(this,r),Pe(Be(o),"limitMax",{type:"number",min:void 0,message:w.getMessage("PleaseReselectTheOptionalQuantity")});var i=r.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(f){return f==="unlimited"?void 0:f};return o.limitMax.min=u(r.limitMin),o}return n}(Cn),RY=function(e){Kv(n,e);var t=Jv(n);function n(r){Wv(this,n);var o;return o=t.call(this,r),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof r.limitMax=="number"?r.limitMax:void 0,min:typeof r.limitMin=="number"?r.limitMin:void 0}),o}return n}(J),Xo=function(e){Kv(n,e);var t=Jv(n);function n(r){Wv(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b,d,g,m;o=t.call(this,r),Pe(Be(o),"checkboxMode",void 0),Pe(Be(o),"options",void 0),Pe(Be(o),"optionsOrder",void 0),Pe(Be(o),"limitMax",void 0),Pe(Be(o),"limitMin",void 0),Pe(Be(o),"otherOption",void 0),Pe(Be(o),"optionConfig",void 0),Pe(Be(o),"optionsFormat",void 0),Pe(Be(o),"defaultShowOptions",void 0),Pe(Be(o),"datasourceBind",void 0),Pe(Be(o),"multistageFilling",void 0),Pe(Be(o),"interreaction",void 0),Pe(Be(o),"defaultValue",void 0),Pe(Be(o),"openMultistageFilling",void 0);var O;o.options=It((O=(i=r)===null||i===void 0?void 0:i.options)!==null&&O!==void 0?O:[{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 $;o.checkboxMode=($=(u=r)===null||u===void 0?void 0:u.checkboxMode)!==null&&$!==void 0?$:"horizontal";var T;o.optionConfig=(T=(f=r)===null||f===void 0?void 0:f.optionConfig)!==null&&T!==void 0?T:"custom";var R;o.optionsOrder=(R=(a=r)===null||a===void 0?void 0:a.optionsOrder)!==null&&R!==void 0?R:!1;var S;o.otherOption=(S=(l=r)===null||l===void 0?void 0:l.otherOption)!==null&&S!==void 0?S:!1;var I;o.limitMin=(I=(s=r)===null||s===void 0?void 0:s.limitMin)!==null&&I!==void 0?I:"unlimited";var E;o.limitMax=(E=(p=r)===null||p===void 0?void 0:p.limitMax)!==null&&E!==void 0?E:"unlimited",o.datasourceBind=new de((_=r)===null||_===void 0?void 0:_.datasourceBind);var N;o.interreaction=(N=(y=r)===null||y===void 0?void 0:y.interreaction)!==null&&N!==void 0?N:[];var B;o.caption=(B=(v=r)===null||v===void 0?void 0:v.caption)!==null&&B!==void 0?B:Jo.controlName;var A;o.defaultValue=(A=(h=r)===null||h===void 0?void 0:h.defaultValue)!==null&&A!==void 0?A:[];var M;o.optionsFormat=(M=(b=r)===null||b===void 0?void 0:b.optionsFormat)!==null&&M!==void 0?M:"horizontal";var j;o.defaultShowOptions=(j=(d=r)===null||d===void 0?void 0:d.defaultShowOptions)!==null&&j!==void 0?j:!0;var D;if(o.openMultistageFilling=(D=(g=r)===null||g===void 0?void 0:g.openMultistageFilling)!==null&&D!==void 0?D:!1,o.multistageFilling=[],Array.isArray((m=r)===null||m===void 0?void 0:m.multistageFilling)){var Y;(Y=r)===null||Y===void 0||Y.multistageFilling.map(function(W){var X;(X=o.multistageFilling)===null||X===void 0||X.push(new De(W))})}return o}return n}(V);Pe(Xo,"Rules",$Y),Pe(Xo,"RuntimeRules",RY);function VS(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 zS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function SY(e,t,n){return t&&zS(e.prototype,t),n&&zS(e,n),e}function yf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},df(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&&Qv(e,t)}function IY(e,t){return t&&(BY(t)==="object"||typeof t=="function")?t:VS(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Qv(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 MY(e){var t=NY();return function(){var r=df(e),o;if(t){var i=df(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return IY(this,o)}}var Jo=function(e){EY(n,e);var t=MY(n);function n(r){TY(this,n);var o,i;return o=t.call(this,r),yf(VS(o),"props",void 0),o.props=new Xo((i=r)===null||i===void 0?void 0:i.props),o}return SY(n,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),n}(z);yf(Jo,"controlEventKeys",["on_change","on_click"]),yf(Jo,"controlFieldType",c.FieldTypes.ARRAY),yf(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:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function GS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kY(e,t,n){return t&&YS(e.prototype,t),n&&YS(e,n),e}function HS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vf(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&&Zv(e,t)}function LY(e,t){return t&&(jY(t)==="object"||typeof t=="function")?t:GS(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Zv(e,t)}function jY(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 CY(e){var t=FY();return function(){var r=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return LY(this,o)}}var qS=function(e){DY(n,e);var t=CY(n);function n(r){AY(this,n);var o,i;return o=t.call(this,r),HS(GS(o),"props",void 0),o.props=new Xo((i=r)===null||i===void 0?void 0:i.props),o}return kY(n,null,[{key:"controlType",get:function(){return"checkbox"}}]),n}(G);HS(qS,"controlFieldType",c.FieldTypes.ARRAY);var US={Designer:Jo,Runtime:qS,Property:Xo};function Ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hf(e)}function KS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function xY(e,t){return t&&(VY(t)==="object"||typeof t=="function")?t:Ze(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},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 XS(e){var t=zY();return function(){var r=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return xY(this,o)}}var GY=function(e){KS(n,e);var t=XS(n);function n(r){return WS(this,n),t.call(this,r)}return n}(Cn),bf=function(e){KS(n,e);var t=XS(n);function n(r){WS(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b,d;o=t.call(this,r),et(Ze(o),"radioMode",void 0),et(Ze(o),"options",void 0),et(Ze(o),"optionConfig",void 0),et(Ze(o),"optionsFormat",void 0),et(Ze(o),"defaultShowOptions",void 0),et(Ze(o),"otherOption",void 0),et(Ze(o),"optionsOrder",void 0),et(Ze(o),"datasourceBind",void 0),et(Ze(o),"multistageFilling",void 0),et(Ze(o),"interreaction",void 0),et(Ze(o),"defaultValue",void 0),et(Ze(o),"openMultistageFilling",void 0);var g;o.options=It((g=(i=r)===null||i===void 0?void 0:i.options)!==null&&g!==void 0?g:[{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 m;o.radioMode=(m=(u=r)===null||u===void 0?void 0:u.radioMode)!==null&&m!==void 0?m:"horizontal";var O;o.optionConfig=(O=(f=r)===null||f===void 0?void 0:f.optionConfig)!==null&&O!==void 0?O:"custom";var $;o.otherOption=($=(a=r)===null||a===void 0?void 0:a.otherOption)!==null&&$!==void 0?$:!1;var T;o.optionsOrder=(T=(l=r)===null||l===void 0?void 0:l.optionsOrder)!==null&&T!==void 0?T:!1;var R;o.defaultShowOptions=(R=(s=r)===null||s===void 0?void 0:s.defaultShowOptions)!==null&&R!==void 0?R:!0;var S;o.optionsFormat=(S=(p=r)===null||p===void 0?void 0:p.optionsFormat)!==null&&S!==void 0?S:"horizontal",o.datasourceBind=new de((_=r)===null||_===void 0?void 0:_.datasourceBind);var I;o.interreaction=(I=(y=r)===null||y===void 0?void 0:y.interreaction)!==null&&I!==void 0?I:[];var E;o.caption=(E=(v=r)===null||v===void 0?void 0:v.caption)!==null&&E!==void 0?E:Qo.controlName;var N;o.defaultValue=(N=(h=r)===null||h===void 0?void 0:h.defaultValue)!==null&&N!==void 0?N:"";var B;if(o.openMultistageFilling=(B=(b=r)===null||b===void 0?void 0:b.openMultistageFilling)!==null&&B!==void 0?B:!1,o.multistageFilling=[],Array.isArray((d=r)===null||d===void 0?void 0:d.multistageFilling)){var A;(A=r)===null||A===void 0||A.multistageFilling.map(function(M){var j;(j=o.multistageFilling)===null||j===void 0||j.push(new De(M))})}return o}return n}(V);et(bf,"Rules",GY);function JS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function HY(e,t,n){return t&&QS(e.prototype,t),n&&QS(e,n),e}function gf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mf(e)}function qY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function UY(e,t){return t&&(WY(t)==="object"||typeof t=="function")?t:JS(e)}function th(e,t){return th=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},th(e,t)}function WY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XY(e){var t=KY();return function(){var r=mf(e),o;if(t){var i=mf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return UY(this,o)}}var Qo=function(e){qY(n,e);var t=XY(n);function n(r){YY(this,n);var o,i;return o=t.call(this,r),gf(JS(o),"props",void 0),o.props=new bf((i=r)===null||i===void 0?void 0:i.props),o}return HY(n,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),n}(z);gf(Qo,"controlEventKeys",["on_change","on_click"]),gf(Qo,"controlFieldType",c.FieldTypes.VARCHAR),gf(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:"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 JY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function QY(e,t,n){return t&&eE(e.prototype,t),n&&eE(e,n),e}function tE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Of(e)}function ZY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nh(e,t)}function eH(e,t){return t&&(tH(t)==="object"||typeof t=="function")?t:ZS(e)}function nh(e,t){return nh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},nh(e,t)}function tH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rH(e){var t=nH();return function(){var r=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return eH(this,o)}}var nE=function(e){ZY(n,e);var t=rH(n);function n(r){JY(this,n);var o,i;return o=t.call(this,r),tE(ZS(o),"props",void 0),o.props=new bf((i=r)===null||i===void 0?void 0:i.props),o}return QY(n,null,[{key:"controlType",get:function(){return"radio"}}]),n}(G);tE(nE,"controlFieldType",c.FieldTypes.VARCHAR);var rE={Designer:Qo,Runtime:nE,Property:bf};function xe(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 Ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wf(e)}function oh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ih(e,t)}function oH(e,t){return t&&(iH(t)==="object"||typeof t=="function")?t:xe(e)}function ih(e,t){return ih=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ih(e,t)}function iH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uh(e){var t=uH();return function(){var r=wf(e),o;if(t){var i=wf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return oH(this,o)}}var cH=function(e){oh(n,e);var t=uh(n);function n(r){rh(this,n);var o;o=t.call(this,r),Ne(xe(o),"defaultValue",[{type:"number",min:0,max:200,message:w.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),Ne(xe(o),"rangeMax",{type:"any"});var i=r.rangeMax===""?void 0:r.rangeMax,u=r.rangeMin===""?void 0:r.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=w.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:w.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=ko(r.regularRules.expression),o.defaultValue[1].message=r.regularRules.errMessage,o}return n}(Oe),fH=function(e){oh(n,e);var t=uh(n);function n(r){rh(this,n);var o;o=t.call(this,r),o[0]!==void 0&&(o[0].type="number");var i=r.rangeMax!==""?r.rangeMax:void 0,u=r.rangeMin!==""?r.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:w.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),r.regularRules.expression&&r.regularRules.errMessage&&o.push({pattern:ko(r.regularRules.expression),message:r.regularRules.errMessage}),o}return n}(J),Zo=function(e){oh(n,e);var t=uh(n);function n(r){rh(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b,d,g;o=t.call(this,r),Ne(xe(o),"rangeMin",void 0),Ne(xe(o),"rangeMax",void 0),Ne(xe(o),"numberType",void 0),Ne(xe(o),"percentageFormat",void 0),Ne(xe(o),"micrometer",void 0),Ne(xe(o),"precision",void 0),Ne(xe(o),"showUpperCase",void 0),Ne(xe(o),"isShowUnit",void 0),Ne(xe(o),"unitPosition",void 0),Ne(xe(o),"unit",void 0),Ne(xe(o),"defaultValue",void 0),Ne(xe(o),"regularRules",void 0);var m;o.rangeMin=(m=(i=r)===null||i===void 0?void 0:i.rangeMin)!==null&&m!==void 0?m:"";var O;o.rangeMax=(O=(u=r)===null||u===void 0?void 0:u.rangeMax)!==null&&O!==void 0?O:"";var $;o.numberType=($=(f=r)===null||f===void 0?void 0:f.numberType)!==null&&$!==void 0?$:"number";var T;o.percentageFormat=(T=(a=r)===null||a===void 0?void 0:a.percentageFormat)!==null&&T!==void 0?T:!1;var R;o.micrometer=(R=(l=r)===null||l===void 0?void 0:l.micrometer)!==null&&R!==void 0?R:!1;var S;o.precision=(S=(s=r)===null||s===void 0?void 0:s.precision)!==null&&S!==void 0?S:0;var I;o.showUpperCase=(I=(p=r)===null||p===void 0?void 0:p.showUpperCase)!==null&&I!==void 0?I:!1;var E;o.isShowUnit=(E=(_=r)===null||_===void 0?void 0:_.isShowUnit)!==null&&E!==void 0?E:!1;var N;o.unitPosition=(N=(y=r)===null||y===void 0?void 0:y.unitPosition)!==null&&N!==void 0?N:"right";var B;o.unit=(B=(v=r)===null||v===void 0?void 0:v.unit)!==null&&B!==void 0?B:"";var A;o.caption=(A=(h=r)===null||h===void 0?void 0:h.caption)!==null&&A!==void 0?A:ei.controlName;var M;o.placeholder=(M=(b=r)===null||b===void 0?void 0:b.placeholder)!==null&&M!==void 0?M:"\u8BF7\u8F93\u5165";var j;return o.defaultValue=(j=(d=r)===null||d===void 0?void 0:d.defaultValue)!==null&&j!==void 0?j:"",o.regularRules=new Q_((g=r)===null||g===void 0?void 0:g.regularRules),o}return n}(V);Ne(Zo,"Rules",cH),Ne(Zo,"RuntimeRules",fH);function oE(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 iE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function aH(e,t,n){return t&&iE(e.prototype,t),n&&iE(e,n),e}function Pf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $f(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?$f=Reflect.get:$f=function(o,i,u){var f=_H(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},$f(e,t,n||e)}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mr(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&&ch(e,t)}function pH(e,t){return t&&(yH(t)==="object"||typeof t=="function")?t:oE(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ch(e,t)}function _H(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Mr(e),e!==null););return e}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 vH(e){var t=dH();return function(){var r=Mr(e),o;if(t){var i=Mr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return pH(this,o)}}var ei=function(e){sH(n,e);var t=vH(n);function n(r){lH(this,n);var o,i;return o=t.call(this,r),Pf(oE(o),"props",void 0),o.props=new Zo((i=r)===null||i===void 0?void 0:i.props),o}return aH(n,[{key:"toDataBindModel",value:function(o){var i=$f(Mr(n.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.precision,a=u.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),n}(z);Pf(ei,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Pf(ei,"controlFieldType",c.FieldTypes.DECIMAL),Pf(ei,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_UNIT,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function uE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bH(e,t,n){return t&&cE(e.prototype,t),n&&cE(e,n),e}function fE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rf(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&&fh(e,t)}function mH(e,t){return t&&(OH(t)==="object"||typeof t=="function")?t:uE(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},fh(e,t)}function OH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PH(e){var t=wH();return function(){var r=Rf(e),o;if(t){var i=Rf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mH(this,o)}}var lE=function(e){gH(n,e);var t=PH(n);function n(r){hH(this,n);var o,i;return o=t.call(this,r),fE(uE(o),"props",void 0),o.props=new Zo((i=r)===null||i===void 0?void 0:i.props),o}return bH(n,null,[{key:"controlType",get:function(){return"number"}}]),n}(G);fE(lE,"controlFieldType",c.FieldTypes.DECIMAL);var aE={Designer:ei,Runtime:lE,Property:Zo};function Xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tf(e)}function RH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lh(e,t)}function TH(e,t){return t&&(SH(t)==="object"||typeof t=="function")?t:Xt(e)}function lh(e,t){return lh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},lh(e,t)}function SH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IH(e){var t=EH();return function(){var r=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return TH(this,o)}}var ah=function(e){RH(n,e);var t=IH(n);function n(r){$H(this,n);var o,i,u,f,a,l,s,p,_,y,v,h;o=t.call(this,r),mn(Xt(o),"dateType",void 0),mn(Xt(o),"dateFormat",void 0),mn(Xt(o),"commonTimeSetting",void 0),mn(Xt(o),"setValueType",void 0),mn(Xt(o),"defaultValue",void 0),mn(Xt(o),"limitDateList",void 0),mn(Xt(o),"allowDateRange",void 0),mn(Xt(o),"filterWeekend",void 0);var b;o.dateType=(b=(i=r)===null||i===void 0?void 0:i.dateType)!==null&&b!==void 0?b:c.DateType.DATE;var d;o.dateFormat=(d=(u=r)===null||u===void 0?void 0:u.dateFormat)!==null&&d!==void 0?d:"";var g;o.commonTimeSetting=(g=(f=r)===null||f===void 0?void 0:f.commonTimeSetting)!==null&&g!==void 0?g:[];var m;o.setValueType=(m=(a=r)===null||a===void 0?void 0:a.setValueType)!==null&&m!==void 0?m:"custom";var O;o.caption=(O=(l=r)===null||l===void 0?void 0:l.caption)!==null&&O!==void 0?O:Ef.controlName;var $;o.placeholder=($=(s=r)===null||s===void 0?void 0:s.placeholder)!==null&&$!==void 0?$:"\u8BF7\u8F93\u5165\u65E5\u671F";var T;o.defaultValue=(T=(p=r)===null||p===void 0?void 0:p.defaultValue)!==null&&T!==void 0?T:"";var R;o.limitDateList=(R=(y=r)===null||y===void 0||(_=y.limitDateList)===null||_===void 0?void 0:_.map(function(E){return new Cu(E)}))!==null&&R!==void 0?R:[];var S;o.allowDateRange=(S=(v=r)===null||v===void 0?void 0:v.allowDateRange)!==null&&S!==void 0?S:["",""];var I;return o.filterWeekend=(I=(h=r)===null||h===void 0?void 0:h.filterWeekend)!==null&&I!==void 0?I:!1,o}return n}(V);function sE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function NH(e,t,n){return t&&pE(e.prototype,t),n&&pE(e,n),e}function sh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sf(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Sf=Reflect.get:Sf=function(o,i,u){var f=kH(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Sf(e,t,n||e)}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ar(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&&ph(e,t)}function AH(e,t){return t&&(DH(t)==="object"||typeof t=="function")?t:sE(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ph(e,t)}function kH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ar(e),e!==null););return e}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 r=Ar(e),o;if(t){var i=Ar(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return AH(this,o)}}var Ef=function(e){MH(n,e);var t=jH(n);function n(r){BH(this,n);var o,i;return o=t.call(this,r),sh(sE(o),"props",void 0),o.props=new ah((i=r)===null||i===void 0?void 0:i.props),o}return NH(n,[{key:"toDataBindModel",value:function(o){var i=Sf(Ar(n.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"}}]),n}(z);sh(Ef,"controlFieldType",c.FieldTypes.TIMESTAMP),sh(Ef,"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 FH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function CH(e,t,n){return t&&yE(e.prototype,t),n&&yE(e,n),e}function dE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},If(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&&_h(e,t)}function VH(e,t){return t&&(zH(t)==="object"||typeof t=="function")?t:_E(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_h(e,t)}function zH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YH(e){var t=GH();return function(){var r=If(e),o;if(t){var i=If(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return VH(this,o)}}var vE=function(e){xH(n,e);var t=YH(n);function n(r){FH(this,n);var o,i;return o=t.call(this,r),dE(_E(o),"props",void 0),o.props=new ah((i=r)===null||i===void 0?void 0:i.props),o}return CH(n,null,[{key:"controlType",get:function(){return"date-picker"}}]),n}(G);dE(vE,"controlFieldType",c.FieldTypes.TIMESTAMP);var hE={Designer:Ef,Runtime:vE,Property:ah};function ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bf(e)}function gE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yh(e,t)}function HH(e,t){return t&&(qH(t)==="object"||typeof t=="function")?t:ft(e)}function yh(e,t){return yh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},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 mE(e){var t=UH();return function(){var r=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return HH(this,o)}}var WH=function(e){gE(n,e);var t=mE(n);function n(r){bE(this,n);var o;return o=t.call(this,r),o[0]!==void 0&&(o[0].type="object"),r.required&&!r.isHide&&o.push({type:"object",fields:{max:{type:"string",required:r.required,message:o[0].message},min:{type:"string",required:r.required,message:o[0].message}}}),o}return n}(J),Nf=function(e){gE(n,e);var t=mE(n);function n(r){bE(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b,d;o=t.call(this,r),lt(ft(o),"dataBind",void 0),lt(ft(o),"rangeMin",void 0),lt(ft(o),"rangeMax",void 0),lt(ft(o),"placeholderStart",void 0),lt(ft(o),"placeholderEnd",void 0),lt(ft(o),"dateFormat",void 0),lt(ft(o),"commonTimeSetting",void 0),lt(ft(o),"dateType",void 0),lt(ft(o),"setValueType",void 0),lt(ft(o),"defaultValue",void 0),lt(ft(o),"limitDateList",void 0),o.dataBind=new jP((i=r)===null||i===void 0?void 0:i.dataBind),o.defaultValue=new FP((u=r)===null||u===void 0?void 0:u.defaultValue);var g;o.dateType=(g=(f=r)===null||f===void 0?void 0:f.dateType)!==null&&g!==void 0?g:c.DateType.DATE;var m;o.dateFormat=(m=(a=r)===null||a===void 0?void 0:a.dateFormat)!==null&&m!==void 0?m:"";var O;o.commonTimeSetting=(O=(l=r)===null||l===void 0?void 0:l.commonTimeSetting)!==null&&O!==void 0?O:[];var $;o.setValueType=($=(s=r)===null||s===void 0?void 0:s.setValueType)!==null&&$!==void 0?$:"custom";var T;o.rangeMin=(T=(p=r)===null||p===void 0?void 0:p.rangeMin)!==null&&T!==void 0?T:"";var R;o.rangeMax=(R=(_=r)===null||_===void 0?void 0:_.rangeMax)!==null&&R!==void 0?R:"";var S;o.placeholderStart=(S=(y=r)===null||y===void 0?void 0:y.placeholderStart)!==null&&S!==void 0?S:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var I;o.placeholderEnd=(I=(v=r)===null||v===void 0?void 0:v.placeholderEnd)!==null&&I!==void 0?I:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var E;o.caption=(E=(h=r)===null||h===void 0?void 0:h.caption)!==null&&E!==void 0?E:Af.controlName;var N;return o.limitDateList=(N=(d=r)===null||d===void 0||(b=d.limitDateList)===null||b===void 0?void 0:b.map(function(B){return new Cu(B)}))!==null&&N!==void 0?N:[],o}return n}(V);lt(Nf,"RuntimeRules",WH);function OE(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 wE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function XH(e,t,n){return t&&wE(e.prototype,t),n&&wE(e,n),e}function dh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mf(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Mf=Reflect.get:Mf=function(o,i,u){var f=ZH(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Mf(e,t,n||e)}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kr(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:OE(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},vh(e,t)}function ZH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kr(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 r=kr(e),o;if(t){var i=kr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return QH(this,o)}}var Af=function(e){JH(n,e);var t=nq(n);function n(r){KH(this,n);var o,i;return o=t.call(this,r),dh(OE(o),"props",void 0),o.props=new Nf((i=r)===null||i===void 0?void 0:i.props),o}return XH(n,[{key:"toDataBindModel",value:function(o){var i=Mf(kr(n.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"}}]),n}(z);dh(Af,"controlFieldType",c.FieldTypes.TIMESCOPE),dh(Af,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function PE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oq(e,t,n){return t&&$E(e.prototype,t),n&&$E(e,n),e}function RE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kf(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:PE(e)}function hh(e,t){return hh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},hh(e,t)}function cq(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 lq(e){var t=fq();return function(){var r=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return uq(this,o)}}var TE=function(e){iq(n,e);var t=lq(n);function n(r){rq(this,n);var o,i;return o=t.call(this,r),RE(PE(o),"props",void 0),o.props=new Nf((i=r)===null||i===void 0?void 0:i.props),o}return oq(n,null,[{key:"controlType",get:function(){return"date-range"}}]),n}(G);RE(TE,"controlFieldType",c.FieldTypes.TIMESCOPE);var SE={Designer:Af,Runtime:TE,Property:Nf};function On(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Df(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&&mh(e,t)}function aq(e,t){return t&&(sq(t)==="object"||typeof t=="function")?t:On(e)}function mh(e,t){return mh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},mh(e,t)}function sq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oh(e){var t=pq();return function(){var r=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return aq(this,o)}}var _q=function(e){gh(n,e);var t=Oh(n);function n(r){bh(this,n);var o;return o=t.call(this,r),Jt(On(o),"maxLength",{type:"number",min:0,message:w.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Jt(On(o),"minLength",{type:"number",max:1e6,message:w.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Jt(On(o),"defaultValue",{type:"string",max:200,min:0,message:w.getMessage("stringRangeError")}),o.maxLength.min=r.minLength,o.minLength.max=r.maxLength,o.defaultValue.max=r.maxLength,o.defaultValue.min=r.minLength,o.defaultValue.message=w.getMessage("stringRangeError",{max:r.maxLength,min:r.minLength}),o}return n}(Oe),yq=function(e){gh(n,e);var t=Oh(n);function n(r){bh(this,n);var o;return o=t.call(this,r),o.push({type:"string",max:r.maxLength,min:r.minLength,message:w.getMessage("stringRangeError",{max:r.maxLength,min:r.minLength})}),o}return n}(J),ti=function(e){gh(n,e);var t=Oh(n);function n(r){bh(this,n);var o,i,u,f,a,l,s;o=t.call(this,r),Jt(On(o),"maxLength",void 0),Jt(On(o),"minLength",void 0),Jt(On(o),"defaultValue",void 0),Jt(On(o),"lineEllipsis",void 0);var p;o.maxLength=(p=(i=r)===null||i===void 0?void 0:i.maxLength)!==null&&p!==void 0?p:5e4;var _;o.minLength=(_=(u=r)===null||u===void 0?void 0:u.minLength)!==null&&_!==void 0?_:0;var y;o.defaultValue=(y=(f=r)===null||f===void 0?void 0:f.defaultValue)!==null&&y!==void 0?y:"";var v;o.caption=(v=(a=r)===null||a===void 0?void 0:a.caption)!==null&&v!==void 0?v:ni.controlName;var h;o.placeholder=(h=(l=r)===null||l===void 0?void 0:l.placeholder)!==null&&h!==void 0?h:"\u8BF7\u8F93\u5165";var b;return o.lineEllipsis=(b=(s=r)===null||s===void 0?void 0:s.lineEllipsis)!==null&&b!==void 0?b:4,o}return n}(V);Jt(ti,"Rules",_q),Jt(ti,"RuntimeRules",yq);function EE(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 IE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vq(e,t,n){return t&&IE(e.prototype,t),n&&IE(e,n),e}function Lf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jf(e)}function hq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wh(e,t)}function bq(e,t){return t&&(gq(t)==="object"||typeof t=="function")?t:EE(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},wh(e,t)}function gq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oq(e){var t=mq();return function(){var r=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return bq(this,o)}}var ni=function(e){hq(n,e);var t=Oq(n);function n(r){dq(this,n);var o,i;return o=t.call(this,r),Lf(EE(o),"props",void 0),o.props=new ti((i=r)===null||i===void 0?void 0:i.props),o}return vq(n,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),n}(z);Lf(ni,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Lf(ni,"controlFieldType",c.FieldTypes.TEXT),Lf(ni,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function BE(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 NE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pq(e,t,n){return t&&NE(e.prototype,t),n&&NE(e,n),e}function ME(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ff(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&&Ph(e,t)}function Rq(e,t){return t&&(Tq(t)==="object"||typeof t=="function")?t:BE(e)}function Ph(e,t){return Ph=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ph(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 r=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Rq(this,o)}}var AE=function(e){$q(n,e);var t=Eq(n);function n(r){wq(this,n);var o,i;return o=t.call(this,r),ME(BE(o),"props",void 0),o.props=new ti((i=r)===null||i===void 0?void 0:i.props),o}return Pq(n,null,[{key:"controlType",get:function(){return"textarea"}}]),n}(G);ME(AE,"controlFieldType",c.FieldTypes.TEXT);var kE={Designer:ni,Runtime:AE,Property:ti};function Vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cf(e)}function Rh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Th(e,t)}function Iq(e,t){return t&&(Bq(t)==="object"||typeof t=="function")?t:Vn(e)}function Th(e,t){return Th=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Th(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 Sh(e){var t=Nq();return function(){var r=Cf(e),o;if(t){var i=Cf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Iq(this,o)}}var Mq=function(e){Rh(n,e);var t=Sh(n);function n(r){$h(this,n);var o;return o=t.call(this,r),wn(Vn(o),"maxLength",{type:"number",min:0,message:w.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),wn(Vn(o),"minLength",{type:"number",max:1e6,message:w.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),wn(Vn(o),"defaultValue",{type:"string",max:200,min:0,message:w.getMessage("stringRangeError")}),o.maxLength.min=r.minLength,o.minLength.max=r.maxLength,o.defaultValue.max=r.maxLength,o.defaultValue.min=r.minLength,o.defaultValue.message=w.getMessage("stringRangeError",{max:r.maxLength,min:r.minLength}),o}return n}(Oe),Aq=function(e){Rh(n,e);var t=Sh(n);function n(r){$h(this,n);var o;return o=t.call(this,r),o.push({type:"string",max:r.maxLength,min:r.minLength,message:w.getMessage("stringRangeError",{max:r.maxLength,min:r.minLength})}),o}return n}(J),ri=function(e){Rh(n,e);var t=Sh(n);function n(r){$h(this,n);var o,i,u,f,a,l;o=t.call(this,r),wn(Vn(o),"maxLength",void 0),wn(Vn(o),"minLength",void 0),wn(Vn(o),"defaultValue",void 0);var s;o.maxLength=(s=(i=r)===null||i===void 0?void 0:i.maxLength)!==null&&s!==void 0?s:5e4;var p;o.minLength=(p=(u=r)===null||u===void 0?void 0:u.minLength)!==null&&p!==void 0?p:0;var _;o.defaultValue=(_=(f=r)===null||f===void 0?void 0:f.defaultValue)!==null&&_!==void 0?_:"";var y;o.caption=(y=(a=r)===null||a===void 0?void 0:a.caption)!==null&&y!==void 0?y:oi.controlName;var v;return o.placeholder=(v=(l=r)===null||l===void 0?void 0:l.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165",o}return n}(V);wn(ri,"Rules",Mq),wn(ri,"RuntimeRules",Aq);function DE(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 LE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dq(e,t,n){return t&&LE(e.prototype,t),n&&LE(e,n),e}function xf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vf(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&&Eh(e,t)}function jq(e,t){return t&&(Fq(t)==="object"||typeof t=="function")?t:DE(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Eh(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 xq(e){var t=Cq();return function(){var r=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return jq(this,o)}}var oi=function(e){Lq(n,e);var t=xq(n);function n(r){kq(this,n);var o,i;return o=t.call(this,r),xf(DE(o),"props",void 0),o.props=new ri((i=r)===null||i===void 0?void 0:i.props),o}return Dq(n,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),n}(z);xf(oi,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),xf(oi,"controlFieldType",c.FieldTypes.TEXT),xf(oi,"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 jE(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 FE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zq(e,t,n){return t&&FE(e.prototype,t),n&&FE(e,n),e}function CE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zf(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&&Ih(e,t)}function Yq(e,t){return t&&(Hq(t)==="object"||typeof t=="function")?t:jE(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ih(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 r=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Yq(this,o)}}var xE=function(e){Gq(n,e);var t=Uq(n);function n(r){Vq(this,n);var o,i;return o=t.call(this,r),CE(jE(o),"props",void 0),o.props=new ri((i=r)===null||i===void 0?void 0:i.props),o}return zq(n,null,[{key:"controlType",get:function(){return"rich-text"}}]),n}(G);CE(xE,"controlFieldType",c.FieldTypes.TEXT);var VE={Designer:oi,Runtime:xE,Property:ri};function at(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function st(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gf(e)}function GE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bh(e,t)}function Wq(e,t){return t&&(Kq(t)==="object"||typeof t=="function")?t:at(e)}function Bh(e,t){return Bh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Bh(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 YE(e){var t=Xq();return function(){var r=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Wq(this,o)}}var Jq=function(e){GE(n,e);var t=YE(n);function n(r){return zE(this,n),t.call(this,r)}return n}(Cn),Yf=function(e){GE(n,e);var t=YE(n);function n(r){zE(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b,d;o=t.call(this,r),st(at(o),"options",void 0),st(at(o),"defaultShowOptions",void 0),st(at(o),"optionConfig",void 0),st(at(o),"defaultValue",void 0),st(at(o),"datasourceBind",void 0),st(at(o),"multistageFilling",void 0),st(at(o),"allowCopyOptions",void 0),st(at(o),"openMultistageFilling",void 0),st(at(o),"viewFormModelType",void 0),st(at(o),"canViewForm",void 0),st(at(o),"formBind",void 0);var g;o.options=It((g=(i=r)===null||i===void 0?void 0:i.options)!==null&&g!==void 0?g:[{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 m;o.defaultShowOptions=(m=(u=r)===null||u===void 0?void 0:u.defaultShowOptions)!==null&&m!==void 0?m:!0;var O;o.optionConfig=(O=(f=r)===null||f===void 0?void 0:f.optionConfig)!==null&&O!==void 0?O:"custom",o.datasourceBind=new de((a=r)===null||a===void 0?void 0:a.datasourceBind);var $;o.caption=($=(l=r)===null||l===void 0?void 0:l.caption)!==null&&$!==void 0?$:qf.controlName;var T;o.placeholder=(T=(s=r)===null||s===void 0?void 0:s.placeholder)!==null&&T!==void 0?T:"\u8BF7\u9009\u62E9";var R;o.defaultValue=(R=(p=r)===null||p===void 0?void 0:p.defaultValue)!==null&&R!==void 0?R:"";var S;o.allowCopyOptions=(S=(_=r)===null||_===void 0?void 0:_.allowCopyOptions)!==null&&S!==void 0?S:!1;var I;if(o.openMultistageFilling=(I=(y=r)===null||y===void 0?void 0:y.openMultistageFilling)!==null&&I!==void 0?I:!1,o.multistageFilling=[],Array.isArray((v=r)===null||v===void 0?void 0:v.multistageFilling)){var E;(E=r)===null||E===void 0||E.multistageFilling.map(function(A){var M;(M=o.multistageFilling)===null||M===void 0||M.push(new De(A))})}var N;o.canViewForm=(N=(h=r)===null||h===void 0?void 0:h.canViewForm)!==null&&N!==void 0?N:!1;var B;return o.viewFormModelType=(B=(b=r)===null||b===void 0?void 0:b.viewFormModelType)!==null&&B!==void 0?B:"window",o.formBind=new Fn((d=r)===null||d===void 0?void 0:d.formBind),o}return n}(V);st(Yf,"Rules",Jq);function HE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Zq(e,t,n){return t&&qE(e.prototype,t),n&&qE(e,n),e}function Nh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hf(e)}function eU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tU(e,t){return t&&(nU(t)==="object"||typeof t=="function")?t:HE(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Mh(e,t)}function nU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oU(e){var t=rU();return function(){var r=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return tU(this,o)}}var qf=function(e){eU(n,e);var t=oU(n);function n(r){Qq(this,n);var o,i;return o=t.call(this,r),Nh(HE(o),"props",void 0),o.props=new Yf((i=r)===null||i===void 0?void 0:i.props),o}return Zq(n,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),n}(z);Nh(qf,"controlFieldType",c.FieldTypes.VARCHAR),Nh(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:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function UE(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 WE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function uU(e,t,n){return t&&WE(e.prototype,t),n&&WE(e,n),e}function KE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uf(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&&Ah(e,t)}function fU(e,t){return t&&(lU(t)==="object"||typeof t=="function")?t:UE(e)}function Ah(e,t){return Ah=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ah(e,t)}function lU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sU(e){var t=aU();return function(){var r=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return fU(this,o)}}var XE=function(e){cU(n,e);var t=sU(n);function n(r){iU(this,n);var o,i;return o=t.call(this,r),KE(UE(o),"props",void 0),o.props=new Yf((i=r)===null||i===void 0?void 0:i.props),o}return uU(n,null,[{key:"controlType",get:function(){return"select"}}]),n}(G);KE(XE,"controlFieldType",c.FieldTypes.VARCHAR);var JE={Designer:qf,Runtime:XE,Property:Yf};function ht(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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wf(e)}function Dh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lh(e,t)}function pU(e,t){return t&&(_U(t)==="object"||typeof t=="function")?t:ht(e)}function Lh(e,t){return Lh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Lh(e,t)}function _U(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jh(e){var t=yU();return function(){var r=Wf(e),o;if(t){var i=Wf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return pU(this,o)}}var dU=function(e){Dh(n,e);var t=jh(n);function n(r){return kh(this,n),t.call(this,r)}return n}(Cn),vU=function(e){Dh(n,e);var t=jh(n);function n(r){kh(this,n);var o;return o=t.call(this,r),o[0]!==void 0&&(o[0].type="array"),o}return n}(J),ii=function(e){Dh(n,e);var t=jh(n);function n(r){kh(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b;o=t.call(this,r),pt(ht(o),"options",void 0),pt(ht(o),"defaultShowOptions",void 0),pt(ht(o),"optionConfig",void 0),pt(ht(o),"defaultValue",void 0),pt(ht(o),"datasourceBind",void 0),pt(ht(o),"multistageFilling",void 0),pt(ht(o),"openMultistageFilling",void 0),pt(ht(o),"viewFormModelType",void 0),pt(ht(o),"canViewForm",void 0),pt(ht(o),"formBind",void 0);var d;o.options=It((d=(i=r)===null||i===void 0?void 0:i.options)!==null&&d!==void 0?d:[{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 g;o.defaultShowOptions=(g=(u=r)===null||u===void 0?void 0:u.defaultShowOptions)!==null&&g!==void 0?g:!0;var m;o.optionConfig=(m=(f=r)===null||f===void 0?void 0:f.optionConfig)!==null&&m!==void 0?m:"custom",o.datasourceBind=new de((a=r)===null||a===void 0?void 0:a.datasourceBind);var O;o.caption=(O=(l=r)===null||l===void 0?void 0:l.caption)!==null&&O!==void 0?O:Xf.controlName;var $;o.placeholder=($=(s=r)===null||s===void 0?void 0:s.placeholder)!==null&&$!==void 0?$:"\u8BF7\u9009\u62E9";var T;o.defaultValue=(T=(p=r)===null||p===void 0?void 0:p.defaultValue)!==null&&T!==void 0?T:[];var R;if(o.openMultistageFilling=(R=(_=r)===null||_===void 0?void 0:_.openMultistageFilling)!==null&&R!==void 0?R:!1,o.multistageFilling=[],Array.isArray((y=r)===null||y===void 0?void 0:y.multistageFilling)){var S;(S=r)===null||S===void 0||S.multistageFilling.map(function(N){var B;(B=o.multistageFilling)===null||B===void 0||B.push(new De(N))})}var I;o.canViewForm=(I=(v=r)===null||v===void 0?void 0:v.canViewForm)!==null&&I!==void 0?I:!1;var E;return o.viewFormModelType=(E=(h=r)===null||h===void 0?void 0:h.viewFormModelType)!==null&&E!==void 0?E:"window",o.formBind=new Fn((b=r)===null||b===void 0?void 0:b.formBind),o}return n}(V);pt(ii,"Rules",dU),pt(ii,"RuntimeRules",vU);function QE(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 ZE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bU(e,t,n){return t&&ZE(e.prototype,t),n&&ZE(e,n),e}function Fh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kf(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&&Ch(e,t)}function mU(e,t){return t&&(OU(t)==="object"||typeof t=="function")?t:QE(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ch(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 r=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mU(this,o)}}var Xf=function(e){gU(n,e);var t=PU(n);function n(r){hU(this,n);var o,i;return o=t.call(this,r),Fh(QE(o),"props",void 0),o.props=new ii((i=r)===null||i===void 0?void 0:i.props),o}return bU(n,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),n}(z);Fh(Xf,"controlFieldType",c.FieldTypes.ARRAY),Fh(Xf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function eI(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 tI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function RU(e,t,n){return t&&tI(e.prototype,t),n&&tI(e,n),e}function nI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jf(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&&xh(e,t)}function SU(e,t){return t&&(EU(t)==="object"||typeof t=="function")?t:eI(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},xh(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 BU(e){var t=IU();return function(){var r=Jf(e),o;if(t){var i=Jf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return SU(this,o)}}var rI=function(e){TU(n,e);var t=BU(n);function n(r){$U(this,n);var o,i;return o=t.call(this,r),nI(eI(o),"props",void 0),o.props=new ii((i=r)===null||i===void 0?void 0:i.props),o}return RU(n,null,[{key:"controlType",get:function(){return"select-multiple"}}]),n}(G);nI(rI,"controlFieldType",c.FieldTypes.ARRAY);var oI={Designer:Xf,Runtime:rI,Property:ii};function Qt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qf(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&&Vh(e,t)}function NU(e,t){return t&&(MU(t)==="object"||typeof t=="function")?t:Qt(e)}function Vh(e,t){return Vh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Vh(e,t)}function MU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cI(e){var t=AU();return function(){var r=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return NU(this,o)}}var kU=function(e){uI(n,e);var t=cI(n);function n(r){iI(this,n);var o;return o=t.call(this,r),o[0]!==void 0&&(o[0].type="array"),o}return n}(J),Zf=function(e){uI(n,e);var t=cI(n);function n(r){iI(this,n);var o,i,u,f,a,l,s,p,_,y,v;o=t.call(this,r),Zt(Qt(o),"showType",void 0),Zt(Qt(o),"range",void 0),Zt(Qt(o),"rangeOptions",void 0),Zt(Qt(o),"multiple",void 0),Zt(Qt(o),"defaultValueType",void 0),Zt(Qt(o),"defaultValue",void 0),Zt(Qt(o),"multistageFilling",void 0),Zt(Qt(o),"openMultistageFilling",void 0);var h;o.showType=(h=(i=r)===null||i===void 0?void 0:i.showType)!==null&&h!==void 0?h:"default";var b;o.range=(b=(u=r)===null||u===void 0?void 0:u.range)!==null&&b!==void 0?b:"all";var d;o.rangeOptions=(d=(f=r)===null||f===void 0?void 0:f.rangeOptions)!==null&&d!==void 0?d:[];var g;o.multiple=(g=(a=r)===null||a===void 0?void 0:a.multiple)!==null&&g!==void 0?g:!1;var m;o.defaultValueType=(m=(l=r)===null||l===void 0?void 0:l.defaultValueType)!==null&&m!==void 0?m:"none";var O;o.defaultValue=(O=(s=r)===null||s===void 0?void 0:s.defaultValue)!==null&&O!==void 0?O:[];var $;o.caption=($=(p=r)===null||p===void 0?void 0:p.caption)!==null&&$!==void 0?$:tl.controlName;var T;o.placeholder=(T=(_=r)===null||_===void 0?void 0:_.placeholder)!==null&&T!==void 0?T:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var R;if(o.openMultistageFilling=(R=(y=r)===null||y===void 0?void 0:y.openMultistageFilling)!==null&&R!==void 0?R:!1,o.multistageFilling=[],Array.isArray((v=r)===null||v===void 0?void 0:v.multistageFilling)){var S;(S=r)===null||S===void 0||S.multistageFilling.map(function(I){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new De(I))})}return o}return n}(V);Zt(Zf,"RuntimeRules",kU);function fI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function LU(e,t,n){return t&&lI(e.prototype,t),n&&lI(e,n),e}function zh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},el(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 FU(e,t){return t&&(CU(t)==="object"||typeof t=="function")?t:fI(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Gh(e,t)}function CU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VU(e){var t=xU();return function(){var r=el(e),o;if(t){var i=el(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return FU(this,o)}}var tl=function(e){jU(n,e);var t=VU(n);function n(r){DU(this,n);var o,i;return o=t.call(this,r),zh(fI(o),"props",void 0),o.props=new Zf((i=r)===null||i===void 0?void 0:i.props),o}return LU(n,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),n}(z);zh(tl,"controlFieldType",c.FieldTypes.EMPLOYEES),zh(tl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function aI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function GU(e,t,n){return t&&sI(e.prototype,t),n&&sI(e,n),e}function pI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nl(e)}function YU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yh(e,t)}function HU(e,t){return t&&(qU(t)==="object"||typeof t=="function")?t:aI(e)}function Yh(e,t){return Yh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Yh(e,t)}function qU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WU(e){var t=UU();return function(){var r=nl(e),o;if(t){var i=nl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return HU(this,o)}}var _I=function(e){YU(n,e);var t=WU(n);function n(r){zU(this,n);var o,i;return o=t.call(this,r),pI(aI(o),"props",void 0),o.props=new Zf((i=r)===null||i===void 0?void 0:i.props),o}return GU(n,null,[{key:"controlType",get:function(){return"employee"}}]),n}(G);pI(_I,"controlFieldType",c.FieldTypes.EMPLOYEES);var yI={Designer:tl,Runtime:_I,Property:Zf};function en(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 Dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rl(e)}function qh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uh(e,t)}function KU(e,t){return t&&(XU(t)==="object"||typeof t=="function")?t:en(e)}function Uh(e,t){return Uh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Uh(e,t)}function XU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wh(e){var t=JU();return function(){var r=rl(e),o;if(t){var i=rl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return KU(this,o)}}var QU=10485760,ZU=104857600,eW=1048576e3,tW=function(e){qh(n,e);var t=Wh(n);function n(r){Hh(this,n);var o;return o=t.call(this,r),Dt(en(o),"maxSize",{type:"number",min:0,max:eW,message:w.getMessage("attachmentMaxSize")}),o}return n}(Oe),nW=function(e){qh(n,e);var t=Wh(n);function n(r){Hh(this,n);var o;return o=t.call(this,r),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:r.maxLimit,min:r.minLimit,message:w.getMessage("attachmentLimitError",{max:r.maxLimit,min:r.minLimit})}),o}return n}(J),Dr=function(e){qh(n,e);var t=Wh(n);function n(r){Hh(this,n);var o,i,u,f,a,l,s,p,_,y;o=t.call(this,r),Dt(en(o),"defaultValue",void 0),Dt(en(o),"showType",void 0),Dt(en(o),"resultShowType",void 0),Dt(en(o),"attachmentAccept",void 0),Dt(en(o),"maxLimit",void 0),Dt(en(o),"minLimit",void 0),Dt(en(o),"maxSize",void 0);var v;o.defaultValue=(v=(i=r)===null||i===void 0?void 0:i.defaultValue)!==null&&v!==void 0?v:[];var h;o.showType=(h=(u=r)===null||u===void 0?void 0:u.showType)!==null&&h!==void 0?h:"default";var b;o.resultShowType=(b=(f=r)===null||f===void 0?void 0:f.resultShowType)!==null&&b!==void 0?b:"simple";var d;o.attachmentAccept=(d=(a=r)===null||a===void 0?void 0:a.attachmentAccept)!==null&&d!==void 0?d:[];var g;o.maxLimit=(g=(l=r)===null||l===void 0?void 0:l.maxLimit)!==null&&g!==void 0?g:10;var m;o.minLimit=(m=(s=r)===null||s===void 0?void 0:s.minLimit)!==null&&m!==void 0?m:0;var O;o.maxSize=(O=(p=r)===null||p===void 0?void 0:p.maxSize)!==null&&O!==void 0?O:ZU;var $;o.caption=($=(_=r)===null||_===void 0?void 0:_.caption)!==null&&$!==void 0?$:Lr.controlName;var T;return o.placeholder=(T=(y=r)===null||y===void 0?void 0:y.placeholder)!==null&&T!==void 0?T:"\u4E0A\u4F20\u9644\u4EF6",o}return n}(V);Dt(Dr,"Rules",tW),Dt(Dr,"RuntimeRules",nW);function dI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oW(e,t,n){return t&&vI(e.prototype,t),n&&vI(e,n),e}function ol(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(e)}function iW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function uW(e,t){return t&&(cW(t)==="object"||typeof t=="function")?t:dI(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Kh(e,t)}function cW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lW(e){var t=fW();return function(){var r=il(e),o;if(t){var i=il(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return uW(this,o)}}var Lr=function(e){iW(n,e);var t=lW(n);function n(r){rW(this,n);var o,i;return o=t.call(this,r),ol(dI(o),"props",void 0),o.props=new Dr((i=r)===null||i===void 0?void 0:i.props),o}return oW(n,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),n}(z);ol(Lr,"controlEventKeys",["on_change"]),ol(Lr,"controlFieldType",c.FieldTypes.FILE),ol(Lr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function hI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sW(e,t,n){return t&&bI(e.prototype,t),n&&bI(e,n),e}function gI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(e)}function pW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xh(e,t)}function _W(e,t){return t&&(yW(t)==="object"||typeof t=="function")?t:hI(e)}function Xh(e,t){return Xh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Xh(e,t)}function yW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vW(e){var t=dW();return function(){var r=ul(e),o;if(t){var i=ul(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _W(this,o)}}var Jh=function(e){pW(n,e);var t=vW(n);function n(r){aW(this,n);var o,i;return o=t.call(this,r),gI(hI(o),"props",void 0),o.props=new Dr((i=r)===null||i===void 0?void 0:i.props),o}return sW(n,null,[{key:"controlType",get:function(){return"attachment"}}]),n}(G);gI(Jh,"controlFieldType",c.FieldTypes.FILE);var mI={Designer:Lr,Runtime:Jh,Property:Dr};function hW(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 OI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gW(e,t,n){return t&&OI(e.prototype,t),n&&OI(e,n),e}function wI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(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&&Qh(e,t)}function OW(e,t){return t&&(wW(t)==="object"||typeof t=="function")?t:hW(e)}function Qh(e,t){return Qh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Qh(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 r=cl(e),o;if(t){var i=cl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return OW(this,o)}}var Zh=function(e){mW(n,e);var t=$W(n);function n(r){bW(this,n);var o,i,u,f,a;o=t.call(this,r),o.props.showType="image";var l;o.props.caption=(l=(u=r)===null||u===void 0||(i=u.props)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:n.controlName;var s;return o.props.placeholder=(s=(a=r)===null||a===void 0||(f=a.props)===null||f===void 0?void 0:f.placeholder)!==null&&s!==void 0?s:"\u4E0A\u4F20\u56FE\u7247",o}return gW(n,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),n}(Lr);wI(Zh,"controlFieldType",c.FieldTypes.IMAGE),wI(Zh,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function 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 PI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function SW(e,t,n){return t&&PI(e.prototype,t),n&&PI(e,n),e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fl(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&&eb(e,t)}function IW(e,t){return t&&(BW(t)==="object"||typeof t=="function")?t:RW(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},eb(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 MW(e){var t=NW();return function(){var r=fl(e),o;if(t){var i=fl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return IW(this,o)}}var AW=function(e){EW(n,e);var t=MW(n);function n(r){TW(this,n);var o,i,u,f,a,l,s;o=t.call(this,r),o.props.showType="image";var p;o.props.maxLimit=(p=(u=r)===null||u===void 0||(i=u.props)===null||i===void 0?void 0:i.maxLimit)!==null&&p!==void 0?p:9;var _;o.props.caption=(_=(a=r)===null||a===void 0||(f=a.props)===null||f===void 0?void 0:f.caption)!==null&&_!==void 0?_:"\u56FE\u7247";var y;return o.props.placeholder=(y=(s=r)===null||s===void 0||(l=s.props)===null||l===void 0?void 0:l.placeholder)!==null&&y!==void 0?y:"\u4E0A\u4F20\u56FE\u7247",o}return SW(n,null,[{key:"controlType",get:function(){return"image"}}]),n}(Jh);function kW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ll(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&&tb(e,t)}function jW(e,t){return t&&(FW(t)==="object"||typeof t=="function")?t:kW(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},tb(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 r=ll(e),o;if(t){var i=ll(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return jW(this,o)}}var VW=function(e){LW(n,e);var t=xW(n);function n(r){return DW(this,n),t.call(this,r)}return n}(Dr),$I={Designer:Zh,Runtime:AW,Property:VW};function qe(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 Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(e)}function rb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ob(e,t)}function zW(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Me(e,o,n[o])})}return e}function GW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function YW(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):GW(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function HW(e,t){return t&&(qW(t)==="object"||typeof t=="function")?t:qe(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ob(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 ib(e){var t=UW();return function(){var r=al(e),o;if(t){var i=al(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return HW(this,o)}}var WW=function(e){rb(n,e);var t=ib(n);function n(r){nb(this,n);var o;o=t.call(this,r),Me(qe(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:w.getMessage("pleaseEnterNumberRange")}]}}),Me(qe(o),"rangeMax",{type:"any"});var i=r.rangeMax===""?void 0:r.rangeMax,u=r.rangeMin===""?void 0:r.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=w.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:w.getMessage("numberRangeSetError")}),o}return n}(Cn),KW=function(e){rb(n,e);var t=ib(n);function n(r){nb(this,n);var o;o=t.call(this,r),o[0]!==void 0&&(o[0].type="object");var i=r.rangeMax===""?void 0:r.rangeMax,u=r.rangeMin===""?void 0:r.rangeMin;return o.push({type:"object",fields:{amount:[YW(zW({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:w.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return n}(J),ui=function(e){rb(n,e);var t=ib(n);function n(r){nb(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b,d;o=t.call(this,r),Me(qe(o),"rangeMin",void 0),Me(qe(o),"rangeMax",void 0),Me(qe(o),"showUpperCase",void 0),Me(qe(o),"submitSelectCurrency",void 0),Me(qe(o),"micrometer",void 0),Me(qe(o),"precision",void 0),Me(qe(o),"optionConfig",void 0),Me(qe(o),"dataBind",void 0),Me(qe(o),"datasourceBind",void 0),Me(qe(o),"defaultValue",void 0),Me(qe(o),"options",void 0);var g;o.rangeMin=(g=(i=r)===null||i===void 0?void 0:i.rangeMin)!==null&&g!==void 0?g:"";var m;o.rangeMax=(m=(u=r)===null||u===void 0?void 0:u.rangeMax)!==null&&m!==void 0?m:"";var O;o.optionConfig=(O=(f=r)===null||f===void 0?void 0:f.optionConfig)!==null&&O!==void 0?O:"datasource";var $;o.micrometer=($=(a=r)===null||a===void 0?void 0:a.micrometer)!==null&&$!==void 0?$:!1;var T;o.precision=(T=(l=r)===null||l===void 0?void 0:l.precision)!==null&&T!==void 0?T:2,o.dataBind=new DP((s=r)===null||s===void 0?void 0:s.dataBind);var R;o.datasourceBind=new de((R=(p=r)===null||p===void 0?void 0:p.datasourceBind)!==null&&R!==void 0?R:{displayBoList:[new Xi({value:"name"})]});var S;o.defaultValue=new LP((S=(_=r)===null||_===void 0?void 0:_.defaultValue)!==null&&S!==void 0?S:{amount:"",currency:c.AMOUNT_TYPE.CNY}),o.options=It((y=r)===null||y===void 0?void 0:y.options);var I;o.caption=(I=(v=r)===null||v===void 0?void 0:v.caption)!==null&&I!==void 0?I:ci.controlName;var E;o.placeholder=(E=(h=r)===null||h===void 0?void 0:h.placeholder)!==null&&E!==void 0?E:"\u8BF7\u8F93\u5165";var N;o.submitSelectCurrency=(N=(b=r)===null||b===void 0?void 0:b.submitSelectCurrency)!==null&&N!==void 0?N:!1;var B;return o.showUpperCase=(B=(d=r)===null||d===void 0?void 0:d.showUpperCase)!==null&&B!==void 0?B:!1,o}return n}(V);Me(ui,"Rules",WW),Me(ui,"RuntimeRules",KW);function RI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function JW(e,t,n){return t&&TI(e.prototype,t),n&&TI(e,n),e}function sl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?pl=Reflect.get:pl=function(o,i,u){var f=eK(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},pl(e,t,n||e)}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jr(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&&ub(e,t)}function ZW(e,t){return t&&(tK(t)==="object"||typeof t=="function")?t:RI(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ub(e,t)}function eK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=jr(e),e!==null););return e}function tK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rK(e){var t=nK();return function(){var r=jr(e),o;if(t){var i=jr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return ZW(this,o)}}var ci=function(e){QW(n,e);var t=rK(n);function n(r){XW(this,n);var o,i;return o=t.call(this,r),sl(RI(o),"props",void 0),o.props=new ui((i=r)===null||i===void 0?void 0:i.props),o}return JW(n,[{key:"toDataBindModel",value:function(o){var i=pl(jr(n.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.precision,a=u.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),n}(z);sl(ci,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),sl(ci,"controlFieldType",c.FieldTypes.MONEY),sl(ci,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function SI(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 EI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iK(e,t,n){return t&&EI(e.prototype,t),n&&EI(e,n),e}function II(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(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&&cb(e,t)}function cK(e,t){return t&&(fK(t)==="object"||typeof t=="function")?t:SI(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},cb(e,t)}function fK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aK(e){var t=lK();return function(){var r=_l(e),o;if(t){var i=_l(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return cK(this,o)}}var BI=function(e){uK(n,e);var t=aK(n);function n(r){oK(this,n);var o,i;return o=t.call(this,r),II(SI(o),"props",void 0),o.props=new ui((i=r)===null||i===void 0?void 0:i.props),o}return iK(n,null,[{key:"controlType",get:function(){return"amount"}}]),n}(G);II(BI,"controlFieldType",c.FieldTypes.MONEY);var NI={Designer:ci,Runtime:BI,Property:ui};function Pn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(e)}function lb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ab(e,t)}function sK(e,t){return t&&(pK(t)==="object"||typeof t=="function")?t:Pn(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ab(e,t)}function pK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _K(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sb(e){var t=_K();return function(){var r=yl(e),o;if(t){var i=yl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return sK(this,o)}}var yK=function(e){lb(n,e);var t=sb(n);function n(r){fb(this,n);var o;return o=t.call(this,r),tn(Pn(o),"totalScore",[{type:"number",required:!0,message:w.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:w.getMessage("theTotalScoreMustNotBeLessThan1")}]),tn(Pn(o),"defaultValue",{type:"number",min:0,max:5,message:w.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=r.totalScore,o.defaultValue.message=w.getMessage("scoreDefaultValueRange",{max:r.totalScore,min:0}),o}return n}(Oe),dK=function(e){lb(n,e);var t=sb(n);function n(r){fb(this,n);var o;o=t.call(this,r),o[0]!==void 0&&(o[0].type="number");var i=r.required?1:0;return o.push({type:"number",min:i,max:r.totalScore,message:w.getMessage("scoreDefaultValueRange",{max:r.totalScore,min:i})}),o}return n}(J),fi=function(e){lb(n,e);var t=sb(n);function n(r){fb(this,n);var o,i,u,f,a,l,s,p;o=t.call(this,r),tn(Pn(o),"totalScore",void 0),tn(Pn(o),"scoreType",void 0),tn(Pn(o),"isShowExplain",void 0),tn(Pn(o),"explain",void 0),tn(Pn(o),"defaultValue",void 0);var _;o.totalScore=(_=(i=r)===null||i===void 0?void 0:i.totalScore)!==null&&_!==void 0?_:5;var y;o.scoreType=(y=(u=r)===null||u===void 0?void 0:u.scoreType)!==null&&y!==void 0?y:c.SCORE_TYPE.STAR;var v;o.isShowExplain=(v=(f=r)===null||f===void 0?void 0:f.isShowExplain)!==null&&v!==void 0?v:!0;var h;o.explain=(h=(l=r)===null||l===void 0||(a=l.explain)===null||a===void 0?void 0:a.map(function(g){return new xu(g)}))!==null&&h!==void 0?h:Array(o.totalScore).fill(void 0).map(function(){return new xu});var b;o.defaultValue=(b=(s=r)===null||s===void 0?void 0:s.defaultValue)!==null&&b!==void 0?b:0;var d;return o.caption=(d=(p=r)===null||p===void 0?void 0:p.caption)!==null&&d!==void 0?d:li.controlName,o}return n}(V);tn(fi,"Rules",yK),tn(fi,"RuntimeRules",dK);function pb(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function vK(e){if(Array.isArray(e))return pb(e)}function MI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bK(e,t,n){return t&&AI(e.prototype,t),n&&AI(e,n),e}function dl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?vl=Reflect.get:vl=function(o,i,u){var f=PK(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},vl(e,t,n||e)}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fr(e)}function gK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_b(e,t)}function mK(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function OK(){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 wK(e,t){return t&&(RK(t)==="object"||typeof t=="function")?t:MI(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_b(e,t)}function PK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Fr(e),e!==null););return e}function $K(e){return vK(e)||mK(e)||TK(e)||OK()}function RK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TK(e,t){if(!!e){if(typeof e=="string")return pb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pb(e,t)}}function SK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EK(e){var t=SK();return function(){var r=Fr(e),o;if(t){var i=Fr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return wK(this,o)}}var li=function(e){gK(n,e);var t=EK(n);function n(r){hK(this,n);var o,i;return o=t.call(this,r),dl(MI(o),"props",void 0),o.props=new fi((i=r)===null||i===void 0?void 0:i.props),o}return bK(n,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,f=i-this.props.explain.length,a=Array(f).fill(void 0).map(function(){return new xu});(u=this.props.explain).push.apply(u,$K(a))}}vl(Fr(n.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"}}]),n}(z);dl(li,"controlEventKeys",["on_change","on_click"]),dl(li,"controlFieldType",c.FieldTypes.DECIMAL),dl(li,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function kI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function BK(e,t,n){return t&&DI(e.prototype,t),n&&DI(e,n),e}function LI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hl(e)}function NK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yb(e,t)}function MK(e,t){return t&&(AK(t)==="object"||typeof t=="function")?t:kI(e)}function yb(e,t){return yb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},yb(e,t)}function AK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DK(e){var t=kK();return function(){var r=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return MK(this,o)}}var jI=function(e){NK(n,e);var t=DK(n);function n(r){IK(this,n);var o,i;return o=t.call(this,r),LI(kI(o),"props",void 0),o.props=new fi((i=r)===null||i===void 0?void 0:i.props),o}return BK(n,null,[{key:"controlType",get:function(){return"score"}}]),n}(G);LI(jI,"controlFieldType",c.FieldTypes.DECIMAL);var FI={Designer:li,Runtime:jI,Property:fi};function bl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ml(e)}function xI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&db(e,t)}function LK(e,t){return t&&(jK(t)==="object"||typeof t=="function")?t:bl(e)}function db(e,t){return db=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},db(e,t)}function jK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VI(e){var t=FK();return function(){var r=ml(e),o;if(t){var i=ml(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return LK(this,o)}}var CK=function(e){xI(n,e);var t=VI(n);function n(r){CI(this,n);var o;if(o=t.call(this,r),o[0]!==void 0&&(o[0].type="object"),r.required&&!r.isHide){var i={type:"object",fields:{province:{type:"string",required:r.required,message:w.getMessage("pleaseSelectProvince")}}};r.addressType.includes("city")&&(i.fields.city={type:"string",required:r.required,message:w.getMessage("pleaseSelectCity")}),r.addressType.includes("district")&&(i.fields.district={type:"string",required:r.required,message:w.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return n}(J),Ol=function(e){xI(n,e);var t=VI(n);function n(r){CI(this,n);var o,i,u,f,a,l;o=t.call(this,r),gl(bl(o),"defaultValueType",void 0),gl(bl(o),"defaultValue",void 0),gl(bl(o),"addressType",void 0);var s;o.caption=(s=(i=r)===null||i===void 0?void 0:i.caption)!==null&&s!==void 0?s:Pl.controlName;var p;o.defaultValueType=(p=(u=r)===null||u===void 0?void 0:u.defaultValueType)!==null&&p!==void 0?p:"default";var _;o.addressType=(_=(f=r)===null||f===void 0?void 0:f.addressType)!==null&&_!==void 0?_:["province","city","district"];var y;o.defaultValue=new CP((y=(a=r)===null||a===void 0?void 0:a.defaultValue)!==null&&y!==void 0?y:{});var v;return o.placeholder=(v=(l=r)===null||l===void 0?void 0:l.placeholder)!==null&&v!==void 0?v:"\u8BF7\u9009\u62E9\u5730\u5740",o}return n}(V);gl(Ol,"RuntimeRules",CK);function zI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function VK(e,t,n){return t&&GI(e.prototype,t),n&&GI(e,n),e}function vb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wl(e)}function zK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hb(e,t)}function GK(e,t){return t&&(YK(t)==="object"||typeof t=="function")?t:zI(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},hb(e,t)}function YK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qK(e){var t=HK();return function(){var r=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return GK(this,o)}}var Pl=function(e){zK(n,e);var t=qK(n);function n(r){xK(this,n);var o,i;return o=t.call(this,r),vb(zI(o),"props",void 0),o.props=new Ol((i=r)===null||i===void 0?void 0:i.props),o}return VK(n,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),n}(z);vb(Pl,"controlFieldType",c.FieldTypes.ADDRESS),vb(Pl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function YI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function WK(e,t,n){return t&&HI(e.prototype,t),n&&HI(e,n),e}function qI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(e)}function KK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bb(e,t)}function XK(e,t){return t&&(JK(t)==="object"||typeof t=="function")?t:YI(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},bb(e,t)}function JK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZK(e){var t=QK();return function(){var r=$l(e),o;if(t){var i=$l(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return XK(this,o)}}var UI=function(e){KK(n,e);var t=ZK(n);function n(r){UK(this,n);var o,i;return o=t.call(this,r),qI(YI(o),"props",void 0),o.props=new Ol((i=r)===null||i===void 0?void 0:i.props),o}return WK(n,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),n}(G);qI(UI,"controlFieldType",c.FieldTypes.ADDRESS);var WI={Designer:Pl,Runtime:UI,Property:Ol};function bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rl(e)}function XI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gb(e,t)}function eX(e,t){return t&&(tX(t)==="object"||typeof t=="function")?t:bt(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},gb(e,t)}function tX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JI(e){var t=nX();return function(){var r=Rl(e),o;if(t){var i=Rl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return eX(this,o)}}var rX=function(e){XI(n,e);var t=JI(n);function n(r){KI(this,n);var o;return o=t.call(this,r),o[0]!==void 0&&(o[0].type="array"),o}return n}(J),Tl=function(e){XI(n,e);var t=JI(n);function n(r){KI(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b;o=t.call(this,r),gt(bt(o),"showType",void 0),gt(bt(o),"range",void 0),gt(bt(o),"defaultValueType",void 0),gt(bt(o),"multiple",void 0),gt(bt(o),"rangeOptions",void 0),gt(bt(o),"defaultValue",void 0),gt(bt(o),"displayLevel",void 0),gt(bt(o),"showSubDept",void 0),gt(bt(o),"multistageFilling",void 0),gt(bt(o),"openMultistageFilling",void 0);var d;o.showType=(d=(i=r)===null||i===void 0?void 0:i.showType)!==null&&d!==void 0?d:"default";var g;o.multiple=(g=(u=r)===null||u===void 0?void 0:u.multiple)!==null&&g!==void 0?g:!1;var m;o.range=(m=(f=r)===null||f===void 0?void 0:f.range)!==null&&m!==void 0?m:"all";var O;o.defaultValueType=(O=(a=r)===null||a===void 0?void 0:a.defaultValueType)!==null&&O!==void 0?O:"none";var $;o.rangeOptions=($=(l=r)===null||l===void 0?void 0:l.rangeOptions)!==null&&$!==void 0?$:[];var T;o.defaultValue=(T=(s=r)===null||s===void 0?void 0:s.defaultValue)!==null&&T!==void 0?T:[];var R;o.displayLevel=(R=(p=r)===null||p===void 0?void 0:p.displayLevel)!==null&&R!==void 0?R:1;var S;o.showSubDept=(S=(_=r)===null||_===void 0?void 0:_.showSubDept)!==null&&S!==void 0?S:!0;var I;o.caption=(I=(y=r)===null||y===void 0?void 0:y.caption)!==null&&I!==void 0?I:ai.controlName;var E;o.placeholder=(E=(v=r)===null||v===void 0?void 0:v.placeholder)!==null&&E!==void 0?E:"\u8BF7\u9009\u62E9\u90E8\u95E8";var N;if(o.openMultistageFilling=(N=(h=r)===null||h===void 0?void 0:h.openMultistageFilling)!==null&&N!==void 0?N:!1,o.multistageFilling=[],Array.isArray((b=r)===null||b===void 0?void 0:b.multistageFilling)){var B;(B=r)===null||B===void 0||B.multistageFilling.map(function(A){var M;(M=o.multistageFilling)===null||M===void 0||M.push(new De(A))})}return o}return n}(V);gt(Tl,"RuntimeRules",rX);function QI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iX(e,t,n){return t&&ZI(e.prototype,t),n&&ZI(e,n),e}function Sl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function El(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?El=Reflect.get:El=function(o,i,u){var f=fX(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},El(e,t,n||e)}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cr(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&&mb(e,t)}function cX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:QI(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},mb(e,t)}function fX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Cr(e),e!==null););return e}function lX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sX(e){var t=aX();return function(){var r=Cr(e),o;if(t){var i=Cr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return cX(this,o)}}var ai=function(e){uX(n,e);var t=sX(n);function n(r){oX(this,n);var o,i;return o=t.call(this,r),Sl(QI(o),"props",void 0),o.props=new Tl((i=r)===null||i===void 0?void 0:i.props),o}return iX(n,[{key:"toDataBindModel",value:function(o){var i=El(Cr(n.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.displayLevel,a=u.showSubDept;i.props.displayLevel=f,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),n}(z);Sl(ai,"controlName","\u90E8\u95E8"),Sl(ai,"controlFieldType",c.FieldTypes.DEPARTMENTS),Sl(ai,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 e3(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 t3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _X(e,t,n){return t&&t3(e.prototype,t),n&&t3(e,n),e}function n3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(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&&Ob(e,t)}function dX(e,t){return t&&(vX(t)==="object"||typeof t=="function")?t:e3(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ob(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 r=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return dX(this,o)}}var r3=function(e){yX(n,e);var t=bX(n);function n(r){pX(this,n);var o,i;return o=t.call(this,r),n3(e3(o),"props",void 0),o.props=new Tl((i=r)===null||i===void 0?void 0:i.props),o}return _X(n,null,[{key:"controlType",get:function(){return"department"}}]),n}(G);n3(r3,"controlFieldType",c.FieldTypes.DEPARTMENTS);var o3={Designer:ai,Runtime:r3,Property:Tl};function i3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(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&&wb(e,t)}function wX(e,t){return t&&(PX(t)==="object"||typeof t=="function")?t:i3(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},wb(e,t)}function PX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RX(e){var t=$X();return function(){var r=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return wX(this,o)}}var Pb=function(e){OX(n,e);var t=RX(n);function n(r){gX(this,n);var o,i,u,f;o=t.call(this,r),mX(i3(o),"defaultValue",void 0);var a;o.defaultValue=(a=(i=r)===null||i===void 0?void 0:i.defaultValue)!==null&&a!==void 0?a:"";var l;o.caption=(l=(u=r)===null||u===void 0?void 0:u.caption)!==null&&l!==void 0?l:si.controlName;var s;return o.placeholder=(s=(f=r)===null||f===void 0?void 0:f.placeholder)!==null&&s!==void 0?s:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return n}(V);function u3(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 c3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function SX(e,t,n){return t&&c3(e.prototype,t),n&&c3(e,n),e}function Nl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ml(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&&$b(e,t)}function IX(e,t){return t&&(BX(t)==="object"||typeof t=="function")?t:u3(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},$b(e,t)}function BX(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 MX(e){var t=NX();return function(){var r=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return IX(this,o)}}var si=function(e){EX(n,e);var t=MX(n);function n(r){TX(this,n);var o,i;return o=t.call(this,r),Nl(u3(o),"props",void 0),o.props=new Pb((i=r)===null||i===void 0?void 0:i.props),o}return SX(n,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),n}(z);Nl(si,"controlEventKeys",["on_change"]),Nl(si,"controlFieldType",c.FieldTypes.AUTO_NUMBER),Nl(si,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 f3(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 l3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kX(e,t,n){return t&&l3(e.prototype,t),n&&l3(e,n),e}function a3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Al(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&&Rb(e,t)}function LX(e,t){return t&&(jX(t)==="object"||typeof t=="function")?t:f3(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Rb(e,t)}function jX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CX(e){var t=FX();return function(){var r=Al(e),o;if(t){var i=Al(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return LX(this,o)}}var s3=function(e){DX(n,e);var t=CX(n);function n(r){AX(this,n);var o,i;return o=t.call(this,r),a3(f3(o),"props",void 0),o.props=new Pb((i=r)===null||i===void 0?void 0:i.props),o}return kX(n,null,[{key:"controlType",get:function(){return"auto-number"}}]),n}(G);a3(s3,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var p3={Designer:si,Runtime:s3,Property:Pb};function $n(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kl(e)}function Sb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eb(e,t)}function xX(e,t){return t&&(VX(t)==="object"||typeof t=="function")?t:$n(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Eb(e,t)}function VX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ib(e){var t=zX();return function(){var r=kl(e),o;if(t){var i=kl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return xX(this,o)}}var GX=function(e){Sb(n,e);var t=Ib(n);function n(r){Tb(this,n);var o;return o=t.call(this,r),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 n}(Oe),YX=function(e){Sb(n,e);var t=Ib(n);function n(r){Tb(this,n);var o;return o=t.call(this,r),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:w.getMessage("isNotObject"),fields:{result:[{type:"number",message:w.getMessage("isNotNumber")}],unit:{type:"string",message:w.getMessage("isNotString")}}}),o}return n}(J),pi=function(e){Sb(n,e);var t=Ib(n);function n(r){Tb(this,n);var o,i,u,f,a,l,s,p,_,y;o=t.call(this,r),nn($n(o),"precision",void 0),nn($n(o),"micrometer",void 0),nn($n(o),"showUpperCase",void 0),nn($n(o),"scriptSrc",void 0),nn($n(o),"scriptEcho",void 0),nn($n(o),"dataBind",void 0),nn($n(o),"defaultValue",void 0);var v;o.precision=(v=(i=r)===null||i===void 0?void 0:i.precision)!==null&&v!==void 0?v:0;var h;o.micrometer=(h=(u=r)===null||u===void 0?void 0:u.micrometer)!==null&&h!==void 0?h:!1;var b;o.showUpperCase=(b=(f=r)===null||f===void 0?void 0:f.showUpperCase)!==null&&b!==void 0?b:!1,o.dataBind=new xP((a=r)===null||a===void 0?void 0:a.dataBind),o.defaultValue=new VP((l=r)===null||l===void 0?void 0:l.defaultValue);var d;o.caption=(d=(s=r)===null||s===void 0?void 0:s.caption)!==null&&d!==void 0?d:_i.controlName;var g;o.placeholder=(g=(p=r)===null||p===void 0?void 0:p.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var m;o.scriptEcho=(m=(_=r)===null||_===void 0?void 0:_.scriptEcho)!==null&&m!==void 0?m:[];var O;return o.scriptSrc=(O=(y=r)===null||y===void 0?void 0:y.scriptSrc)!==null&&O!==void 0?O:"",o}return n}(V);nn(pi,"Rules",GX),nn(pi,"RuntimeRules",YX);function _3(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 y3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qX(e,t,n){return t&&y3(e.prototype,t),n&&y3(e,n),e}function Dl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ll(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ll=Reflect.get:Ll=function(o,i,u){var f=KX(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Ll(e,t,n||e)}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xr(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&&Bb(e,t)}function WX(e,t){return t&&(XX(t)==="object"||typeof t=="function")?t:_3(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Bb(e,t)}function KX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=xr(e),e!==null););return e}function XX(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 QX(e){var t=JX();return function(){var r=xr(e),o;if(t){var i=xr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return WX(this,o)}}var _i=function(e){UX(n,e);var t=QX(n);function n(r){HX(this,n);var o,i;return o=t.call(this,r),Dl(_3(o),"props",void 0),o.props=new pi((i=r)===null||i===void 0?void 0:i.props),o}return qX(n,[{key:"toDataBindModel",value:function(o){var i=Ll(xr(n.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.precision,a=u.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),n}(z);Dl(_i,"controlEventKeys",["on_change"]),Dl(_i,"controlFieldType",c.FieldTypes.CALC),Dl(_i,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function d3(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 v3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eJ(e,t,n){return t&&v3(e.prototype,t),n&&v3(e,n),e}function h3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(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&&Nb(e,t)}function nJ(e,t){return t&&(rJ(t)==="object"||typeof t=="function")?t:d3(e)}function Nb(e,t){return Nb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Nb(e,t)}function rJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iJ(e){var t=oJ();return function(){var r=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return nJ(this,o)}}var b3=function(e){tJ(n,e);var t=iJ(n);function n(r){ZX(this,n);var o,i;return o=t.call(this,r),h3(d3(o),"props",void 0),o.props=new pi((i=r)===null||i===void 0?void 0:i.props),o}return eJ(n,null,[{key:"controlType",get:function(){return"calc"}}]),n}(G);h3(b3,"controlFieldType",c.FieldTypes.CALC);var g3={Designer:_i,Runtime:b3,Property:pi};function Vr(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 zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(e)}function O3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mb(e,t)}function uJ(e,t){return t&&(cJ(t)==="object"||typeof t=="function")?t:Vr(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Mb(e,t)}function cJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w3(e){var t=fJ();return function(){var r=Fl(e),o;if(t){var i=Fl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return uJ(this,o)}}var lJ=function(e){O3(n,e);var t=w3(n);function n(r){m3(this,n);var o;return o=t.call(this,r),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(u,f){if(r.required){var a=f.every(function(l){return!l});return a?Promise.reject(w.getMessage("runtimeRequired",{caption:r.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return n}(J),Cl=function(e){O3(n,e);var t=w3(n);function n(r){m3(this,n);var o,i,u,f,a,l,s;o=t.call(this,r),zr(Vr(o),"rangeMin",void 0),zr(Vr(o),"rangeMax",void 0),zr(Vr(o),"placeholderStart",void 0),zr(Vr(o),"placeholderEnd",void 0),zr(Vr(o),"defaultValue",void 0);var p;o.defaultValue=(p=(i=r)===null||i===void 0?void 0:i.defaultValue)!==null&&p!==void 0?p:["",""];var _;o.rangeMin=(_=(u=r)===null||u===void 0?void 0:u.rangeMin)!==null&&_!==void 0?_:"";var y;o.rangeMax=(y=(f=r)===null||f===void 0?void 0:f.rangeMax)!==null&&y!==void 0?y:"";var v;o.placeholderStart=(v=(a=r)===null||a===void 0?void 0:a.placeholderStart)!==null&&v!==void 0?v:"\u6700\u5C0F\u503C";var h;o.placeholderEnd=(h=(l=r)===null||l===void 0?void 0:l.placeholderEnd)!==null&&h!==void 0?h:"\u6700\u5927\u503C";var b;return o.caption=(b=(s=r)===null||s===void 0?void 0:s.caption)!==null&&b!==void 0?b:Vl.controlName,o}return n}(V);zr(Cl,"RuntimeRules",lJ);function P3(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 $3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sJ(e,t,n){return t&&$3(e.prototype,t),n&&$3(e,n),e}function Ab(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xl(e)}function pJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function _J(e,t){return t&&(yJ(t)==="object"||typeof t=="function")?t:P3(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},kb(e,t)}function yJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vJ(e){var t=dJ();return function(){var r=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _J(this,o)}}var Vl=function(e){pJ(n,e);var t=vJ(n);function n(r){aJ(this,n);var o,i;return o=t.call(this,r),Ab(P3(o),"props",void 0),o.props=new Cl((i=r)===null||i===void 0?void 0:i.props),o}return sJ(n,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),n}(z);Ab(Vl,"controlFieldType",c.FieldTypes.DECIMAL_RANGE),Ab(Vl,"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 R3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bJ(e,t,n){return t&&T3(e.prototype,t),n&&T3(e,n),e}function S3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zl(e)}function gJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Db(e,t)}function mJ(e,t){return t&&(OJ(t)==="object"||typeof t=="function")?t:R3(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Db(e,t)}function OJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PJ(e){var t=wJ();return function(){var r=zl(e),o;if(t){var i=zl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mJ(this,o)}}var E3=function(e){gJ(n,e);var t=PJ(n);function n(r){hJ(this,n);var o,i;return o=t.call(this,r),S3(R3(o),"props",void 0),o.props=new Cl((i=r)===null||i===void 0?void 0:i.props),o}return bJ(n,null,[{key:"controlType",get:function(){return"search-number-range"}}]),n}(G);S3(E3,"controlFieldType",c.FieldTypes.DECIMAL_RANGE);var I3={Designer:Vl,Runtime:E3,Property:Cl};function mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gl(e)}function N3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lb(e,t)}function $J(e,t){return t&&(RJ(t)==="object"||typeof t=="function")?t:mt(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Lb(e,t)}function RJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M3(e){var t=TJ();return function(){var r=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return $J(this,o)}}var SJ=function(e){N3(n,e);var t=M3(n);function n(r){B3(this,n);var o;return o=t.call(this,r),o[0]!==void 0&&(o[0].type="array"),r.required&&!r.isHide&&o.push({type:"array",fields:{0:{type:"string",required:r.required,message:o[0].message},1:{type:"string",required:r.required,message:o[0].message}}}),o}return n}(J),Yl=function(e){N3(n,e);var t=M3(n);function n(r){B3(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b;o=t.call(this,r),Ot(mt(o),"rangeMin",void 0),Ot(mt(o),"rangeMax",void 0),Ot(mt(o),"placeholderStart",void 0),Ot(mt(o),"placeholderEnd",void 0),Ot(mt(o),"dateType",void 0),Ot(mt(o),"dateFormat",void 0),Ot(mt(o),"commonTimeSetting",void 0),Ot(mt(o),"setValueType",void 0),Ot(mt(o),"defaultValue",void 0),Ot(mt(o),"limitDateList",void 0);var d;o.defaultValue=(d=(i=r)===null||i===void 0?void 0:i.defaultValue)!==null&&d!==void 0?d:["",""];var g;o.dateType=(g=(u=r)===null||u===void 0?void 0:u.dateType)!==null&&g!==void 0?g:c.DateType.DATE;var m;o.dateFormat=(m=(f=r)===null||f===void 0?void 0:f.dateFormat)!==null&&m!==void 0?m:"";var O;o.commonTimeSetting=(O=(a=r)===null||a===void 0?void 0:a.commonTimeSetting)!==null&&O!==void 0?O:[];var $;o.setValueType=($=(l=r)===null||l===void 0?void 0:l.setValueType)!==null&&$!==void 0?$:"custom";var T;o.rangeMin=(T=(s=r)===null||s===void 0?void 0:s.rangeMin)!==null&&T!==void 0?T:"";var R;o.rangeMax=(R=(p=r)===null||p===void 0?void 0:p.rangeMax)!==null&&R!==void 0?R:"";var S;o.placeholderStart=(S=(_=r)===null||_===void 0?void 0:_.placeholderStart)!==null&&S!==void 0?S:"\u5F00\u59CB\u65E5\u671F";var I;o.placeholderEnd=(I=(y=r)===null||y===void 0?void 0:y.placeholderEnd)!==null&&I!==void 0?I:"\u7ED3\u675F\u65E5\u671F";var E;o.caption=(E=(v=r)===null||v===void 0?void 0:v.caption)!==null&&E!==void 0?E:ql.controlName;var N;return o.limitDateList=(N=(b=r)===null||b===void 0||(h=b.limitDateList)===null||h===void 0?void 0:h.map(function(B){return new Cu(B)}))!==null&&N!==void 0?N:[],o}return n}(V);Ot(Yl,"RuntimeRules",SJ);function A3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function IJ(e,t,n){return t&&k3(e.prototype,t),n&&k3(e,n),e}function jb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hl(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&&Fb(e,t)}function NJ(e,t){return t&&(MJ(t)==="object"||typeof t=="function")?t:A3(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Fb(e,t)}function MJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kJ(e){var t=AJ();return function(){var r=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return NJ(this,o)}}var ql=function(e){BJ(n,e);var t=kJ(n);function n(r){EJ(this,n);var o,i;return o=t.call(this,r),jb(A3(o),"props",void 0),o.props=new Yl((i=r)===null||i===void 0?void 0:i.props),o}return IJ(n,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),n}(z);jb(ql,"controlFieldType",c.FieldTypes.ARRAY),jb(ql,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 D3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function LJ(e,t,n){return t&&L3(e.prototype,t),n&&L3(e,n),e}function j3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ul(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 FJ(e,t){return t&&(CJ(t)==="object"||typeof t=="function")?t:D3(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Cb(e,t)}function CJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VJ(e){var t=xJ();return function(){var r=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return FJ(this,o)}}var F3=function(e){jJ(n,e);var t=VJ(n);function n(r){DJ(this,n);var o,i;return o=t.call(this,r),j3(D3(o),"props",void 0),o.props=new Yl((i=r)===null||i===void 0?void 0:i.props),o}return LJ(n,null,[{key:"controlType",get:function(){return"search-date-range"}}]),n}(G);j3(F3,"controlFieldType",c.FieldTypes.ARRAY);var C3={Designer:ql,Runtime:F3,Property:Yl};function yi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wl(e)}function Vb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zb(e,t)}function zJ(e,t){return t&&(GJ(t)==="object"||typeof t=="function")?t:yi(e)}function zb(e,t){return zb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},zb(e,t)}function GJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gb(e){var t=YJ();return function(){var r=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zJ(this,o)}}var HJ=function(e){Vb(n,e);var t=Gb(n);function n(r){xb(this,n);var o;return o=t.call(this,r),o.dataBind={type:"any"},o}return n}(Oe),qJ=function(e){Vb(n,e);var t=Gb(n);function n(r){xb(this,n);var o;return o=t.call(this,r),o[0]!==void 0&&(o[0].type="any"),o}return n}(J),di=function(e){Vb(n,e);var t=Gb(n);function n(r){xb(this,n);var o,i,u,f,a,l;o=t.call(this,r),Gr(yi(o),"controlExportName",void 0),Gr(yi(o),"permissions",void 0),Gr(yi(o),"defaultValue",void 0),Gr(yi(o),"isInlineEdit",void 0);var s;o.caption=(s=(i=r)===null||i===void 0?void 0:i.caption)!==null&&s!==void 0?s:vi.controlName;var p;o.defaultValue=(p=(u=r)===null||u===void 0?void 0:u.defaultValue)!==null&&p!==void 0?p:void 0;var _;o.controlExportName=(_=(f=r)===null||f===void 0?void 0:f.controlExportName)!==null&&_!==void 0?_:"";var y;o.permissions=(y=(a=r)===null||a===void 0?void 0:a.permissions)!==null&&y!==void 0?y:[];var v;return o.isInlineEdit=(v=(l=r)===null||l===void 0?void 0:l.isInlineEdit)!==null&&v!==void 0?v:!1,o}return n}(V);Gr(di,"Rules",HJ),Gr(di,"RuntimeRules",qJ);function x3(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 V3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function WJ(e,t,n){return t&&V3(e.prototype,t),n&&V3(e,n),e}function Kl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xl(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&&Yb(e,t)}function XJ(e,t){return t&&(JJ(t)==="object"||typeof t=="function")?t:x3(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Yb(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 r=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return XJ(this,o)}}var vi=function(e){KJ(n,e);var t=ZJ(n);function n(r){UJ(this,n);var o,i;return o=t.call(this,r),Kl(x3(o),"props",void 0),o.props=new di((i=r)===null||i===void 0?void 0:i.props),o}return WJ(n,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),n}(z);Kl(vi,"controlFieldType",c.FieldTypes.ANY),Kl(vi,"controlEventKeys",[]),Kl(vi,"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 z3(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 G3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tQ(e,t,n){return t&&G3(e.prototype,t),n&&G3(e,n),e}function Y3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jl(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&&Hb(e,t)}function rQ(e,t){return t&&(oQ(t)==="object"||typeof t=="function")?t:z3(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Hb(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 r=Jl(e),o;if(t){var i=Jl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return rQ(this,o)}}var H3=function(e){nQ(n,e);var t=uQ(n);function n(r){eQ(this,n);var o,i;return o=t.call(this,r),Y3(z3(o),"props",void 0),o.props=new di((i=r)===null||i===void 0?void 0:i.props),o}return tQ(n,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),n}(G);Y3(H3,"controlFieldType",c.FieldTypes.ANY);var q3={Designer:vi,Runtime:H3,Property:di};function Ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ql(e)}function W3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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&&(fQ(t)==="object"||typeof t=="function")?t:Ue(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},qb(e,t)}function fQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K3(e){var t=lQ();return function(){var r=Ql(e),o;if(t){var i=Ql(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return cQ(this,o)}}var aQ=function(e){W3(n,e);var t=K3(n);function n(r){U3(this,n);var o;return o=t.call(this,r),We(Ue(o),"listPageBind",[{type:"object",message:w.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:w.getMessage("isNotString")},{type:"string",required:!0,message:w.getMessage("pleaseEnterList")}]}}]),o}return n}(Cn),Zl=function(e){W3(n,e);var t=K3(n);function n(r){U3(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b,d,g;o=t.call(this,r),We(Ue(o),"options",void 0),We(Ue(o),"optionConfig",void 0),We(Ue(o),"defaultValue",void 0),We(Ue(o),"listPageBind",void 0),We(Ue(o),"datasourceBind",void 0),We(Ue(o),"multistageFilling",void 0),We(Ue(o),"viewFormModelType",void 0),We(Ue(o),"canViewForm",void 0),We(Ue(o),"formBind",void 0),We(Ue(o),"openMultistageFilling",void 0),We(Ue(o),"showSelectedDetail",void 0),We(Ue(o),"selectedContentConfig",void 0);var m;o.options=It((m=(i=r)===null||i===void 0?void 0:i.options)!==null&&m!==void 0?m:[]);var O;o.optionConfig=(O=(u=r)===null||u===void 0?void 0:u.optionConfig)!==null&&O!==void 0?O:"datasource",o.listPageBind=new Wi((f=r)===null||f===void 0?void 0:f.listPageBind),o.datasourceBind=new de((a=r)===null||a===void 0?void 0:a.datasourceBind);var $;o.caption=($=(l=r)===null||l===void 0?void 0:l.caption)!==null&&$!==void 0?$:hi.controlName;var T;o.placeholder=(T=(s=r)===null||s===void 0?void 0:s.placeholder)!==null&&T!==void 0?T:"\u8BF7\u9009\u62E9";var R;o.defaultValue=(R=(p=r)===null||p===void 0?void 0:p.defaultValue)!==null&&R!==void 0?R:"";var S;o.openMultistageFilling=(S=(_=r)===null||_===void 0?void 0:_.openMultistageFilling)!==null&&S!==void 0?S:!1;var I;if(o.showSelectedDetail=(I=(y=r)===null||y===void 0?void 0:y.showSelectedDetail)!==null&&I!==void 0?I:!1,o.selectedContentConfig=new Ji((v=r)===null||v===void 0?void 0:v.selectedContentConfig),o.multistageFilling=[],Array.isArray((h=r)===null||h===void 0?void 0:h.multistageFilling)){var E;(E=r)===null||E===void 0||E.multistageFilling.map(function(A){var M;(M=o.multistageFilling)===null||M===void 0||M.push(new De(A))})}var N;o.canViewForm=(N=(b=r)===null||b===void 0?void 0:b.canViewForm)!==null&&N!==void 0?N:!1;var B;return o.viewFormModelType=(B=(d=r)===null||d===void 0?void 0:d.viewFormModelType)!==null&&B!==void 0?B:"window",o.formBind=new Fn((g=r)===null||g===void 0?void 0:g.formBind),o}return n}(V);We(Zl,"Rules",aQ);function X3(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 J3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pQ(e,t,n){return t&&J3(e.prototype,t),n&&J3(e,n),e}function ea(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ta(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&&Ub(e,t)}function yQ(e,t){return t&&(dQ(t)==="object"||typeof t=="function")?t:X3(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ub(e,t)}function dQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hQ(e){var t=vQ();return function(){var r=ta(e),o;if(t){var i=ta(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return yQ(this,o)}}var hi=function(e){_Q(n,e);var t=hQ(n);function n(r){sQ(this,n);var o,i;return o=t.call(this,r),ea(X3(o),"props",void 0),o.props=new Zl((i=r)===null||i===void 0?void 0:i.props),o}return pQ(n,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),n}(z);ea(hi,"controlFieldType",c.FieldTypes.VARCHAR),ea(hi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),ea(hi,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function Q3(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 Z3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gQ(e,t,n){return t&&Z3(e.prototype,t),n&&Z3(e,n),e}function e1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},na(e)}function mQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wb(e,t)}function OQ(e,t){return t&&(wQ(t)==="object"||typeof t=="function")?t:Q3(e)}function Wb(e,t){return Wb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Wb(e,t)}function wQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $Q(e){var t=PQ();return function(){var r=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return OQ(this,o)}}var t1=function(e){mQ(n,e);var t=$Q(n);function n(r){bQ(this,n);var o,i;return o=t.call(this,r),e1(Q3(o),"props",void 0),o.props=new Zl((i=r)===null||i===void 0?void 0:i.props),o}return gQ(n,null,[{key:"controlType",get:function(){return"select-relation"}}]),n}(G);e1(t1,"controlFieldType",c.FieldTypes.VARCHAR);var n1={Designer:hi,Runtime:t1,Property:Zl};function RQ(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 ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(e)}function SQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kb(e,t)}function EQ(e,t){return t&&(IQ(t)==="object"||typeof t=="function")?t:RQ(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Kb(e,t)}function IQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NQ(e){var t=BQ();return function(){var r=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return EQ(this,o)}}var Xb=function(e){SQ(n,e);var t=NQ(n);function n(r){return TQ(this,n),t.call(this,r)}return n}(Br);function r1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function AQ(e,t,n){return t&&o1(e.prototype,t),n&&o1(e,n),e}function i1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oa(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&&Jb(e,t)}function DQ(e,t){return t&&(LQ(t)==="object"||typeof t=="function")?t:r1(e)}function Jb(e,t){return Jb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Jb(e,t)}function LQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FQ(e){var t=jQ();return function(){var r=oa(e),o;if(t){var i=oa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return DQ(this,o)}}var u1=function(e){kQ(n,e);var t=FQ(n);function n(r){MQ(this,n);var o,i;return o=t.call(this,r),i1(r1(o),"props",void 0),o.props=new Xb((i=r)===null||i===void 0?void 0:i.props),o}return AQ(n,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),n}(Nr);i1(u1,"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 c1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xQ(e,t,n){return t&&f1(e.prototype,t),n&&f1(e,n),e}function l1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(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&&Qb(e,t)}function zQ(e,t){return t&&(GQ(t)==="object"||typeof t=="function")?t:c1(e)}function Qb(e,t){return Qb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Qb(e,t)}function GQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HQ(e){var t=YQ();return function(){var r=ia(e),o;if(t){var i=ia(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zQ(this,o)}}var a1=function(e){VQ(n,e);var t=HQ(n);function n(r){CQ(this,n);var o,i;return o=t.call(this,r),l1(c1(o),"props",void 0),o.props=new Xb((i=r)===null||i===void 0?void 0:i.props),o}return xQ(n,null,[{key:"controlType",get:function(){return"search-input"}}]),n}(G);l1(a1,"controlFieldType",c.FieldTypes.VARCHAR);var s1={Designer:u1,Runtime:a1,Property:Xb};function ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ua(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&&tg(e,t)}function qQ(e,t){return t&&(UQ(t)==="object"||typeof t=="function")?t:ae(e)}function tg(e,t){return tg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},tg(e,t)}function UQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ng(e){var t=WQ();return function(){var r=ua(e),o;if(t){var i=ua(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return qQ(this,o)}}var KQ=function(e){eg(n,e);var t=ng(n);function n(r){Zb(this,n);var o;return o=t.call(this,r),se(ae(o),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),Io.call(ae(o),r,Rn.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:w.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:w.getMessage("rootNodeIsRequired")}}}]),o}return n}(Oe),XQ=function(e){eg(n,e);var t=ng(n);function n(r){Zb(this,n);var o;return o=t.call(this,r),o[0]!==void 0&&(o[0].type="array"),o}return n}(J),bi=function(e){eg(n,e);var t=ng(n);function n(r){Zb(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b,d,g,m,O,$,T,R;o=t.call(this,r),se(ae(o),"placeholder",void 0),se(ae(o),"multiple",void 0),se(ae(o),"canSearch",void 0),se(ae(o),"levelType",void 0),se(ae(o),"optionalLevel",void 0),se(ae(o),"containsSubNode",void 0),se(ae(o),"defaultDisplay",void 0),se(ae(o),"isShowIncludeSub",void 0),se(ae(o),"isDefaultCheckSub",void 0),se(ae(o),"isShowFilterItem",void 0),se(ae(o),"defaultCollapse",void 0),se(ae(o),"defaultCollapseLevel",void 0),se(ae(o),"optionConfig","datasource"),se(ae(o),"datasourceBind",void 0),se(ae(o),"filterItemDatasourceBind",void 0),se(ae(o),"multistageFilling",void 0),se(ae(o),"defaultValue",void 0),se(ae(o),"openMultistageFilling",void 0);var S;o.caption=(S=(i=r)===null||i===void 0?void 0:i.caption)!==null&&S!==void 0?S:Rn.controlName;var I;o.placeholder=(I=(u=r)===null||u===void 0?void 0:u.placeholder)!==null&&I!==void 0?I:"\u8BF7\u9009\u62E9";var E;o.multiple=(E=(f=r)===null||f===void 0?void 0:f.multiple)!==null&&E!==void 0?E:!1;var N;o.canSearch=(N=(a=r)===null||a===void 0?void 0:a.canSearch)!==null&&N!==void 0?N:!0;var B;o.levelType=(B=(l=r)===null||l===void 0?void 0:l.levelType)!==null&&B!==void 0?B:"all";var A;o.optionalLevel=(A=(s=r)===null||s===void 0?void 0:s.optionalLevel)!==null&&A!==void 0?A:1;var M;o.containsSubNode=(M=(p=r)===null||p===void 0?void 0:p.containsSubNode)!==null&&M!==void 0?M:!1;var j;o.isShowFilterItem=(j=(_=r)===null||_===void 0?void 0:_.isShowFilterItem)!==null&&j!==void 0?j:!1;var D;o.isShowIncludeSub=(D=(y=r)===null||y===void 0?void 0:y.isShowIncludeSub)!==null&&D!==void 0?D:!1;var Y;o.isDefaultCheckSub=(Y=(v=r)===null||v===void 0?void 0:v.isDefaultCheckSub)!==null&&Y!==void 0?Y:!1;var W;o.defaultCollapse=(W=(h=r)===null||h===void 0?void 0:h.defaultCollapse)!==null&&W!==void 0?W:"all";var X;o.defaultCollapseLevel=(X=(b=r)===null||b===void 0?void 0:b.defaultCollapseLevel)!==null&&X!==void 0?X:1;var ie;o.datasourceBind=new K_((ie=(d=r)===null||d===void 0?void 0:d.datasourceBind)!==null&&ie!==void 0?ie:{attributes:Rn.controlCustomAttributes});var nt;o.filterItemDatasourceBind=new K_((nt=(g=r)===null||g===void 0?void 0:g.filterItemDatasourceBind)!==null&&nt!==void 0?nt:{attributes:Rn.controlCustomAttributes});var Ve;o.openMultistageFilling=(Ve=(m=r)===null||m===void 0?void 0:m.openMultistageFilling)!==null&&Ve!==void 0?Ve:!1;var Tt;o.defaultDisplay=(Tt=(O=r)===null||O===void 0?void 0:O.defaultDisplay)!==null&&Tt!==void 0?Tt:!1;var St;o.multistageFilling=(St=(T=r)===null||T===void 0||($=T.multistageFilling)===null||$===void 0?void 0:$.map(function(on){return new De(on)}))!==null&&St!==void 0?St:[];var Et;return o.defaultValue=(Et=(R=r)===null||R===void 0?void 0:R.defaultValue)!==null&&Et!==void 0?Et:[],o}return n}(V);se(bi,"Rules",KQ),se(bi,"RuntimeRules",XQ);function p1(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 _1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function QQ(e,t,n){return t&&_1(e.prototype,t),n&&_1(e,n),e}function ca(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fa(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&&rg(e,t)}function eZ(e,t){return t&&(tZ(t)==="object"||typeof t=="function")?t:p1(e)}function rg(e,t){return rg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},rg(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 r=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return eZ(this,o)}}var Rn=function(e){ZQ(n,e);var t=rZ(n);function n(r){JQ(this,n);var o,i;return o=t.call(this,r),ca(p1(o),"props",void 0),o.props=new bi((i=r)===null||i===void 0?void 0:i.props),o}return QQ(n,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}]}}]),n}(z);ca(Rn,"controlEventKeys",["on_change","on_click"]),ca(Rn,"controlFieldType",c.FieldTypes.ARRAY),ca(Rn,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.CAN_SEARCH,c.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,c.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function y1(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 d1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iZ(e,t,n){return t&&d1(e.prototype,t),n&&d1(e,n),e}function v1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},la(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&&og(e,t)}function cZ(e,t){return t&&(fZ(t)==="object"||typeof t=="function")?t:y1(e)}function og(e,t){return og=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},og(e,t)}function fZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aZ(e){var t=lZ();return function(){var r=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return cZ(this,o)}}var h1=function(e){uZ(n,e);var t=aZ(n);function n(r){oZ(this,n);var o,i;return o=t.call(this,r),v1(y1(o),"props",void 0),o.props=new bi((i=r)===null||i===void 0?void 0:i.props),o}return iZ(n,null,[{key:"controlType",get:function(){return"tree"}}]),n}(G);v1(h1,"controlFieldType",c.FieldTypes.ARRAY);var b1={Designer:Rn,Runtime:h1,Property:bi};function $e(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 Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},aa(e)}function ug(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cg(e,t)}function sZ(e,t){return t&&(pZ(t)==="object"||typeof t=="function")?t:$e(e)}function cg(e,t){return cg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},cg(e,t)}function pZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _Z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fg(e){var t=_Z();return function(){var r=aa(e),o;if(t){var i=aa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return sZ(this,o)}}var yZ=function(e){ug(n,e);var t=fg(n);function n(r){ig(this,n);var o;return o=t.call(this,r),Re($e(o),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),Re($e(o),"externalScope",{type:"any"}),Io.call($e(o),r,Yr.controlCustomAttributes),r.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:w.getMessage("pleaseAssignExternal")}),o}return n}(Oe),dZ=function(e){ug(n,e);var t=fg(n);function n(r){ig(this,n);var o;return o=t.call(this,r),o[0]!==void 0&&(o[0].type="array"),o}return n}(J),gi=function(e){ug(n,e);var t=fg(n);function n(r){ig(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b,d,g,m;o=t.call(this,r),Re($e(o),"showType",void 0),Re($e(o),"range",void 0),Re($e(o),"rangeOptions",void 0),Re($e(o),"multiple",void 0),Re($e(o),"defaultValueType",void 0),Re($e(o),"defaultValue",void 0),Re($e(o),"multistageFilling",void 0),Re($e(o),"datasourceBind",void 0),Re($e(o),"datasourceType",void 0),Re($e(o),"insideType",void 0),Re($e(o),"externalType",void 0),Re($e(o),"externalScope",void 0),Re($e(o),"openMultistageFilling",void 0);var O;o.showType=(O=(i=r)===null||i===void 0?void 0:i.showType)!==null&&O!==void 0?O:"default";var $;o.range=($=(u=r)===null||u===void 0?void 0:u.range)!==null&&$!==void 0?$:"all";var T;o.rangeOptions=(T=(f=r)===null||f===void 0?void 0:f.rangeOptions)!==null&&T!==void 0?T:[];var R;o.multiple=(R=(a=r)===null||a===void 0?void 0:a.multiple)!==null&&R!==void 0?R:!1;var S;o.defaultValueType=(S=(l=r)===null||l===void 0?void 0:l.defaultValueType)!==null&&S!==void 0?S:"none";var I;o.defaultValue=(I=(s=r)===null||s===void 0?void 0:s.defaultValue)!==null&&I!==void 0?I:[];var E;o.caption=(E=(p=r)===null||p===void 0?void 0:p.caption)!==null&&E!==void 0?E:Yr.controlName;var N;o.placeholder=(N=(_=r)===null||_===void 0?void 0:_.placeholder)!==null&&N!==void 0?N:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var B;o.datasourceBind=new $o((B=(y=r)===null||y===void 0?void 0:y.datasourceBind)!==null&&B!==void 0?B:{attributes:Yr.controlCustomAttributes});var A;o.datasourceType=(A=(v=r)===null||v===void 0?void 0:v.datasourceType)!==null&&A!==void 0?A:c.OrganizeType.INTERNAL;var M;o.insideType=(M=(h=r)===null||h===void 0?void 0:h.insideType)!==null&&M!==void 0?M:c.InternalType.ADMIN;var j;o.externalType=(j=(b=r)===null||b===void 0?void 0:b.externalType)!==null&&j!==void 0?j:c.AssignType.ALL;var D;o.externalScope=(D=(d=r)===null||d===void 0?void 0:d.externalScope)!==null&&D!==void 0?D:[];var Y;if(o.openMultistageFilling=(Y=(g=r)===null||g===void 0?void 0:g.openMultistageFilling)!==null&&Y!==void 0?Y:!1,o.multistageFilling=[],Array.isArray((m=r)===null||m===void 0?void 0:m.multistageFilling)){var W;(W=r)===null||W===void 0||W.multistageFilling.map(function(X){var ie;(ie=o.multistageFilling)===null||ie===void 0||ie.push(new De(X))})}return o}return n}(V);Re(gi,"Rules",yZ),Re(gi,"RuntimeRules",dZ);function g1(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 m1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hZ(e,t,n){return t&&m1(e.prototype,t),n&&m1(e,n),e}function lg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(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&&ag(e,t)}function gZ(e,t){return t&&(mZ(t)==="object"||typeof t=="function")?t:g1(e)}function ag(e,t){return ag=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ag(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 r=sa(e),o;if(t){var i=sa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return gZ(this,o)}}var Yr=function(e){bZ(n,e);var t=wZ(n);function n(r){vZ(this,n);var o,i;return o=t.call(this,r),lg(g1(o),"props",void 0),o.props=new gi((i=r)===null||i===void 0?void 0:i.props),o}return hZ(n,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}]}}]),n}(z);lg(Yr,"controlFieldType",c.FieldTypes.EMPLOYEES),lg(Yr,"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 O1(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 w1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $Z(e,t,n){return t&&w1(e.prototype,t),n&&w1(e,n),e}function P1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pa(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&&sg(e,t)}function TZ(e,t){return t&&(SZ(t)==="object"||typeof t=="function")?t:O1(e)}function sg(e,t){return sg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},sg(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 r=pa(e),o;if(t){var i=pa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return TZ(this,o)}}var $1=function(e){RZ(n,e);var t=IZ(n);function n(r){PZ(this,n);var o,i;return o=t.call(this,r),P1(O1(o),"props",void 0),o.props=new gi((i=r)===null||i===void 0?void 0:i.props),o}return $Z(n,null,[{key:"controlType",get:function(){return"employee2"}}]),n}(G);P1($1,"controlFieldType",c.FieldTypes.EMPLOYEES);var R1={Designer:Yr,Runtime:$1,Property:gi};function Lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_a(e)}function S1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pg(e,t)}function BZ(e,t){return t&&(NZ(t)==="object"||typeof t=="function")?t:Lt(e)}function pg(e,t){return pg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},pg(e,t)}function NZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E1(e){var t=MZ();return function(){var r=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return BZ(this,o)}}var AZ=function(e){S1(n,e);var t=E1(n);function n(r){T1(this,n);var o;return o=t.call(this,r),jt(Lt(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:r.signatureConfig.undersignedList.reduce(function(i,u,f){return i[f]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(l,s,p){if(u.type==="public"&&Dn(s.value)&&s.value.length===0){p("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}p()}},company:{type:"object",required:!0,validator:function(l,s,p){if(u.type==="public"&&u.signatureType.includes("company")&&Dn(s.value)&&s.value.length===0){p("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}p()}}}},i},{})}}},o}return n}(Oe),ya=function(e){S1(n,e);var t=E1(n);function n(r){T1(this,n);var o,i,u,f,a,l,s,p;o=t.call(this,r),jt(Lt(o),"buttonType",void 0),jt(Lt(o),"content",void 0),jt(Lt(o),"showType",void 0),jt(Lt(o),"color",void 0),jt(Lt(o),"icon",void 0),jt(Lt(o),"command",""),jt(Lt(o),"isLoading",!1),jt(Lt(o),"signatureConfig",void 0);var _;o.caption=(_=(i=r)===null||i===void 0?void 0:i.caption)!==null&&_!==void 0?_:mi.controlName;var y;o.content=(y=(u=r)===null||u===void 0?void 0:u.content)!==null&&y!==void 0?y:"\u53D1\u8D77\u7B7E\u7F72";var v;o.buttonType=(v=(f=r)===null||f===void 0?void 0:f.buttonType)!==null&&v!==void 0?v:"primary";var h;o.showType=(h=(a=r)===null||a===void 0?void 0:a.showType)!==null&&h!==void 0?h:"text";var b;o.color=(b=(l=r)===null||l===void 0?void 0:l.color)!==null&&b!==void 0?b:"primary";var d;return o.icon=(d=(s=r)===null||s===void 0?void 0:s.icon)!==null&&d!==void 0?d:"iconfenlei2",o.signatureConfig=new X$((p=r)===null||p===void 0?void 0:p.signatureConfig),o}return n}(V);jt(ya,"Rules",AZ);function I1(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 B1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function DZ(e,t,n){return t&&B1(e.prototype,t),n&&B1(e,n),e}function da(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},va(e)}function LZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_g(e,t)}function jZ(e,t){return t&&(FZ(t)==="object"||typeof t=="function")?t:I1(e)}function _g(e,t){return _g=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_g(e,t)}function FZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xZ(e){var t=CZ();return function(){var r=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return jZ(this,o)}}var mi=function(e){LZ(n,e);var t=xZ(n);function n(r){kZ(this,n);var o,i;return o=t.call(this,r),da(I1(o),"props",void 0),o.props=new ya((i=r)===null||i===void 0?void 0:i.props),o}return DZ(n,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),n}(z);da(mi,"controlEventKeys",["on_click","on_click_finish"]),da(mi,"controlFieldType",c.FieldTypes.VARCHAR),da(mi,"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 N1(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 M1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zZ(e,t,n){return t&&M1(e.prototype,t),n&&M1(e,n),e}function A1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ha(e)}function GZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yg(e,t)}function YZ(e,t){return t&&(HZ(t)==="object"||typeof t=="function")?t:N1(e)}function yg(e,t){return yg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},yg(e,t)}function HZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UZ(e){var t=qZ();return function(){var r=ha(e),o;if(t){var i=ha(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return YZ(this,o)}}var k1=function(e){GZ(n,e);var t=UZ(n);function n(r){VZ(this,n);var o,i;return o=t.call(this,r),A1(N1(o),"props",void 0),o.props=new ya((i=r)===null||i===void 0?void 0:i.props),o}return zZ(n,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),n}(G);A1(k1,"controlFieldType",c.FieldTypes.VARCHAR);var D1={Designer:mi,Runtime:k1,Property:ya};function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ba(e)}function vg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hg(e,t)}function WZ(e,t){return t&&(KZ(t)==="object"||typeof t=="function")?t:Ae(e)}function hg(e,t){return hg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},hg(e,t)}function KZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bg(e){var t=XZ();return function(){var r=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return WZ(this,o)}}var JZ=function(e){vg(n,e);var t=bg(n);function n(r){dg(this,n);var o;return o=t.call(this,r),Te(Ae(o),"content",{type:"string",required:!0,message:w.getMessage("pleaseEnterButtonContent")}),Te(Ae(o),"canAdd",void 0),Te(Ae(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,f,a){if(f.active&&!f.text){a(w.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,f,a){if(f.active&&!f.text){a(w.getMessage("pleaseEnterFileName"));return}a()}}}}),o.canAdd={type:"boolean",validator:function(u,f,a){if(r.canAdd&&!r.addLocal&&!r.addOnline){a(w.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return n}(Oe),QZ=function(e){vg(n,e);var t=bg(n);function n(r){dg(this,n);var o;return o=t.call(this,r),o[0]!==void 0&&(o[0].type="array"),o}return n}(J),Oi=function(e){vg(n,e);var t=bg(n);function n(r){dg(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b,d;o=t.call(this,r),Te(Ae(o),"content",void 0),Te(Ae(o),"canAdd",void 0),Te(Ae(o),"addLocal",void 0),Te(Ae(o),"addOnline",void 0),Te(Ae(o),"canDownload",void 0),Te(Ae(o),"canEdit",void 0),Te(Ae(o),"canExport",void 0),Te(Ae(o),"canDelete",void 0),Te(Ae(o),"wpsSetting",void 0),Te(Ae(o),"maxSize",void 0),Te(Ae(o),"defaultValue",void 0),Te(Ae(o),"revisionsMode",void 0);var g;o.caption=(g=(i=r)===null||i===void 0?void 0:i.caption)!==null&&g!==void 0?g:wi.controlName;var m;o.content=(m=(u=r)===null||u===void 0?void 0:u.content)!==null&&m!==void 0?m:"\u65B0\u5EFA\u6587\u6863";var O;o.canAdd=(O=(f=r)===null||f===void 0?void 0:f.canAdd)!==null&&O!==void 0?O:!0;var $;o.addLocal=($=(a=r)===null||a===void 0?void 0:a.addLocal)!==null&&$!==void 0?$:!0;var T;o.addOnline=(T=(l=r)===null||l===void 0?void 0:l.addOnline)!==null&&T!==void 0?T:!0;var R;o.canEdit=(R=(s=r)===null||s===void 0?void 0:s.canEdit)!==null&&R!==void 0?R:!0;var S;o.canDownload=(S=(p=r)===null||p===void 0?void 0:p.canDownload)!==null&&S!==void 0?S:!0;var I;o.canExport=(I=(_=r)===null||_===void 0?void 0:_.canExport)!==null&&I!==void 0?I:!0;var E;o.canDelete=(E=(y=r)===null||y===void 0?void 0:y.canDelete)!==null&&E!==void 0?E:!1;var N;o.maxSize=(N=(v=r)===null||v===void 0?void 0:v.maxSize)!==null&&N!==void 0?N:QU;var B;o.defaultValue=(B=(h=r)===null||h===void 0?void 0:h.defaultValue)!==null&&B!==void 0?B:[],o.wpsSetting=new J$((b=r)===null||b===void 0?void 0:b.wpsSetting);var A;return o.revisionsMode=(A=(d=r)===null||d===void 0?void 0:d.revisionsMode)!==null&&A!==void 0?A:!1,o}return n}(V);Te(Oi,"Rules",JZ),Te(Oi,"RuntimeRules",QZ);function L1(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 j1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eee(e,t,n){return t&&j1(e.prototype,t),n&&j1(e,n),e}function ga(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(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&&gg(e,t)}function nee(e,t){return t&&(ree(t)==="object"||typeof t=="function")?t:L1(e)}function gg(e,t){return gg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},gg(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 r=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return nee(this,o)}}var wi=function(e){tee(n,e);var t=iee(n);function n(r){ZZ(this,n);var o,i;return o=t.call(this,r),ga(L1(o),"props",void 0),o.props=new Oi((i=r)===null||i===void 0?void 0:i.props),o}return eee(n,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),n}(z);ga(wi,"controlEventKeys",["on_change","on_wps_open"]),ga(wi,"controlFieldType",c.FieldTypes.FILE),ga(wi,"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 F1(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 C1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cee(e,t,n){return t&&C1(e.prototype,t),n&&C1(e,n),e}function x1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oa(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&&mg(e,t)}function lee(e,t){return t&&(aee(t)==="object"||typeof t=="function")?t:F1(e)}function mg(e,t){return mg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},mg(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 pee(e){var t=see();return function(){var r=Oa(e),o;if(t){var i=Oa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return lee(this,o)}}var V1=function(e){fee(n,e);var t=pee(n);function n(r){uee(this,n);var o,i;return o=t.call(this,r),x1(F1(o),"props",void 0),o.props=new Oi((i=r)===null||i===void 0?void 0:i.props),o}return cee(n,null,[{key:"controlType",get:function(){return"wps"}}]),n}(G);x1(V1,"controlFieldType",c.FieldTypes.FILE);var z1={Designer:wi,Runtime:V1,Property:Oi};function ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Og(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(e)}function wg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pg(e,t)}function _ee(e,t){return t&&(yee(t)==="object"||typeof t=="function")?t:ge(e)}function Pg(e,t){return Pg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Pg(e,t)}function yee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=dee();return function(){var r=wa(e),o;if(t){var i=wa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _ee(this,o)}}var vee=function(e){wg(n,e);var t=$g(n);function n(r){Og(this,n);var o;return o=t.call(this,r),me(ge(o),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),me(ge(o),"businessScope",{type:"any"}),Io.call(ge(o),r,zn.controlCustomAttributes),r.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:w.getMessage("pleaseAssignBusiness")}),o}return n}(Oe),hee=function(e){wg(n,e);var t=$g(n);function n(r){Og(this,n);var o;return o=t.call(this,r),o[0]!==void 0&&(o[0].type="array"),o}return n}(J),Pi=function(e){wg(n,e);var t=$g(n);function n(r){Og(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b,d,g,m,O;o=t.call(this,r),me(ge(o),"showType",void 0),me(ge(o),"range",void 0),me(ge(o),"defaultValueType",void 0),me(ge(o),"multiple",void 0),me(ge(o),"rangeOptions",void 0),me(ge(o),"defaultValue",void 0),me(ge(o),"displayLevel",void 0),me(ge(o),"showSubDept",void 0),me(ge(o),"multistageFilling",void 0),me(ge(o),"datasourceBind",void 0),me(ge(o),"datasourceType",void 0),me(ge(o),"businessType",void 0),me(ge(o),"businessScope",void 0),me(ge(o),"openMultistageFilling",void 0);var $;o.showType=($=(i=r)===null||i===void 0?void 0:i.showType)!==null&&$!==void 0?$:"default";var T;o.multiple=(T=(u=r)===null||u===void 0?void 0:u.multiple)!==null&&T!==void 0?T:!1;var R;o.range=(R=(f=r)===null||f===void 0?void 0:f.range)!==null&&R!==void 0?R:"all";var S;o.defaultValueType=(S=(a=r)===null||a===void 0?void 0:a.defaultValueType)!==null&&S!==void 0?S:"none";var I;o.rangeOptions=(I=(l=r)===null||l===void 0?void 0:l.rangeOptions)!==null&&I!==void 0?I:[];var E;o.defaultValue=(E=(s=r)===null||s===void 0?void 0:s.defaultValue)!==null&&E!==void 0?E:[];var N;o.displayLevel=(N=(p=r)===null||p===void 0?void 0:p.displayLevel)!==null&&N!==void 0?N:1;var B;o.showSubDept=(B=(_=r)===null||_===void 0?void 0:_.showSubDept)!==null&&B!==void 0?B:!0;var A;o.caption=(A=(y=r)===null||y===void 0?void 0:y.caption)!==null&&A!==void 0?A:zn.controlName;var M;o.placeholder=(M=(v=r)===null||v===void 0?void 0:v.placeholder)!==null&&M!==void 0?M:"\u8BF7\u9009\u62E9\u90E8\u95E8";var j;o.datasourceBind=new $o((j=(h=r)===null||h===void 0?void 0:h.datasourceBind)!==null&&j!==void 0?j:{attributes:zn.controlCustomAttributes});var D;o.datasourceType=(D=(b=r)===null||b===void 0?void 0:b.datasourceType)!==null&&D!==void 0?D:c.DepartmentType.INTERNAL;var Y;o.businessScope=(Y=(d=r)===null||d===void 0?void 0:d.businessScope)!==null&&Y!==void 0?Y:[];var W;o.businessType=(W=(g=r)===null||g===void 0?void 0:g.businessType)!==null&&W!==void 0?W:c.AssignType.ALL;var X;if(o.openMultistageFilling=(X=(m=r)===null||m===void 0?void 0:m.openMultistageFilling)!==null&&X!==void 0?X:!1,o.multistageFilling=[],Array.isArray((O=r)===null||O===void 0?void 0:O.multistageFilling)){var ie;(ie=r)===null||ie===void 0||ie.multistageFilling.map(function(nt){var Ve;(Ve=o.multistageFilling)===null||Ve===void 0||Ve.push(new De(nt))})}return o}return n}(V);me(Pi,"Rules",vee),me(Pi,"RuntimeRules",hee);function G1(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 Y1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gee(e,t,n){return t&&Y1(e.prototype,t),n&&Y1(e,n),e}function Pa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $a(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?$a=Reflect.get:$a=function(o,i,u){var f=wee(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},$a(e,t,n||e)}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hr(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&&Rg(e,t)}function Oee(e,t){return t&&(Pee(t)==="object"||typeof t=="function")?t:G1(e)}function Rg(e,t){return Rg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Rg(e,t)}function wee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hr(e),e!==null););return e}function Pee(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 Ree(e){var t=$ee();return function(){var r=Hr(e),o;if(t){var i=Hr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Oee(this,o)}}var zn=function(e){mee(n,e);var t=Ree(n);function n(r){bee(this,n);var o,i;return o=t.call(this,r),Pa(G1(o),"props",void 0),o.props=new Pi((i=r)===null||i===void 0?void 0:i.props),o}return gee(n,[{key:"toDataBindModel",value:function(o){var i=$a(Hr(n.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.displayLevel,a=u.showSubDept;i.props.displayLevel=f,i.props.showSubDept=a}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}]}}]),n}(z);Pa(zn,"controlName","\u90E8\u95E8"),Pa(zn,"controlFieldType",c.FieldTypes.DEPARTMENTS),Pa(zn,"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 H1(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 q1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function See(e,t,n){return t&&q1(e.prototype,t),n&&q1(e,n),e}function U1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ra(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&&Tg(e,t)}function Iee(e,t){return t&&(Bee(t)==="object"||typeof t=="function")?t:H1(e)}function Tg(e,t){return Tg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Tg(e,t)}function Bee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mee(e){var t=Nee();return function(){var r=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Iee(this,o)}}var W1=function(e){Eee(n,e);var t=Mee(n);function n(r){Tee(this,n);var o,i;return o=t.call(this,r),U1(H1(o),"props",void 0),o.props=new Pi((i=r)===null||i===void 0?void 0:i.props),o}return See(n,null,[{key:"controlType",get:function(){return"department2"}}]),n}(G);U1(W1,"controlFieldType",c.FieldTypes.DEPARTMENTS);var K1={Designer:zn,Runtime:W1,Property:Pi};function ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ta(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&&Ig(e,t)}function Aee(e,t){return t&&(kee(t)==="object"||typeof t=="function")?t:ne(e)}function Ig(e,t){return Ig=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ig(e,t)}function kee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bg(e){var t=Dee();return function(){var r=Ta(e),o;if(t){var i=Ta(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Aee(this,o)}}var Lee=function(e){Eg(n,e);var t=Bg(n);function n(r){Sg(this,n);var o;return o=t.call(this,r),re(ne(o),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),re(ne(o),"businessScope",{type:"any"}),Io.call(ne(o),r,Gn.controlCustomAttributes),r.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:w.getMessage("pleaseAssignBusiness")}),o}return n}(Oe),jee=function(e){Eg(n,e);var t=Bg(n);function n(r){Sg(this,n);var o;return o=t.call(this,r),o[0]!==void 0&&(o[0].type="array"),o}return n}(J),$i=function(e){Eg(n,e);var t=Bg(n);function n(r){Sg(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b,d,g,m,O,$,T,R,S,I;o=t.call(this,r),re(ne(o),"showType",void 0),re(ne(o),"range",void 0),re(ne(o),"defaultValueType",void 0),re(ne(o),"multiple",void 0),re(ne(o),"rangeOptions",void 0),re(ne(o),"defaultValue",void 0),re(ne(o),"displayLevel",void 0),re(ne(o),"showSubDept",void 0),re(ne(o),"multistageFilling",void 0),re(ne(o),"datasourceBind",void 0),re(ne(o),"listPageBind",void 0),re(ne(o),"datasourceType",void 0),re(ne(o),"businessType",void 0),re(ne(o),"businessScope",void 0),re(ne(o),"organizingFunction",void 0),re(ne(o),"organizationView",void 0),re(ne(o),"openMultistageFilling",void 0),re(ne(o),"showSelectedDetail",void 0),re(ne(o),"selectedContentConfig",void 0);var E;o.showType=(E=(i=r)===null||i===void 0?void 0:i.showType)!==null&&E!==void 0?E:"default";var N;o.multiple=(N=(u=r)===null||u===void 0?void 0:u.multiple)!==null&&N!==void 0?N:!1;var B;o.range=(B=(f=r)===null||f===void 0?void 0:f.range)!==null&&B!==void 0?B:"all",o.listPageBind=new Wi((a=r)===null||a===void 0?void 0:a.listPageBind);var A;o.defaultValueType=(A=(l=r)===null||l===void 0?void 0:l.defaultValueType)!==null&&A!==void 0?A:"none";var M;o.rangeOptions=(M=(s=r)===null||s===void 0?void 0:s.rangeOptions)!==null&&M!==void 0?M:[];var j;o.defaultValue=(j=(p=r)===null||p===void 0?void 0:p.defaultValue)!==null&&j!==void 0?j:[];var D;o.displayLevel=(D=(_=r)===null||_===void 0?void 0:_.displayLevel)!==null&&D!==void 0?D:1;var Y;o.showSubDept=(Y=(y=r)===null||y===void 0?void 0:y.showSubDept)!==null&&Y!==void 0?Y:!0;var W;o.caption=(W=(v=r)===null||v===void 0?void 0:v.caption)!==null&&W!==void 0?W:Gn.controlName;var X;o.placeholder=(X=(h=r)===null||h===void 0?void 0:h.placeholder)!==null&&X!==void 0?X:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var ie;o.datasourceBind=new MP((ie=(b=r)===null||b===void 0?void 0:b.datasourceBind)!==null&&ie!==void 0?ie:{attributes:Gn.controlCustomAttributes});var nt;o.datasourceType=(nt=(d=r)===null||d===void 0?void 0:d.datasourceType)!==null&&nt!==void 0?nt:c.DepartmentType.INTERNAL;var Ve;o.businessScope=(Ve=(g=r)===null||g===void 0?void 0:g.businessScope)!==null&&Ve!==void 0?Ve:[];var Tt;o.businessType=(Tt=(m=r)===null||m===void 0?void 0:m.businessType)!==null&&Tt!==void 0?Tt:c.AssignType.ALL;var St;o.organizingFunction=(St=(O=r)===null||O===void 0?void 0:O.organizingFunction)!==null&&St!==void 0?St:void 0;var Et;o.organizationView=(Et=($=r)===null||$===void 0?void 0:$.organizationView)!==null&&Et!==void 0?Et:void 0;var on;o.showSelectedDetail=(on=(T=r)===null||T===void 0?void 0:T.showSelectedDetail)!==null&&on!==void 0?on:!1,o.selectedContentConfig=new Ji((R=r)===null||R===void 0?void 0:R.selectedContentConfig);var vr;if(o.openMultistageFilling=(vr=(S=r)===null||S===void 0?void 0:S.openMultistageFilling)!==null&&vr!==void 0?vr:!1,o.multistageFilling=[],Array.isArray((I=r)===null||I===void 0?void 0:I.multistageFilling)){var hr;(hr=r)===null||hr===void 0||hr.multistageFilling.map(function(Vi){var br;(br=o.multistageFilling)===null||br===void 0||br.push(new De(Vi))})}return o}return n}(V);re($i,"Rules",Lee),re($i,"RuntimeRules",jee);function X1(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 J1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cee(e,t,n){return t&&J1(e.prototype,t),n&&J1(e,n),e}function Sa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ea(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ea=Reflect.get:Ea=function(o,i,u){var f=zee(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Ea(e,t,n||e)}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qr(e)}function xee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Vee(e,t){return t&&(Gee(t)==="object"||typeof t=="function")?t:X1(e)}function Ng(e,t){return Ng=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ng(e,t)}function zee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qr(e),e!==null););return e}function Gee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hee(e){var t=Yee();return function(){var r=qr(e),o;if(t){var i=qr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Vee(this,o)}}var Gn=function(e){xee(n,e);var t=Hee(n);function n(r){Fee(this,n);var o,i;return o=t.call(this,r),Sa(X1(o),"props",void 0),o.props=new $i((i=r)===null||i===void 0?void 0:i.props),o}return Cee(n,[{key:"toDataBindModel",value:function(o){var i=Ea(qr(n.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.displayLevel,a=u.showSubDept;i.props.displayLevel=f,i.props.showSubDept=a}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}]}}]),n}(z);Sa(Gn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Sa(Gn,"controlFieldType",c.FieldTypes.DEPARTMENTS),Sa(Gn,"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 Q1(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 Z1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Uee(e,t,n){return t&&Z1(e.prototype,t),n&&Z1(e,n),e}function eB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ia(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&&Mg(e,t)}function Kee(e,t){return t&&(Xee(t)==="object"||typeof t=="function")?t:Q1(e)}function Mg(e,t){return Mg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Mg(e,t)}function Xee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qee(e){var t=Jee();return function(){var r=Ia(e),o;if(t){var i=Ia(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Kee(this,o)}}var tB=function(e){Wee(n,e);var t=Qee(n);function n(r){qee(this,n);var o,i;return o=t.call(this,r),eB(Q1(o),"props",void 0),o.props=new $i((i=r)===null||i===void 0?void 0:i.props),o}return Uee(n,null,[{key:"controlType",get:function(){return"organization-selection"}}]),n}(G);eB(tB,"controlFieldType",c.FieldTypes.DEPARTMENTS);var nB={Designer:Gn,Runtime:tB,Property:$i},Zee=Object.freeze({__proto__:null,Input:xS,Checkbox:US,Radio:rE,Number:aE,DatePicker:hE,DateRange:SE,Textarea:kE,RichText:VE,Select:JE,SelectMultiple:oI,Employee:yI,Image:$I,Attachment:mI,Amount:NI,Score:FI,Address:WI,Department:o3,AutoNumber:p3,Calc:g3,SearchNumberRange:I3,SearchDateRange:C3,VueFormItem:q3,SelectRelation:n1,SearchInput:s1,Tree:b1,Employee2:R1,ElectronicSignature:D1,WPS:z1,Department2:K1,OrganizationSelection:nB});function ete(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nte(e,t,n){return t&&rB(e.prototype,t),n&&rB(e,n),e}function rte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(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&&Ag(e,t)}function ite(e,t){return t&&(ute(t)==="object"||typeof t=="function")?t:ete(e)}function Ag(e,t){return Ag=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ag(e,t)}function ute(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fte(e){var t=cte();return function(){var r=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return ite(this,o)}}var oB=function(e){ote(n,e);var t=fte(n);function n(r){return tte(this,n),t.call(this,r)}return nte(n,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),n}(te);rte(oB,"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 ate(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ste(e,t,n){return t&&iB(e.prototype,t),n&&iB(e,n),e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Na(e)}function pte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kg(e,t)}function _te(e,t){return t&&(yte(t)==="object"||typeof t=="function")?t:lte(e)}function kg(e,t){return kg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},kg(e,t)}function yte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vte(e){var t=dte();return function(){var r=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _te(this,o)}}var hte=function(e){pte(n,e);var t=vte(n);function n(r){return ate(this,n),t.call(this,r)}return ste(n,null,[{key:"controlType",get:function(){return"grid"}}]),n}(fe),uB={Designer:oB,Runtime:hte,Property:Q};function Dg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ma(e)}function gte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lg(e,t)}function mte(e,t){return t&&(Ote(t)==="object"||typeof t=="function")?t:Dg(e)}function Lg(e,t){return Lg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Lg(e,t)}function Ote(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pte(e){var t=wte();return function(){var r=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mte(this,o)}}var $te=24,Yn=function(e){gte(n,e);var t=Pte(n);function n(r){bte(this,n);var o,i,u;o=t.call(this,r),cB(Dg(o),"span",void 0),cB(Dg(o),"offset",void 0);var f;o.span=(f=(i=r)===null||i===void 0?void 0:i.span)!==null&&f!==void 0?f:$te;var a;return o.offset=(a=(u=r)===null||u===void 0?void 0:u.offset)!==null&&a!==void 0?a:0,o}return n}(Q);function fB(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 lB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tte(e,t,n){return t&&lB(e.prototype,t),n&&lB(e,n),e}function jg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Aa(e)}function Ste(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fg(e,t)}function Ete(e,t){return t&&(Ite(t)==="object"||typeof t=="function")?t:fB(e)}function Fg(e,t){return Fg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Fg(e,t)}function Ite(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nte(e){var t=Bte();return function(){var r=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Ete(this,o)}}var Ri=function(e){Ste(n,e);var t=Nte(n);function n(r){Rte(this,n);var o,i;return o=t.call(this,r),jg(fB(o),"props",void 0),o.props=new Yn((i=r)===null||i===void 0?void 0:i.props),o}return Tte(n,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),n}(te);jg(Ri,"excludes",[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.DIVIDER]),jg(Ri,"childrenMaxLength",1);function aB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ate(e,t,n){return t&&sB(e.prototype,t),n&&sB(e,n),e}function kte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ka(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&&Cg(e,t)}function Lte(e,t){return t&&(jte(t)==="object"||typeof t=="function")?t:aB(e)}function Cg(e,t){return Cg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Cg(e,t)}function jte(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 Cte(e){var t=Fte();return function(){var r=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Lte(this,o)}}var xg=function(e){Dte(n,e);var t=Cte(n);function n(r){Mte(this,n);var o,i;return o=t.call(this,r),kte(aB(o),"props",void 0),o.props=new Yn((i=r)===null||i===void 0?void 0:i.props),o}return Ate(n,null,[{key:"controlType",get:function(){return"col"}}]),n}(fe),Da={Designer:Ri,Runtime:xg,Property:Yn};function Vg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},La(e)}function Vte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zte(e,t){return t&&(Gte(t)==="object"||typeof t=="function")?t:Vg(e)}function zg(e,t){return zg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},zg(e,t)}function Gte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hte(e){var t=Yte();return function(){var r=La(e),o;if(t){var i=La(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zte(this,o)}}var ja=function(e){Vte(n,e);var t=Hte(n);function n(r){xte(this,n);var o,i,u;o=t.call(this,r),pB(Vg(o),"layoutMode",void 0),pB(Vg(o),"gutter",void 0);var f;o.layoutMode=(f=(i=r)===null||i===void 0?void 0:i.layoutMode)!==null&&f!==void 0?f:"select";var a;return o.gutter=(a=(u=r)===null||u===void 0?void 0:u.gutter)!==null&&a!==void 0?a:0,o}return n}(Q);function _B(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 yB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ute(e,t,n){return t&&yB(e.prototype,t),n&&yB(e,n),e}function Gg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(e)}function Wte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Kte(e,t){return t&&(Xte(t)==="object"||typeof t=="function")?t:_B(e)}function Yg(e,t){return Yg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Yg(e,t)}function Xte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qte(e){var t=Jte();return function(){var r=Fa(e),o;if(t){var i=Fa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Kte(this,o)}}var Ca=function(e){Wte(n,e);var t=Qte(n);function n(r){qte(this,n);var o,i;return o=t.call(this,r),Gg(_B(o),"props",void 0),o.props=new ja((i=r)===null||i===void 0?void 0:i.props),o}return Ute(n,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),n}(te);Gg(Ca,"excludes",[c.CONTROL_TYPE.ROW]),Gg(Ca,"setting",[{key:"col-setting",visible:!0}]);function dB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ene(e,t,n){return t&&vB(e.prototype,t),n&&vB(e,n),e}function tne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xa(e)}function nne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rne(e,t){return t&&(one(t)==="object"||typeof t=="function")?t:dB(e)}function Hg(e,t){return Hg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Hg(e,t)}function one(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ine(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function une(e){var t=ine();return function(){var r=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return rne(this,o)}}var hB=function(e){nne(n,e);var t=une(n);function n(r){Zte(this,n);var o,i;return o=t.call(this,r),tne(dB(o),"props",void 0),o.props=new ja((i=r)===null||i===void 0?void 0:i.props),o}return ene(n,null,[{key:"controlType",get:function(){return"row"}}]),n}(fe),bB={Designer:Ca,Runtime:hB,Property:ja};function cne(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 gB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lne(e,t,n){return t&&gB(e.prototype,t),n&&gB(e,n),e}function qg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Va(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&&Ug(e,t)}function sne(e,t){return t&&(pne(t)==="object"||typeof t=="function")?t:cne(e)}function Ug(e,t){return Ug=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ug(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 yne(e){var t=_ne();return function(){var r=Va(e),o;if(t){var i=Va(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return sne(this,o)}}var dne=4,za=function(e){ane(n,e);var t=yne(n);function n(r){return fne(this,n),t.call(this,r)}return lne(n,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"}}]),n}(Ca);qg(za,"excludes",[c.CONTROL_TYPE.GRID_ROW]),qg(za,"setting",[]),qg(za,"childrenMaxLength",dne);function vne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bne(e,t,n){return t&&mB(e.prototype,t),n&&mB(e,n),e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ga(e)}function gne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wg(e,t)}function mne(e,t){return t&&(One(t)==="object"||typeof t=="function")?t:vne(e)}function Wg(e,t){return Wg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Wg(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 r=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mne(this,o)}}var $ne=function(e){gne(n,e);var t=Pne(n);function n(r){return hne(this,n),t.call(this,r)}return bne(n,null,[{key:"controlType",get:function(){return"grid-row"}}]),n}(hB);function Rne(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 Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ya(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&&Kg(e,t)}function Ene(e,t){return t&&(Ine(t)==="object"||typeof t=="function")?t:Rne(e)}function Kg(e,t){return Kg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Kg(e,t)}function Ine(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nne(e){var t=Bne();return function(){var r=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Ene(this,o)}}var Mne=function(e){Sne(n,e);var t=Nne(n);function n(r){return Tne(this,n),t.call(this,r)}return n}(ja),Xg={Designer:za,Runtime:$ne,Property:Mne};function Ha(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ua(e)}function wB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jg(e,t)}function Ane(e,t){return t&&(kne(t)==="object"||typeof t=="function")?t:Ha(e)}function Jg(e,t){return Jg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Jg(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 PB(e){var t=Dne();return function(){var r=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Ane(this,o)}}var Lne=function(e){wB(n,e);var t=PB(n);function n(){OB(this,n);var r;return r=t.apply(this,arguments),qa(Ha(r),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),r}return n}(Q.Rules),Wa=function(e){wB(n,e);var t=PB(n);function n(r){OB(this,n);var o,i,u;o=t.call(this,r),qa(Ha(o),"caption",void 0),qa(Ha(o),"collapse",void 0);var f;o.caption=(f=(i=r)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:"\u5206\u7EC4";var a;return o.collapse=(a=(u=r)===null||u===void 0?void 0:u.collapse)!==null&&a!==void 0?a:"none",o}return n}(Q);qa(Wa,"Rules",Lne);function $B(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Fne(e,t,n){return t&&RB(e.prototype,t),n&&RB(e,n),e}function Qg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ka(e)}function Cne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zg(e,t)}function xne(e,t){return t&&(Vne(t)==="object"||typeof t=="function")?t:$B(e)}function Zg(e,t){return Zg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Zg(e,t)}function Vne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gne(e){var t=zne();return function(){var r=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return xne(this,o)}}var em=function(e){Cne(n,e);var t=Gne(n);function n(r){jne(this,n);var o,i;return o=t.call(this,r),Qg($B(o),"props",void 0),o.props=new Wa((i=r)===null||i===void 0?void 0:i.props),o}return Fne(n,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),n}(te);Qg(em,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Qg(em,"excludes",[c.CONTROL_TYPE.CARD_GROUP]);function TB(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 SB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Hne(e,t,n){return t&&SB(e.prototype,t),n&&SB(e,n),e}function qne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xa(e)}function Une(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tm(e,t)}function Wne(e,t){return t&&(Kne(t)==="object"||typeof t=="function")?t:TB(e)}function tm(e,t){return tm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},tm(e,t)}function Kne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jne(e){var t=Xne();return function(){var r=Xa(e),o;if(t){var i=Xa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Wne(this,o)}}var Qne=function(e){Une(n,e);var t=Jne(n);function n(r){Yne(this,n);var o,i;return o=t.call(this,r),qne(TB(o),"props",void 0),o.props=new Wa((i=r)===null||i===void 0?void 0:i.props),o}return Hne(n,null,[{key:"controlType",get:function(){return"card-group"}}]),n}(fe),EB={Designer:em,Runtime:Qne,Property:Wa};function Ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ja(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&&nm(e,t)}function Zne(e,t){return t&&(ere(t)==="object"||typeof t=="function")?t:Ft(e)}function nm(e,t){return nm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},nm(e,t)}function ere(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NB(e){var t=tre();return function(){var r=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Zne(this,o)}}var nre=function(e){BB(n,e);var t=NB(n);function n(r){IB(this,n);var o;return o=t.call(this,r),Ct(Ft(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),Ct(Ft(o),"width",{type:"number",required:!1,message:w.getMessage("pleaseEnterColumnWidth")}),Ct(Ft(o),"captionTip",{type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")}),r.isShowCaptionTip&&(o.captionTip.required=!0),o}return n}(ye),Qa=function(e){BB(n,e);var t=NB(n);function n(r){IB(this,n);var o,i,u,f,a,l,s;o=t.call(this,r),Ct(Ft(o),"metaAutoWidth",void 0),Ct(Ft(o),"caption",void 0),Ct(Ft(o),"fixed",void 0),Ct(Ft(o),"isShowCaptionTip",void 0),Ct(Ft(o),"captionTip",void 0),Ct(Ft(o),"isHideCaption",void 0);var p;o.caption=(p=(i=r)===null||i===void 0?void 0:i.caption)!==null&&p!==void 0?p:"";var _;o.fixed=(_=(u=r)===null||u===void 0?void 0:u.fixed)!==null&&_!==void 0?_:!1;var y;o.isShowCaptionTip=(y=(f=r)===null||f===void 0?void 0:f.isShowCaptionTip)!==null&&y!==void 0?y:!1;var v;o.captionTip=(v=(a=r)===null||a===void 0?void 0:a.captionTip)!==null&&v!==void 0?v:"";var h;return o.isHideCaption=(h=(l=r)===null||l===void 0?void 0:l.isHideCaption)!==null&&h!==void 0?h:!1,o.metaAutoWidth=new wP((s=r)===null||s===void 0?void 0:s.metaAutoWidth),o}return n}(Q);Ct(Qa,"Rules",nre);function MB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Za(e)}function ore(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ire(e,t){return t&&(ure(t)==="object"||typeof t=="function")?t:MB(e)}function rm(e,t){return rm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},rm(e,t)}function ure(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 fre(e){var t=cre();return function(){var r=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return ire(this,o)}}var wt=function(e){ore(n,e);var t=fre(n);function n(r){rre(this,n);var o,i;return o=t.call(this,r),Hn(MB(o),"props",void 0),o.props=new Qa((i=r)===null||i===void 0?void 0:i.props),o}return n}(te);Hn(wt,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Hn(wt,"controlType","subtable-column"),Hn(wt,"controlIcon","subtable-column"),Hn(wt,"childrenMaxLength",1),Hn(wt,"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]),Hn(wt,"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 AB(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 kB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function es(e){return es=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},es(e)}function are(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&om(e,t)}function sre(e,t){return t&&(pre(t)==="object"||typeof t=="function")?t:AB(e)}function om(e,t){return om=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},om(e,t)}function pre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _re(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yre(e){var t=_re();return function(){var r=es(e),o;if(t){var i=es(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return sre(this,o)}}var DB=function(e){are(n,e);var t=yre(n);function n(r){lre(this,n);var o,i;return o=t.call(this,r),kB(AB(o),"props",void 0),o.props=new Qa((i=r)===null||i===void 0?void 0:i.props),o}return n}(fe);kB(DB,"controlType","subtable-column");var im={Designer:wt,Runtime:DB,Property:Qa};function dre(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 ts(e){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ts(e)}function hre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&um(e,t)}function bre(e,t){return t&&(gre(t)==="object"||typeof t=="function")?t:dre(e)}function um(e,t){return um=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},um(e,t)}function gre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ore(e){var t=mre();return function(){var r=ts(e),o;if(t){var i=ts(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return bre(this,o)}}var cm=function(e){hre(n,e);var t=Ore(n);function n(r){return vre(this,n),t.call(this,r)}return n}(Q);function LB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ns(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&&fm(e,t)}function $re(e,t){return t&&(Rre(t)==="object"||typeof t=="function")?t:LB(e)}function fm(e,t){return fm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},fm(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 r=ns(e),o;if(t){var i=ns(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return $re(this,o)}}var Un=function(e){Pre(n,e);var t=Sre(n);function n(r){wre(this,n);var o,i;return o=t.call(this,r),qn(LB(o),"props",void 0),o.props=new cm((i=r)===null||i===void 0?void 0:i.props),o}return n}(te);qn(Un,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),qn(Un,"controlType","subtable-row"),qn(Un,"controlIcon","subtable-row"),qn(Un,"childrenMaxLength",1),qn(Un,"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]),qn(Un,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],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 Ere(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ire(e,t,n){return t&&FB(e.prototype,t),n&&FB(e,n),e}function Bre(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rs(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&&lm(e,t)}function Mre(e,t){return t&&(Are(t)==="object"||typeof t=="function")?t:jB(e)}function lm(e,t){return lm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},lm(e,t)}function Are(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 r=rs(e),o;if(t){var i=rs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Mre(this,o)}}var Lre=function(e){Nre(n,e);var t=Dre(n);function n(r){Ere(this,n);var o,i;return o=t.call(this,r),Bre(jB(o),"props",void 0),o.props=new cm((i=r)===null||i===void 0?void 0:i.props),o}return Ire(n,null,[{key:"controlType",get:function(){return"subtable-row"}}]),n}(fe),CB={Designer:Un,Runtime:Lre,Property:cm};function tt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},os(e)}function Fre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&am(e,t)}function Cre(e,t){return t&&(xre(t)==="object"||typeof t=="function")?t:tt(e)}function am(e,t){return am=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},am(e,t)}function xre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zre(e){var t=Vre();return function(){var r=os(e),o;if(t){var i=os(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Cre(this,o)}}var sm=function(e){Fre(n,e);var t=zre(n);function n(r){jre(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b;o=t.call(this,r),_t(tt(o),"widthType",void 0),_t(tt(o),"width",void 0),_t(tt(o),"caption",void 0),_t(tt(o),"fieldCode",void 0),_t(tt(o),"fieldType",void 0),_t(tt(o),"fieldName",void 0),_t(tt(o),"datasourceBind",void 0),_t(tt(o),"fixed",void 0),_t(tt(o),"textCleanFormart",void 0),_t(tt(o),"decimalKeepPrecision",void 0),_t(tt(o),"timestampDateType",void 0),_t(tt(o),"departmentDisplayLevel",void 0);var d;o.width=(d=(i=r)===null||i===void 0?void 0:i.width)!==null&&d!==void 0?d:200,o.widthType=((u=r)===null||u===void 0?void 0:u.widthType)||"auto";var g;o.caption=(g=(f=r)===null||f===void 0?void 0:f.caption)!==null&&g!==void 0?g:"";var m;o.fixed=(m=(a=r)===null||a===void 0?void 0:a.fixed)!==null&&m!==void 0?m:!1;var O;o.fieldCode=(O=(l=r)===null||l===void 0?void 0:l.fieldCode)!==null&&O!==void 0?O:"";var $;o.fieldType=($=(s=r)===null||s===void 0?void 0:s.fieldType)!==null&&$!==void 0?$:c.FieldTypes.VARCHAR;var T;o.fieldName=(T=(p=r)===null||p===void 0?void 0:p.fieldName)!==null&&T!==void 0?T:"",o.datasourceBind=new de((_=r)===null||_===void 0?void 0:_.datasourceBind);var R;o.textCleanFormart=(R=(y=r)===null||y===void 0?void 0:y.textCleanFormart)!==null&&R!==void 0?R:!1;var S;o.decimalKeepPrecision=(S=(v=r)===null||v===void 0?void 0:v.decimalKeepPrecision)!==null&&S!==void 0?S:0;var I;o.timestampDateType=(I=(h=r)===null||h===void 0?void 0:h.timestampDateType)!==null&&I!==void 0?I:c.DateType.DATE;var E;return o.departmentDisplayLevel=(E=(b=r)===null||b===void 0?void 0:b.departmentDisplayLevel)!==null&&E!==void 0?E:1,o}return n}(Q);function xB(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 Wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function is(e){return is=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},is(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&&pm(e,t)}function Hre(e,t){return t&&(qre(t)==="object"||typeof t=="function")?t:xB(e)}function pm(e,t){return pm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},pm(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 r=is(e),o;if(t){var i=is(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Hre(this,o)}}var Kn=function(e){Yre(n,e);var t=Wre(n);function n(r){Gre(this,n);var o,i;return o=t.call(this,r),Wn(xB(o),"props",void 0),o.props=new sm((i=r)===null||i===void 0?void 0:i.props),o}return n}(te);Wn(Kn,"controlName","\u5217\u8868\u5355\u5143\u683C"),Wn(Kn,"controlType","gridtable-column"),Wn(Kn,"controlIcon","gridtable-column"),Wn(Kn,"childrenMaxLength",1),Wn(Kn,"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]),Wn(Kn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function VB(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 zB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},us(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&&_m(e,t)}function Jre(e,t){return t&&(Qre(t)==="object"||typeof t=="function")?t:VB(e)}function _m(e,t){return _m=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_m(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 r=us(e),o;if(t){var i=us(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Jre(this,o)}}var GB=function(e){Xre(n,e);var t=eoe(n);function n(r){Kre(this,n);var o,i;return o=t.call(this,r),zB(VB(o),"props",void 0),o.props=new sm((i=r)===null||i===void 0?void 0:i.props),o}return n}(fe);zB(GB,"controlType","gridtable-column");var YB={Designer:Kn,Runtime:GB,Property:sm};function ym(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 HB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cs(e){return cs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cs(e)}function noe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dm(e,t)}function roe(e,t){return t&&(ooe(t)==="object"||typeof t=="function")?t:ym(e)}function dm(e,t){return dm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},dm(e,t)}function ooe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ioe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uoe(e){var t=ioe();return function(){var r=cs(e),o;if(t){var i=cs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return roe(this,o)}}var vm=function(e){noe(n,e);var t=uoe(n);function n(r){toe(this,n);var o,i,u;o=t.call(this,r),HB(ym(o),"childMinWidth",void 0),HB(ym(o),"colGap",void 0);var f;o.childMinWidth=(f=(i=r)===null||i===void 0?void 0:i.childMinWidth)!==null&&f!==void 0?f:230;var a;return o.colGap=(a=(u=r)===null||u===void 0?void 0:u.colGap)!==null&&a!==void 0?a:24,o}return n}(Q);function qB(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 UB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function foe(e,t,n){return t&&UB(e.prototype,t),n&&UB(e,n),e}function hm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fs(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&&bm(e,t)}function aoe(e,t){return t&&(soe(t)==="object"||typeof t=="function")?t:qB(e)}function bm(e,t){return bm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},bm(e,t)}function soe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function poe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _oe(e){var t=poe();return function(){var r=fs(e),o;if(t){var i=fs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return aoe(this,o)}}var gm=function(e){loe(n,e);var t=_oe(n);function n(r){coe(this,n);var o,i;return o=t.call(this,r),hm(qB(o),"props",void 0),o.props=new vm((i=r)===null||i===void 0?void 0:i.props),o}return foe(n,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"}}]),n}(te);hm(gm,"excludes",[c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.TAB]),hm(gm,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",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 yoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function doe(e,t,n){return t&&KB(e.prototype,t),n&&KB(e,n),e}function voe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ls(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&&mm(e,t)}function boe(e,t){return t&&(goe(t)==="object"||typeof t=="function")?t:WB(e)}function mm(e,t){return mm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},mm(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 r=ls(e),o;if(t){var i=ls(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return boe(this,o)}}var woe=function(e){hoe(n,e);var t=Ooe(n);function n(r){yoe(this,n);var o,i;return o=t.call(this,r),voe(WB(o),"props",void 0),o.props=new vm((i=r)===null||i===void 0?void 0:i.props),o}return doe(n,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),n}(fe),XB={Designer:gm,Runtime:woe,Property:vm};function JB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Poe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},as(e)}function Roe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Toe(e,t){return t&&(Soe(t)==="object"||typeof t=="function")?t:JB(e)}function Om(e,t){return Om=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Om(e,t)}function Soe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ioe(e){var t=Eoe();return function(){var r=as(e),o;if(t){var i=as(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Toe(this,o)}}var wm=function(e){Roe(n,e);var t=Ioe(n);function n(r){Poe(this,n);var o,i;o=t.call(this,r),$oe(JB(o),"mobileShowType",void 0);var u;return o.mobileShowType=(u=(i=r)===null||i===void 0?void 0:i.mobileShowType)!==null&&u!==void 0?u:"vertical",o}return n}(Q);function Pm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ss(e){return ss=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ss(e)}function ZB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rm(e,t)}function Boe(e,t){return t&&(Noe(t)==="object"||typeof t=="function")?t:Pm(e)}function Rm(e,t){return Rm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Rm(e,t)}function Noe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Moe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eN(e){var t=Moe();return function(){var r=ss(e),o;if(t){var i=ss(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Boe(this,o)}}var Aoe=function(e){ZB(n,e);var t=eN(n);function n(r){QB(this,n);var o;return o=t.call(this,r),$m(Pm(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),o}return n}(ye),ps=function(e){ZB(n,e);var t=eN(n);function n(r){QB(this,n);var o,i;o=t.call(this,r),$m(Pm(o),"caption",void 0);var u;return o.caption=(u=(i=r)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:Si.controlName,o}return n}(Q);$m(ps,"Rules",Aoe);function tN(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 nN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Doe(e,t,n){return t&&nN(e.prototype,t),n&&nN(e,n),e}function Tm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_s(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&&Sm(e,t)}function joe(e,t){return t&&(Foe(t)==="object"||typeof t=="function")?t:tN(e)}function Sm(e,t){return Sm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Sm(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 r=_s(e),o;if(t){var i=_s(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return joe(this,o)}}var Ti=function(e){Loe(n,e);var t=xoe(n);function n(r){koe(this,n);var o,i;return o=t.call(this,r),Tm(tN(o),"props",void 0),o.props=new ps((i=r)===null||i===void 0?void 0:i.props),o}return Doe(n,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),n}(te);Tm(Ti,"excludes",[c.CONTROL_TYPE.TAB]),Tm(Ti,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function rN(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 oN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zoe(e,t,n){return t&&oN(e.prototype,t),n&&oN(e,n),e}function Goe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ys(e){return ys=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ys(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&&Em(e,t)}function Hoe(e,t){return t&&(qoe(t)==="object"||typeof t=="function")?t:rN(e)}function Em(e,t){return Em=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Em(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 r=ys(e),o;if(t){var i=ys(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Hoe(this,o)}}var Koe=function(e){Yoe(n,e);var t=Woe(n);function n(r){Voe(this,n);var o,i;return o=t.call(this,r),Goe(rN(o),"props",void 0),o.props=new ps((i=r)===null||i===void 0?void 0:i.props),o}return zoe(n,null,[{key:"controlType",get:function(){return"tab-pane"}}]),n}(fe),iN={Designer:Ti,Runtime:Koe,Property:ps};function uN(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 cN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Joe(e,t,n){return t&&cN(e.prototype,t),n&&cN(e,n),e}function ds(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vs(e){return vs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vs(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&&Im(e,t)}function Zoe(e,t){return t&&(eie(t)==="object"||typeof t=="function")?t:uN(e)}function Im(e,t){return Im=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Im(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 r=vs(e),o;if(t){var i=vs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Zoe(this,o)}}var Si=function(e){Qoe(n,e);var t=nie(n);function n(r){Xoe(this,n);var o,i,u;o=t.call(this,r),ds(uN(o),"props",void 0),o.props=new wm((i=r)===null||i===void 0?void 0:i.props);var f;return o.children=(f=(u=r)===null||u===void 0?void 0:u.children)!==null&&f!==void 0?f:[new Ti,new Ti],o}return Joe(n,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),n}(te);ds(Si,"excludes",[c.CONTROL_TYPE.TAB]),ds(Si,"controlEventKeys",["on_change_tab"]),ds(Si,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function fN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oie(e,t,n){return t&&lN(e.prototype,t),n&&lN(e,n),e}function iie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hs(e)}function uie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bm(e,t)}function cie(e,t){return t&&(fie(t)==="object"||typeof t=="function")?t:fN(e)}function Bm(e,t){return Bm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Bm(e,t)}function fie(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 aie(e){var t=lie();return function(){var r=hs(e),o;if(t){var i=hs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return cie(this,o)}}var sie=function(e){uie(n,e);var t=aie(n);function n(r){rie(this,n);var o,i;return o=t.call(this,r),iie(fN(o),"props",void 0),o.props=new wm((i=r)===null||i===void 0?void 0:i.props),o}return oie(n,null,[{key:"controlType",get:function(){return"tab"}}]),n}(fe),aN={Designer:Si,Runtime:sie,Property:wm};function pie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bs(e){return bs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bs(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&&Nm(e,t)}function die(e,t){return t&&(vie(t)==="object"||typeof t=="function")?t:pie(e)}function Nm(e,t){return Nm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Nm(e,t)}function vie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bie(e){var t=hie();return function(){var r=bs(e),o;if(t){var i=bs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return die(this,o)}}var sN=function(e){yie(n,e);var t=bie(n);function n(r){return _ie(this,n),t.call(this,r)}return n}(Q);function pN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mie(e,t,n){return t&&_N(e.prototype,t),n&&_N(e,n),e}function yN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gs(e)}function Oie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mm(e,t)}function wie(e,t){return t&&(Pie(t)==="object"||typeof t=="function")?t:pN(e)}function Mm(e,t){return Mm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Mm(e,t)}function Pie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $ie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rie(e){var t=$ie();return function(){var r=gs(e),o;if(t){var i=gs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return wie(this,o)}}var dN=function(e){Oie(n,e);var t=Rie(n);function n(r){gie(this,n);var o,i;return o=t.call(this,r),yN(pN(o),"props",void 0),o.props=new sN({}),o.children=((i=r)===null||i===void 0?void 0:i.children)||[new Ri({props:new Yn({span:12})}),new Ri({props:new Yn({span:12})})],o}return mie(n,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),n}(te);yN(dN,"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 Tie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Eie(e,t,n){return t&&vN(e.prototype,t),n&&vN(e,n),e}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ms(e)}function Iie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Am(e,t)}function Bie(e,t){return t&&(Nie(t)==="object"||typeof t=="function")?t:Tie(e)}function Am(e,t){return Am=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Am(e,t)}function Nie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aie(e){var t=Mie();return function(){var r=ms(e),o;if(t){var i=ms(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Bie(this,o)}}var kie=function(e){Iie(n,e);var t=Aie(n);function n(r){Sie(this,n);var o,i;return o=t.call(this,r),o.children=((i=r)===null||i===void 0?void 0:i.children)||[new xg({props:new Yn({span:12})}),new xg({props:new Yn({span:12})})],o}return Eie(n,null,[{key:"controlType",get:function(){return"toolbox"}}]),n}(fe),hN={Designer:dN,Runtime:kie,Property:sN};function pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function km(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Os(e)}function Dm(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lm(e,t)}function Die(e,t){return t&&(Lie(t)==="object"||typeof t=="function")?t:pe(e)}function Lm(e,t){return Lm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Lm(e,t)}function Lie(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 jm(e){var t=jie();return function(){var r=Os(e),o;if(t){var i=Os(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Die(this,o)}}var ws;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(ws||(ws={}));var Fie=function(e){Dm(n,e);var t=jm(n);function n(r){km(this,n);var o;return o=t.call(this,r),o.push({type:"object",fields:{}}),o}return n}(an),Cie=function(e){Dm(n,e);var t=jm(n);function n(r){km(this,n);var o;if(o=t.call(this,r),_e(pe(o),"triggerFieldCode",{type:"any"}),_e(pe(o),"datasourceBind",{type:"any"}),_e(pe(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),r.triggerType===ws.CLICK_CELL&&r.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")}),r.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:w.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:w.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:w.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:w.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),nu.call(pe(o),{optionConfig:"datasource",datasourceBind:r.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 n}(ye),Ei=function(e){Dm(n,e);var t=jm(n);function n(r){km(this,n);var o,i,u,f,a,l,s,p,_,y,v,h,b,d,g,m,O;o=t.call(this,r),_e(pe(o),"datasourceBind",void 0),_e(pe(o),"isLoading",void 0),_e(pe(o),"isShowSubList",void 0),_e(pe(o),"triggerType",void 0),_e(pe(o),"triggerFieldCode",void 0),_e(pe(o),"sublistPage",void 0),_e(pe(o),"isShowJoinRelation",void 0),_e(pe(o),"joinRelation",void 0),_e(pe(o),"showType",void 0),_e(pe(o),"showFullScreen",void 0),_e(pe(o),"isFixedHeader",void 0),_e(pe(o),"selectionType",void 0),_e(pe(o),"isShowSelection",void 0),_e(pe(o),"isAllLoaded",void 0),_e(pe(o),"countType",void 0),_e(pe(o),"countLimit",void 0),o.datasourceBind=new de((i=r)===null||i===void 0?void 0:i.datasourceBind);var $;o.isLoading=($=(u=r)===null||u===void 0?void 0:u.isLoading)!==null&&$!==void 0?$:!1;var T;o.isShowSubList=(T=(f=r)===null||f===void 0?void 0:f.isShowSubList)!==null&&T!==void 0?T:!1;var R;o.triggerType=(R=(a=r)===null||a===void 0?void 0:a.triggerType)!==null&&R!==void 0?R:ws.CLICK_ROW;var S;o.triggerFieldCode=(S=(l=r)===null||l===void 0?void 0:l.triggerFieldCode)!==null&&S!==void 0?S:"",o.sublistPage=new EP((s=r)===null||s===void 0?void 0:s.sublistPage);var I;o.isShowJoinRelation=(I=(p=r)===null||p===void 0?void 0:p.isShowJoinRelation)!==null&&I!==void 0?I:!1,o.joinRelation=new BP((_=r)===null||_===void 0?void 0:_.joinRelation);var E;o.showType=(E=(y=r)===null||y===void 0?void 0:y.showType)!==null&&E!==void 0?E:"stretch";var N;o.showFullScreen=(N=(v=r)===null||v===void 0?void 0:v.showFullScreen)!==null&&N!==void 0?N:!1;var B;o.selectionType=(B=(h=r)===null||h===void 0?void 0:h.selectionType)!==null&&B!==void 0?B:"multiple";var A;o.isFixedHeader=(A=(b=r)===null||b===void 0?void 0:b.isFixedHeader)!==null&&A!==void 0?A:!1;var M;o.isShowSelection=(M=(d=r)===null||d===void 0?void 0:d.isShowSelection)!==null&&M!==void 0?M:!1;var j;o.isAllLoaded=(j=(g=r)===null||g===void 0?void 0:g.isAllLoaded)!==null&&j!==void 0?j:!0,o.countType=(m=r)===null||m===void 0?void 0:m.countType;var D;return o.countLimit=(D=(O=r)===null||O===void 0?void 0:O.countLimit)!==null&&D!==void 0?D:1e5,o}return n}(Q);_e(Ei,"Rules",Cie),_e(Ei,"RuntimeRules",Fie);function bN(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 gN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vie(e,t,n){return t&&gN(e.prototype,t),n&&gN(e,n),e}function Ps(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $s(e){return $s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$s(e)}function zie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fm(e,t)}function Gie(e,t){return t&&(Yie(t)==="object"||typeof t=="function")?t:bN(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Fm(e,t)}function Yie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qie(e){var t=Hie();return function(){var r=$s(e),o;if(t){var i=$s(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Gie(this,o)}}var Rs=function(e){zie(n,e);var t=qie(n);function n(r){xie(this,n);var o,i;return o=t.call(this,r),Ps(bN(o),"props",void 0),o.props=new Ei((i=r)===null||i===void 0?void 0:i.props),o}return Vie(n,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),n}(te);Ps(Rs,"excludes",[c.CONTROL_TYPE.ROW]),Ps(Rs,"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"]),Ps(Rs,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}]);function mN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ON(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wie(e,t,n){return t&&ON(e.prototype,t),n&&ON(e,n),e}function Kie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ts(e){return Ts=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ts(e)}function Xie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cm(e,t)}function Jie(e,t){return t&&(Qie(t)==="object"||typeof t=="function")?t:mN(e)}function Cm(e,t){return Cm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Cm(e,t)}function Qie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eue(e){var t=Zie();return function(){var r=Ts(e),o;if(t){var i=Ts(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Jie(this,o)}}var tue=function(e){Xie(n,e);var t=eue(n);function n(r){Uie(this,n);var o,i;return o=t.call(this,r),Kie(mN(o),"props",void 0),o.props=new Ei((i=r)===null||i===void 0?void 0:i.props),o}return Wie(n,null,[{key:"controlType",get:function(){return"list-view"}}]),n}(fe),xm={Designer:Rs,Runtime:tue,Property:Ei};function Tn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ss(e){return Ss=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ss(e)}function PN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nue(e,t){return t&&(rue(t)==="object"||typeof t=="function")?t:Tn(e)}function Vm(e,t){return Vm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Vm(e,t)}function rue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $N(e){var t=oue();return function(){var r=Ss(e),o;if(t){var i=Ss(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return nue(this,o)}}var iue=function(e){PN(n,e);var t=$N(n);function n(r){wN(this,n);var o;return o=t.call(this,r),o.push({type:"object",fields:{}}),o}return n}(an),Es=function(e){PN(n,e);var t=$N(n);function n(r){wN(this,n);var o,i,u,f,a,l,s,p;o=t.call(this,r),Sn(Tn(o),"save",void 0),Sn(Tn(o),"cancel",void 0),Sn(Tn(o),"saveAs",void 0),Sn(Tn(o),"print",void 0),Sn(Tn(o),"custom",void 0),Sn(Tn(o),"isLoading",void 0),Sn(Tn(o),"datasourceBind",void 0);var _;o.save=new Yt((_=(i=r)===null||i===void 0?void 0:i.save)!==null&&_!==void 0?_:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var y;o.cancel=new Yt((y=(u=r)===null||u===void 0?void 0:u.cancel)!==null&&y!==void 0?y:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var v;o.saveAs=new Yt((v=(f=r)===null||f===void 0?void 0:f.saveAs)!==null&&v!==void 0?v:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var h;o.print=new Yt((h=(a=r)===null||a===void 0?void 0:a.print)!==null&&h!==void 0?h:{content:"\u6253\u5370",type:"print",isShow:!1});var b;o.custom=((b=(l=r)===null||l===void 0?void 0:l.custom)!==null&&b!==void 0?b:[]).map(function(g){return new Yt(g)});var d;return o.isLoading=(d=(s=r)===null||s===void 0?void 0:s.isLoading)!==null&&d!==void 0?d:!1,o.datasourceBind=new de((p=r)===null||p===void 0?void 0:p.datasourceBind),o}return n}(Q);Sn(Es,"RuntimeRules",iue);function RN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cue(e,t,n){return t&&TN(e.prototype,t),n&&TN(e,n),e}function SN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Is(e){return Is=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Is(e)}function fue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zm(e,t)}function lue(e,t){return t&&(aue(t)==="object"||typeof t=="function")?t:RN(e)}function zm(e,t){return zm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},zm(e,t)}function aue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pue(e){var t=sue();return function(){var r=Is(e),o;if(t){var i=Is(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return lue(this,o)}}var EN=function(e){fue(n,e);var t=pue(n);function n(r){uue(this,n);var o,i;return o=t.call(this,r),SN(RN(o),"props",void 0),o.props=new Es((i=r)===null||i===void 0?void 0:i.props),o}return cue(n,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),n}(te);SN(EN,"excludes",[]);function IN(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 BN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yue(e,t,n){return t&&BN(e.prototype,t),n&&BN(e,n),e}function due(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bs(e){return Bs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bs(e)}function vue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hue(e,t){return t&&(bue(t)==="object"||typeof t=="function")?t:IN(e)}function Gm(e,t){return Gm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Gm(e,t)}function bue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mue(e){var t=gue();return function(){var r=Bs(e),o;if(t){var i=Bs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return hue(this,o)}}var Oue=function(e){vue(n,e);var t=mue(n);function n(r){_ue(this,n);var o,i;return o=t.call(this,r),due(IN(o),"props",void 0),o.props=new Es((i=r)===null||i===void 0?void 0:i.props),o}return yue(n,null,[{key:"controlType",get:function(){return"data-view"}}]),n}(fe),Ym={Designer:EN,Runtime:Oue,Property:Es};function wue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $ue(e,t,n){return t&&NN(e.prototype,t),n&&NN(e,n),e}function Ns(e){return Ns=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ns(e)}function Rue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tue(e,t){return t&&(Sue(t)==="object"||typeof t=="function")?t:wue(e)}function Hm(e,t){return Hm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Hm(e,t)}function Sue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iue(e){var t=Eue();return function(){var r=Ns(e),o;if(t){var i=Ns(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Tue(this,o)}}var Bue=function(e){Rue(n,e);var t=Iue(n);function n(r){return Pue(this,n),t.call(this,r)}return $ue(n,null,[{key:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),n}(te);function Nue(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 MN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Aue(e,t,n){return t&&MN(e.prototype,t),n&&MN(e,n),e}function Ms(e){return Ms=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ms(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&&qm(e,t)}function Due(e,t){return t&&(Lue(t)==="object"||typeof t=="function")?t:Nue(e)}function qm(e,t){return qm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},qm(e,t)}function Lue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jue();return function(){var r=Ms(e),o;if(t){var i=Ms(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Due(this,o)}}var Cue=function(e){kue(n,e);var t=Fue(n);function n(r){return Mue(this,n),t.call(this,r)}return Aue(n,null,[{key:"controlType",get:function(){return"page"}}]),n}(fe);function Ur(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 Ii(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function As(e){return As=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},As(e)}function Vue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zue(e,t){return t&&(Gue(t)==="object"||typeof t=="function")?t:Ur(e)}function Um(e,t){return Um=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Um(e,t)}function Gue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hue(e){var t=Yue();return function(){var r=As(e),o;if(t){var i=As(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zue(this,o)}}var que=function(e){Vue(n,e);var t=Hue(n);function n(r){xue(this,n);var o,i;o=t.call(this,r),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 u;return o.hideHeader=(u=(i=r)===null||i===void 0?void 0:i.hideHeader)!==null&&u!==void 0?u:!1,o}return n}(Q),AN={Designer:Bue,Runtime:Cue,Property:que};function Uue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Kue(e,t,n){return t&&kN(e.prototype,t),n&&kN(e,n),e}function ks(e){return ks=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ks(e)}function Xue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wm(e,t)}function Jue(e,t){return t&&(Que(t)==="object"||typeof t=="function")?t:Uue(e)}function Wm(e,t){return Wm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Wm(e,t)}function Que(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ece(e){var t=Zue();return function(){var r=ks(e),o;if(t){var i=ks(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Jue(this,o)}}var tce=function(e){Xue(n,e);var t=ece(n);function n(r){return Wue(this,n),t.call(this,r)}return Kue(n,null,[{key:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),n}(te);function nce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oce(e,t,n){return t&&DN(e.prototype,t),n&&DN(e,n),e}function Ds(e){return Ds=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ds(e)}function ice(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Km(e,t)}function uce(e,t){return t&&(cce(t)==="object"||typeof t=="function")?t:nce(e)}function Km(e,t){return Km=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Km(e,t)}function cce(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 lce(e){var t=fce();return function(){var r=Ds(e),o;if(t){var i=Ds(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return uce(this,o)}}var ace=function(e){ice(n,e);var t=lce(n);function n(r){return rce(this,n),t.call(this,r)}return oce(n,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),n}(fe);function Xm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ls(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&&Jm(e,t)}function _ce(e,t){return t&&(yce(t)==="object"||typeof t=="function")?t:Xm(e)}function Jm(e,t){return Jm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Jm(e,t)}function yce(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 vce(e){var t=dce();return function(){var r=Ls(e),o;if(t){var i=Ls(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _ce(this,o)}}var hce=function(e){pce(n,e);var t=vce(n);function n(r){sce(this,n);var o,i,u;return o=t.call(this,r),LN(Xm(o),"display",void 0),LN(Xm(o),"flexConfig",void 0),o.display=((i=r)===null||i===void 0?void 0:i.display)||"flex",o.flexConfig=new eR((u=r)===null||u===void 0?void 0:u.flexConfig),o}return n}(Q),jN={Designer:tce,Runtime:ace,Property:hce};function bce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mce(e,t,n){return t&&FN(e.prototype,t),n&&FN(e,n),e}function js(e){return js=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},js(e)}function Oce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qm(e,t)}function wce(e,t){return t&&(Pce(t)==="object"||typeof t=="function")?t:bce(e)}function Qm(e,t){return Qm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Qm(e,t)}function Pce(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 Rce(e){var t=$ce();return function(){var r=js(e),o;if(t){var i=js(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return wce(this,o)}}var Tce=function(e){Oce(n,e);var t=Rce(n);function n(r){return gce(this,n),t.call(this,r)}return mce(n,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),n}(te);function Sce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ece(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ice(e,t,n){return t&&CN(e.prototype,t),n&&CN(e,n),e}function Fs(e){return Fs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fs(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&&Zm(e,t)}function Nce(e,t){return t&&(Mce(t)==="object"||typeof t=="function")?t:Sce(e)}function Zm(e,t){return Zm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Zm(e,t)}function Mce(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 kce(e){var t=Ace();return function(){var r=Fs(e),o;if(t){var i=Fs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Nce(this,o)}}var Dce=function(e){Bce(n,e);var t=kce(n);function n(r){return Ece(this,n),t.call(this,r)}return Ice(n,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),n}(fe);function Lce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cs(e){return Cs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cs(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&&e0(e,t)}function Cce(e,t){return t&&(xce(t)==="object"||typeof t=="function")?t:Lce(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},e0(e,t)}function xce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zce(e){var t=Vce();return function(){var r=Cs(e),o;if(t){var i=Cs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Cce(this,o)}}var Gce=function(e){Fce(n,e);var t=zce(n);function n(r){return jce(this,n),t.call(this,r)}return n}(Q),xN={Designer:Tce,Runtime:Dce,Property:Gce};function Yce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qce(e,t,n){return t&&VN(e.prototype,t),n&&VN(e,n),e}function xs(e){return xs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xs(e)}function Uce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t0(e,t)}function Wce(e,t){return t&&(Kce(t)==="object"||typeof t=="function")?t:Yce(e)}function t0(e,t){return t0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},t0(e,t)}function Kce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jce(e){var t=Xce();return function(){var r=xs(e),o;if(t){var i=xs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Wce(this,o)}}var Qce=function(e){Uce(n,e);var t=Jce(n);function n(r){return Hce(this,n),t.call(this,r)}return qce(n,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),n}(te);function Zce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function efe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tfe(e,t,n){return t&&zN(e.prototype,t),n&&zN(e,n),e}function Vs(e){return Vs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vs(e)}function nfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function rfe(e,t){return t&&(ofe(t)==="object"||typeof t=="function")?t:Zce(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},n0(e,t)}function ofe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ife(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ufe(e){var t=ife();return function(){var r=Vs(e),o;if(t){var i=Vs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return rfe(this,o)}}var cfe=function(e){nfe(n,e);var t=ufe(n);function n(r){return efe(this,n),t.call(this,r)}return tfe(n,null,[{key:"controlType",get:function(){return"position"}}]),n}(fe);function Bi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ffe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gs(e){return Gs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gs(e)}function lfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r0(e,t)}function afe(e,t){return t&&(sfe(t)==="object"||typeof t=="function")?t:Bi(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},r0(e,t)}function sfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _fe(e){var t=pfe();return function(){var r=Gs(e),o;if(t){var i=Gs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return afe(this,o)}}var yfe=function(e){lfe(n,e);var t=_fe(n);function n(r){ffe(this,n);var o,i,u,f,a;o=t.call(this,r),zs(Bi(o),"widthSpan",void 0),zs(Bi(o),"heightSpan",void 0),zs(Bi(o),"left",void 0),zs(Bi(o),"top",void 0);var l;o.widthSpan=(l=(i=r)===null||i===void 0?void 0:i.widthSpan)!==null&&l!==void 0?l:12;var s;o.heightSpan=(s=(u=r)===null||u===void 0?void 0:u.heightSpan)!==null&&s!==void 0?s:12;var p;o.left=(p=(f=r)===null||f===void 0?void 0:f.left)!==null&&p!==void 0?p:0;var _;return o.top=(_=(a=r)===null||a===void 0?void 0:a.top)!==null&&_!==void 0?_:0,o}return n}(Q),GN={Designer:Qce,Runtime:cfe,Property:yfe};function Ys(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hs(e)}function vfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i0(e,t)}function hfe(e,t){return t&&(bfe(t)==="object"||typeof t=="function")?t:Ys(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},i0(e,t)}function bfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mfe(e){var t=gfe();return function(){var r=Hs(e),o;if(t){var i=Hs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return hfe(this,o)}}var u0=function(e){vfe(n,e);var t=mfe(n);function n(r){dfe(this,n);var o,i,u,f;o=t.call(this,r),o0(Ys(o),"position",void 0),o0(Ys(o),"opacity",void 0),o0(Ys(o),"align",void 0);var a;o.position=(a=(i=r)===null||i===void 0?void 0:i.position)!==null&&a!==void 0?a:"bottom";var l;o.opacity=(l=(u=r)===null||u===void 0?void 0:u.opacity)!==null&&l!==void 0?l:!0;var s;return o.align=(s=(f=r)===null||f===void 0?void 0:f.align)!==null&&s!==void 0?s:"right",o}return n}(Q);function YN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ofe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wfe(e,t,n){return t&&HN(e.prototype,t),n&&HN(e,n),e}function c0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qs(e){return qs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qs(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&&f0(e,t)}function $fe(e,t){return t&&(Rfe(t)==="object"||typeof t=="function")?t:YN(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},f0(e,t)}function Rfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sfe(e){var t=Tfe();return function(){var r=qs(e),o;if(t){var i=qs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return $fe(this,o)}}var l0=function(e){Pfe(n,e);var t=Sfe(n);function n(r){Ofe(this,n);var o,i;o=t.call(this,r),c0(YN(o),"props",void 0);var u;return o.props=new u0((u=(i=r)===null||i===void 0?void 0:i.props)!==null&&u!==void 0?u:{}),o}return wfe(n,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"}}]),n}(te);c0(l0,"excludes",[]),c0(l0,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function qN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Efe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ife(e,t,n){return t&&UN(e.prototype,t),n&&UN(e,n),e}function Bfe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Us(e){return Us=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Us(e)}function Nfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a0(e,t)}function Mfe(e,t){return t&&(Afe(t)==="object"||typeof t=="function")?t:qN(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},a0(e,t)}function Afe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dfe(e){var t=kfe();return function(){var r=Us(e),o;if(t){var i=Us(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Mfe(this,o)}}var Lfe=function(e){Nfe(n,e);var t=Dfe(n);function n(r){Efe(this,n);var o,i;o=t.call(this,r),Bfe(qN(o),"props",void 0);var u;return o.props=new u0((u=(i=r)===null||i===void 0?void 0:i.props)!==null&&u!==void 0?u:{}),o}return Ife(n,null,[{key:"controlType",get:function(){return"action-bar"}}]),n}(fe),WN={Designer:l0,Runtime:Lfe,Property:u0},jfe=Object.freeze({__proto__:null,Grid:uB,Col:Da,Row:bB,GridRow:Xg,CardGroup:EB,SubTableColumn:im,SubTableRow:CB,GridTableColumn:YB,GridLayoutContainer:XB,Tab:aN,TabPane:iN,Toolbox:hN,ListView:xm,DataView:Ym,Page:AN,AdvancedContainer:jN,PositioningContainer:xN,Position:GN,ActionBar:WN});function C(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ws(e){return Ws=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ws(e)}function p0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_0(e,t)}function Ffe(e,t){return t&&(Cfe(t)==="object"||typeof t=="function")?t:C(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_0(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 y0(e){var t=xfe();return function(){var r=Ws(e),o;if(t){var i=Ws(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Ffe(this,o)}}var Vfe=function(e){p0(n,e);var t=y0(n);function n(r){s0(this,n);var o;return o=t.call(this,r),F(C(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),F(C(o),"limitRows",[{type:"number",required:!0,message:w.getMessage("isNotNumber")},{type:"number",min:0,message:w.getMessage("limitRowsCannotBeLessThan0")}]),F(C(o),"formKey",{type:"string",required:!1,message:w.getMessage("pleaseEnterForm")}),F(C(o),"maxHeight",{type:"number",required:!0,message:w.getMessage("pleaseEnterMaxHeight")}),F(C(o),"captionTip",{type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")}),F(C(o),"mobileRowCaption",{type:"string",required:!1,message:w.getMessage("pleaseEnterRowCaption")}),r.openType==="modal"&&(o.formKey.required=!0),r.isShowCaptionTip&&(o.captionTip.required=!0),r.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return n}(ye),zfe=function(e){p0(n,e);var t=y0(n);function n(r){s0(this,n);var o;return o=t.call(this,r),r.isHide||o.push({type:"array",required:r.limitRows>0,message:w.getMessage("runtimeRequired",{caption:r.caption})},{type:"array",validator:function(u,f,a){f.length<r.limitRows&&a(w.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:r.limitRows})),a()},message:w.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:r.limitRows})}),o}return n}(an),Ni=function(e){p0(n,e);var t=y0(n);function n(r,o){s0(this,n);var i,u,f,a,l,s,p,_,y,v,h,b,d,g,m,O,$,T,R,S,I,E,N,B,A,M,j,D,Y,W,X;i=t.call(this,r,o,n.mode),F(C(i),"caption",void 0),F(C(i),"labelPosition",void 0),F(C(i),"isHideCaption",void 0),F(C(i),"isShowCaptionTip",void 0),F(C(i),"captionTip",void 0),F(C(i),"defaultState",void 0),F(C(i),"limitRows",void 0),F(C(i),"maxRows",void 0),F(C(i),"defaultRows",void 0),F(C(i),"datasourceBind",void 0),F(C(i),"printMode",void 0),F(C(i),"openType",void 0),F(C(i),"formKey",void 0),F(C(i),"useCustomHeight",void 0),F(C(i),"maxHeight",void 0),F(C(i),"canAdd",void 0),F(C(i),"canDelete",void 0),F(C(i),"canCheck",void 0),F(C(i),"canEdit",void 0),F(C(i),"canImport",void 0),F(C(i),"canExport",void 0),F(C(i),"canClear",void 0),F(C(i),"isPaste",void 0),F(C(i),"mobileShowType",void 0),F(C(i),"mobileDefaultNum",void 0),F(C(i),"dataStorageDoc",void 0),F(C(i),"serverPagination",void 0),F(C(i),"fixedColumn",void 0),F(C(i),"mobileRowCaption",void 0),F(C(i),"mobileIsTile",void 0);var ie;i.caption=(ie=(u=o)===null||u===void 0?void 0:u.caption)!==null&&ie!==void 0?ie:Xs.controlName;var nt;i.isHideCaption=(nt=(f=o)===null||f===void 0?void 0:f.isHideCaption)!==null&&nt!==void 0?nt:!1;var Ve;i.defaultState=(Ve=(a=o)===null||a===void 0?void 0:a.defaultState)!==null&&Ve!==void 0?Ve:"default";var Tt;i.labelPosition=(Tt=(l=o)===null||l===void 0?void 0:l.labelPosition)!==null&&Tt!==void 0?Tt:"top";var St;i.openType=(St=(s=o)===null||s===void 0?void 0:s.openType)!==null&&St!==void 0?St:"default";var Et;i.formKey=(Et=(p=o)===null||p===void 0?void 0:p.formKey)!==null&&Et!==void 0?Et:"";var on;i.useCustomHeight=(on=(_=o)===null||_===void 0?void 0:_.useCustomHeight)!==null&&on!==void 0?on:!1;var vr;i.maxHeight=(vr=(y=o)===null||y===void 0?void 0:y.maxHeight)!==null&&vr!==void 0?vr:Q$;var hr;i.printMode=(hr=(v=o)===null||v===void 0?void 0:v.printMode)!==null&&hr!==void 0?hr:"row";var Vi;i.limitRows=(Vi=(h=o)===null||h===void 0?void 0:h.limitRows)!==null&&Vi!==void 0?Vi:1;var br;i.maxRows=(br=(b=o)===null||b===void 0?void 0:b.maxRows)!==null&&br!==void 0?br:null;var Bw;i.defaultRows=(Bw=(d=o)===null||d===void 0?void 0:d.defaultRows)!==null&&Bw!==void 0?Bw:1,i.datasourceBind=new de((g=o)===null||g===void 0?void 0:g.datasourceBind);var Nw;i.canAdd=(Nw=(m=o)===null||m===void 0?void 0:m.canAdd)!==null&&Nw!==void 0?Nw:!0;var Mw;i.canDelete=(Mw=(O=o)===null||O===void 0?void 0:O.canDelete)!==null&&Mw!==void 0?Mw:!0;var Aw;i.canCheck=(Aw=($=o)===null||$===void 0?void 0:$.canCheck)!==null&&Aw!==void 0?Aw:!1;var kw;i.canEdit=(kw=(T=o)===null||T===void 0?void 0:T.canEdit)!==null&&kw!==void 0?kw:!1;var Dw;i.canImport=(Dw=(R=o)===null||R===void 0?void 0:R.canImport)!==null&&Dw!==void 0?Dw:!1;var Lw;i.canExport=(Lw=(S=o)===null||S===void 0?void 0:S.canExport)!==null&&Lw!==void 0?Lw:!1;var jw;i.canClear=(jw=(I=o)===null||I===void 0?void 0:I.canClear)!==null&&jw!==void 0?jw:!0;var Fw;i.serverPagination=(Fw=(E=o)===null||E===void 0?void 0:E.serverPagination)!==null&&Fw!==void 0?Fw:!1;var Cw;i.isShowCaptionTip=(Cw=(N=o)===null||N===void 0?void 0:N.isShowCaptionTip)!==null&&Cw!==void 0?Cw:!1;var xw;i.captionTip=(xw=(B=o)===null||B===void 0?void 0:B.captionTip)!==null&&xw!==void 0?xw:"";var Vw;i.mobileShowType=(Vw=(A=o)===null||A===void 0?void 0:A.mobileShowType)!==null&&Vw!==void 0?Vw:"list";var zw;i.mobileDefaultNum=(zw=(M=o)===null||M===void 0?void 0:M.mobileDefaultNum)!==null&&zw!==void 0?zw:10;var Gw;i.dataStorageDoc=(Gw=(j=o)===null||j===void 0?void 0:j.dataStorageDoc)!==null&&Gw!==void 0?Gw:new PP;var Yw;i.fixedColumn=(Yw=(D=o)===null||D===void 0?void 0:D.fixedColumn)!==null&&Yw!==void 0?Yw:[];var Hw;i.mobileRowCaption=(Hw=(Y=o)===null||Y===void 0?void 0:Y.mobileRowCaption)!==null&&Hw!==void 0?Hw:"\u660E\u7EC6";var qw;i.mobileIsTile=(qw=(W=o)===null||W===void 0?void 0:W.mobileIsTile)!==null&&qw!==void 0?qw:!1;var Uw;return i.isPaste=(Uw=(X=o)===null||X===void 0?void 0:X.isPaste)!==null&&Uw!==void 0?Uw:!1,i}return n}(Mo);F(Ni,"Rules",Vfe),F(Ni,"RuntimeRules",zfe);function d0(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 KN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yfe(e,t,n){return t&&KN(e.prototype,t),n&&KN(e,n),e}function v0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ks(e){return Ks=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ks(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&&h0(e,t)}function qfe(e,t){return t&&(Ufe(t)==="object"||typeof t=="function")?t:d0(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},h0(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 r=Ks(e),o;if(t){var i=Ks(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return qfe(this,o)}}var Xs=function(e){Hfe(n,e);var t=Kfe(n);function n(r){Gfe(this,n);var o,i,u,f,a,l;return o=t.call(this,r),v0(d0(o),"props",void 0),o.props=new Ni(d0(o),(i=r)===null||i===void 0?void 0:i.props),((f=r)===null||f===void 0||(u=f.props)===null||u===void 0?void 0:u.headers)===void 0&&(o.props.headers=[new wt,new wt,new wt]),((l=r)===null||l===void 0||(a=l.props)===null||a===void 0?void 0:a.footers)===void 0&&(o.props.footers=[]),o}return Yfe(n,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new wt,f=typeof o=="number"?o:i;return f===void 0?this.props.headers.push(u):this.props.headers.splice(f,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),n}(vu);v0(Xs,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),v0(Xs,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.IS_PASTE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function b0(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 XN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jfe(e,t,n){return t&&XN(e.prototype,t),n&&XN(e,n),e}function Qfe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Js(e){return Js=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Js(e)}function Zfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g0(e,t)}function ele(e,t){return t&&(tle(t)==="object"||typeof t=="function")?t:b0(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},g0(e,t)}function tle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rle(e){var t=nle();return function(){var r=Js(e),o;if(t){var i=Js(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return ele(this,o)}}var ole=function(e){Zfe(n,e);var t=rle(n);function n(r){Xfe(this,n);var o,i;return o=t.call(this,r),Qfe(b0(o),"props",void 0),o.props=new Ni(b0(o),(i=r)===null||i===void 0?void 0:i.props),o}return Jfe(n,[{key:"getChildrenDataSourceBindLayout",value:function(){cn("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),n}(Ty),JN={Designer:Xs,Runtime:ole,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 ile(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qs(e){return Qs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qs(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&&m0(e,t)}function cle(e,t){return t&&(fle(t)==="object"||typeof t=="function")?t:Wr(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},m0(e,t)}function fle(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 ale(e){var t=lle();return function(){var r=Qs(e),o;if(t){var i=Qs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return cle(this,o)}}var O0=function(e){ule(n,e);var t=ale(n);function n(r,o){ile(this,n);var i,u,f,a,l,s;i=t.call(this,r,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 p;i.isFixedHeader=(p=(u=o)===null||u===void 0?void 0:u.isFixedHeader)!==null&&p!==void 0?p:!1,i.selectionType=(f=o)===null||f===void 0?void 0:f.selectionType;var _;i.isShowToolbar=(_=(a=o)===null||a===void 0?void 0:a.isShowToolbar)!==null&&_!==void 0?_:!0;var y;i.isShowSelection=(y=(l=o)===null||l===void 0?void 0:l.isShowSelection)!==null&&y!==void 0?y:!1;var v;return i.isShowCustomColumns=(v=(s=o)===null||s===void 0?void 0:s.isShowCustomColumns)!==null&&v!==void 0?v:!0,i}return n}(Mo);function sle(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 ple(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zs(e){return Zs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zs(e)}function ZN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _le(e,t){return t&&(yle(t)==="object"||typeof t=="function")?t:sle(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},w0(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 eM(e){var t=dle();return function(){var r=Zs(e),o;if(t){var i=Zs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _le(this,o)}}var vle=function(e){ZN(n,e);var t=eM(n);function n(r){QN(this,n);var o;return o=t.call(this,r),o.caption.required=!1,o}return n}(Nt),ep=function(e){ZN(n,e);var t=eM(n);function n(r){QN(this,n);var o,i,u,f,a,l,s,p,_;o=t.call(this,r);var y;o.fixed=(y=(i=r)===null||i===void 0?void 0:i.fixed)!==null&&y!==void 0?y:"left";var v;o.caption=(v=(u=r)===null||u===void 0?void 0:u.caption)!==null&&v!==void 0?v:Xn.controlName;var h;o.width=(h=(f=r)===null||f===void 0?void 0:f.width)!==null&&h!==void 0?h:60;var b;o.autoWidth.minWidth=(b=(l=r)===null||l===void 0||(a=l.autoWidth)===null||a===void 0?void 0:a.minWidth)!==null&&b!==void 0?b:60;var d;o.autoWidth.flex=(d=(p=r)===null||p===void 0||(s=p.autoWidth)===null||s===void 0?void 0:s.flex)!==null&&d!==void 0?d:.4;var g;return o.widthType=(g=(_=r)===null||_===void 0?void 0:_.widthType)!==null&&g!==void 0?g:"px",o}return n}(le);ple(ep,"Rules",vle);function tM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ai(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tp(e){return tp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tp(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&&P0(e,t)}function gle(e,t){return t&&(mle(t)==="object"||typeof t=="function")?t:tM(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},P0(e,t)}function mle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ole(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wle(e){var t=Ole();return function(){var r=tp(e),o;if(t){var i=tp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return gle(this,o)}}var Xn=function(e){ble(n,e);var t=wle(n);function n(r){hle(this,n);var o,i;return o=t.call(this,r),Ai(tM(o),"props",void 0),o.props=new ep((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);Ai(Xn,"controlType","order-column"),Ai(Xn,"controlName","\u5E8F\u53F7"),Ai(Xn,"controlIcon","order-column"),Ai(Xn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function nM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ple(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function np(e){return np=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},np(e)}function $le(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rle(e,t){return t&&(Tle(t)==="object"||typeof t=="function")?t:nM(e)}function R0(e,t){return R0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},R0(e,t)}function Tle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ele(e){var t=Sle();return function(){var r=np(e),o;if(t){var i=np(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Rle(this,o)}}var T0=function(e){$le(n,e);var t=Ele(n);function n(r){Ple(this,n);var o,i;return o=t.call(this,r),$0(nM(o),"props",void 0),o.props=new ep((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);$0(T0,"controlType","order-column"),$0(T0,"controlFieldType",c.FieldTypes.DECIMAL);var rM={Designer:Xn,Runtime:T0,Property:ep};function S0(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 oM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rp(e){return rp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rp(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&&E0(e,t)}function Nle(e,t){return t&&(Mle(t)==="object"||typeof t=="function")?t:S0(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},E0(e,t)}function Mle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ale(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kle(e){var t=Ale();return function(){var r=rp(e),o;if(t){var i=rp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Nle(this,o)}}var I0=function(e){Ble(n,e);var t=kle(n);function n(r){Ile(this,n);var o,i,u,f,a,l,s;o=t.call(this,r),oM(S0(o),"showType",void 0),oM(S0(o),"limit",void 0);var p;o.fixed=(p=(i=r)===null||i===void 0?void 0:i.fixed)!==null&&p!==void 0?p:"right",o.widthType="auto";var _;o.autoWidth.minWidth=(_=(f=r)===null||f===void 0||(u=f.autoWidth)===null||u===void 0?void 0:u.minWidth)!==null&&_!==void 0?_:84;var y;o.caption=(y=(a=r)===null||a===void 0?void 0:a.caption)!==null&&y!==void 0?y:Qn.controlName;var v;o.showType=(v=(l=r)===null||l===void 0?void 0:l.showType)!==null&&v!==void 0?v:"icon";var h;return o.limit=(h=(s=r)===null||s===void 0?void 0:s.limit)!==null&&h!==void 0?h:3,o}return n}(le);function op(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iM(e,t,n,r,o,i,u){try{var f=e[i](u),a=f.value}catch(l){n(l);return}f.done?t(a):Promise.resolve(a).then(r,o)}function Dle(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(a){iM(i,r,o,u,f,"next",a)}function f(a){iM(i,r,o,u,f,"throw",a)}u(void 0)})}}function Lle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function jle(e,t,n){return t&&uM(e.prototype,t),n&&uM(e,n),e}function Jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kr(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Kr=Reflect.get:Kr=function(o,i,u){var f=Gle(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Kr(e,t,n||e)}function En(e){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(e)}function Fle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B0(e,t)}function Cle(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Jn(e,o,n[o])})}return e}function xle(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Vle(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xle(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function zle(e,t){return t&&(Yle(t)==="object"||typeof t=="function")?t:op(e)}function B0(e,t){return B0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},B0(e,t)}function Gle(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=En(e),e!==null););return e}function Yle(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 qle(e){var t=Hle();return function(){var r=En(e),o;if(t){var i=En(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zle(this,o)}}function Ule(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Qn=function(e){Fle(n,e);var t=qle(n);function n(r){Lle(this,n);var o,i,u;return o=t.call(this,r),Jn(op(o),"props",void 0),Jn(op(o),"children",void 0),o.props=new I0((i=r)===null||i===void 0?void 0:i.props),dt(op(o),"children",(u=r)===null||u===void 0?void 0:u.children,void 0,"Designer"),o}return jle(n,[{key:"toDataBindModel",value:function(){var o=Kr(En(n.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===rf.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=Kr(En(n.prototype),"toSchema",this).call(this);return Vle(Cle({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,f=this,a=function(){return Kr(En(n.prototype),"validate",u)};return Dle(function(){return Ule(this,function(l){switch(l.label){case 0:return[4,a().call(f,o,i)];case 1:return l.sent(),[4,Promise.all(f.children.map(function(s){return s.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}]),n}(he);Jn(Qn,"controlType","operation-column"),Jn(Qn,"controlName","\u64CD\u4F5C"),Jn(Qn,"controlIcon","operation-column"),Jn(Qn,"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 ip(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 up(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cp(e){return cp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cp(e)}function Kle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N0(e,t)}function Xle(e,t){return t&&(Jle(t)==="object"||typeof t=="function")?t:ip(e)}function N0(e,t){return N0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},N0(e,t)}function Jle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zle(e){var t=Qle();return function(){var r=cp(e),o;if(t){var i=cp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Xle(this,o)}}var M0=function(e){Kle(n,e);var t=Zle(n);function n(r){Wle(this,n);var o,i,u;return o=t.call(this,r),up(ip(o),"props",void 0),up(ip(o),"children",void 0),o.props=new I0((i=r)===null||i===void 0?void 0:i.props),dt(ip(o),"children",(u=r)===null||u===void 0?void 0:u.children,void 0,"Runtime"),o}return n}(be);up(M0,"controlType","operation-column"),up(M0,"controlFieldType",c.FieldTypes.FILE);var cM={Designer:Qn,Runtime:M0,Property:I0};function ki(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fM(e,t,n,r,o,i,u){try{var f=e[i](u),a=f.value}catch(l){n(l);return}f.done?t(a):Promise.resolve(a).then(r,o)}function eae(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(a){fM(i,r,o,u,f,"next",a)}function f(a){fM(i,r,o,u,f,"throw",a)}u(void 0)})}}function tae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nae(e,t,n){return t&&lM(e.prototype,t),n&&lM(e,n),e}function fp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Di(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Di=Reflect.get:Di=function(o,i,u){var f=fae(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Di(e,t,n||e)}function Zn(e){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(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&&A0(e,t)}function oae(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){fp(e,o,n[o])})}return e}function iae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function uae(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):iae(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function cae(e,t){return t&&(lae(t)==="object"||typeof t=="function")?t:ki(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},A0(e,t)}function fae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Zn(e),e!==null););return e}function lae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sae(e){var t=aae();return function(){var r=Zn(e),o;if(t){var i=Zn(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return cae(this,o)}}function pae(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var aM=function(e){rae(n,e);var t=sae(n);function n(r){tae(this,n);var o,i,u,f,a,l;return o=t.call(this,r),fp(ki(o),"props",void 0),fp(ki(o),"children",void 0),o.props=new O0(ki(o),(i=r)===null||i===void 0?void 0:i.props),dt(ki(o),"children",(u=r)===null||u===void 0?void 0:u.children,void 0,"Designer"),((f=r)===null||f===void 0?void 0:f.props.headers)===void 0&&(o.props.headers=[new Xn,new Qn]),((l=r)===null||l===void 0||(a=l.props)===null||a===void 0?void 0:a.footers)===void 0&&(o.props.footers=[]),o}return nae(n,[{key:"toSchema",value:function(){var o=Di(Zn(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return uae(oae({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,f=this,a=function(){return Di(Zn(n.prototype),"validate",u)};return eae(function(){return pae(this,function(l){switch(l.label){case 0:return[4,a().call(f,o,i)];case 1:return l.sent(),[4,Promise.all(f.children.map(function(s){return s.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(vu);fp(aM,"setting",[{key:"list-fixed-header",visible:!0}]);function k0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yae(e,t,n){return t&&sM(e.prototype,t),n&&sM(e,n),e}function dae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lp(e){return lp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lp(e)}function vae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D0(e,t)}function hae(e,t){return t&&(bae(t)==="object"||typeof t=="function")?t:k0(e)}function D0(e,t){return D0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},D0(e,t)}function bae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mae(e){var t=gae();return function(){var r=lp(e),o;if(t){var i=lp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return hae(this,o)}}var Oae=function(e){vae(n,e);var t=mae(n);function n(r){_ae(this,n);var o,i;return o=t.call(this,r),dae(k0(o),"props",void 0),o.props=new O0(k0(o),(i=r)===null||i===void 0?void 0:i.props),o}return yae(n,[{key:"getChildrenDataSourceBindLayout",value:function(){cn("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}},{key:"getCheckboxProps",value:function(o){return{}}}],[{key:"controlType",get:function(){return"grid-table"}}]),n}(Ty),pM={Designer:aM,Runtime:Oae,Property:O0},wae=Object.freeze({__proto__:null,SubTable:JN,GridTable:pM});function In(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 er(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ap(e){return ap=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ap(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&&L0(e,t)}function Pae(e,t){return t&&($ae(t)==="object"||typeof t=="function")?t:In(e)}function L0(e,t){return L0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},L0(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 dM(e){var t=Rae();return function(){var r=ap(e),o;if(t){var i=ap(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Pae(this,o)}}var Tae=function(e){yM(n,e);var t=dM(n);function n(r){_M(this,n);var o;return o=t.call(this,r),dn.call(In(o),r),o}return n}(Ny),sp=function(e){yM(n,e);var t=dM(n);function n(r){_M(this,n);var o,i,u,f,a,l,s,p;o=t.call(this,r),er(In(o),"optionConfig",void 0),er(In(o),"datasourceBind",void 0),er(In(o),"showLinkOperation",void 0),er(In(o),"linkOperationOption",void 0),er(In(o),"options",void 0),er(In(o),"lineEllipsis",void 0);var _;o.caption=(_=(i=r)===null||i===void 0?void 0:i.caption)!==null&&_!==void 0?_:tr.controlName;var y;o.optionConfig=(y=(u=r)===null||u===void 0?void 0:u.optionConfig)!==null&&y!==void 0?y:"none",o.datasourceBind=new de((f=r)===null||f===void 0?void 0:f.datasourceBind);var v;o.options=It((v=(a=r)===null||a===void 0?void 0:a.options)!==null&&v!==void 0?v:[{}]);var h;o.showLinkOperation=(h=(l=r)===null||l===void 0?void 0:l.showLinkOperation)!==null&&h!==void 0?h:!1,o.linkOperationOption=new Gt((s=r)===null||s===void 0?void 0:s.linkOperationOption);var b;return o.lineEllipsis=(b=(p=r)===null||p===void 0?void 0:p.lineEllipsis)!==null&&b!==void 0?b:1,o}return n}(le);er(sp,"Rules",Tae);function vM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pp(e){return pp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pp(e)}function Eae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Iae(e,t){return t&&(Bae(t)==="object"||typeof t=="function")?t:vM(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},j0(e,t)}function Bae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mae(e){var t=Nae();return function(){var r=pp(e),o;if(t){var i=pp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Iae(this,o)}}var tr=function(e){Eae(n,e);var t=Mae(n);function n(r){Sae(this,n);var o,i;return o=t.call(this,r),Xr(vM(o),"props",void 0),o.props=new sp((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);Xr(tr,"controlType","varchar-column"),Xr(tr,"controlName","\u77ED\u6587\u672C"),Xr(tr,"controlIcon","varchar-column"),Xr(tr,"controlFieldType",c.FieldTypes.VARCHAR),Xr(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-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function hM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _p(e){return _p=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_p(e)}function kae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C0(e,t)}function Dae(e,t){return t&&(Lae(t)==="object"||typeof t=="function")?t:hM(e)}function C0(e,t){return C0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},C0(e,t)}function Lae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fae(e){var t=jae();return function(){var r=_p(e),o;if(t){var i=_p(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Dae(this,o)}}var x0=function(e){kae(n,e);var t=Fae(n);function n(r){Aae(this,n);var o,i;return o=t.call(this,r),F0(hM(o),"props",void 0),o.props=new sp((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);F0(x0,"controlType","varchar-column"),F0(x0,"controlFieldType",c.FieldTypes.VARCHAR);var bM={Designer:tr,Runtime:x0,Property:sp};function Jr(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 Li(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yp(e){return yp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yp(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&&V0(e,t)}function Cae(e,t){return t&&(xae(t)==="object"||typeof t=="function")?t:Jr(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},V0(e,t)}function xae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OM(e){var t=Vae();return function(){var r=yp(e),o;if(t){var i=yp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Cae(this,o)}}var zae=function(e){mM(n,e);var t=OM(n);function n(r){gM(this,n);var o;return o=t.call(this,r),dn.call(Jr(o),r),o}return n}(Nt),dp=function(e){mM(n,e);var t=OM(n);function n(r){gM(this,n);var o,i,u,f,a,l;o=t.call(this,r),Li(Jr(o),"escapeHTML",void 0),Li(Jr(o),"showLinkOperation",void 0),Li(Jr(o),"linkOperationOption",void 0),Li(Jr(o),"lineEllipsis",void 0);var s;o.escapeHTML=(s=(i=r)===null||i===void 0?void 0:i.escapeHTML)!==null&&s!==void 0?s:!0;var p;o.caption=(p=(u=r)===null||u===void 0?void 0:u.caption)!==null&&p!==void 0?p:nr.controlName;var _;o.lineEllipsis=(_=(f=r)===null||f===void 0?void 0:f.lineEllipsis)!==null&&_!==void 0?_:1;var y;return o.showLinkOperation=(y=(a=r)===null||a===void 0?void 0:a.showLinkOperation)!==null&&y!==void 0?y:!1,o.linkOperationOption=new Gt((l=r)===null||l===void 0?void 0:l.linkOperationOption),o}return n}(le);Li(dp,"Rules",zae);function wM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yae(e,t,n){return t&&PM(e.prototype,t),n&&PM(e,n),e}function Qr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vp(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?vp=Reflect.get:vp=function(o,i,u){var f=Uae(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},vp(e,t,n||e)}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zr(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&&z0(e,t)}function qae(e,t){return t&&(Wae(t)==="object"||typeof t=="function")?t:wM(e)}function z0(e,t){return z0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},z0(e,t)}function Uae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Zr(e),e!==null););return e}function Wae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xae(e){var t=Kae();return function(){var r=Zr(e),o;if(t){var i=Zr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return qae(this,o)}}var nr=function(e){Hae(n,e);var t=Xae(n);function n(r){Gae(this,n);var o,i;return o=t.call(this,r),Qr(wM(o),"props",void 0),o.props=new dp((i=r)===null||i===void 0?void 0:i.props),o}return Yae(n,[{key:"toDataBindModel",value:function(o){var i=vp(Zr(n.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),n}(he);Qr(nr,"controlType","text-column"),Qr(nr,"controlName","\u957F\u6587\u672C"),Qr(nr,"controlIcon","text-column"),Qr(nr,"controlFieldType",c.FieldTypes.TEXT),Qr(nr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-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 $M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hp(e){return hp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hp(e)}function Qae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zae(e,t){return t&&(ese(t)==="object"||typeof t=="function")?t:$M(e)}function Y0(e,t){return Y0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Y0(e,t)}function ese(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nse(e){var t=tse();return function(){var r=hp(e),o;if(t){var i=hp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Zae(this,o)}}var H0=function(e){Qae(n,e);var t=nse(n);function n(r){Jae(this,n);var o,i;return o=t.call(this,r),G0($M(o),"props",void 0),o.props=new dp((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);G0(H0,"controlType","text-column"),G0(H0,"controlFieldType",c.FieldTypes.TEXT);var RM={Designer:nr,Runtime:H0,Property:dp};function xt(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 rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bp(e){return bp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bp(e)}function SM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q0(e,t)}function rse(e,t){return t&&(ose(t)==="object"||typeof t=="function")?t:xt(e)}function q0(e,t){return q0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},q0(e,t)}function ose(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ise(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EM(e){var t=ise();return function(){var r=bp(e),o;if(t){var i=bp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return rse(this,o)}}var use=function(e){SM(n,e);var t=EM(n);function n(r){TM(this,n);var o;return o=t.call(this,r),dn.call(xt(o),r),o}return n}(Nt),gp=function(e){SM(n,e);var t=EM(n);function n(r){TM(this,n);var o,i,u,f,a,l,s,p,_,y;o=t.call(this,r),rn(xt(o),"optionConfig",void 0),rn(xt(o),"datasourceBind",void 0),rn(xt(o),"showLinkOperation",void 0),rn(xt(o),"linkOperationOption",void 0),rn(xt(o),"options",void 0),rn(xt(o),"precision",void 0),rn(xt(o),"micrometer",void 0),rn(xt(o),"percentageFormat",void 0);var v;o.caption=(v=(i=r)===null||i===void 0?void 0:i.caption)!==null&&v!==void 0?v:rr.controlName;var h;o.precision=(h=(u=r)===null||u===void 0?void 0:u.precision)!==null&&h!==void 0?h:0;var b;o.micrometer=(b=(f=r)===null||f===void 0?void 0:f.micrometer)!==null&&b!==void 0?b:!1;var d;o.percentageFormat=(d=(a=r)===null||a===void 0?void 0:a.percentageFormat)!==null&&d!==void 0?d:!1;var g;o.optionConfig=(g=(l=r)===null||l===void 0?void 0:l.optionConfig)!==null&&g!==void 0?g:"none",o.datasourceBind=new de((s=r)===null||s===void 0?void 0:s.datasourceBind);var m;o.options=It((m=(p=r)===null||p===void 0?void 0:p.options)!==null&&m!==void 0?m:[{}]);var O;return o.showLinkOperation=(O=(_=r)===null||_===void 0?void 0:_.showLinkOperation)!==null&&O!==void 0?O:!1,o.linkOperationOption=new Gt((y=r)===null||y===void 0?void 0:y.linkOperationOption),o}return n}(le);rn(gp,"Rules",use);function IM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fse(e,t,n){return t&&BM(e.prototype,t),n&&BM(e,n),e}function eo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mp(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?mp=Reflect.get:mp=function(o,i,u){var f=sse(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},mp(e,t,n||e)}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},to(e)}function lse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U0(e,t)}function ase(e,t){return t&&(pse(t)==="object"||typeof t=="function")?t:IM(e)}function U0(e,t){return U0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},U0(e,t)}function sse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=to(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 yse(e){var t=_se();return function(){var r=to(e),o;if(t){var i=to(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return ase(this,o)}}var rr=function(e){lse(n,e);var t=yse(n);function n(r){cse(this,n);var o,i;return o=t.call(this,r),eo(IM(o),"props",void 0),o.props=new gp((i=r)===null||i===void 0?void 0:i.props),o}return fse(n,[{key:"toDataBindModel",value:function(o){var i=mp(to(n.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,f=u.precision,a=u.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=a}return i}}]),n}(he);eo(rr,"controlType","decimal-column"),eo(rr,"controlName","\u6570\u503C"),eo(rr,"controlIcon","decimal-column"),eo(rr,"controlFieldType",c.FieldTypes.DECIMAL),eo(rr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION,c.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function NM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Op(e){return Op=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Op(e)}function vse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K0(e,t)}function hse(e,t){return t&&(bse(t)==="object"||typeof t=="function")?t:NM(e)}function K0(e,t){return K0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},K0(e,t)}function bse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mse(e){var t=gse();return function(){var r=Op(e),o;if(t){var i=Op(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return hse(this,o)}}var X0=function(e){vse(n,e);var t=mse(n);function n(r){dse(this,n);var o,i;return o=t.call(this,r),W0(NM(o),"props",void 0),o.props=new gp((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);W0(X0,"controlType","decimal-column"),W0(X0,"controlFieldType",c.FieldTypes.DECIMAL);var MM={Designer:rr,Runtime:X0,Property:gp};function ji(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pp(e){return Pp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pp(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&&J0(e,t)}function Ose(e,t){return t&&(wse(t)==="object"||typeof t=="function")?t:ji(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},J0(e,t)}function wse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Pse();return function(){var r=Pp(e),o;if(t){var i=Pp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Ose(this,o)}}var $se=function(e){kM(n,e);var t=DM(n);function n(r){AM(this,n);var o;return o=t.call(this,r),dn.call(ji(o),r),o}return n}(Nt),$p=function(e){kM(n,e);var t=DM(n);function n(r){AM(this,n);var o,i,u,f,a;o=t.call(this,r),wp(ji(o),"dateType",void 0),wp(ji(o),"showLinkOperation",void 0),wp(ji(o),"linkOperationOption",void 0);var l;o.dateType=(l=(i=r)===null||i===void 0?void 0:i.dateType)!==null&&l!==void 0?l:c.DateType.DATE;var s;o.showLinkOperation=(s=(u=r)===null||u===void 0?void 0:u.showLinkOperation)!==null&&s!==void 0?s:!1,o.linkOperationOption=new Gt((f=r)===null||f===void 0?void 0:f.linkOperationOption);var p;return o.caption=(p=(a=r)===null||a===void 0?void 0:a.caption)!==null&&p!==void 0?p:or.controlName,o}return n}(le);wp($p,"Rules",$se);function LM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tse(e,t,n){return t&&jM(e.prototype,t),n&&jM(e,n),e}function no(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rp(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Rp=Reflect.get:Rp=function(o,i,u){var f=Ise(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Rp(e,t,n||e)}function ro(e){return ro=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ro(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&&Q0(e,t)}function Ese(e,t){return t&&(Bse(t)==="object"||typeof t=="function")?t:LM(e)}function Q0(e,t){return Q0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Q0(e,t)}function Ise(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ro(e),e!==null););return e}function Bse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mse(e){var t=Nse();return function(){var r=ro(e),o;if(t){var i=ro(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Ese(this,o)}}var or=function(e){Sse(n,e);var t=Mse(n);function n(r){Rse(this,n);var o,i;return o=t.call(this,r),no(LM(o),"props",void 0),o.props=new $p((i=r)===null||i===void 0?void 0:i.props),o}return Tse(n,[{key:"toDataBindModel",value:function(o){var i=Rp(ro(n.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),n}(he);no(or,"controlType","timescope-column"),no(or,"controlName","\u65E5\u671F\u533A\u95F4"),no(or,"controlIcon","timescope-column"),no(or,"controlFieldType",c.FieldTypes.TIMESCOPE),no(or,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function FM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ase(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Z0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tp(e){return Tp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tp(e)}function kse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dse(e,t){return t&&(Lse(t)==="object"||typeof t=="function")?t:FM(e)}function eO(e,t){return eO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},eO(e,t)}function Lse(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 Fse(e){var t=jse();return function(){var r=Tp(e),o;if(t){var i=Tp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Dse(this,o)}}var tO=function(e){kse(n,e);var t=Fse(n);function n(r){Ase(this,n);var o,i;return o=t.call(this,r),Z0(FM(o),"props",void 0),o.props=new $p((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);Z0(tO,"controlType","timescope-column"),Z0(tO,"controlFieldType",c.FieldTypes.TIMESCOPE);var CM={Designer:or,Runtime:tO,Property:$p};function Fi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ep(e){return Ep=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ep(e)}function VM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nO(e,t)}function Cse(e,t){return t&&(xse(t)==="object"||typeof t=="function")?t:Fi(e)}function nO(e,t){return nO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},nO(e,t)}function xse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zM(e){var t=Vse();return function(){var r=Ep(e),o;if(t){var i=Ep(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Cse(this,o)}}var zse=function(e){VM(n,e);var t=zM(n);function n(r){xM(this,n);var o;return o=t.call(this,r),dn.call(Fi(o),r),o}return n}(Nt),Ip=function(e){VM(n,e);var t=zM(n);function n(r){xM(this,n);var o,i,u,f,a;o=t.call(this,r),Sp(Fi(o),"dateType",void 0),Sp(Fi(o),"showLinkOperation",void 0),Sp(Fi(o),"linkOperationOption",void 0);var l;o.dateType=(l=(i=r)===null||i===void 0?void 0:i.dateType)!==null&&l!==void 0?l:c.DateType.DATE;var s;o.showLinkOperation=(s=(u=r)===null||u===void 0?void 0:u.showLinkOperation)!==null&&s!==void 0?s:!1,o.linkOperationOption=new Gt((f=r)===null||f===void 0?void 0:f.linkOperationOption);var p;return o.caption=(p=(a=r)===null||a===void 0?void 0:a.caption)!==null&&p!==void 0?p:ir.controlName,o}return n}(le);Sp(Ip,"Rules",zse);function GM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yse(e,t,n){return t&&YM(e.prototype,t),n&&YM(e,n),e}function oo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bp(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Bp=Reflect.get:Bp=function(o,i,u){var f=Use(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Bp(e,t,n||e)}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},io(e)}function Hse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rO(e,t)}function qse(e,t){return t&&(Wse(t)==="object"||typeof t=="function")?t:GM(e)}function rO(e,t){return rO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},rO(e,t)}function Use(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=io(e),e!==null););return e}function Wse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xse(e){var t=Kse();return function(){var r=io(e),o;if(t){var i=io(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return qse(this,o)}}var ir=function(e){Hse(n,e);var t=Xse(n);function n(r){Gse(this,n);var o,i;return o=t.call(this,r),oo(GM(o),"props",void 0),o.props=new Ip((i=r)===null||i===void 0?void 0:i.props),o}return Yse(n,[{key:"toDataBindModel",value:function(o){var i=Bp(io(n.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),n}(he);oo(ir,"controlType","timestamp-column"),oo(ir,"controlName","\u65E5\u671F"),oo(ir,"controlIcon","timestamp-column"),oo(ir,"controlFieldType",c.FieldTypes.TIMESTAMP),oo(ir,"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 HM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Np(e){return Np=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Np(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&&iO(e,t)}function Zse(e,t){return t&&(epe(t)==="object"||typeof t=="function")?t:HM(e)}function iO(e,t){return iO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},iO(e,t)}function epe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function npe(e){var t=tpe();return function(){var r=Np(e),o;if(t){var i=Np(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Zse(this,o)}}var uO=function(e){Qse(n,e);var t=npe(n);function n(r){Jse(this,n);var o,i;return o=t.call(this,r),oO(HM(o),"props",void 0),o.props=new Ip((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);oO(uO,"controlType","timestamp-column"),oO(uO,"controlFieldType",c.FieldTypes.TIMESTAMP);var qM={Designer:ir,Runtime:uO,Property:Ip};function Mp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ap(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kp(e){return kp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kp(e)}function WM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cO(e,t)}function rpe(e,t){return t&&(ope(t)==="object"||typeof t=="function")?t:Mp(e)}function cO(e,t){return cO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},cO(e,t)}function ope(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 KM(e){var t=ipe();return function(){var r=kp(e),o;if(t){var i=kp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return rpe(this,o)}}var upe=function(e){WM(n,e);var t=KM(n);function n(r){return UM(this,n),t.call(this,r)}return n}(Ny),Dp=function(e){WM(n,e);var t=KM(n);function n(r){UM(this,n);var o,i,u,f,a;o=t.call(this,r),Ap(Mp(o),"optionConfig",void 0),Ap(Mp(o),"datasourceBind",void 0),Ap(Mp(o),"options",void 0);var l;o.caption=(l=(i=r)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:ur.controlName;var s;o.optionConfig=(s=(u=r)===null||u===void 0?void 0:u.optionConfig)!==null&&s!==void 0?s:"none",o.datasourceBind=new de((f=r)===null||f===void 0?void 0:f.datasourceBind);var p;return o.options=It((p=(a=r)===null||a===void 0?void 0:a.options)!==null&&p!==void 0?p:[{}]),o}return n}(le);Ap(Dp,"Rules",upe);function XM(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 uo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lp(e){return Lp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lp(e)}function fpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fO(e,t)}function lpe(e,t){return t&&(ape(t)==="object"||typeof t=="function")?t:XM(e)}function fO(e,t){return fO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},fO(e,t)}function ape(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function spe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ppe(e){var t=spe();return function(){var r=Lp(e),o;if(t){var i=Lp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return lpe(this,o)}}var ur=function(e){fpe(n,e);var t=ppe(n);function n(r){cpe(this,n);var o,i;return o=t.call(this,r),uo(XM(o),"props",void 0),o.props=new Dp((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);uo(ur,"controlType","array-column"),uo(ur,"controlName","\u6570\u7EC4"),uo(ur,"controlIcon","array-column"),uo(ur,"controlFieldType",c.FieldTypes.ARRAY),uo(ur,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}]);function JM(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 lO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jp(e){return jp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jp(e)}function ype(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aO(e,t)}function dpe(e,t){return t&&(vpe(t)==="object"||typeof t=="function")?t:JM(e)}function aO(e,t){return aO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},aO(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 r=jp(e),o;if(t){var i=jp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return dpe(this,o)}}var sO=function(e){ype(n,e);var t=bpe(n);function n(r){_pe(this,n);var o,i;return o=t.call(this,r),lO(JM(o),"props",void 0),o.props=new Dp((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);lO(sO,"controlType","array-column"),lO(sO,"controlFieldType",c.FieldTypes.ARRAY);var QM={Designer:ur,Runtime:sO,Property:Dp};function ZM(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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fp(e){return Fp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fp(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&&pO(e,t)}function wpe(e,t){return t&&(Ppe(t)==="object"||typeof t=="function")?t:ZM(e)}function pO(e,t){return pO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},pO(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 r=Fp(e),o;if(t){var i=Fp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return wpe(this,o)}}var _O=function(e){Ope(n,e);var t=Rpe(n);function n(r){gpe(this,n);var o,i,u;o=t.call(this,r),mpe(ZM(o),"displayLevel",void 0);var f;o.caption=(f=(i=r)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:cr.controlName;var a;return o.displayLevel=(a=(u=r)===null||u===void 0?void 0:u.displayLevel)!==null&&a!==void 0?a:1,o}return n}(le);function e2(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 t2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Spe(e,t,n){return t&&t2(e.prototype,t),n&&t2(e,n),e}function co(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cp(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Cp=Reflect.get:Cp=function(o,i,u){var f=Bpe(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Cp(e,t,n||e)}function fo(e){return fo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fo(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&&yO(e,t)}function Ipe(e,t){return t&&(Npe(t)==="object"||typeof t=="function")?t:e2(e)}function yO(e,t){return yO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},yO(e,t)}function Bpe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fo(e),e!==null););return e}function Npe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ape(e){var t=Mpe();return function(){var r=fo(e),o;if(t){var i=fo(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Ipe(this,o)}}var cr=function(e){Epe(n,e);var t=Ape(n);function n(r){Tpe(this,n);var o,i;return o=t.call(this,r),co(e2(o),"props",void 0),o.props=new _O((i=r)===null||i===void 0?void 0:i.props),o}return Spe(n,[{key:"toDataBindModel",value:function(o){var i=Cp(fo(n.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),n}(he);co(cr,"controlType","department-column"),co(cr,"controlName","\u90E8\u95E8"),co(cr,"controlIcon","department-column"),co(cr,"controlFieldType",c.FieldTypes.DEPARTMENTS),co(cr,"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 n2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xp(e){return xp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xp(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&&vO(e,t)}function Lpe(e,t){return t&&(jpe(t)==="object"||typeof t=="function")?t:n2(e)}function vO(e,t){return vO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},vO(e,t)}function jpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cpe(e){var t=Fpe();return function(){var r=xp(e),o;if(t){var i=xp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Lpe(this,o)}}var hO=function(e){Dpe(n,e);var t=Cpe(n);function n(r){kpe(this,n);var o,i;return o=t.call(this,r),dO(n2(o),"props",void 0),o.props=new _O((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);dO(hO,"controlType","department-column"),dO(hO,"controlFieldType",c.FieldTypes.DEPARTMENTS);var r2={Designer:cr,Runtime:hO,Property:_O};function Vp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zp(e){return zp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zp(e)}function i2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xpe(e,t){return t&&(Vpe(t)==="object"||typeof t=="function")?t:Vp(e)}function gO(e,t){return gO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},gO(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 u2(e){var t=zpe();return function(){var r=zp(e),o;if(t){var i=zp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return xpe(this,o)}}var Gpe=function(e){i2(n,e);var t=u2(n);function n(r){o2(this,n);var o;return o=t.call(this,r),dn.call(Vp(o),r),o}return n}(Nt),Gp=function(e){i2(n,e);var t=u2(n);function n(r){o2(this,n);var o,i,u,f;o=t.call(this,r),bO(Vp(o),"showLinkOperation",void 0),bO(Vp(o),"linkOperationOption",void 0);var a;o.caption=(a=(i=r)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:fr.controlName;var l;return o.showLinkOperation=(l=(u=r)===null||u===void 0?void 0:u.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Gt((f=r)===null||f===void 0?void 0:f.linkOperationOption),o}return n}(le);bO(Gp,"Rules",Gpe);function c2(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 lo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yp(e){return Yp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yp(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&&mO(e,t)}function qpe(e,t){return t&&(Upe(t)==="object"||typeof t=="function")?t:c2(e)}function mO(e,t){return mO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},mO(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 r=Yp(e),o;if(t){var i=Yp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return qpe(this,o)}}var fr=function(e){Hpe(n,e);var t=Kpe(n);function n(r){Ype(this,n);var o,i;return o=t.call(this,r),lo(c2(o),"props",void 0),o.props=new Gp((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);lo(fr,"controlType","auto-number-column"),lo(fr,"controlName","\u81EA\u52A8\u7F16\u53F7"),lo(fr,"controlIcon","auto-number-column"),lo(fr,"controlFieldType",c.FieldTypes.AUTO_NUMBER),lo(fr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function f2(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 OO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hp(e){return Hp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hp(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&&wO(e,t)}function Qpe(e,t){return t&&(Zpe(t)==="object"||typeof t=="function")?t:f2(e)}function wO(e,t){return wO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},wO(e,t)}function Zpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t_e(e){var t=e_e();return function(){var r=Hp(e),o;if(t){var i=Hp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Qpe(this,o)}}var PO=function(e){Jpe(n,e);var t=t_e(n);function n(r){Xpe(this,n);var o,i;return o=t.call(this,r),OO(f2(o),"props",void 0),o.props=new Gp((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);OO(PO,"controlType","auto-number-column"),OO(PO,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var l2={Designer:fr,Runtime:PO,Property:Gp};function n_e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qp(e){return qp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qp(e)}function o_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$O(e,t)}function i_e(e,t){return t&&(u_e(t)==="object"||typeof t=="function")?t:n_e(e)}function $O(e,t){return $O=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},$O(e,t)}function u_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f_e(e){var t=c_e();return function(){var r=qp(e),o;if(t){var i=qp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return i_e(this,o)}}var RO=function(e){o_e(n,e);var t=f_e(n);function n(r){r_e(this,n);var o,i;o=t.call(this,r);var u;return o.caption=(u=(i=r)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:lr.controlName,o}return n}(le);function a2(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 ao(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Up(e){return Up=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Up(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&&TO(e,t)}function s_e(e,t){return t&&(p_e(t)==="object"||typeof t=="function")?t:a2(e)}function TO(e,t){return TO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},TO(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 y_e(e){var t=__e();return function(){var r=Up(e),o;if(t){var i=Up(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return s_e(this,o)}}var lr=function(e){a_e(n,e);var t=y_e(n);function n(r){l_e(this,n);var o,i;return o=t.call(this,r),ao(a2(o),"props",void 0),o.props=new RO((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);ao(lr,"controlType","file-column"),ao(lr,"controlName","\u9644\u4EF6"),ao(lr,"controlIcon","file-column"),ao(lr,"controlFieldType",c.FieldTypes.FILE),ao(lr,"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 s2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wp(e){return Wp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wp(e)}function v_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&EO(e,t)}function h_e(e,t){return t&&(b_e(t)==="object"||typeof t=="function")?t:s2(e)}function EO(e,t){return EO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},EO(e,t)}function b_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m_e(e){var t=g_e();return function(){var r=Wp(e),o;if(t){var i=Wp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return h_e(this,o)}}var IO=function(e){v_e(n,e);var t=m_e(n);function n(r){d_e(this,n);var o,i;return o=t.call(this,r),SO(s2(o),"props",void 0),o.props=new RO((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);SO(IO,"controlType","file-column"),SO(IO,"controlFieldType",c.FieldTypes.FILE);var p2={Designer:lr,Runtime:IO,Property:RO};function O_e(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 Kp(e){return Kp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kp(e)}function P_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&BO(e,t)}function $_e(e,t){return t&&(R_e(t)==="object"||typeof t=="function")?t:O_e(e)}function BO(e,t){return BO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},BO(e,t)}function R_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S_e(e){var t=T_e();return function(){var r=Kp(e),o;if(t){var i=Kp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return $_e(this,o)}}var NO=function(e){P_e(n,e);var t=S_e(n);function n(r){w_e(this,n);var o,i;o=t.call(this,r);var u;return o.caption=(u=(i=r)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:ar.controlName,o}return n}(le);function _2(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 so(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xp(e){return Xp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xp(e)}function I_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&MO(e,t)}function B_e(e,t){return t&&(N_e(t)==="object"||typeof t=="function")?t:_2(e)}function MO(e,t){return MO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},MO(e,t)}function N_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A_e(e){var t=M_e();return function(){var r=Xp(e),o;if(t){var i=Xp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return B_e(this,o)}}var ar=function(e){I_e(n,e);var t=A_e(n);function n(r){E_e(this,n);var o,i;return o=t.call(this,r),so(_2(o),"props",void 0),o.props=new NO((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);so(ar,"controlType","image-column"),so(ar,"controlName","\u56FE\u7247"),so(ar,"controlIcon","image-column"),so(ar,"controlFieldType",c.FieldTypes.IMAGE),so(ar,"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 y2(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 AO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jp(e){return Jp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jp(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&&kO(e,t)}function L_e(e,t){return t&&(j_e(t)==="object"||typeof t=="function")?t:y2(e)}function kO(e,t){return kO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},kO(e,t)}function j_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C_e(e){var t=F_e();return function(){var r=Jp(e),o;if(t){var i=Jp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return L_e(this,o)}}var DO=function(e){D_e(n,e);var t=C_e(n);function n(r){k_e(this,n);var o,i;return o=t.call(this,r),AO(y2(o),"props",void 0),o.props=new NO((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);AO(DO,"controlType","image-column"),AO(DO,"controlFieldType",c.FieldTypes.IMAGE);var d2={Designer:ar,Runtime:DO,Property:NO};function x_e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qp(e){return Qp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qp(e)}function z_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&LO(e,t)}function G_e(e,t){return t&&(Y_e(t)==="object"||typeof t=="function")?t:x_e(e)}function LO(e,t){return LO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},LO(e,t)}function Y_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q_e(e){var t=H_e();return function(){var r=Qp(e),o;if(t){var i=Qp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return G_e(this,o)}}var jO=function(e){z_e(n,e);var t=q_e(n);function n(r){V_e(this,n);var o,i;o=t.call(this,r);var u;return o.caption=(u=(i=r)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:sr.controlName,o}return n}(le);function v2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function po(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zp(e){return Zp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zp(e)}function W_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&FO(e,t)}function K_e(e,t){return t&&(X_e(t)==="object"||typeof t=="function")?t:v2(e)}function FO(e,t){return FO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},FO(e,t)}function X_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q_e(e){var t=J_e();return function(){var r=Zp(e),o;if(t){var i=Zp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return K_e(this,o)}}var sr=function(e){W_e(n,e);var t=Q_e(n);function n(r){U_e(this,n);var o,i;return o=t.call(this,r),po(v2(o),"props",void 0),o.props=new jO((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);po(sr,"controlType","people-column"),po(sr,"controlName","\u4EBA\u5458"),po(sr,"controlIcon","people-column"),po(sr,"controlFieldType",c.FieldTypes.EMPLOYEES),po(sr,"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 h2(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 CO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function e_(e){return e_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},e_(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&&xO(e,t)}function tye(e,t){return t&&(nye(t)==="object"||typeof t=="function")?t:h2(e)}function xO(e,t){return xO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},xO(e,t)}function nye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oye(e){var t=rye();return function(){var r=e_(e),o;if(t){var i=e_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return tye(this,o)}}var VO=function(e){eye(n,e);var t=oye(n);function n(r){Z_e(this,n);var o,i;return o=t.call(this,r),CO(h2(o),"props",void 0),o.props=new jO((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);CO(VO,"controlType","people-column"),CO(VO,"controlFieldType",c.FieldTypes.EMPLOYEES);var b2={Designer:sr,Runtime:VO,Property:jO};function t_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n_(e){return n_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},n_(e)}function m2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iye(e,t){return t&&(uye(t)==="object"||typeof t=="function")?t:t_(e)}function GO(e,t){return GO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},GO(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 O2(e){var t=cye();return function(){var r=n_(e),o;if(t){var i=n_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return iye(this,o)}}var fye=function(e){m2(n,e);var t=O2(n);function n(r){g2(this,n);var o;return o=t.call(this,r),dn.call(t_(o),r),o}return n}(Nt),r_=function(e){m2(n,e);var t=O2(n);function n(r){g2(this,n);var o,i,u,f;o=t.call(this,r),zO(t_(o),"showLinkOperation",void 0),zO(t_(o),"linkOperationOption",void 0);var a;o.caption=(a=(i=r)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:pr.controlName;var l;return o.showLinkOperation=(l=(u=r)===null||u===void 0?void 0:u.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Gt((f=r)===null||f===void 0?void 0:f.linkOperationOption),o}return n}(le);zO(r_,"Rules",fye);function w2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o_(e){return o_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},o_(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&&YO(e,t)}function sye(e,t){return t&&(pye(t)==="object"||typeof t=="function")?t:w2(e)}function YO(e,t){return YO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},YO(e,t)}function pye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yye(e){var t=_ye();return function(){var r=o_(e),o;if(t){var i=o_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return sye(this,o)}}var pr=function(e){aye(n,e);var t=yye(n);function n(r){lye(this,n);var o,i;return o=t.call(this,r),_o(w2(o),"props",void 0),o.props=new r_((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);_o(pr,"controlType","location-column"),_o(pr,"controlName","\u5730\u5740"),_o(pr,"controlIcon","location-column"),_o(pr,"controlFieldType",c.FieldTypes.ADDRESS),_o(pr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function P2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i_(e){return i_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},i_(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&&qO(e,t)}function hye(e,t){return t&&(bye(t)==="object"||typeof t=="function")?t:P2(e)}function qO(e,t){return qO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},qO(e,t)}function bye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mye(e){var t=gye();return function(){var r=i_(e),o;if(t){var i=i_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return hye(this,o)}}var UO=function(e){vye(n,e);var t=mye(n);function n(r){dye(this,n);var o,i;return o=t.call(this,r),HO(P2(o),"props",void 0),o.props=new r_((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);HO(UO,"controlType","location-column"),HO(UO,"controlFieldType",c.FieldTypes.ADDRESS);var $2={Designer:pr,Runtime:UO,Property:r_};function WO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u_(e){return u_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},u_(e)}function wye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&KO(e,t)}function Pye(e,t){return t&&($ye(t)==="object"||typeof t=="function")?t:WO(e)}function KO(e,t){return KO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},KO(e,t)}function $ye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tye(e){var t=Rye();return function(){var r=u_(e),o;if(t){var i=u_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Pye(this,o)}}var XO=function(e){wye(n,e);var t=Tye(n);function n(r){Oye(this,n);var o,i,u,f;o=t.call(this,r),R2(WO(o),"fieldCodeList",void 0),R2(WO(o),"sortFieldCode",void 0);var a;o.caption=(a=(i=r)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:Bn.controlName;var l;o.fieldCodeList=(l=(u=r)===null||u===void 0?void 0:u.fieldCodeList)!==null&&l!==void 0?l:[];var s;return o.sortFieldCode=(s=(f=r)===null||f===void 0?void 0:f.sortFieldCode)!==null&&s!==void 0?s:"",o}return n}(le);function yo(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 T2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Eye(e,t,n){return t&&T2(e.prototype,t),n&&T2(e,n),e}function Pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ci(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ci=Reflect.get:Ci=function(o,i,u){var f=Dye(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Ci(e,t,n||e)}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_r(e)}function Iye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&JO(e,t)}function Bye(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Nye(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Pt(e,o,n[o])})}return e}function Mye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Aye(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Mye(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function kye(e,t){return t&&(Lye(t)==="object"||typeof t=="function")?t:yo(e)}function JO(e,t){return JO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},JO(e,t)}function Dye(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_r(e),e!==null););return e}function Lye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fye(e){var t=jye();return function(){var r=_r(e),o;if(t){var i=_r(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return kye(this,o)}}var Cye=1,Bn=function(t){Iye(r,t);var n=Fye(r);function r(o){Sye(this,r);var i,u,f;i=n.call(this,o),Pt(yo(i),"excludes",void 0),Pt(yo(i),"childrenMaxLength",void 0),Pt(yo(i),"props",void 0),Pt(yo(i),"children",void 0);var a=Bye(this,r)?this.constructor:void 0,l=a.excludes,s=a.childrenMaxLength;return i.props=new XO((u=o)===null||u===void 0?void 0:u.props),dt(yo(i),"children",(f=o)===null||f===void 0?void 0:f.children,void 0,"Designer"),i.excludes=zt(l),i.childrenMaxLength=s,i}return Eye(r,[{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=Ci(_r(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.fieldCodeList;u.props.fieldCodeList=f}return u}},{key:"toSchema",value:function(){var i=Ci(_r(r.prototype),"toSchema",this).call(this);return Aye(Nye({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),r}(he);Pt(Bn,"controlType","custom-column"),Pt(Bn,"controlName","\u81EA\u5B9A\u4E49"),Pt(Bn,"controlIcon","custom-column"),Pt(Bn,"excludes",[]),Pt(Bn,"childrenMaxLength",Cye),Pt(Bn,"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 c_(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 QO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f_(e){return f_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},f_(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&&ZO(e,t)}function zye(e,t){return t&&(Gye(t)==="object"||typeof t=="function")?t:c_(e)}function ZO(e,t){return ZO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ZO(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 r=f_(e),o;if(t){var i=f_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zye(this,o)}}var S2=function(e){Vye(n,e);var t=Hye(n);function n(r){xye(this,n);var o,i,u;return o=t.call(this,r),QO(c_(o),"props",void 0),QO(c_(o),"children",void 0),o.props=new XO((i=r)===null||i===void 0?void 0:i.props),dt(c_(o),"children",(u=r)===null||u===void 0?void 0:u.children,void 0,"Runtime"),o}return n}(be);QO(S2,"controlType","custom-column");var E2={Designer:Bn,Runtime:S2,Property:XO};function I2(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 Uye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l_(e){return l_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},l_(e)}function Wye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ew(e,t)}function Kye(e,t){return t&&(Xye(t)==="object"||typeof t=="function")?t:I2(e)}function ew(e,t){return ew=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ew(e,t)}function Xye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qye(e){var t=Jye();return function(){var r=l_(e),o;if(t){var i=l_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Kye(this,o)}}var tw=function(e){Wye(n,e);var t=Qye(n);function n(r){qye(this,n);var o,i,u;o=t.call(this,r),Uye(I2(o),"datasourceBind",void 0);var f;o.caption=(f=(i=r)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:Nn.controlName;var a;return o.datasourceBind=new $o((a=(u=r)===null||u===void 0?void 0:u.datasourceBind)!==null&&a!==void 0?a:{attributes:Nn.controlCustomAttributes}),o}return n}(le);function B2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ede(e,t,n){return t&&N2(e.prototype,t),n&&N2(e,n),e}function vo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a_(e){return a_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},a_(e)}function tde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nw(e,t)}function nde(e,t){return t&&(rde(t)==="object"||typeof t=="function")?t:B2(e)}function nw(e,t){return nw=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},nw(e,t)}function rde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ode(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ide(e){var t=ode();return function(){var r=a_(e),o;if(t){var i=a_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return nde(this,o)}}var Nn=function(e){tde(n,e);var t=ide(n);function n(r){Zye(this,n);var o,i;return o=t.call(this,r),vo(B2(o),"props",void 0),o.props=new tw((i=r)===null||i===void 0?void 0:i.props),o}return ede(n,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),n}(he);vo(Nn,"controlType","employee-column"),vo(Nn,"controlName","\u4EBA\u5458"),vo(Nn,"controlIcon","employee-column"),vo(Nn,"controlFieldType",c.FieldTypes.EMPLOYEES),vo(Nn,"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 M2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ude(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s_(e){return s_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},s_(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&&ow(e,t)}function fde(e,t){return t&&(lde(t)==="object"||typeof t=="function")?t:M2(e)}function ow(e,t){return ow=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ow(e,t)}function lde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ade(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sde(e){var t=ade();return function(){var r=s_(e),o;if(t){var i=s_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return fde(this,o)}}var iw=function(e){cde(n,e);var t=sde(n);function n(r){ude(this,n);var o,i;return o=t.call(this,r),rw(M2(o),"props",void 0),o.props=new tw((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);rw(iw,"controlType","employee-column"),rw(iw,"controlFieldType",c.FieldTypes.EMPLOYEES);var A2={Designer:Nn,Runtime:iw,Property:tw};function p_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function __(e){return __=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},__(e)}function _de(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cw(e,t)}function yde(e,t){return t&&(dde(t)==="object"||typeof t=="function")?t:p_(e)}function cw(e,t){return cw=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},cw(e,t)}function dde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hde(e){var t=vde();return function(){var r=__(e),o;if(t){var i=__(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return yde(this,o)}}var fw=function(e){_de(n,e);var t=hde(n);function n(r){pde(this,n);var o,i,u,f,a;o=t.call(this,r),uw(p_(o),"lineEllipsis",void 0),uw(p_(o),"showLinkOperation",void 0),uw(p_(o),"linkOperationOption",void 0);var l;o.caption=(l=(i=r)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:dr.controlName;var s;o.showLinkOperation=(s=(u=r)===null||u===void 0?void 0:u.showLinkOperation)!==null&&s!==void 0?s:!1,o.linkOperationOption=new Gt((f=r)===null||f===void 0?void 0:f.linkOperationOption);var p;return o.lineEllipsis=(p=(a=r)===null||a===void 0?void 0:a.lineEllipsis)!==null&&p!==void 0?p:1,o}return n}(le);function lw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y_(e){return y_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},y_(e)}function gde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aw(e,t)}function mde(e,t){return t&&(Ode(t)==="object"||typeof t=="function")?t:lw(e)}function aw(e,t){return aw=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},aw(e,t)}function Ode(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pde(e){var t=wde();return function(){var r=y_(e),o;if(t){var i=y_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mde(this,o)}}var dr=function(e){gde(n,e);var t=Pde(n);function n(r){bde(this,n);var o,i;return o=t.call(this,r),yr(lw(o),"props",void 0),yr(lw(o),"children",void 0),o.props=new fw((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);yr(dr,"controlType","approval-status-column"),yr(dr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),yr(dr,"controlIcon","approval-status-column"),yr(dr,"excludes",[]),yr(dr,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}]);function sw(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 pw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d_(e){return d_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},d_(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&&_w(e,t)}function Tde(e,t){return t&&(Sde(t)==="object"||typeof t=="function")?t:sw(e)}function _w(e,t){return _w=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_w(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 r=d_(e),o;if(t){var i=d_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Tde(this,o)}}var k2=function(e){Rde(n,e);var t=Ide(n);function n(r){$de(this,n);var o,i;return o=t.call(this,r),pw(sw(o),"props",void 0),pw(sw(o),"children",void 0),o.props=new fw((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);pw(k2,"controlType","approval-status-column");var D2={Designer:dr,Runtime:k2,Property:fw},Bde=Object.freeze({__proto__:null,VarcharColumn:bM,TextColumn:RM,DecimalColumn:MM,TimescopeColumn:CM,TimestampColumn:qM,ArrayColumn:QM,DepartmentColumn:r2,AutoNumberColumn:l2,FileColumn:p2,ImageColumn:d2,PeopleColumn:b2,LocationColumn:$2,CustomColumn:E2,OrderColumn:rM,OperationColumn:cM,EmployeeColumn:A2,ApprovalStatusColumn:D2});function $t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v_(e){return v_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},v_(e)}function j2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nde(e,t){return t&&(Mde(t)==="object"||typeof t=="function")?t:$t(e)}function yw(e,t){return yw=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},yw(e,t)}function Mde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ade(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F2(e){var t=Ade();return function(){var r=v_(e),o;if(t){var i=v_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Nde(this,o)}}var kde=function(e){j2(n,e);var t=F2(n);function n(r){L2(this,n);var o;return o=t.call(this,r),o.push({type:"object",fields:{}}),o}return n}(an),h_=function(e){j2(n,e);var t=F2(n);function n(r){L2(this,n);var o,i,u,f,a,l,s,p,_,y,v;o=t.call(this,r),Rt($t(o),"search",void 0),Rt($t(o),"cancel",void 0),Rt($t(o),"searchType",void 0),Rt($t(o),"labelPosition",void 0),Rt($t(o),"viewType",void 0),Rt($t(o),"isLoading",void 0),Rt($t(o),"custom",void 0),Rt($t(o),"queryTypeMap",void 0),Rt($t(o),"childMinWidth",void 0),Rt($t(o),"colGap",void 0);var h;o.searchType=(h=(i=r)===null||i===void 0?void 0:i.searchType)!==null&&h!==void 0?h:"model";var b;o.labelPosition=(b=(u=r)===null||u===void 0?void 0:u.labelPosition)!==null&&b!==void 0?b:"top";var d;o.viewType=(d=(f=r)===null||f===void 0?void 0:f.viewType)!==null&&d!==void 0?d:"mini";var g;o.search=new Yt((g=(a=r)===null||a===void 0?void 0:a.search)!==null&&g!==void 0?g:{content:"\u67E5\u8BE2",isShow:!0});var m;o.cancel=new Yt((m=(l=r)===null||l===void 0?void 0:l.cancel)!==null&&m!==void 0?m:{content:"\u91CD\u7F6E",isShow:!0});var O;o.isLoading=(O=(s=r)===null||s===void 0?void 0:s.isLoading)!==null&&O!==void 0?O:!1;var $;o.custom=(($=(p=r)===null||p===void 0?void 0:p.custom)!==null&&$!==void 0?$:[]).map(function(I){return new Yt(I)});var T;o.queryTypeMap=(T=(_=r)===null||_===void 0?void 0:_.queryTypeMap)!==null&&T!==void 0?T:[];var R;o.childMinWidth=(R=(y=r)===null||y===void 0?void 0:y.childMinWidth)!==null&&R!==void 0?R:230;var S;return o.colGap=(S=(v=r)===null||v===void 0?void 0:v.colGap)!==null&&S!==void 0?S:24,o}return n}(wu);Rt(h_,"RuntimeRules",kde);function C2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b_(e){return b_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},b_(e)}function Lde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vw(e,t)}function jde(e,t){return t&&(Fde(t)==="object"||typeof t=="function")?t:C2(e)}function vw(e,t){return vw=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},vw(e,t)}function Fde(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 xde(e){var t=Cde();return function(){var r=b_(e),o;if(t){var i=b_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return jde(this,o)}}var hw=function(e){Lde(n,e);var t=xde(n);function n(r){Dde(this,n);var o,i;return o=t.call(this,r),dw(C2(o),"props",void 0),o.props=new h_((i=r)===null||i===void 0?void 0:i.props),o}return n}(T$);dw(hw,"controlType","simple-search"),dw(hw,"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 bw(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 gw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g_(e){return g_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},g_(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&&mw(e,t)}function Gde(e,t){return t&&(Yde(t)==="object"||typeof t=="function")?t:bw(e)}function mw(e,t){return mw=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},mw(e,t)}function Yde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qde(e){var t=Hde();return function(){var r=g_(e),o;if(t){var i=g_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Gde(this,o)}}var x2=function(e){zde(n,e);var t=qde(n);function n(r){Vde(this,n);var o,i,u;o=t.call(this,r),gw(bw(o),"props",void 0),gw(bw(o),"children",void 0),o.props=new h_((i=r)===null||i===void 0?void 0:i.props);var f;return o.children=(f=(u=r)===null||u===void 0?void 0:u.children)!==null&&f!==void 0?f:[],o}return n}(E$);gw(x2,"controlType","simple-search");var V2={Designer:hw,Runtime:x2,Property:h_},Ude=Object.freeze({__proto__:null,SimpleSearch:V2});function z2(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 Kde(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m_(e){return m_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},m_(e)}function Xde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ow(e,t)}function Jde(e,t){return t&&(Qde(t)==="object"||typeof t=="function")?t:z2(e)}function Ow(e,t){return Ow=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ow(e,t)}function Qde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eve(e){var t=Zde();return function(){var r=m_(e),o;if(t){var i=m_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Jde(this,o)}}var ww=function(e){Xde(n,e);var t=eve(n);function n(r){Wde(this,n);var o,i;o=t.call(this,r),Kde(z2(o),"wholeRow",void 0);var u;return o.wholeRow=(u=(i=r)===null||i===void 0?void 0:i.wholeRow)!==null&&u!==void 0?u:!1,o}return n}(Tu);function G2(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 Y2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nve(e,t,n){return t&&Y2(e.prototype,t),n&&Y2(e,n),e}function rve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O_(e){return O_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},O_(e)}function ove(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ive(e,t){return t&&(uve(t)==="object"||typeof t=="function")?t:G2(e)}function Pw(e,t){return Pw=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Pw(e,t)}function uve(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 fve(e){var t=cve();return function(){var r=O_(e),o;if(t){var i=O_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return ive(this,o)}}var lve=function(e){ove(n,e);var t=fve(n);function n(r){tve(this,n);var o,i;return o=t.call(this,r),rve(G2(o),"props",void 0),o.props=new ww((i=r)===null||i===void 0?void 0:i.props),o}return nve(n,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668Wrap"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"grid-layout-wrap"}}]),n}(B$);function H2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ave(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sve(e,t,n){return t&&q2(e.prototype,t),n&&q2(e,n),e}function pve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w_(e){return w_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},w_(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&&$w(e,t)}function yve(e,t){return t&&(dve(t)==="object"||typeof t=="function")?t:H2(e)}function $w(e,t){return $w=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},$w(e,t)}function dve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hve(e){var t=vve();return function(){var r=w_(e),o;if(t){var i=w_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return yve(this,o)}}var bve=function(e){_ve(n,e);var t=hve(n);function n(r){ave(this,n);var o,i;return o=t.call(this,r),pve(H2(o),"props",void 0),o.props=new ww((i=r)===null||i===void 0?void 0:i.props),o}return sve(n,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),n}(M$);function Ihe(e){return e}var gve={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},U2={Designer:lve,Runtime:bve,Property:ww,Setting:gve},mve=Object.freeze({__proto__:null,GridLayoutWrap:U2});function Rw(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ove(e){if(Array.isArray(e))return e}function wve(e){if(Array.isArray(e))return Rw(e)}function Pve(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $ve(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,u,f;try{for(n=n.call(e);!(o=(u=n.next()).done)&&(r.push(u.value),!(t&&r.length===t));o=!0);}catch(a){i=!0,f=a}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw f}}return r}}function Rve(){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 Tve(){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 Sve(e,t){return Ove(e)||$ve(e,t)||K2(e,t)||Rve()}function W2(e){return wve(e)||Pve(e)||K2(e)||Tve()}function K2(e,t){if(!!e){if(typeof e=="string")return Rw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rw(e,t)}}var Eve=function(e,t){var n,r=Array.isArray(e),o=r?e:[e];xve((n=t)===null||n===void 0?void 0:n.events),kve(o),Dve(o);var i=Ave(o),u=Lve(i,t),f=jn(Ee(u,function(a){return Mve(a,t)}));return r?f:f[0]},Ive=[c.CONTROL_TYPE.DIVIDER,c.CONTROL_TYPE.TEXT,c.CONTROL_TYPE.TITLE,c.CONTROL_TYPE.LINK,c.CONTROL_TYPE.BUTTON,"list-btn-export-list","list-btn-export-record"],Bve=["subtable","grid-table"],Nve=["simple-search"];function Mve(e,t){var n,r,o,i,u,f,a,l=e;if(l.controlType||(l.is_layout_control===!0?l.controlType="layout":Ive.includes(l.type)?l.controlType="base":l.controlType="form",Bve.includes(l.type)&&(l.controlType="list"),Nve.includes(l.type)&&(l.controlType="search-view")),delete l.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),Se((r=e)===null||r===void 0||(n=r.props)===null||n===void 0?void 0:n.caption)&&(l.props.caption=e.props.caption.zh),Se((i=e)===null||i===void 0||(o=i.props)===null||o===void 0?void 0:o.placeholder)&&(l.props.placeholder=e.props.placeholder.zh),Se((f=e)===null||f===void 0||(u=f.props)===null||u===void 0?void 0:u.placeholder_end)&&(l.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(l.type="department",e.props.value.length&&(l.props.default_value=e.props.value),l.props.showType=e.props.show_tree?"tree":"default",l.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(l.type="auto-number",l.props.defaultValue=e.props.value),e.type==="file"){var s;l.type="attachment",l.props.attachmentAccept=(s=e.attachment_format)===null||s===void 0?void 0:s.split(","),l.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var p;l.props.attachmentAccept=(p=e.attachment_format)===null||p===void 0?void 0:p.split(",")}if(e.type==="date-pick"&&(l.type="date-picker"),e.type==="rich-text"&&(Se(e.props.value)?l.props.defaultValue=e.props.value.zh:l.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(Se(e.props.value)?l.props.content=e.props.value.zh:l.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(l.props.showState="image"),e.type==="user-search"&&(l.type="employee",l.props.defaultValue=e.props.value),e.type==="address"&&(l.props.addressType=e.props.address_type_value),l.type==="subtable"){var _,y=l.props.entry_type||l.props.entryType;l.props.openType=y==="subpage"?"modal":"default",((_=l.children[0])===null||_===void 0?void 0:_.type)==="subtable-row"&&l.props.headers&&(l.props.headers=l.props.headers.map(function(D,Y){var W=new im.Designer;W.props.caption=Se(D.field_name)?D.field_name.zh:D.field_name;var X=W.toSchema();X.id=D.header_id;var ie=l.children[0].children[Y].children[0];return ie&&(X.children=[ie]),X}),l.children=[])}l.type==="subtable-cell"&&(l.type="subtable-column");var v=["radio","checkbox","select","select-multiple"];if(v.includes(e.type)&&(e.props.options.map(function(D){D.label=Se(D.text)?D.text.zh:D.text,D.id=D.id||D.opt_id||D.optId||D.data_id}),l=e),e.type==="grid-row"){var h=24/l.children.length;l.children=l.children.map(function(D){var Y=new Da.Designer;Y.props.span=h;var W=Y.toSchema();return W.children.push(D),W})}if(e.type==="grid-layout-row"&&(l.type="row"),e.type==="grid-layout-col"&&(l.type="col"),e.type==="group-panel"&&(l.type="card-group",l.props.collapse=l.props.flod==="no"?"none":l.props.flod),e.type==="tabs-pane"&&(l.type="tab-pane"),e.type==="calc"){var b,d,g=(b=l)===null||b===void 0?void 0:b.children[0],m=(d=l)===null||d===void 0?void 0:d.children[1],O={};g&&(X2(l,t),O.result=g.props.data_bind,l.id=g.id,l.props=g.props,l.props.script_src=g.props.script_src,l.props.script_echo=g.props.script_echo,l.props.precision=g.props.precision,l.props.micrometer=g.props.is_show_money,l.props.showUpperCase=g.props.is_show_chn),m&&(O.unit=m.props.data_bind,l.props.default_value={unit:m.props.value}),l.props.dataBind=O,delete l.children}if(e.type==="amount-currency"){var $,T;l.type="amount",l.controlType="form";var R=($=l)===null||$===void 0?void 0:$.children[0],S=(T=l)===null||T===void 0?void 0:T.children[1],I={},E={};R&&(X2(l,t),l.id=R.id,I.amount=R.props.data_bind,l.props.range_min=Ln(R.props.range_min),l.props.range_max=Ln(R.props.range_max),E.amount=Ln(R.props.value),l.props.required=R.props.required,l.props.is_hide=R.props.is_hide,l.props.default_state=R.props.default_state,l.props.caption=Se(R.props.caption)?R.props.caption.zh:R.props.caption,l.props.is_hide_caption=R.props.is_hide_caption,l.props.showUpperCase=R.props.is_show_chn),S&&(I.currency=S.props.data_bind,E.currency=S.props.value,l.props.datasourceBind=S.props.datasource_bind,l.props.options=S.props.options.map(function(D){return{label:D.text,value:D.value}})),l.props.dataBind=I,l.props.defaultValue=E,delete l.children}if(e.type==="date-range"){var N,B;l.controlType="form";var A=(N=l)===null||N===void 0?void 0:N.children[0],M=(B=l)===null||B===void 0?void 0:B.children[1];l.props.placeholderStart=Se(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,l.props.caption=Se(e.props.caption)?e.props.caption.zh:e.props.caption;var j={};A&&(j.min=A.props.data_bind),M&&(j.max=M.props.data_bind),l.props.dataBind=j,delete l.children}return e.type==="score"&&(l.props.defaultValue=l.props.value*1),["input","textarea"].includes(e.type)&&(l.props.defaultValue=Se(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(l.props.range_min=Ln(e.props.range_min),l.props.range_max=Ln(e.props.range_max),l.props.defaultValue=Ln(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(l.props.buttonType="default"),Vve(l,(a=t)===null||a===void 0?void 0:a.control_events),l}function X2(e,t){if(!!t){var n=t.displayBoList,r=n===void 0?[]:n,o=t.behaviors,i=o===void 0?[]:o,u=e.id,f=e.children[0].id;r.forEach(function(a){a.id===u&&(a.id=f);var l=a.show_controls.findIndex(function(p){return p===u}),s=a.hide_controls.findIndex(function(p){return p===u});l>-1&&a.show_controls.splice(l,1,f),s>-1&&a.hide_controls.splice(s,1,f)}),i.forEach(function(a){a.ctrl_id===u&&(a.id=f)})}}function Ave(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var n=new Ym.Designer,r=n.toSchema();return r.children=e,[r]}function kve(e){e.forEach(function(t){t.children&&Cve(t.children)})}function Dve(e){e.forEach(function(t){if(!!(t&&t.children))for(var n=t.children,r=0;r<n.length;r++){var o,i,u=n[r],f=(i=n[r])===null||i===void 0||(o=i.children)===null||o===void 0?void 0:o[0];u.type==="grid-row"&&f&&["group-panel","subtable","tab"].includes(f.type)&&n.splice(r,1,f)}})}function Lve(e,t){var n,r,o,i,u,f,a,l,s,p,_;if(!(Array.isArray(e)&&e.length===1))return e;var y=e[0];if(y.type!=="list-page")return e;var v=y.props,h=y.children,b=Sve(h,3),d=b[0],g=b[1],m=b[2];jve(d),m.props.is_fixed_header=(r=v)===null||r===void 0||(n=r.source_config)===null||n===void 0?void 0:n.is_fixed_header,Fve(m,g);var O,$=(O=(i=v)===null||i===void 0||(o=i.source_config)===null||o===void 0?void 0:o.data_code)!==null&&O!==void 0?O:(u=t)===null||u===void 0?void 0:u.dataCode,T,R=((T=(a=v)===null||a===void 0||(f=a.source_config)===null||f===void 0?void 0:f.svc_code)!==null&&T!==void 0?T:$)?"".concat($,"_selectMore"):void 0,S,I=(S=(s=v)===null||s===void 0||(l=s.source_config)===null||l===void 0?void 0:l.orders)!==null&&S!==void 0?S:[],E=new xm.Designer;E.props.datasourceBind=new de({dataCode:$,svcCode:R,orders:fP(I)}),E.props.isShowSubList=v.is_show_sublist,E.props.triggerType=v.timing_type,E.props.triggerFieldCode=v.ctrl_field_code,(_=v)===null||_===void 0||(p=_.sublist_page)===null||p===void 0||p.sublists.forEach(function(B){B.title=Se(B.title)?B.title.zh:B.title}),E.props.sublistPage=v.sublist_page;var N=E.toSchema();return N.children.push(d,m),[N]}function jve(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var n=Se(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=n,t.placeholderEnd=n),t.type==="date-pick"){var r,o;t.type="search-date-range",t.placeholderStart=n,t.placeholderEnd=n,t.dateType=(o=t.dateType)===null||o===void 0||(r=o.replace)===null||r===void 0?void 0:r.call(o,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Fve(e,t){e.children=t.children.filter(function(n){return n.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(n){var r={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:Se(n.field_name)?n.field_name.zh:n.field_name}};if(r.props.caption=Se(n.field_name)?n.field_name.zh:n.field_name,r.props.filter_tags=n.is_filter_tags,r.props.fixed=n.fixed,r.props.display_bo_list=n.display_bo_list,r.props.date_type=n.date_type,r.props.optionConfig="none",n.header_width_config&&(r.props.widthType=n.header_width_config==="1"?"auto":"px"),r.props.widthType==="px"&&n.header_width&&(r.props.width=Number(n.header_width)),n.table_header_type==="order")r.type="order-column",r.props.fixed=!0;else if(n.table_header_type==="operation"){r.type="operation-column";var o;r.props.check=(o=n.check)!==null&&o!==void 0?o:{},r.props.check.openType="window";var i;r.props.delete=(i=n.delete)!==null&&i!==void 0?i:{},r.props.delete.openType="window";var u;r.props.edit=(u=n.edit)!==null&&u!==void 0?u:{},r.props.edit.openType="window",r.props.fixed=!0}else r.type=n.field_type+"-column",n.field_type==="auto_number"&&(r.type="auto-number-column"),n.field_type==="relation"&&(r.type="varchar-column");return n.convert_switch&&(r.props.optionConfig=n.convert_type===1?"datasource":"custom"),r.props.optionConfig==="datasource"?r.props.datasource_bind=new de({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):r.props.optionConfig==="custom"&&(r.props.options=n.custom_match_bo_list),r}))}function Cve(e){for(var t=null,n=0;n<e.length;n++){var r,o=e[n];if(!!o){if(o.children&&((r=o.children[0])===null||r===void 0?void 0:r.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(n,1),n--)}}}function xve(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 Vve(e,t){var n;if(!(!t||!e.props.events)){var r=Object.keys(e.props.events);if(!!r.length&&(r.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,W2(e.props.events[i].map(function(f){return f.name}))))}),!((n=t[e.id])===null||n===void 0)&&n.on_blur)){var o;t[e.id].on_change||(t[e.id].on_change=[]),(o=t[e.id].on_change).push.apply(o,W2(t[e.id].on_blur))}}}var zve=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=jn(Ee(r,function(i){return Gve(i)}));return n?o:o[0]};function Gve(e,t){if(e.type===c.CONTROL_TYPE.LIST_VIEW){var n=e.children.find(function(r){return r.type===c.CONTROL_TYPE.GRID_TABLE});n.props.headers.forEach(function(r){!r.props.data_bind&&r.props.field_code&&(r.props.data_bind=new it({dataCode:e.props.datasource_bind.data_code,fieldCode:r.props.field_code}))})}return e}var Yve=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=jn(Ee(r,function(i){return Hve(i)}));return n?o:o[0]};function Hve(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 qve=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=jn(Ee(r,function(i){return Uve(i)}));return n?o:o[0]};function Uve(e,t){if(e.props.icon){var n=e.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}e.props.icon=n}return e}var Wve=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=jn(Ee(r,function(i){return Xve(i)}));return n?o:o[0]},Kve=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function Xve(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(n){if(Kve.includes(n.type))return n;var r=new Xg.Designer,o=new Da.Designer;r.children.push(o);var i=r.toSchema();return i.children[0].children.push(n),i})),e}var Jve=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=jn(Ee(r,function(i){return Qve(i)}));return n?o:o[0]};function Qve(e,t){return e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(n){n.type===c.CONTROL_TYPE.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),e}var Zve=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Ee(r,function(i){return ehe(i)});return n?o:o[0]};function ehe(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var the=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Ee(r,function(i){return nhe(i)});return n?o:o[0]};function Mn(e,t){e.field_code&&(e.field_type=t)}function nhe(e,t){var n,r=(n={},oe(n,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),oe(n,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),oe(n,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),oe(n,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),oe(n,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),oe(n,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),oe(n,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),oe(n,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),oe(n,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),oe(n,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),oe(n,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),oe(n,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),oe(n,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),oe(n,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),oe(n,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),oe(n,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),oe(n,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),oe(n,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),oe(n,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),oe(n,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),oe(n,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),oe(n,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),oe(n,c.CONTROL_TYPE.SEARCH_NUMBER_RANGE,c.FieldTypes.ARRAY),n);if(r.hasOwnProperty(e.type)&&Mn(e.props.data_bind,r[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 rhe=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Ee(r,function(i){return ohe(i)});return n?o:o[0]};function ohe(e,t){return e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(n){n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===c.CONTROL_TYPE.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),e}var ihe=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Ee(r,function(i){return uhe(i)});return n?o:o[0]};function uhe(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(n){var r,o;[c.FieldTypes.VARCHAR,c.FieldTypes.TEXT,c.FieldTypes.AUTO_NUMBER].includes((o=n.props)===null||o===void 0||(r=o.data_bind)===null||r===void 0?void 0:r.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),e}var che=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Ee(r,function(i){return fhe(i)});return n?o:o[0]};function fhe(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(n){[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(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}var lhe=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Ee(r,function(i){return ahe(i)});return n?o:o[0]};function ahe(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(n){[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(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}var she=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Ee(r,function(i){return phe(i)});return n?o:o[0]};function phe(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(n){if(n.type===c.CONTROL_TYPE.OPERATION_COLUMN){var r,o,i,u;n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto";var f;if(n.children=(f=(r=n)===null||r===void 0?void 0:r.children)!==null&&f!==void 0?f:[],delete n.props.custom,((o=n.props)===null||o===void 0?void 0:o.check)!==void 0){var a,l,s,p,_,y,v=new Wo.Designer;Object.defineProperty(v,"id",{value:"listPageCheckBtnId"}),v.props.code="view",v.props.icon="iconliulan1",v.props.command="view",v.props.content=(a=n.props)===null||a===void 0?void 0:a.check.content,v.props.priorityProcess=(l=n.props)===null||l===void 0?void 0:l.check.priority_process,v.props.openType=(s=n.props)===null||s===void 0?void 0:s.check.open_type,v.props.formKey=(p=n.props)===null||p===void 0?void 0:p.check.form_key,!((_=n.props)===null||_===void 0)&&_.check.is_show&&n.children.push(v.toSchema()),(y=n.props)===null||y===void 0||delete y.check}if(((i=n.props)===null||i===void 0?void 0:i.edit)!==void 0){var h,b,d,g,m,O,$=new Wo.Designer;Object.defineProperty($,"id",{value:"listPageEditBtnId"}),$.props.code="edit",$.props.icon="iconbianji1",$.props.command="edit",$.props.content=(h=n.props)===null||h===void 0?void 0:h.edit.content,$.props.priorityProcess=(b=n.props)===null||b===void 0?void 0:b.edit.priority_process,$.props.openType=(d=n.props)===null||d===void 0?void 0:d.edit.open_type,$.props.formKey=(g=n.props)===null||g===void 0?void 0:g.edit.form_key,!((m=n.props)===null||m===void 0)&&m.edit.is_show&&n.children.push($.toSchema()),(O=n.props)===null||O===void 0||delete O.edit}if(((u=n.props)===null||u===void 0?void 0:u.delete)!==void 0){var T,R,S,I,E,N,B=new Wo.Designer;Object.defineProperty(B,"id",{value:"listPageDeleteBtnId"}),B.props.code="delete",B.props.icon="iconlajitong",B.props.command="delete",B.props.content=(T=n.props)===null||T===void 0?void 0:T.delete.content,B.props.priorityProcess=(R=n.props)===null||R===void 0?void 0:R.delete.priority_process,B.props.openType=(S=n.props)===null||S===void 0?void 0:S.delete.open_type,B.props.formKey=(I=n.props)===null||I===void 0?void 0:I.delete.form_key,B.props.needConfirm=!0,B.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((E=n.props)===null||E===void 0)&&E.delete.is_show&&n.children.push(B.toSchema()),(N=n.props)===null||N===void 0||delete N.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(n){[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(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}var J2={"v1.0":Eve,"v2.0":zve,"v2.1":Yve,"v2.2":qve,"v2.3":Wve,"v2.4":Jve,"v2.5":Zve,"v2.6":the,"v2.7":rhe,"v2.8":ihe,"v2.9":che,"v2.10":lhe,"v3.0":she,"v3.1":function(){}};const Q2=(e,t)=>{const n=Z2(e),r=Z2(t),o=n.pop(),i=r.pop(),u=nA(n,r);return u!==0?u:o&&i?nA(o.split("."),i.split(".")):o||i?o?-1:1:0},P_=(e,t,n)=>{vhe(n);const r=Q2(e,t);return rA[n].includes(r)},_he=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Z2=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(_he);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},eA=e=>e==="*"||e==="x"||e==="X",tA=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},yhe=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],dhe=(e,t)=>{if(eA(e)||eA(t))return 0;const[n,r]=yhe(tA(e),tA(t));return n>r?1:n<r?-1:0},nA=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const r=dhe(e[n]||"0",t[n]||"0");if(r!==0)return r}return 0},rA={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},oA=Object.keys(rA),vhe=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(oA.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${oA.join("|")}`)};function hhe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bhe(e,t,n){return t&&iA(e.prototype,t),n&&iA(e,n),e}function uA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tw(e){return e.replace(/^v/,"")}var ho=Object.keys(J2).map(function(e){return Tw(e)}).sort(Q2),xi=ho[ho.length-1],ghe=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:xi;hhe(this,e),uA(this,"toVersion",void 0),uA(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=n,P_(n,xi,">")?cn("Version Builder: The specified ".concat(n," is an undefined version, and the current latest version is ").concat(xi)):(!ho.includes(Tw(n))||!ho.includes(Tw(t)))&&cn("Version Builder: Please give me a valid version number, The valid version is: ".concat(ho.join(","),", But give me a ").concat(t))}return bhe(e,[{key:"dataCleaner",value:function(n,r){var o=this;if(P_(this.toVersion,this.schemaVersion,"="))return n;var i=this.callDataCleanerKeys.reduce(function(u,f,a,l){var s,p=(s=l[a+1])!==null&&s!==void 0?s:o.toVersion;wo("Version Builder: current version: ".concat(f,", nextVersion: ").concat(p));var _=J2[f],y=u;if(typeof _=="function"){var v=_(u,r);v&&(y=v)}return y},n);return wo("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var n=this;return ho.filter(function(r){return P_(r,n.schemaVersion,">=")&&P_(r,n.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(n){return"v"+n})}},{key:"version",get:function(){return xi}}],[{key:"version",get:function(){return xi}}]),e}();const $_=[],Sw={exports:{}};let Ew=!1;const mhe=window.module,Ohe=window.exports,whe=window.require;function Phe(e){return Ew||(window.module=Sw,window.exports=Sw.exports,window.require=function(t){return e[t]},Ew=!0),function(){window.module=mhe,window.exports=Ohe,window.require=whe,Ew=!1}}function $he(e,t){const n=new Promise((r,o)=>{const i=document.createElement("script"),u=Phe(t);i.src=e,i.type="text/javascript";const f=()=>{document.head.removeChild(i);const a=$_.findIndex(l=>l===n);$_.splice(a,1),$_.length===0&&u()};i.onerror=function(a){f(),o(a)},i.onload=function(){r(Sw.exports),f()},document.head.appendChild(i)});return $_.push(n),n}function Iw(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 cA(e,t,n={fetch:Iw}){return new Promise((r,o)=>{n.fetch(e).then(i=>{const u={exports:{}};new Function("module","exports","require",i)(u,u.exports,function(f){return t[f]}),r(u.exports)}).catch(i=>{o(i)})})}function R_(e,t){return cA(e,t)}function Rhe(e,t){return zi(this,null,function*(){return yield Promise.all(e.map(n=>R_(n,t)))})}function T_(e,t,n){let r;t==="runtime"?r=class extends ce{constructor(a){super(a),this.props={}}static get controlType(){return e}}:r=class extends U{constructor(a){super(a),this.props={}}static get controlType(){return e}};class o extends ue{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="low-code iconshibaimian" style="margin-right:4px"></i>${n}</div>`;return{Runtime:r,Designer:r,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{error:{template:i}}},upgrade:f=>f}}function The(e,t,n,r){return zi(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>zi(this,null,function*(){let u=!0,f;try{u=!0;let a="";r.type==="runtime"?a=i.runtime:a=i.designer,a+="?v="+i.version,f=yield R_(a,n)}catch(a){u=!1,kn("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,a),f=T_(i.id,r.type,r.tipMessage)}if(u){let a="";if(r.type==="runtime"&&i.runtimecss!==void 0){const l=new RegExp(i.id+"-runtime-.*?$");a=i.runtime.replace(l,i.runtimecss)}else if(r.type==="designer"&&i.designercss!==void 0){const l=new RegExp(i.id+"-designer-.*?$");a=i.designer.replace(l,i.designercss)}if(a!==""){const l=document.createElement("link");l.href=a,l.rel="stylesheet",document.head.appendChild(l)}}fA(r.type,f,o,u,i)}))),e==null||e.map(i=>{const[u,f]=i.split(":");if(o.has(u)===!1){const l=T_(u,r.type,r.tipMessage);fA(r.type,l,o,!1,{fieldType:"",id:u,name:"",runtime:"",designer:"",type:"",version:f})}})),o})}function fA(e,t,n,r,o){e==="runtime"?(n.has(t.Runtime.controlType)&&kn(`repeat register ${t.Runtime.controlType}`),n.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:r,control:t})):(n.has(t.Designer.controlType)&&kn(`repeat register ${t.Designer.controlType}`),n.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:r,control:t}))}function She(e,t,n,r){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";n==null||n.map(u=>{const[f,a]=u.split(":");o.props.id===f&&(i=a!=null?a:"")}),e=o.control.upgrade(e,o.version,i,r)}return e}function Ehe(e,t){return zi(this,null,function*(){let n=t.version;t.version==="random"&&(n=new Date().valueOf().toString());let r=new Map;const o=yield Iw(`${e}/component.json?v=${n}`);let i=[];if(o!==void 0){i=JSON.parse(o);const u=yield R_(`${e}/${t.type}.js?v=${n}`,t.globalModules);i.map(f=>{let a=u.find(l=>t.type==="runtime"?l.Runtime.controlType===f.id:l.Designer.controlType===f.id);a===void 0&&(a=T_(f.id,t.type,"\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF")),r.set(f.id,{props:f,version:f.version,isLoaded:!0,control:a})})}return r})}c.ActionBar=WN,c.Address=WI,c.AddressValue=CP,c.AdvancedContainer=jN,c.Amount=NI,c.AmountDataBind=DP,c.AmountValue=LP,c.ApprovalStatusColumn=D2,c.ArrayColumn=QM,c.Attachment=mI,c.AutoNumber=p3,c.AutoNumberColumn=l2,c.AutoWidth=Y_,c.BaseControlProperty=V,c.BaseControlPropertyRules=Oe,c.BaseControlPropertyRuntimeRules=J,c.BaseStyle=GP,c.BatchDeleteButton=AS,c.BatchPrintListButton=vS,c.BatchPrintRecordListButton=OS,c.BatchSubmissionListButton=MR,c.Button=K$,c.Calc=g3,c.CalcDataBind=xP,c.CalcScriptEchoItem=fj,c.CalcValue=VP,c.CardGroup=EB,c.Checkbox=US,c.Col=Da,c.ColumnControlProperty=le,c.ColumnControlPropertyRules=Nt,c.ColumnOptionAndDataSourcePropertyRules=Ny,c.CreateFormListButton=$R,c.CustomAttributeItem=W_,c.CustomColumn=E2,c.CustomPermissionItem=sF,c.DEFAULT_LOCALE=Ww,c.Dashboard=LT,c.DataBind=it,c.DataSourceBind=de,c.DataSourceDataSetValue=NP,c.DataSourceOrderItem=q_,c.DataSourceParamItem=fF,c.DataStorageDoc=PP,c.DataView=Ym,c.DatePicker=hE,c.DateRange=SE,c.DecimalColumn=MM,c.Department=o3,c.Department2=K1,c.DepartmentColumn=r2,c.DepartmentEntity=S_,c.DesignerColumnControl=he,c.DesignerControl=U,c.DesignerFormControl=z,c.DesignerLayoutControl=te,c.DesignerListControl=vu,c.DesignerSearchControl=T$,c.DesignerWrapControl=B$,c.DisplayBoListItem=Xi,c.Divider=fR,c.ElectronicSignature=D1,c.ElectronicSignatureConfig=X$,c.Employee=yI,c.Employee2=R1,c.EmployeeColumn=A2,c.EventLogic=yP,c.Explain=xu,c.ExportListButton=GR,c.ExportRecordListButton=WR,c.ExportTemplate=fd,c.FieldBindItem=TP,c.FieldFilterCondition=Ki,c.FieldFilterConditions=H_,c.FieldTypeToColumnType=aj,c.FileColumn=p2,c.FillBackBind=J_,c.FillPayloadBind=X_,c.FlexStyleConfig=eR,c.FormBind=Fn,c.FormSelectBind=$P,c.FormSelectButton=lT,c.Grid=uB,c.GridLayoutContainer=XB,c.GridLayoutWrap=U2,c.GridRow=Xg,c.GridTable=pM,c.GridTableColumn=YB,c.Image=$I,c.ImageColumn=d2,c.ImageOptionSetting=kP,c.ImportRecordListButton=eT,c.Input=xS,c.InvoiceCheckButton=fS,c.JSONCopy=zt,c.JoinRelation=BP,c.Language=lF,c.LayoutControlProperty=Q,c.LeftVariable=IP,c.LimitDate=Cu,c.Link=Y$,c.LinkOperationOption=Gt,c.ListBind=Wi,c.ListControlProperty=Mo,c.ListSelectButton=bT,c.ListView=xm,c.ListViewSelect=qT,c.LocationColumn=$2,c.MetaAutoWidth=wP,c.MetaWidth=Ui,c.MultistageFillingItem=De,c.Number=aE,c.ObjectDataBind=Qi,c.OperationButton=Wo,c.OperationColumn=cM,c.OperationItem=Yt,c.OptObject=YP,c.OptionAndDataSourcePropertyRules=Cn,c.OptionSetting=Z_,c.OrderColumn=rM,c.OrganizationDataSourceBind=MP,c.OrganizationSelection=nB,c.Page=AN,c.Pagination=TT,c.PeopleColumn=b2,c.Position=GN,c.PositioningContainer=xN,c.PrintTemplate=Z$,c.Property=ue,c.PropertyRules=ye,c.PropertyRuntimeRules=an,c.Radio=rE,c.RangeDataBind=jP,c.RangeDateValue=FP,c.RegisterControls=Po,c.RegularRules=Q_,c.RichText=VE,c.RightVariable=mr,c.Row=bB,c.RulesMessage=w,c.RuntimeColumnControl=be,c.RuntimeControl=ce,c.RuntimeFormControl=G,c.RuntimeLayoutControl=fe,c.RuntimeListControl=Ty,c.RuntimeSearchControl=E$,c.RuntimeWrapControl=M$,c.SUBTABLE_DEFAULT_MAX_HEIGHT=Q$,c.Score=FI,c.SearchControlProperty=wu,c.SearchDateRange=C3,c.SearchInput=s1,c.SearchNumberRange=I3,c.Select=JE,c.SelectMultiple=oI,c.SelectRelation=n1,c.SelectedContentConfig=Ji,c.SimpleSearch=V2,c.SubListItem=SP,c.SubListPageConfig=EP,c.SubTable=JN,c.SubTableColumn=im,c.SubTableRow=CB,c.SubmissionRecordListButton=jR,c.SuperDataSourceBind=$o,c.Tab=aN,c.TabPane=iN,c.Text=C$,c.TextColumn=RM,c.TextOcrButton=eS,c.Textarea=kE,c.TimescopeColumn=CM,c.TimestampColumn=qM,c.Title=vR,c.Toolbox=hN,c.Tree=b1,c.TreeDataSourceBind=K_,c.UndersignedPerson=cd,c.UserEntity=E_,c.VarcharColumn=bM,c.VersionBuilder=ghe,c.ViewOperationItem=zP,c.VueFormItem=q3,c.WPS=z1,c.WPSSetting=J$,c.Watcher=pP,c.WpsOperationItem=ld,c.WrapControlProperty=Tu,c.baseControls=tY,c.camelizeKeys=fP,c.columnControls=Bde,c.controlHooksEmitter=ZP,c.createValidator=QP,c.debounce=Fj,c.decamelizeKeys=jn,c.defineArrayParent=vP,c.defineControlArrayToProperty=dt,c.defineParent=z_,c.error=cn,c.formControls=Zee,c.genNonDuplicateId=yt,c.getHackerControl=T_,c.getNotRepeatItems=cP,c.initExpression=ko,c.initImageOptions=aF,c.initLinkOperationRules=dn,c.initOptionAndDataSourceRules=nu,c.initOptions=It,c.initSuperDataSourceRules=Io,c.isArray=Dn,c.isBuiltInControls=xj,c.isDataBind=s$,c.isFunction=Mj,c.isJSONArray=Lj,c.isJSONObject=jj,c.isLanguageObject=Se,c.isNumber=j_,c.isNumberAndEmptyStringArray=Dj,c.isNumberArray=kj,c.isObject=Nj,c.isPlainObject=L_,c.isString=uP,c.isStringArray=Aj,c.layoutControls=jfe,c.listControls=wae,c.loadRemoteControl=R_,c.loadRemoteControls=Rhe,c.loadScriptFromFetch=cA,c.loadScriptFromTag=$he,c.log=wo,c.logerror=tP,c.loop=Ee,c.loopFormSchema=Hi,c.nativeFetch=Iw,c.noop=lj,c.referenceError=A_,c.registerByteluckControls=Ehe,c.registerCustomControls=The,c.searchControls=Ude,c.setPropertyDontEnum=V_,c.toNumberOrEmpty=Ln,c.updateValueFromKeys=oP,c.upgradeCustomControlSchema=She,c.wait=Cj,c.warn=kn,c.wrapControls=mve,Object.defineProperty(c,"__esModule",{value:!0})});
|
|
1
|
+
var Vi=(c,Nn,un)=>new Promise((S_,zi)=>{var H=Vt=>{try{bo(un.next(Vt))}catch(go){zi(go)}},E_=Vt=>{try{bo(un.throw(Vt))}catch(go){zi(go)}},bo=Vt=>Vt.done?S_(Vt.value):Promise.resolve(Vt.value).then(H,E_);bo((un=un.apply(c,Nn)).next())});(function(c,Nn){typeof exports=="object"&&typeof module!="undefined"?Nn(exports):typeof define=="function"&&define.amd?define(["exports"],Nn):(c=typeof globalThis!="undefined"?globalThis:c||self,Nn(c.modelDrivenCoreAll={}))})(this,function(c){"use strict";function Nn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function un(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S_=function e(){Nn(this,e),un(this,"department_en_name",void 0),un(this,"department_id",void 0),un(this,"department_name",void 0)};function zi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E_=function e(){zi(this,e),H(this,"avatar_big",void 0),H(this,"avatar_small",void 0),H(this,"avatar_url",void 0),H(this,"belong_dept_en_name",void 0),H(this,"belong_dept_id_list",void 0),H(this,"belong_dept_ids",void 0),H(this,"belong_dept_name",void 0),H(this,"cookie_language_enum",void 0),H(this,"department_id",void 0),H(this,"department_name",void 0),H(this,"email",void 0),H(this,"employee_card",void 0),H(this,"employee_en_name",void 0),H(this,"employee_id",void 0),H(this,"employee_name",void 0),H(this,"external_user",void 0),H(this,"gender",void 0),H(this,"is_show_chat_group",void 0),H(this,"manage_dept_en_name",void 0),H(this,"manage_dept_ids",void 0),H(this,"manage_dept_name",void 0),H(this,"msg_relation_type",void 0),H(this,"sequence",void 0),H(this,"telephone",void 0),H(this,"tenant_id",void 0)},bo="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Vt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",go="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",lA="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",aA="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",sA="{caption}\u5FC5\u586B",pA="\u8BF7\u8F93\u5165\u6807\u9898",_A="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",yA="\u8BF7\u8F93\u5165\u884C\u6807\u9898",vA="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",dA="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",hA="\u8BF7\u7ED1\u5B9A\u8868\u5355",bA="\u8BF7\u7ED1\u5B9A\u5217\u8868",gA="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",mA="\u8BF7\u8F93\u5165\u663E\u793A\u503C",OA="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",wA="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",PA="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",$A="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",RA="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",TA="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",SA="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",EA="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",IA="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",BA="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",NA="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",MA="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",AA="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",kA="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",DA="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",LA="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",jA="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",FA="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",CA="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",xA="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",VA="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",zA="\u8BF7\u7ED1\u5B9A\u670D\u52A1",GA="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",YA="\u8BF7\u9009\u62E9\u7701",HA="\u8BF7\u9009\u62E9\u5E02",qA="\u8BF7\u9009\u62E9\u533A",UA="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",WA="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",KA="\u8BF7\u8F93\u5165\u5217\u5BBD",XA="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",JA="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",QA="\u8BF7\u9009\u62E9\u63A7\u4EF6",ZA="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",ek="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",tk="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",nk="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",rk="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ok="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ik="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",uk="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ck="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",fk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",lk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ak="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",sk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",pk="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",_k="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",yk="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",vk="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",dk="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",hk="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",bk="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",gk="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",mk="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Ok="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",wk="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Pk="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",$k="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Rk={isNotNumber:bo,isNotString:Vt,isNotObject:go,isNotArray:lA,isNotBoolean:aA,runtimeRequired:sA,pleaseEnterCaption:pA,pleaseEnterCaptionTip:_A,pleaseEnterRowCaption:yA,pleaseEnterPlaceholder:vA,pleaseEnterFieldCode:dA,pleaseEnterForm:hA,pleaseEnterList:bA,pleaseEnterProcess:gA,pleaseEnterLabel:mA,pleaseEnterValue:OA,bizKeyNotBindFiled:wA,pleaseSelectOneField:PA,pleaseEnterNumberRange:$A,pleaseEnterAValueGreaterThanMin:RA,pleaseEnterAValueLessThanMax:TA,numberRangeSetError:SA,stringRangeError:EA,attachmentMaxSize:IA,pleaseEnterTotalScoreSetting:BA,theTotalScoreMustNotBeLessThan1:NA,scoreDefaultValueRange:MA,attachmentLimitError:AA,PleaseReselectTheOptionalQuantity:kA,TheMaximumLengthIsGreaterThanTheMinimumLength:DA,TheMinimumLengthIsGreaterThanTheMaximumLength:LA,PleaseSelectTheCorrectOptionSettings:jA,optionIdIsRepeat:FA,optionIsRequired:CA,pleaseEnterDataCode:xA,pleaseEnterValueFieldCode:VA,pleaseEnterSvcCode:zA,pleaseBindAtLeastOneDisplayValue:GA,pleaseSelectProvince:YA,pleaseSelectCity:HA,pleaseSelectDistrict:qA,limitRowsCannotBeLessThan0:UA,TheNumberOfRowsCannotBeLessThanMinRows:WA,pleaseEnterColumnWidth:KA,pleaseSetTheLogicalRelationshipOfAllRuleConditions:XA,pleaseCompleteAllRulesAndConditions:JA,pleaseSelectControl:QA,pleaseSelectAtLeastOneColumn:ZA,pleaseSelectFillBackMode:ek,pleaseSelectDashboard:tk,rootNodeIsRequired:nk,theViewNameCannotBeEmpty:rk,pleaseSelectOcrType:ok,pleaseSelectAtLeastOneFieldToFillIn:ik,pleaseChooseAtLeastOne:uk,pleaseEnterButtonContent:ck,pleaseEnterDataCodeInDataSetting:fk,pleaseEnterValueFieldCodeInDataSetting:lk,pleaseEnterSvcCodeInDataSetting:ak,pleaseBindAtLeastOneDisplayValueInDataSetting:sk,rootNodeIsRequiredInDataSetting:pk,pleaseEnterMaxHeight:_k,pleaseEnter:yk,pleaseEnterWatermark:vk,pleaseEnterFileName:dk,pleaseUploadAtLeastOnePrintTemplate:hk,pleaseAssignBusiness:bk,pleaseAssignExternal:gk,pleaseEnterAliasCode:mk,pleaseSelectDataCode:Ok,pleaseSelectSvcCode:wk,pleaseSelectJoinFieldCode:Pk,pleaseSelectMainFieldCode:$k},Tk="Please enter a number",Sk="Please enter a string",Ek="Please enter an object",Ik="Please enter an array",Bk="Please enter a boolean",Nk="{caption} Required",Mk="Please enter the title",Ak="Please enter the bubble prompt",kk="Please enter the row title",Dk="Please enter the prompt text",Lk="Please bind data items",jk="Please bind the form",Fk="Please bind the list",Ck="Please bind the process",xk="Please enter the displayed value",Vk="Please enter the stored value",zk="The document number is not bound to the data item",Gk="Please select at least one display field",Yk="Please enter a value greater than or equal to {min} and less than or equal to {max}",Hk="Please enter a value greater than or equal to {min}",qk="Please enter a value less than or equal to {max}",Uk="The value range is set incorrectly",Wk="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Kk="The attachment size must be between 0MB and 1000MB",Xk="Please fill in the total score setting",Jk="The total score cannot be less than 1",Qk="The default value must be between {min} and {max}",Zk="The number of attachments uploaded must be between {min} and {max}",eD="Please re-select the optional quantity",tD="The maximum length of the control must be greater than the minimum length",nD="The minimum length of the control must be less than the maximum length",rD="Please select the correct option setting",oD="Option ID cannot be repeated",iD="Please enter at least one option",uD="Please bind the data source",cD="Please bind the stored value",fD="Please bind the service",lD="At least one display value must be bound",aD="Please select a province",sD="Please select a city",pD="Please select a district",_D="The minimum number of lines to fill in cannot be less than 0",yD="The number of rows cannot be less than {min} rows",vD="Please enter the column width",dD="Please set the logical relationship of all rule conditions",hD="Please complete all rules and conditions",bD="please select control",gD="Please select the dashboard",mD="View name cannot be empty",OD="Please select recognition type",wD="Please select at least one field to fill in",PD="Please select at least one",$D="Please enter the button title",RD="Please bind the business model in the data settings",TD="Please bind storage values in data settings",SD="Please bind the service in the data settings",ED="Please bind at least one display value in the data settings",ID="Please select the root node in the data settings",BD="Please enter the maximum height",ND="The input content cannot be empty",MD="Watermark cannot be empty",AD="File name cannot be empty",kD="Please upload at least one printing template!\uFF01",DD="Please select a specific business department",LD="Please select a specified external organization",jD="Please enter a sub table alias",FD="Please select the associated table to set the business model",CD="Please select the association table to set the binding service",xD="Select associated sub table fields",VD="Please select the associated main table field",zD={isNotNumber:Tk,isNotString:Sk,isNotObject:Ek,isNotArray:Ik,isNotBoolean:Bk,runtimeRequired:Nk,pleaseEnterCaption:Mk,pleaseEnterCaptionTip:Ak,pleaseEnterRowCaption:kk,pleaseEnterPlaceholder:Dk,pleaseEnterFieldCode:Lk,pleaseEnterForm:jk,pleaseEnterList:Fk,pleaseEnterProcess:Ck,pleaseEnterLabel:xk,pleaseEnterValue:Vk,bizKeyNotBindFiled:zk,pleaseSelectOneField:Gk,pleaseEnterNumberRange:Yk,pleaseEnterAValueGreaterThanMin:Hk,pleaseEnterAValueLessThanMax:qk,numberRangeSetError:Uk,stringRangeError:Wk,attachmentMaxSize:Kk,pleaseEnterTotalScoreSetting:Xk,theTotalScoreMustNotBeLessThan1:Jk,scoreDefaultValueRange:Qk,attachmentLimitError:Zk,PleaseReselectTheOptionalQuantity:eD,TheMaximumLengthIsGreaterThanTheMinimumLength:tD,TheMinimumLengthIsGreaterThanTheMaximumLength:nD,PleaseSelectTheCorrectOptionSettings:rD,optionIdIsRepeat:oD,optionIsRequired:iD,pleaseEnterDataCode:uD,pleaseEnterValueFieldCode:cD,pleaseEnterSvcCode:fD,pleaseBindAtLeastOneDisplayValue:lD,pleaseSelectProvince:aD,pleaseSelectCity:sD,pleaseSelectDistrict:pD,limitRowsCannotBeLessThan0:_D,TheNumberOfRowsCannotBeLessThanMinRows:yD,pleaseEnterColumnWidth:vD,pleaseSetTheLogicalRelationshipOfAllRuleConditions:dD,pleaseCompleteAllRulesAndConditions:hD,pleaseSelectControl:bD,pleaseSelectDashboard:gD,theViewNameCannotBeEmpty:mD,pleaseSelectOcrType:OD,pleaseSelectAtLeastOneFieldToFillIn:wD,pleaseChooseAtLeastOne:PD,pleaseEnterButtonContent:$D,pleaseEnterDataCodeInDataSetting:RD,pleaseEnterValueFieldCodeInDataSetting:TD,pleaseEnterSvcCodeInDataSetting:SD,pleaseBindAtLeastOneDisplayValueInDataSetting:ED,rootNodeIsRequiredInDataSetting:ID,pleaseEnterMaxHeight:BD,pleaseEnter:ND,pleaseEnterWatermark:MD,pleaseEnterFileName:AD,pleaseUploadAtLeastOnePrintTemplate:kD,pleaseAssignBusiness:DD,pleaseAssignExternal:LD,pleaseEnterAliasCode:jD,pleaseSelectDataCode:FD,pleaseSelectSvcCode:CD,pleaseSelectJoinFieldCode:xD,pleaseSelectMainFieldCode:VD},GD="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",YD="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",HD="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qD="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UD="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",WD="{caption}\u5FC5\u9808",KD="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",XD="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",JD="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",QD="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ZD="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",eL="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tL="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nL="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rL="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oL="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",iL="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",uL="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",cL="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",fL="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lL="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aL="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",sL="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pL="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",_L="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",yL="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",vL="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",dL="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",hL="\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",gL="\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",OL="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",wL="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",PL="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$L="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",RL="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",TL="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",SL="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",EL="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",IL="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",BL="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",NL="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ML="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",AL="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",kL="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",DL="please select control",LL="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jL="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",FL="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",CL="\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",xL="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",VL="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",GL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",YL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",HL="\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",qL="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",UL="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",WL="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",KL="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",XL="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",JL="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",QL="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ZL="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ej="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tj="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",nj="\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",rj="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",oj="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ij={isNotNumber:GD,isNotString:YD,isNotObject:HD,isNotArray:qD,isNotBoolean:UD,runtimeRequired:WD,pleaseEnterCaption:KD,pleaseEnterCaptionTip:XD,pleaseEnterRowCaption:JD,pleaseEnterPlaceholder:QD,pleaseEnterFieldCode:ZD,pleaseEnterForm:eL,pleaseEnterList:tL,pleaseEnterProcess:nL,pleaseEnterLabel:rL,pleaseEnterValue:oL,bizKeyNotBindFiled:iL,pleaseSelectOneField:uL,pleaseEnterNumberRange:cL,pleaseEnterAValueGreaterThanMin:fL,pleaseEnterAValueLessThanMax:lL,numberRangeSetError:aL,stringRangeError:sL,attachmentMaxSize:pL,pleaseEnterTotalScoreSetting:_L,theTotalScoreMustNotBeLessThan1:yL,scoreDefaultValueRange:vL,attachmentLimitError:dL,PleaseReselectTheOptionalQuantity:hL,TheMaximumLengthIsGreaterThanTheMinimumLength:bL,TheMinimumLengthIsGreaterThanTheMaximumLength:gL,PleaseSelectTheCorrectOptionSettings:mL,optionIdIsRepeat:OL,optionIsRequired:wL,pleaseEnterDataCode:PL,pleaseEnterValueFieldCode:$L,pleaseEnterSvcCode:RL,pleaseBindAtLeastOneDisplayValue:TL,pleaseSelectProvince:SL,pleaseSelectCity:EL,pleaseSelectDistrict:IL,limitRowsCannotBeLessThan0:BL,TheNumberOfRowsCannotBeLessThanMinRows:NL,pleaseEnterColumnWidth:ML,pleaseSetTheLogicalRelationshipOfAllRuleConditions:AL,pleaseCompleteAllRulesAndConditions:kL,pleaseSelectControl:DL,pleaseSelectDashboard:LL,theViewNameCannotBeEmpty:jL,pleaseSelectOcrType:FL,pleaseSelectAtLeastOneFieldToFillIn:CL,pleaseChooseAtLeastOne:xL,pleaseEnterButtonContent:VL,pleaseEnterDataCodeInDataSetting:zL,pleaseEnterValueFieldCodeInDataSetting:GL,pleaseEnterSvcCodeInDataSetting:YL,pleaseBindAtLeastOneDisplayValueInDataSetting:HL,rootNodeIsRequiredInDataSetting:qL,pleaseEnterMaxHeight:UL,pleaseEnter:WL,pleaseEnterWatermark:KL,pleaseEnterFileName:XL,pleaseUploadAtLeastOnePrintTemplate:JL,pleaseAssignBusiness:QL,pleaseAssignExternal:ZL,pleaseEnterAliasCode:ej,pleaseSelectDataCode:tj,pleaseSelectSvcCode:nj,pleaseSelectJoinFieldCode:rj,pleaseSelectMainFieldCode:oj},uj={zhCN:Rk,enUS:zD,jaJP:ij};function cj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 fj=function e(t){cj(this,e);var n,r,o,i,u,f;gr(this,"name",void 0),gr(this,"id",void 0),gr(this,"type",void 0),gr(this,"subTableId",void 0),gr(this,"subTableName",void 0),gr(this,"aggregateType",void 0);var a;this.name=(a=(n=t)===null||n===void 0?void 0:n.name)!==null&&a!==void 0?a:"";var l;this.id=(l=(r=t)===null||r===void 0?void 0:r.id)!==null&&l!==void 0?l:"";var s;this.type=(s=(o=t)===null||o===void 0?void 0:o.type)!==null&&s!==void 0?s:c.CALC_TOKEN_TYPE.Number;var p;this.subTableId=(p=(i=t)===null||i===void 0?void 0:i.subTableId)!==null&&p!==void 0?p:void 0;var _;this.subTableName=(_=(u=t)===null||u===void 0?void 0:u.subTableId)!==null&&_!==void 0?_:void 0;var y;this.aggregateType=(y=(f=t)===null||f===void 0?void 0:f.aggregateType)!==null&&y!==void 0?y:void 0},Uw="zh-CN",lj=function(){};function Ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}c.CONTROL_BASE_TYPE=void 0,function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"}(c.CONTROL_BASE_TYPE||(c.CONTROL_BASE_TYPE={})),c.CONTROL_TYPE=void 0,function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap"}(c.CONTROL_TYPE||(c.CONTROL_TYPE={})),c.FieldTypes=void 0,function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"}(c.FieldTypes||(c.FieldTypes={}));var ke,aj=(ke={},Ke(ke,c.FieldTypes.ARRAY,c.CONTROL_TYPE.ARRAY_COLUMN),Ke(ke,c.FieldTypes.AUTO_NUMBER,c.CONTROL_TYPE.AUTO_NUMBER_COLUMN),Ke(ke,c.FieldTypes.DECIMAL,c.CONTROL_TYPE.DECIMAL_COLUMN),Ke(ke,c.FieldTypes.DEPARTMENTS,c.CONTROL_TYPE.DEPARTMENT_COLUMN),Ke(ke,c.FieldTypes.FILE,c.CONTROL_TYPE.FILE_COLUMN),Ke(ke,c.FieldTypes.IMAGE,c.CONTROL_TYPE.IMAGE_COLUMN),Ke(ke,c.FieldTypes.ADDRESS,c.CONTROL_TYPE.LOCATION_COLUMN),Ke(ke,c.FieldTypes.EMPLOYEES,c.CONTROL_TYPE.EMPLOYEE_COLUMN),Ke(ke,c.FieldTypes.TEXT,c.CONTROL_TYPE.TEXT_COLUMN),Ke(ke,c.FieldTypes.TIMESCOPE,c.CONTROL_TYPE.TIMESCOPE_COLUMN),Ke(ke,c.FieldTypes.TIMESTAMP,c.CONTROL_TYPE.TIMESTAMP_COLUMN),Ke(ke,c.FieldTypes.VARCHAR,c.CONTROL_TYPE.VARCHAR_COLUMN),Ke(ke,c.FieldTypes.RELATION,c.CONTROL_TYPE.VARCHAR_COLUMN),ke);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 Ww="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",sj=Ww+"0123456789";function yt(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?Ww:sj,o=Math.random()*r.length;t+=r[parseInt(String(o),10)]}return t}function I_(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pj(e){if(Array.isArray(e))return I_(e)}function _j(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 Gi(e,t,n){return Qw()?Gi=Reflect.construct:Gi=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&Oo(l,u.prototype),l},Gi.apply(null,arguments)}function mo(e){return mo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mo(e)}function Xw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oo(e,t)}function yj(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function vj(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 hj(e,t){return t&&(bj(t)==="object"||typeof t=="function")?t:_j(e)}function Oo(e,t){return Oo=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Oo(e,t)}function Jw(e){return pj(e)||vj(e)||gj(e)||dj()}function bj(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gj(e,t){if(!!e){if(typeof e=="string")return I_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I_(e,t)}}function B_(e){var t=typeof Map=="function"?new Map:void 0;return B_=function(r){if(r===null||!yj(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return Gi(r,arguments,mo(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Oo(o,r)},B_(e)}function Qw(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zw(e){var t=Qw();return function(){var r=mo(e),o;if(t){var i=mo(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return hj(this,o)}}var N_=console;function Mn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t.slice(1);(r=N_).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(Jw(o)))}function wo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,o=t.slice(1);(r=N_).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(Jw(o)))}function mj(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var M_=function(e){Xw(n,e);var t=Zw(n);function n(r){Kw(this,n);var o;return o=t.call(this,r),o.name="\u{1F4A5} Driven Error",o.message=r?mj(r):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",o}return n}(B_(Error)),Oj=function(e){Xw(n,e);var t=Zw(n);function n(r){Kw(this,n);var o;return o=t.call(this,r),o.name="\u{1F6A8} Driven Reference Error",o}return n}(M_);function cn(e){throw new M_(e)}function A_(e){throw new Oj(e)}function eP(e){N_.error(new M_(e))}function Yi(e,t){Array.isArray(e)&&e.map(function(n){switch(n.controlType){case"layout":var r;Yi((r=n)===null||r===void 0?void 0:r.children,t);break;case"wrap":var o;Yi((o=n)===null||o===void 0?void 0:o.children,t);break;case"search":var i;Yi((i=n)===null||i===void 0?void 0:i.children,t);break;case"form":t(n)}})}var wj=Object.prototype.toString;function tP(e,t){return wj.call(e)==="[object "+t+"]"}function Pj(e){return tP(e,"String")}function $j(e){return tP(e,"Promise")}var Rj=function(){function e(t){var n,r;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((r=(n=t.messages)!==null&&n!==void 0?n:this.getPreImport(t.locale))!==null&&r!==void 0?r:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var n=this;this.locale=t,this._messageCache.clear();var r=this.getMessageData();$j(r)?r.then(function(o){n._messageCache.clear(),n.messages[n.localeInMessageKey]=o}):this.messages[this.localeInMessageKey]=r},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,n,r){var o=this.getMessage(t);return o?this.formatMessage(o,r):this.formatMessage(n,r)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var n=this.getPathArray(t),r=n.reduce(function(o,i,u,f){if(o!==void 0){var a=o[i];if(!(u===f.length-1&&!Pj(a)))return a}},this.message);return this._messageCache.set(t,r),r},e.prototype.formatMessage=function(t,n){return n?t.replace(this.variableRegExp,function(r,o){var i=n[o];return i!==void 0?String(i):r}):t},e.prototype.getPreImport=function(t){var n;if(window.okI18nPreImport){var r=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(r)?window.okI18nPreImport:(n={},n[r]=window.okI18nPreImport,n)}},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 Tj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sj(e,t,n){return t&&nP(e.prototype,t),n&&nP(e,n),e}function Ej(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=function(){function e(){Tj(this,e)}return Sj(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",r)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Uw;return new Rj({locale:n,messages:uj})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),e}();Ej(w,"$i18n",w.resetI18n());function rP(e,t,n){var r=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return r.reduce(function(i,u,f,a){var l=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){Mn("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return f===a.length-1&&!Object.is(l[u],n)&&(l[u]=n,o=!0),l[u]}},e),o}var Ij=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},k_={exports:{}};(function(e){(function(t){var n=function(v,g,m){if(!l(g)||p(g)||_(g)||y(g)||a(g))return g;var O,$=0,T=0;if(s(g))for(O=[],T=g.length;$<T;$++)O.push(n(v,g[$],m));else{O={};for(var R in g)Object.prototype.hasOwnProperty.call(g,R)&&(O[v(R,m)]=n(v,g[R],m))}return O},r=function(v,g){g=g||{};var m=g.separator||"_",O=g.split||/(?=[A-Z])/;return v.split(O).join(m)},o=function(v){return d(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(g,m){return m?m.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var g=o(v);return g.substr(0,1).toUpperCase()+g.substr(1)},u=function(v,g){return r(v,g).toLowerCase()},f=Object.prototype.toString,a=function(v){return typeof v=="function"},l=function(v){return v===Object(v)},s=function(v){return f.call(v)=="[object Array]"},p=function(v){return f.call(v)=="[object Date]"},_=function(v){return f.call(v)=="[object RegExp]"},y=function(v){return f.call(v)=="[object Boolean]"},d=function(v){return v=v-0,v===v},h=function(v,g){var m=g&&"process"in g?g.process:g;return typeof m!="function"?v:function(O,$){return m(O,v,$)}},b={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(v,g){return n(h(o,g),v)},decamelizeKeys:function(v,g){return n(h(u,g),v,g)},pascalizeKeys:function(v,g){return n(h(i,g),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=b:t.humps=b})(Ij)})(k_);var oP={};Object.defineProperty(oP,"__esModule",{value:!0});function D_(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:D_(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:D_(r)}return t}}var Bj=oP.default=D_;function zt(e){if(e!==void 0)return typeof e=="object"?Bj(e):e}function Se(e){return L_(e)&&"zh"in e}function L_(e){return Object.prototype.toString.call(e)==="[object Object]"}function Nj(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function An(e){return Array.isArray(e)}function iP(e){return typeof e=="string"}function j_(e){return typeof e=="number"}function Mj(e){return typeof e=="function"}function Aj(e){return An(e)&&e.every(function(t){return iP(t)})}function kj(e){return An(e)&&e.every(function(t){return j_(t)})}function Dj(e){return An(e)&&e.every(function(t){return j_(t)||t===""})}function Lj(e){return/^\[.*?]$/.test(e)}function jj(e){return/^{.*?}$/.test(e)}function kn(e){return isNaN(parseFloat(e))?"":Number(e)}function uP(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function Fj(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,n;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var u=this;n||(n=setTimeout(function(){e.apply(u,o),clearTimeout(n),n=null},t))}}function Cj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function Ee(e,t){var n=[];return Array.isArray(e)&&(n=e.map(function(r){var o,i,u=r;return Array.isArray((o=r)===null||o===void 0?void 0:o.children)&&(u.children=Ee(r.children,t)),Array.isArray((i=r)===null||i===void 0?void 0:i.footers)&&(u.footers=Ee(r.footers,t)),t(u)})),n}function cP(e){return k_.exports.camelizeKeys(e)}function Dn(e){return k_.exports.decamelizeKeys(e)}function xj(e){return Object.values(c.CONTROL_TYPE).includes(e)}function F_(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vj(e){if(Array.isArray(e))return F_(e)}function fP(e,t,n,r,o,i,u){try{var f=e[i](u),a=f.value}catch(l){n(l);return}f.done?t(a):Promise.resolve(a).then(r,o)}function zj(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(a){fP(i,r,o,u,f,"next",a)}function f(a){fP(i,r,o,u,f,"throw",a)}u(void 0)})}}function Gj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yj(e,t,n){return t&&lP(e.prototype,t),n&&lP(e,n),e}function aP(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hj(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qj(){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 C_(e){return Vj(e)||Hj(e)||Uj(e)||qj()}function Uj(e,t){if(!!e){if(typeof e=="string")return F_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F_(e,t)}}function Wj(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var sP=function(){function e(){Gj(this,e),aP(this,"_events",new Map),aP(this,"debug",!1)}return Yj(e,[{key:"emit",value:function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];var u=this;return zj(function(){var f,a,l,s,p,_,y,d,h,b,v,g;return Wj(this,function(m){switch(m.label){case 0:if(f=u._events.get(n),a=[],!f)return[3,10];l=f.slice(),s=!0,p=!1,_=void 0,m.label=1;case 1:m.trys.push([1,8,9,10]),y=l[Symbol.iterator](),m.label=2;case 2:if(s=(d=y.next()).done)return[3,7];if(h=d.value,!f.includes(h))return[3,6];m.label=3;case 3:return m.trys.push([3,5,,6]),u.debug&&wo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(C_(o))),[4,h.apply(null,C_(o))];case 4:return b=m.sent(),u.debug&&wo.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(C_(o),[b])),a.push(b),b===!1?[3,7]:[3,6];case 5:return v=m.sent(),eP(String(v)+":"+String(v.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return g=m.sent(),p=!0,_=g,[3,10];case 9:try{!s&&y.return!=null&&y.return()}finally{if(p)throw _}return[7];case 10:return[2,a]}})})()}},{key:"on",value:function(n,r){if(this._events.has(n)){var o;(o=this._events.get(n))===null||o===void 0||o.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var o,i,u=this._events.get(n),f=(o=u)===null||o===void 0?void 0:o.indexOf(r);(i=u)===null||i===void 0||i.splice(f,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function Kj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xj(e,t,n){return t&&pP(e.prototype,t),n&&pP(e,n),e}function Jj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qj=[{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"}],_P=function(){function e(){Kj(this,e)}return Xj(e,[{key:"getEventsFromKeys",value:function(n){var r=typeof n=="string"?[n]:n;return e.events.filter(function(o){return r.includes(o.key)})}}]),e}();Jj(_P,"events",Qj);function Zj(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eF(e,t,n){return t&&yP(e.prototype,t),n&&yP(e,n),e}function Ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vP=[],Hi=function(){function e(t){Zj(this,e),Ln(this,"registeredControlTypes",new Set),Ln(this,"controlConfigMap",new Map),Ln(this,"_controls",[]),Ln(this,"_type",void 0),this._type=t,this._initControls(t)}return eF(e,[{key:"registerControlConfig",value:function(n,r){return this.controlConfigMap.set(n,r),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||cn("".concat(n.name," is not a Control"));var r=this._controls.findIndex(function(o){return o.controlType===n.controlType});return r>-1&&(Mn("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(r,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===c.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===c.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(n){return n.controlType===c.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===c.CONTROL_BASE_TYPE.COLUMN}},{key:"createControl",value:function(n,r){var o=this;if(Array.isArray(n))return n.map(function(s){return o.createControl(s,r)});if(n.children&&(n.children=n.children.map(function(s){return o.createControl(s,r)})),this.isListControl(n)){var i=n.props;i.headers&&(i.headers=i.headers.map(function(s){return o.createControl(s,r)})),i.footers&&(i.footers=i.footers.map(function(s){var p;return s&&(p=o.createControl(s,r)),p}))}var u=this.getControlFormType(n.type);if(u){var f=n;if(typeof r=="function"){var a=r(f);a&&(f=a)}var l=new u(f);return l}else cn("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(n,r){var o=this.getControlFormType(n);if(o)return new o(r)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(r){return r.controlType===n})}},{key:"_initControls",value:function(n){var r=this;this.constructor.staticControls.forEach(function(o){r.register(o[n])})}}],[{key:"register",value:function(n){var r=n.Designer,o=n.Runtime;(!r||!o||!r.__is_control__||!o.__is_control__)&&cn("".concat(n," is can't register as a Control"));var i=this.staticControls.findIndex(function(u){return u.Designer.controlType===r.controlType});return i>-1&&(Mn("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(i,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),this}}]),e}();Ln(Hi,"staticControls",vP),Ln(Hi,"staticRegisteredTypes",new Set(vP.map(function(e){return e.Designer.controlType}))),Ln(Hi,"staticRegisteredConfigs",new Map);function q(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 P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(e)}function nt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x_(e,t)}function tF(e,t){return t&&(nF(t)==="object"||typeof t=="function")?t:q(e)}function x_(e,t){return x_=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},x_(e,t)}function nF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rF(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rt(e){var t=rF();return function(){var r=qi(e),o;if(t){var i=qi(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return tF(this,o)}}var ot=function e(t){k(this,e);var n,r,o,i;P(this,"dataCode",void 0),P(this,"fieldCode",void 0),P(this,"fieldType",void 0),P(this,"aliasCode",void 0);var u;this.dataCode=(u=(n=t)===null||n===void 0?void 0:n.dataCode)!==null&&u!==void 0?u:"";var f;this.fieldCode=(f=(r=t)===null||r===void 0?void 0:r.fieldCode)!==null&&f!==void 0?f:"";var a;this.fieldType=(a=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&a!==void 0?a:"",this.aliasCode=(i=t)===null||i===void 0?void 0:i.aliasCode},V_=function e(t){k(this,e);var n,r,o;P(this,"minWidth",void 0),P(this,"maxWidth",void 0),P(this,"flex",void 0);var i;this.minWidth=(i=(n=t)===null||n===void 0?void 0:n.minWidth)!==null&&i!==void 0?i:150,this.maxWidth=(r=t)===null||r===void 0?void 0:r.maxWidth;var u;this.flex=(u=(o=t)===null||o===void 0?void 0:o.flex)!==null&&u!==void 0?u:1},Ui=function(e){nt(n,e);var t=rt(n);function n(r){k(this,n);var o,i,u;o=t.call(this,r),P(q(o),"width",void 0),P(q(o),"widthType",void 0);var f;o.width=(f=(i=r)===null||i===void 0?void 0:i.width)!==null&&f!==void 0?f:240;var a;return o.widthType=(a=(u=r)===null||u===void 0?void 0:u.widthType)!==null&&a!==void 0?a:"auto",o}return n}(V_),dP=function e(t){k(this,e);var n,r,o;P(this,"pc",void 0),P(this,"mobile",void 0),this.pc=new Ui((n=t)===null||n===void 0?void 0:n.pc),this.mobile=!((r=t)===null||r===void 0)&&r.mobile?new Ui((o=t)===null||o===void 0?void 0:o.mobile):new Ui({width:130,minWidth:180})},hP=function e(t){k(this,e);var n,r;P(this,"type",void 0),P(this,"customOptions",void 0);var o;this.type=(o=(n=t)===null||n===void 0?void 0:n.type)!==null&&o!==void 0?o:"firstThree";var i;this.customOptions=(i=(r=t)===null||r===void 0?void 0:r.customOptions)!==null&&i!==void 0?i:[]},jn=function e(t){k(this,e);var n,r,o;P(this,"dataCode",void 0),P(this,"formKey",void 0),P(this,"appId",void 0);var i;this.dataCode=(i=(n=t)===null||n===void 0?void 0:n.dataCode)!==null&&i!==void 0?i:"";var u;this.formKey=(u=(r=t)===null||r===void 0?void 0:r.formKey)!==null&&u!==void 0?u:"";var f;this.appId=(f=(o=t)===null||o===void 0?void 0:o.appId)!==null&&f!==void 0?f:""},bP=function(e){nt(n,e);var t=rt(n);function n(r){k(this,n);var o,i;o=t.call(this,r),P(q(o),"primaryControlId",void 0);var u;return o.primaryControlId=(u=(i=r)===null||i===void 0?void 0:i.primaryControlId)!==null&&u!==void 0?u:"",o}return n}(jn),gP=function e(t){k(this,e);var n;P(this,"fieldCode",void 0);var r;this.fieldCode=(r=(n=t)===null||n===void 0?void 0:n.fieldCode)!==null&&r!==void 0?r:""},Wi=function e(t){k(this,e);var n,r,o,i;P(this,"appId",void 0),P(this,"formKey",void 0),P(this,"headers",void 0);var u;this.appId=(u=(n=t)===null||n===void 0?void 0:n.appId)!==null&&u!==void 0?u:"";var f;this.formKey=(f=(r=t)===null||r===void 0?void 0:r.formKey)!==null&&f!==void 0?f:"";var a;this.headers=(a=(i=t)===null||i===void 0||(o=i.headers)===null||o===void 0?void 0:o.map(function(l){return new gP(l)}))!==null&&a!==void 0?a:[]},mP=function e(t){k(this,e);var n,r,o;P(this,"fieldName",void 0),P(this,"fieldCode",void 0),P(this,"fieldType",void 0);var i;this.fieldName=(i=(n=t)===null||n===void 0?void 0:n.fieldName)!==null&&i!==void 0?i:"";var u;this.fieldCode=(u=(r=t)===null||r===void 0?void 0:r.fieldCode)!==null&&u!==void 0?u:"";var f;this.fieldType=(f=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&f!==void 0?f:c.FieldTypes.VARCHAR},OP=function(e){nt(n,e);var t=rt(n);function n(r){k(this,n);var o,i,u,f,a;o=t.call(this,r),P(q(o),"title",void 0),P(q(o),"svcCode",void 0),P(q(o),"isOpenFilter",void 0),P(q(o),"filters",void 0);var l;o.title=(l=(i=r)===null||i===void 0?void 0:i.title)!==null&&l!==void 0?l:"";var s;o.svcCode=(s=(u=r)===null||u===void 0?void 0:u.svcCode)!==null&&s!==void 0?s:"";var p;o.isOpenFilter=(p=(f=r)===null||f===void 0?void 0:f.isOpenFilter)!==null&&p!==void 0?p:!1;var _;return o.filters=(_=(a=r)===null||a===void 0?void 0:a.filters)!==null&&_!==void 0?_:[],o}return n}(jn),wP=function e(t){k(this,e);var n,r,o,i,u;P(this,"type","sublist-page"),P(this,"formBind",void 0),P(this,"displayFields",void 0),P(this,"sublists",void 0),this.formBind=new jn((n=t)===null||n===void 0?void 0:n.formBind);var f;this.displayFields=(f=(o=t)===null||o===void 0||(r=o.displayFields)===null||r===void 0?void 0:r.map(function(l){return new mP(l)}))!==null&&f!==void 0?f:[];var a;this.sublists=(a=(u=t)===null||u===void 0||(i=u.sublists)===null||i===void 0?void 0:i.map(function(l){return new OP(l)}))!==null&&a!==void 0?a:[]},PP=function e(t){k(this,e);var n,r;P(this,"type",void 0),P(this,"value",void 0),this.type=(n=t)===null||n===void 0?void 0:n.type,this.value=(r=t)===null||r===void 0?void 0:r.value},mr=function e(t){k(this,e);var n,r,o;P(this,"type",void 0),P(this,"value",void 0),P(this,"displayBos",void 0);var i;this.type=(i=(n=t)===null||n===void 0?void 0:n.type)!==null&&i!==void 0?i:"custom";var u;this.value=(u=(r=t)===null||r===void 0?void 0:r.value)!==null&&u!==void 0?u:[];var f;this.displayBos=(f=(o=t)===null||o===void 0?void 0:o.displayBos)!==null&&f!==void 0?f:[]},z_=function e(t){var n=this;k(this,e);var r,o,i,u,f;P(this,"id",void 0),P(this,"ruleId",void 0),P(this,"type","conditions"),P(this,"level",void 0),P(this,"value",void 0),P(this,"children",void 0);var a;this.id=(a=(r=t)===null||r===void 0?void 0:r.id)!==null&&a!==void 0?a:yt();var l;this.ruleId=(l=(o=t)===null||o===void 0?void 0:o.ruleId)!==null&&l!==void 0?l:new Date().valueOf();var s;this.level=(s=(i=t)===null||i===void 0?void 0:i.level)!==null&&s!==void 0?s:0;var p;if(this.value=(p=(u=t)===null||u===void 0?void 0:u.value)!==null&&p!==void 0?p:"and",this.children=[],Array.isArray((f=t)===null||f===void 0?void 0:f.children)){var _;(_=t)===null||_===void 0||_.children.map(function(y){if(y.children!==void 0){var d,h=new e(y);(d=n.children)===null||d===void 0||d.push(h)}else{var b,v=new Ki(y);(b=n.children)===null||b===void 0||b.push(v)}})}},Ki=function e(t){k(this,e);var n,r,o,i,u,f,a;P(this,"id",void 0),P(this,"ruleId",void 0),P(this,"type","condition"),P(this,"symbol",void 0),P(this,"checked",void 0),P(this,"describe",void 0),P(this,"leftVariableBo",void 0),P(this,"rightVariableBo",void 0);var l;this.id=(l=(n=t)===null||n===void 0?void 0:n.id)!==null&&l!==void 0?l:yt();var s;this.ruleId=(s=(r=t)===null||r===void 0?void 0:r.ruleId)!==null&&s!==void 0?s:new Date().valueOf();var p;this.symbol=(p=(o=t)===null||o===void 0?void 0:o.symbol)!==null&&p!==void 0?p:"";var _;this.checked=(_=(i=t)===null||i===void 0?void 0:i.checked)!==null&&_!==void 0?_:!1;var y;this.describe=(y=(u=t)===null||u===void 0?void 0:u.describe)!==null&&y!==void 0?y:"",this.leftVariableBo=new PP((f=t)===null||f===void 0?void 0:f.leftVariableBo),this.rightVariableBo=new mr((a=t)===null||a===void 0?void 0:a.rightVariableBo)},$P=function e(t){k(this,e);var n,r,o;P(this,"aliasCode",void 0),P(this,"datasourceBind",void 0),P(this,"relationFields",void 0);var i;this.aliasCode=(i=(n=t)===null||n===void 0?void 0:n.aliasCode)!==null&&i!==void 0?i:"",this.datasourceBind=new ve((r=t)===null||r===void 0?void 0:r.datasourceBind);var u;this.relationFields=(u=(o=t)===null||o===void 0?void 0:o.relationFields)!==null&&u!==void 0?u:[]},De=function e(t){k(this,e);var n,r,o,i;P(this,"controlId",void 0),P(this,"fieldCode",void 0),P(this,"fieldType",void 0),P(this,"propName",void 0);var u;this.controlId=(u=(n=t)===null||n===void 0?void 0:n.controlId)!==null&&u!==void 0?u:"";var f;this.fieldCode=(f=(r=t)===null||r===void 0?void 0:r.fieldCode)!==null&&f!==void 0?f:"";var a;this.fieldType=(a=(o=t)===null||o===void 0?void 0:o.fieldType)!==null&&a!==void 0?a:"";var l;this.propName=(l=(i=t)===null||i===void 0?void 0:i.propName)!==null&&l!==void 0?l:""},Xi=function e(t){k(this,e);var n,r,o;P(this,"type",void 0),P(this,"value",void 0),P(this,"fieldType",void 0);var i;this.type=(i=(n=t)===null||n===void 0?void 0:n.type)!==null&&i!==void 0?i:"FIELD";var u;this.value=(u=(r=t)===null||r===void 0?void 0:r.value)!==null&&u!==void 0?u:"",this.fieldType=(o=t)===null||o===void 0?void 0:o.fieldType},G_=function e(t){k(this,e),P(this,"columnName",void 0),P(this,"desc",void 0);var n;this.columnName=(n=t.columnName)!==null&&n!==void 0?n:"";var r;this.desc=(r=t.desc)!==null&&r!==void 0?r:!1},RP=function e(t){k(this,e),P(this,"code",void 0),P(this,"value",void 0),P(this,"field_type",void 0);var n;this.code=(n=t.code)!==null&&n!==void 0?n:"";var r;this.value=(r=t.value)!==null&&r!==void 0?r:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY},oF=function e(t){k(this,e);var n,r;P(this,"id",void 0),P(this,"limit",void 0),P(this,"orders",void 0),P(this,"formKey",void 0),P(this,"dataSet",void 0);var o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var u;this.formKey=(u=t.formKey)!==null&&u!==void 0?u:"";var f;this.orders=(f=(n=t.orders)===null||n===void 0?void 0:n.map(function(l){return new G_(l)}))!==null&&f!==void 0?f:[];var a;this.dataSet=(a=(r=t.dataSet)===null||r===void 0?void 0:r.map(function(l){return new RP(l)}))!==null&&a!==void 0?a:[]};function Y_(e){var t,n,r,o,i,u,f;this.filters=(f=(n=e)===null||n===void 0||(t=n.filters)===null||t===void 0?void 0:t.map(function(s){return s.children!==void 0?new z_(s):new Ki(s)}))!==null&&f!==void 0?f:[];var a;this.viewFilters=(a=(o=e)===null||o===void 0||(r=o.viewFilters)===null||r===void 0?void 0:r.map(function(s){return s.children!==void 0?new z_(s):new Ki(s)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=(u=e)===null||u===void 0||(i=u.orders)===null||i===void 0?void 0:i.map(function(s){return new G_(s)}))!==null&&l!==void 0?l:[]}var ve=function e(t){var n=this;k(this,e);var r,o,i,u,f,a,l,s;P(this,"dataCode",void 0),P(this,"valueFieldCode",void 0),P(this,"displayBoList",void 0),P(this,"keywordMapping",void 0),P(this,"svcCode",void 0),P(this,"appId",void 0),P(this,"filters",void 0),P(this,"viewFilters",void 0),P(this,"isOpenViewFilters",void 0),P(this,"orders",void 0),P(this,"showOrder",void 0);var p;this.dataCode=(p=(r=t)===null||r===void 0?void 0:r.dataCode)!==null&&p!==void 0?p:"";var _;this.appId=(_=(o=t)===null||o===void 0?void 0:o.appId)!==null&&_!==void 0?_:"";var y;this.valueFieldCode=(y=(i=t)===null||i===void 0?void 0:i.valueFieldCode)!==null&&y!==void 0?y:"",this.displayBoList=[];var d;if(this.isOpenViewFilters=(d=(u=t)===null||u===void 0?void 0:u.isOpenViewFilters)!==null&&d!==void 0?d:0,Array.isArray((f=t)===null||f===void 0?void 0:f.displayBoList)){var h;(h=t)===null||h===void 0||h.displayBoList.map(function(m){var O;(O=n.displayBoList)===null||O===void 0||O.push(new Xi(m))})}var b;this.keywordMapping=(b=(a=t)===null||a===void 0?void 0:a.keywordMapping)!==null&&b!==void 0?b:"";var v;this.showOrder=(v=(l=t)===null||l===void 0?void 0:l.showOrder)!==null&&v!==void 0?v:!0;var g;this.svcCode=(g=(s=t)===null||s===void 0?void 0:s.svcCode)!==null&&g!==void 0?g:"",Y_.call(this,t)},Ji=function e(t){k(this,e);var n,r;P(this,"dataCode",void 0),P(this,"displayBoList",void 0);var o;this.dataCode=(o=(n=t)===null||n===void 0?void 0:n.dataCode)!==null&&o!==void 0?o:"";var i;this.displayBoList=(i=(r=t)===null||r===void 0?void 0:r.displayBoList)!==null&&i!==void 0?i:[]},Gt=function e(t){k(this,e);var n,r,o,i,u,f,a,l,s,p,_;P(this,"code",void 0),P(this,"color",void 0),P(this,"command",void 0),P(this,"confirmMessage",void 0),P(this,"defaultState",void 0),P(this,"formKey",void 0),P(this,"formType",void 0),P(this,"icon",void 0),P(this,"needConfirm",void 0),P(this,"openType",void 0),P(this,"priorityProcess",void 0);var y;this.code=(y=(n=t)===null||n===void 0?void 0:n.code)!==null&&y!==void 0?y:"view";var d;this.color=(d=(r=t)===null||r===void 0?void 0:r.color)!==null&&d!==void 0?d:"primary";var h;this.command=(h=(o=t)===null||o===void 0?void 0:o.command)!==null&&h!==void 0?h:"view";var b;this.confirmMessage=(b=(i=t)===null||i===void 0?void 0:i.confirmMessage)!==null&&b!==void 0?b:void 0;var v;this.defaultState=(v=(u=t)===null||u===void 0?void 0:u.defaultState)!==null&&v!==void 0?v:"default";var g;this.formKey=(g=(f=t)===null||f===void 0?void 0:f.formKey)!==null&&g!==void 0?g:void 0,this.formType=(a=t)===null||a===void 0?void 0:a.formType;var m;this.icon=(m=(l=t)===null||l===void 0?void 0:l.icon)!==null&&m!==void 0?m:"iconliulan1";var O;this.needConfirm=(O=(s=t)===null||s===void 0?void 0:s.needConfirm)!==null&&O!==void 0?O:!1;var $;this.openType=($=(p=t)===null||p===void 0?void 0:p.openType)!==null&&$!==void 0?$:"modal";var T;this.priorityProcess=(T=(_=t)===null||_===void 0?void 0:_.priorityProcess)!==null&&T!==void 0?T:!0},H_=function e(t){k(this,e);var n,r,o,i;P(this,"name",void 0),P(this,"key",void 0),P(this,"value",void 0);var u;this.name=(u=(n=t)===null||n===void 0?void 0:n.name)!==null&&u!==void 0?u:"";var f;this.key=(f=(r=t)===null||r===void 0?void 0:r.key)!==null&&f!==void 0?f:"";var a;this.value=(a=(i=t)===null||i===void 0||(o=i.value)===null||o===void 0?void 0:o.map(function(l){return new Xi(l)}))!==null&&a!==void 0?a:[]},Po=function(e){nt(n,e);var t=rt(n);function n(r){k(this,n);var o,i,u;o=t.call(this,r),P(q(o),"attributes",void 0);var f;return o.attributes=(f=(u=r)===null||u===void 0||(i=u.attributes)===null||i===void 0?void 0:i.map(function(a){return new H_(a)}))!==null&&f!==void 0?f:[],o}return n}(ve),TP=function(e){nt(n,e);var t=rt(n);function n(r){k(this,n);var o,i,u,f;o=t.call(this,r),P(q(o),"attributes",void 0),P(q(o),"formCode",void 0);var a;o.attributes=(a=(u=r)===null||u===void 0||(i=u.attributes)===null||i===void 0?void 0:i.map(function(s){return new H_(s)}))!==null&&a!==void 0?a:[];var l;return o.formCode=(l=(f=r)===null||f===void 0?void 0:f.formCode)!==null&&l!==void 0?l:"",o}return n}(ve),q_=function(e){nt(n,e);var t=rt(n);function n(r){k(this,n);var o,i,u;o=t.call(this,r),P(q(o),"rootNode",void 0),P(q(o),"filterCode",void 0),o.rootNode=new mr((i=r)===null||i===void 0?void 0:i.rootNode);var f;return o.filterCode=(f=(u=r)===null||u===void 0?void 0:u.filterCode)!==null&&f!==void 0?f:"",o}return n}(Po),SP=function e(t){k(this,e);var n,r,o,i;P(this,"dataCode",void 0),P(this,"appId",void 0),P(this,"fillList",void 0);var u;this.dataCode=(u=(n=t)===null||n===void 0?void 0:n.dataCode)!==null&&u!==void 0?u:"";var f;this.appId=(f=(r=t)===null||r===void 0?void 0:r.appId)!==null&&f!==void 0?f:"";var a;this.fillList=(a=(i=t)===null||i===void 0||(o=i.fillList)===null||o===void 0?void 0:o.map(function(l){return new De(l)}))!==null&&a!==void 0?a:[]},U_=function(e){nt(n,e);var t=rt(n);function n(r){k(this,n);var o;return o=t.call(this,r),P(q(o),"filters",void 0),P(q(o),"viewFilters",void 0),P(q(o),"orders",void 0),Y_.call(q(o),r),o}return n}(SP),W_=function(e){nt(n,e);var t=rt(n);function n(r){k(this,n);var o,i,u;o=t.call(this,r),P(q(o),"mode",void 0),P(q(o),"multiple",void 0);var f;o.mode=(f=(i=r)===null||i===void 0?void 0:i.mode)!==null&&f!==void 0?f:"current";var a;return o.multiple=(a=(u=r)===null||u===void 0?void 0:u.multiple)!==null&&a!==void 0?a:!1,o}return n}(SP),iF=function e(t){k(this,e);var n,r,o;P(this,"zh",void 0),P(this,"en",void 0),P(this,"ja",void 0);var i;this.zh=(i=(n=t)===null||n===void 0?void 0:n.zh)!==null&&i!==void 0?i:"";var u;this.en=(u=(r=t)===null||r===void 0?void 0:r.en)!==null&&u!==void 0?u:"";var f;this.ja=(f=(o=t)===null||o===void 0?void 0:o.ja)!==null&&f!==void 0?f:""},K_=function e(t){k(this,e);var n,r,o;P(this,"stencilName",void 0),P(this,"expression",void 0),P(this,"errMessage",void 0);var i;this.stencilName=(i=(n=t)===null||n===void 0?void 0:n.stencilName)!==null&&i!==void 0?i:"";var u;this.expression=(u=(r=t)===null||r===void 0?void 0:r.expression)!==null&&u!==void 0?u:"";var f;this.errMessage=(f=(o=t)===null||o===void 0?void 0:o.errMessage)!==null&&f!==void 0?f:""},X_=function e(t){k(this,e);var n,r,o;P(this,"id",void 0),P(this,"label",void 0),P(this,"value",void 0);var i;this.id=(i=(n=t)===null||n===void 0?void 0:n.id)!==null&&i!==void 0?i:yt(8);var u;this.label=(u=(r=t)===null||r===void 0?void 0:r.label)!==null&&u!==void 0?u:"";var f;this.value=(f=(o=t)===null||o===void 0?void 0:o.value)!==null&&f!==void 0?f:this.label},EP=function(e){nt(n,e);var t=rt(n);function n(r){k(this,n);var o,i,u;o=t.call(this,r),P(q(o),"image",void 0),P(q(o),"type",void 0);var f;o.image=(f=(i=r)===null||i===void 0?void 0:i.image)!==null&&f!==void 0?f:"";var a;return o.type=(a=(u=r)===null||u===void 0?void 0:u.type)!==null&&a!==void 0?a:"src",o}return n}(X_);function It(e){var t,n;return(n=(t=e)===null||t===void 0?void 0:t.map(function(r){return new X_(r)}))!==null&&n!==void 0?n:[]}function uF(e){var t,n;return(n=(t=e)===null||t===void 0?void 0:t.map(function(r){return new EP(r)}))!==null&&n!==void 0?n:[]}var Qi=function e(){k(this,e)},IP=function(e){nt(n,e);var t=rt(n);function n(r){k(this,n);var o,i,u;return o=t.call(this),P(q(o),"amount",void 0),P(q(o),"currency",void 0),o.amount=new ot((i=r)===null||i===void 0?void 0:i.amount),o.currency=new ot((u=r)===null||u===void 0?void 0:u.currency),o}return n}(Qi),BP=function e(t){k(this,e);var n,r;P(this,"amount",void 0),P(this,"currency",void 0);var o;this.amount=(o=(n=t)===null||n===void 0?void 0:n.amount)!==null&&o!==void 0?o:"";var i;this.currency=(i=(r=t)===null||r===void 0?void 0:r.currency)!==null&&i!==void 0?i:c.AMOUNT_TYPE.CNY},NP=function(e){nt(n,e);var t=rt(n);function n(r){k(this,n);var o,i,u;return o=t.call(this),P(q(o),"min",void 0),P(q(o),"max",void 0),o.min=new ot((i=r)===null||i===void 0?void 0:i.min),o.max=new ot((u=r)===null||u===void 0?void 0:u.max),o}return n}(Qi),MP=function e(t){k(this,e);var n,r;P(this,"min",void 0),P(this,"max",void 0);var o;this.min=(o=(n=t)===null||n===void 0?void 0:n.min)!==null&&o!==void 0?o:"";var i;this.max=(i=(r=t)===null||r===void 0?void 0:r.max)!==null&&i!==void 0?i:""},AP=function e(t){k(this,e);var n,r,o,i,u,f;P(this,"city",void 0),P(this,"cityDisplay",void 0),P(this,"district",void 0),P(this,"districtDisplay",void 0),P(this,"province",void 0),P(this,"provinceDisplay",void 0);var a;this.city=(a=(n=t)===null||n===void 0?void 0:n.city)!==null&&a!==void 0?a:"";var l;this.cityDisplay=(l=(r=t)===null||r===void 0?void 0:r.cityDisplay)!==null&&l!==void 0?l:"";var s;this.district=(s=(o=t)===null||o===void 0?void 0:o.district)!==null&&s!==void 0?s:"";var p;this.districtDisplay=(p=(i=t)===null||i===void 0?void 0:i.districtDisplay)!==null&&p!==void 0?p:"";var _;this.province=(_=(u=t)===null||u===void 0?void 0:u.province)!==null&&_!==void 0?_:"";var y;this.provinceDisplay=(y=(f=t)===null||f===void 0?void 0:f.provinceDisplay)!==null&&y!==void 0?y:""},kP=function(e){nt(n,e);var t=rt(n);function n(r){k(this,n);var o,i,u;return o=t.call(this),P(q(o),"result",void 0),P(q(o),"unit",void 0),o.result=new ot((i=r)===null||i===void 0?void 0:i.result),o.unit=new ot((u=r)===null||u===void 0?void 0:u.unit),o}return n}(Qi),DP=function e(t){k(this,e);var n,r;P(this,"result",void 0),P(this,"unit",void 0);var o;this.result=(o=(n=t)===null||n===void 0?void 0:n.result)!==null&&o!==void 0?o:0;var i;this.unit=(i=(r=t)===null||r===void 0?void 0:r.unit)!==null&&i!==void 0?i:""};c.AMOUNT_TYPE=void 0,function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"}(c.AMOUNT_TYPE||(c.AMOUNT_TYPE={})),c.COMMON_SETTING_TYPE=void 0,function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste"}(c.COMMON_SETTING_TYPE||(c.COMMON_SETTING_TYPE={})),c.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(c.PAGE_STATUS||(c.PAGE_STATUS={}));var Yt=function e(t){k(this,e);var n,r,o,i,u,f;P(this,"isShow",void 0),P(this,"priorityProcess",void 0),P(this,"formKey",void 0),P(this,"content",void 0),P(this,"openType",void 0),P(this,"type",void 0);var a;this.isShow=(a=(n=t)===null||n===void 0?void 0:n.isShow)!==null&&a!==void 0?a:!0;var l;this.content=(l=(r=t)===null||r===void 0?void 0:r.content)!==null&&l!==void 0?l:"";var s;this.formKey=(s=(o=t)===null||o===void 0?void 0:o.formKey)!==null&&s!==void 0?s:"";var p;this.openType=(p=(i=t)===null||i===void 0?void 0:i.openType)!==null&&p!==void 0?p:"modal";var _;this.type=(_=(u=t)===null||u===void 0?void 0:u.type)!==null&&_!==void 0?_:"";var y;this.priorityProcess=(y=(f=t)===null||f===void 0?void 0:f.priorityProcess)!==null&&y!==void 0?y:!1},LP=function e(t){k(this,e);var n,r,o,i;P(this,"id",void 0),P(this,"title",void 0),P(this,"filters",void 0),P(this,"viewFilters",void 0),P(this,"headers",void 0);var u;this.id=(u=(n=t)===null||n===void 0?void 0:n.id)!==null&&u!==void 0?u:yt(8);var f;this.title=(f=(r=t)===null||r===void 0?void 0:r.title)!==null&&f!==void 0?f:"";var a;this.headers=(a=(i=t)===null||i===void 0||(o=i.headers)===null||o===void 0?void 0:o.map(function(l){return new gP(l)}))!==null&&a!==void 0?a:[],Y_.call(this,t)},cF=function e(t){k(this,e),P(this,"key",void 0),P(this,"caption",void 0);var n;this.key=(n=t.key)!==null&&n!==void 0?n:yt(8);var r;this.caption=(r=t.caption)!==null&&r!==void 0?r:""},jP=function e(t){k(this,e);var n,r,o,i;P(this,"width",void 0),P(this,"height",void 0),P(this,"widthConfig",void 0),P(this,"heightConfig",void 0);var u;this.width=(u=(n=t)===null||n===void 0?void 0:n.width)!==null&&u!==void 0?u:"";var f;this.height=(f=(r=t)===null||r===void 0?void 0:r.height)!==null&&f!==void 0?f:"";var a;this.widthConfig=(a=(o=t)===null||o===void 0?void 0:o.widthConfig)!==null&&a!==void 0?a:"fill";var l;this.heightConfig=(l=(i=t)===null||i===void 0?void 0:i.heightConfig)!==null&&l!==void 0?l:"fill"},FP=function e(t){k(this,e);var n,r;P(this,"optCode",void 0),P(this,"optType",void 0);var o;this.optCode=(o=(n=t)===null||n===void 0?void 0:n.optCode)!==null&&o!==void 0?o:"";var i;this.optType=(i=(r=t)===null||r===void 0?void 0:r.optType)!==null&&i!==void 0?i:""};function fF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zi(e,t,n){return CP()?Zi=Reflect.construct:Zi=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&Ro(l,u.prototype),l},Zi.apply(null,arguments)}function Fn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$o(e)}function lF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function sF(e,t){return t&&(pF(t)==="object"||typeof t=="function")?t:fF(e)}function Ro(e,t){return Ro=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ro(e,t)}function pF(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q_(e){var t=typeof Map=="function"?new Map:void 0;return Q_=function(r){if(r===null||!aF(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return Zi(r,arguments,$o(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Ro(o,r)},Q_(e)}function CP(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _F(e){var t=CP();return function(){var r=$o(e),o;if(t){var i=$o(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return sF(this,o)}}var pe=function e(t){J_(this,e),Fn(this,"isHide",{type:"boolean"})},fn=function(e){lF(n,e);var t=_F(n);function n(r){return J_(this,n),t.call(this)}return n}(Q_(Array)),_e=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";J_(this,e);var r,o,i;Fn(this,"isHide",void 0),Fn(this,"className",void 0),Fn(this,"style",void 0),Fn(this,"caption",void 0);var u;this.isHide=(u=(r=t)===null||r===void 0?void 0:r.isHide)!==null&&u!==void 0?u:!1,this.style=new jP((o=t)===null||o===void 0?void 0:o.style);var f;this.caption=(f=(i=t)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:n};Fn(_e,"Rules",pe),Fn(_e,"RuntimeRules",fn);function Bt(){return Bt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bt.apply(this,arguments)}function yF(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Z_(e){return Z_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Z_(e)}function eu(e,t){return eu=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},eu(e,t)}function vF(){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 tu(e,t,n){return vF()?tu=Reflect.construct:tu=function(o,i,u){var f=[null];f.push.apply(f,i);var a=Function.bind.apply(o,f),l=new a;return u&&eu(l,u.prototype),l},tu.apply(null,arguments)}function dF(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ey(e){var t=typeof Map=="function"?new Map:void 0;return ey=function(r){if(r===null||!dF(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return tu(r,arguments,Z_(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),eu(o,r)},ey(e)}var hF=/%[sdj%]/g,xP=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(xP=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function ty(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Xe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=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(hF,function(f){if(f==="%%")return"%";if(r>=i)return f;switch(f){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(a){return"[Circular]"}break;default:return f}});return u}return o}function bF(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function de(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||bF(t)&&typeof e=="string"&&!e)}function gF(e,t,n){var r=[],o=0,i=e.length;function u(f){r.push.apply(r,f),o++,o===i&&n(r)}e.forEach(function(f){t(f,u)})}function VP(e,t,n){var r=0,o=e.length;function i(u){if(u&&u.length){n(u);return}var f=r;r=r+1,f<o?t(e[f],i):n([])}i([])}function mF(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var zP=function(e){yF(t,e);function t(n,r){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=n,o.fields=r,o}return t}(ey(Error));function OF(e,t,n,r){if(t.first){var o=new Promise(function(p,_){var y=function(b){return r(b),b.length?_(new zP(b,ty(b))):p()},d=mF(e);VP(d,n,y)});return o.catch(function(p){return p}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),f=u.length,a=0,l=[],s=new Promise(function(p,_){var y=function(h){if(l.push.apply(l,h),a++,a===f)return r(l),l.length?_(new zP(l,ty(l))):p()};u.length||(r(l),p()),u.forEach(function(d){var h=e[d];i.indexOf(d)!==-1?VP(h,n,y):gF(h,n,y)})});return s.catch(function(p){return p}),s}function GP(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 YP(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=Bt(Bt({},e[n]),r):e[n]=r}}return e}function HP(e,t,n,r,o,i){e.required&&(!n.hasOwnProperty(e.field)||de(t,i||e.type))&&r.push(Xe(o.messages.required,e.fullField))}function wF(e,t,n,r,o){(/^\s+$/.test(t)||t==="")&&r.push(Xe(o.messages.whitespace,e.fullField))}var ny={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},To={integer:function(t){return To.number(t)&&parseInt(t,10)===t},float:function(t){return To.number(t)&&!To.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){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"&&!To.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(ny.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(ny.url)},hex:function(t){return typeof t=="string"&&!!t.match(ny.hex)}};function PF(e,t,n,r,o){if(e.required&&t===void 0){HP(e,t,n,r,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?To[u](t)||r.push(Xe(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&r.push(Xe(o.messages.types[u],e.fullField,e.type))}function $F(e,t,n,r,o){var i=typeof e.len=="number",u=typeof e.min=="number",f=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=t,s=null,p=typeof t=="number",_=typeof t=="string",y=Array.isArray(t);if(p?s="number":_?s="string":y&&(s="array"),!s)return!1;y&&(l=t.length),_&&(l=t.replace(a,"_").length),i?l!==e.len&&r.push(Xe(o.messages[s].len,e.fullField,e.len)):u&&!f&&l<e.min?r.push(Xe(o.messages[s].min,e.fullField,e.min)):f&&!u&&l>e.max?r.push(Xe(o.messages[s].max,e.fullField,e.max)):u&&f&&(l<e.min||l>e.max)&&r.push(Xe(o.messages[s].range,e.fullField,e.min,e.max))}var Or="enum";function RF(e,t,n,r,o){e[Or]=Array.isArray(e[Or])?e[Or]:[],e[Or].indexOf(t)===-1&&r.push(Xe(o.messages[Or],e.fullField,e[Or].join(", ")))}function TF(e,t,n,r,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(Xe(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||r.push(Xe(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var x={required:HP,whitespace:wF,type:PF,range:$F,enum:RF,pattern:TF};function SF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(de(t,"string")&&!e.required)return n();x.required(e,t,r,i,o,"string"),de(t,"string")||(x.type(e,t,r,i,o),x.range(e,t,r,i,o),x.pattern(e,t,r,i,o),e.whitespace===!0&&x.whitespace(e,t,r,i,o))}n(i)}function EF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(de(t)&&!e.required)return n();x.required(e,t,r,i,o),t!==void 0&&x.type(e,t,r,i,o)}n(i)}function IF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),de(t)&&!e.required)return n();x.required(e,t,r,i,o),t!==void 0&&(x.type(e,t,r,i,o),x.range(e,t,r,i,o))}n(i)}function BF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(de(t)&&!e.required)return n();x.required(e,t,r,i,o),t!==void 0&&x.type(e,t,r,i,o)}n(i)}function NF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(de(t)&&!e.required)return n();x.required(e,t,r,i,o),de(t)||x.type(e,t,r,i,o)}n(i)}function MF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(de(t)&&!e.required)return n();x.required(e,t,r,i,o),t!==void 0&&(x.type(e,t,r,i,o),x.range(e,t,r,i,o))}n(i)}function AF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(de(t)&&!e.required)return n();x.required(e,t,r,i,o),t!==void 0&&(x.type(e,t,r,i,o),x.range(e,t,r,i,o))}n(i)}function kF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return n();x.required(e,t,r,i,o,"array"),t!=null&&(x.type(e,t,r,i,o),x.range(e,t,r,i,o))}n(i)}function DF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(de(t)&&!e.required)return n();x.required(e,t,r,i,o),t!==void 0&&x.type(e,t,r,i,o)}n(i)}var LF="enum";function jF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(de(t)&&!e.required)return n();x.required(e,t,r,i,o),t!==void 0&&x[LF](e,t,r,i,o)}n(i)}function FF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(de(t,"string")&&!e.required)return n();x.required(e,t,r,i,o),de(t,"string")||x.pattern(e,t,r,i,o)}n(i)}function CF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(de(t,"date")&&!e.required)return n();if(x.required(e,t,r,i,o),!de(t,"date")){var f;t instanceof Date?f=t:f=new Date(t),x.type(e,f,r,i,o),f&&x.range(e,f.getTime(),r,i,o)}}n(i)}function xF(e,t,n,r,o){var i=[],u=Array.isArray(t)?"array":typeof t;x.required(e,t,r,i,o,u),n(i)}function ry(e,t,n,r,o){var i=e.type,u=[],f=e.required||!e.required&&r.hasOwnProperty(e.field);if(f){if(de(t,i)&&!e.required)return n();x.required(e,t,r,u,o,i),de(t,i)||x.type(e,t,r,u,o)}n(u)}function VF(e,t,n,r,o){var i=[],u=e.required||!e.required&&r.hasOwnProperty(e.field);if(u){if(de(t)&&!e.required)return n();x.required(e,t,r,i,o)}n(i)}var So={string:SF,method:EF,number:IF,boolean:BF,regexp:NF,integer:MF,float:AF,array:kF,object:DF,enum:jF,pattern:FF,date:CF,url:ry,hex:ry,email:ry,required:xF,any:VF};function oy(){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 iy=oy();function ln(e){this.rules=null,this._messages=iy,this.define(e)}ln.prototype={messages:function(t){return t&&(this._messages=YP(oy(),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 n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var o=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var i=t,u=n,f=r;if(typeof u=="function"&&(f=u,u={}),!this.rules||Object.keys(this.rules).length===0)return f&&f(),Promise.resolve();function a(h){var b,v=[],g={};function m(O){if(Array.isArray(O)){var $;v=($=v).concat.apply($,O)}else v.push(O)}for(b=0;b<h.length;b++)m(h[b]);v.length?g=ty(v):(v=null,g=null),f(v,g)}if(u.messages){var l=this.messages();l===iy&&(l=oy()),YP(l,u.messages),u.messages=l}else u.messages=this.messages();var s,p,_={},y=u.keys||Object.keys(this.rules);y.forEach(function(h){s=o.rules[h],p=i[h],s.forEach(function(b){var v=b;typeof v.transform=="function"&&(i===t&&(i=Bt({},i)),p=i[h]=v.transform(p)),typeof v=="function"?v={validator:v}:v=Bt({},v),v.validator=o.getValidationMethod(v),v.field=h,v.fullField=v.fullField||h,v.type=o.getType(v),v.validator&&(_[h]=_[h]||[],_[h].push({rule:v,value:p,source:i,field:h}))})});var d={};return OF(_,u,function(h,b){var v=h.rule,g=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");g=g&&(v.required||!v.required&&h.value),v.field=h.field;function m(T,R){return Bt(Bt({},R),{},{fullField:v.fullField+"."+T})}function O(T){T===void 0&&(T=[]);var R=T;if(Array.isArray(R)||(R=[R]),!u.suppressWarning&&R.length&&ln.warning("async-validator:",R),R.length&&v.message!==void 0&&(R=[].concat(v.message)),R=R.map(GP(v)),u.first&&R.length)return d[v.field]=1,b(R);if(!g)b(R);else{if(v.required&&!h.value)return v.message!==void 0?R=[].concat(v.message).map(GP(v)):u.error&&(R=[u.error(v,Xe(u.messages.required,v.field))]),b(R);var S={};if(v.defaultField)for(var I in h.value)h.value.hasOwnProperty(I)&&(S[I]=v.defaultField);S=Bt(Bt({},S),h.rule.fields);for(var E in S)if(S.hasOwnProperty(E)){var N=Array.isArray(S[E])?S[E]:[S[E]];S[E]=N.map(m.bind(null,E))}var B=new ln(S);B.messages(u.messages),h.rule.options&&(h.rule.options.messages=u.messages,h.rule.options.error=u.error),B.validate(h.value,h.rule.options||u,function(A){var M=[];R&&R.length&&M.push.apply(M,R),A&&A.length&&M.push.apply(M,A),b(M.length?M:null)})}}var $;v.asyncValidator?$=v.asyncValidator(v,h.value,O,h.source,u):v.validator&&($=v.validator(v,h.value,O,h.source,u),$===!0?O():$===!1?O(v.message||v.field+" fails"):$ instanceof Array?O($):$ instanceof Error&&O($.message)),$&&$.then&&$.then(function(){return O()},function(T){return O(T)})},function(h){a(h)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!So.hasOwnProperty(t.type))throw new Error(Xe("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?So.required:So[this.getType(t)]||!1}},ln.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");So[t]=n},ln.warning=xP,ln.messages=iy,ln.validators=So;var zF={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 qP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new ln(e);return n.messages(Object.assign(zF,t)),n}var UP=new sP;function uy(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function GF(e){if(Array.isArray(e))return e}function YF(e){if(Array.isArray(e))return uy(e)}function WP(e,t,n,r,o,i,u){try{var f=e[i](u),a=f.value}catch(l){n(l);return}f.done?t(a):Promise.resolve(a).then(r,o)}function KP(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(a){WP(i,r,o,u,f,"next",a)}function f(a){WP(i,r,o,u,f,"throw",a)}u(void 0)})}}function HF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XP(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qF(e,t,n){return t&&XP(e.prototype,t),n&&XP(e,n),e}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JP(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function QP(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function UF(){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 WF(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ZP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){X(e,o,n[o])})}return e}function KF(e){return GF(e)||QP(e)||e$(e)||UF()}function cy(e){return YF(e)||QP(e)||e$(e)||WF()}function e$(e,t){if(!!e){if(typeof e=="string")return uy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return uy(e,t)}}function t$(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var W=function(){function t(n){var r=this;HF(this,t);var o,i,u,f,a;X(this,"id",void 0),X(this,"name",void 0),X(this,"icon",void 0),X(this,"type",void 0),X(this,"controlType",void 0),X(this,"props",void 0),X(this,"setting",[]),X(this,"fieldType",void 0),X(this,"eventKeys",[]),X(this,"customEvents",[]),X(this,"parent",null),X(this,"updateSetting",r$),X(this,"removeSetting",n$),this._callControlHooks("preInstance",n);var l=JP(this,t)?this.constructor:void 0,s=l.controlName,p=l.controlIcon,_=l.controlType,y=l.controlFieldType,d=l.controlEventKeys,h=l.controlCustomEvents,b=l.name,v=l.setting;s&&p&&_||A_("The ".concat(b," controlName,controlIcon,controlType is not define"));var g;this.id=(g=(o=n)===null||o===void 0?void 0:o.id)!==null&&g!==void 0?g:yt(10),this.name=s,this.icon=p;var m;this.type=(m=(i=n)===null||i===void 0?void 0:i.type)!==null&&m!==void 0?m:_,this.props=new _e((u=n)===null||u===void 0?void 0:u.props,(JP(this,t)?this.constructor:void 0).controlName);var O;this.controlType=(O=(f=n)===null||f===void 0?void 0:f.controlType)!==null&&O!==void 0?O:"base",this.setting=zt(v);var $;this.fieldType=($=(a=n)===null||a===void 0?void 0:a.fieldType)!==null&&$!==void 0?$:y,this.eventKeys=zt(d),this.customEvents=zt(h),Promise.resolve().then(function(){r._callControlHooks("postInstance",n)})}return qF(t,[{key:"rules",get:function(){var r=this.props.constructor.Rules;return r?new r(this.props):{}}},{key:"_callControlHooks",value:function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var u,f=KF(o),a=f[0],l=f.slice(1);return(u=UP).emit.apply(u,[a,this].concat(cy(l)))}},{key:"preUpdate",value:function(r,o){this._callControlHooks("preUpdateProps",r,o)}},{key:"postUpdate",value:function(r,o){this._callControlHooks("postUpdateProps",r,o)}},{key:"updateProps",value:function(r,o){this.preUpdate(r,o),rP(this.props,r,o),this.postUpdate(r,o)}},{key:"preValidate",value:function(){var r=this;return KP(function(){var o,i,u;return t$(this,function(f){switch(f.label){case 0:return o=ZP({},r.rules),[4,r._callControlHooks("preValidate",o)];case 1:return i=f.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(r,o){var i=this;return KP(function(){var u,f,a,l;return t$(this,function(s){switch(s.label){case 0:return[4,i.preValidate()];case 1:u=s.sent(),f=u!==void 0?u:ZP({},i.rules),Array.isArray(o)&&o.forEach(function(p){f.hasOwnProperty(p)&&delete f[p]}),a=qP(f,r),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,a.validate(i.props)];case 3:return s.sent(),[2,!0];case 4:throw l=s.sent(),l.control||(l.control=i),l;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,f=this.props,a=f.dataBind,l=f.datasourceBind,s=f.optionConfig,p=f.caption,_=f.required,y=f.maxLength,d=f.options,h=f.encrypted,b=f.encryptedMode;if(!(!o&&!a&&!l)){var v={parentId:r,fieldType:o,controlId:i,caption:p,type:u,props:{}};switch(a&&(v.dataBind=a),s){case"datasource":case void 0:l&&(v.datasourceBind=l);break;case"custom":v.props.options=d;break}return _!==void 0&&(v.required=_),y!==void 0&&(v.maxLength=y),h!==void 0&&(v.encrypted=h),b!==void 0&&(v.encryptedMode=b),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:zt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(r,o){if(r==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,cy(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();X(W,"controlName","\u63A7\u4EF6"),X(W,"controlIcon","icon"),X(W,"controlType","control"),X(W,"controlFieldType",void 0),X(W,"controlEventKeys",[]),X(W,"controlCustomEvents",[]),X(W,"setting",[]),X(W,"__is_control__",!0),X(W,"removeSettingItem",n$),X(W,"updateSettingItem",r$);function n$(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(r){var o,i=typeof r!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(l){return l.key===(i?r.key:r)});if(u!==-1){var f,a;i?t.setting[u].showItems=(f=t.setting[u].showItems)===null||f===void 0?void 0:f.filter(function(l){return!r.hideItems.includes(l)}):t.setting.splice(u,1),i&&!(!((a=t.setting[u].showItems)===null||a===void 0)&&a.length)&&t.setting.splice(u,1)}})}function r$(e,t){var n=this,r=typeof e=="string"?[e]:e;r.forEach(function(o){var i=n.setting.find(function(l){return l.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if(typeof t=="object"){var u,f=(u=t.type)!==null&&u!==void 0?u:"replace";if(f==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,cy(t.showItems))}}}})}function XF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function JF(e,t,n){return t&&o$(e.prototype,t),n&&o$(e,n),e}function it(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function QF(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var ye=function(){function t(n){XF(this,t);var r,o,i,u,f,a;it(this,"id",void 0),it(this,"type",void 0),it(this,"controlType",void 0),it(this,"props",void 0),it(this,"fieldType",void 0),it(this,"customEvents",[]),it(this,"pageStatus",void 0),it(this,"parent",null);var l=QF(this,t)?this.constructor:void 0,s=l.controlType,p=l.controlFieldType,_=l.name,y=l.controlCustomEvents;s||A_("The ".concat(_," controlType is not define"));var d;this.id=(d=(r=n)===null||r===void 0?void 0:r.id)!==null&&d!==void 0?d:yt(10);var h;this.type=(h=(o=n)===null||o===void 0?void 0:o.type)!==null&&h!==void 0?h:s,this.props=new _e((i=n)===null||i===void 0?void 0:i.props),this.customEvents=y;var b;this.controlType=(b=(u=n)===null||u===void 0?void 0:u.controlType)!==null&&b!==void 0?b:"base";var v;this.fieldType=(v=(f=n)===null||f===void 0?void 0:f.fieldType)!==null&&v!==void 0?v:p;var g;this.pageStatus=(g=(a=n)===null||a===void 0?void 0:a.pageStatus)!==null&&g!==void 0?g:c.PAGE_STATUS.UNKNOWN}return JF(t,[{key:"rules",get:function(){var r=this.props.constructor.RuntimeRules;if(r){var o=new r(this.props);return Array.from(o)}return[]}}]),t}();it(ye,"controlType","control"),it(ye,"controlFieldType",void 0),it(ye,"__is_control__",!0),it(ye,"controlCustomEvents",[]);function nu(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:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:w.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:w.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,r,o){r.length===0&&o(w.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(n,r,o){var i=r.map(function(f){return f.value}),u=uP(i);i.length!==u.length?o(w.getMessage("optionIdIsRepeat")):o()},message:w.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",validator:function(n,r,o){r.length===0&&o(w.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:w.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:w.getMessage("isNotBoolean")}}}}]}}])}function Eo(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:w.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:w.getMessage("isNotString")},key:{type:"string",required:!0,message:w.getMessage("isNotString")},value:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(w.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:w.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:w.getMessage("isNotBoolean")}}}}]}}]}function i$(e){var t,n;return((t=e)===null||t===void 0?void 0:t.dataCode)!==void 0&&((n=e)===null||n===void 0?void 0:n.fieldCode)!==void 0}function Z(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ru(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(e)}function iu(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fy(e,t)}function ZF(e,t){return t&&(e4(t)==="object"||typeof t=="function")?t:Z(e)}function fy(e,t){return fy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},fy(e,t)}function e4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function t4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uu(e){var t=t4();return function(){var r=ou(e),o;if(t){var i=ou(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return ZF(this,o)}}var Oe=function(e){iu(n,e);var t=uu(n);function n(r){ru(this,n);var o;o=t.call(this,r),ee(Z(o),"dataBind",{}),ee(Z(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),ee(Z(o),"isHideCaption",{type:"boolean"}),ee(Z(o),"labelPosition",{type:"enum",enum:["top","left"]}),ee(Z(o),"defaultState",{type:"enum",enum:["default","readonly"]}),ee(Z(o),"required",{type:"boolean"}),ee(Z(o),"captionTip",{type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")}};if(i$(r.dataBind))o.dataBind={type:"object",required:!0,fields:zt(i),message:w.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:w.getMessage("pleaseEnterFieldCode")};Object.keys(r.dataBind).forEach(function(f){u.fields[f]={type:"object",required:!0,fields:zt(i),message:w.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return r.isShowCaptionTip&&(o.captionTip.required=!0),o}return n}(pe),J=function(e){iu(n,e);var t=uu(n);function n(r){ru(this,n);var o;return o=t.call(this,r),o.push({type:"string",required:r.isHide?!1:r.required,message:r.requiredMessage!==""?r.requiredMessage:w.getMessage("runtimeRequired",{caption:r.caption})}),o}return n}(fn),V=function(e){iu(n,e);var t=uu(n);function n(r){ru(this,n);var o,i,u,f,a,l,s,p,_,y,d,h;o=t.call(this,r),ee(Z(o),"caption",void 0),ee(Z(o),"isHideCaption",void 0),ee(Z(o),"isShowCaptionTip",void 0),ee(Z(o),"captionTip",void 0),ee(Z(o),"labelPosition",void 0),ee(Z(o),"dataBind",void 0),ee(Z(o),"defaultValue",void 0),ee(Z(o),"placeholder",void 0),ee(Z(o),"defaultState",void 0),ee(Z(o),"required",void 0),ee(Z(o),"requiredMessage",void 0);var b;o.caption=(b=(i=r)===null||i===void 0?void 0:i.caption)!==null&&b!==void 0?b:"";var v;o.isHideCaption=(v=(u=r)===null||u===void 0?void 0:u.isHideCaption)!==null&&v!==void 0?v:!1;var g;o.isShowCaptionTip=(g=(f=r)===null||f===void 0?void 0:f.isShowCaptionTip)!==null&&g!==void 0?g:!1;var m;o.captionTip=(m=(a=r)===null||a===void 0?void 0:a.captionTip)!==null&&m!==void 0?m:"";var O;o.defaultState=(O=(l=r)===null||l===void 0?void 0:l.defaultState)!==null&&O!==void 0?O:"default";var $;o.labelPosition=($=(s=r)===null||s===void 0?void 0:s.labelPosition)!==null&&$!==void 0?$:"top";var T;o.placeholder=(T=(p=r)===null||p===void 0?void 0:p.placeholder)!==null&&T!==void 0?T:"";var R;o.required=(R=(_=r)===null||_===void 0?void 0:_.required)!==null&&R!==void 0?R:!1;var S;o.requiredMessage=(S=(y=r)===null||y===void 0?void 0:y.requiredMessage)!==null&&S!==void 0?S:"",o.dataBind=new ot((d=r)===null||d===void 0?void 0:d.dataBind);var I;return o.defaultValue=(I=(h=r)===null||h===void 0?void 0:h.defaultValue)!==null&&I!==void 0?I:"",o}return n}(_e);ee(V,"Rules",Oe),ee(V,"RuntimeRules",J);var Cn=function(e){iu(n,e);var t=uu(n);function n(r){ru(this,n);var o;return o=t.call(this,r),ee(Z(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:w.getMessage("PleaseSelectTheCorrectOptionSettings")}),ee(Z(o),"options",[{type:"array",message:w.getMessage("isNotArray")}]),ee(Z(o),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),nu.call(Z(o),r),o}return n}(Oe);function ly(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fu(e)}function r4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ay(e,t)}function o4(e,t){return t&&(i4(t)==="object"||typeof t=="function")?t:ly(e)}function ay(e,t){return ay=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ay(e,t)}function i4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c4(e){var t=u4();return function(){var r=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return o4(this,o)}}var z=function(e){r4(n,e);var t=c4(n);function n(r){n4(this,n);var o,i;return o=t.call(this,r),cu(ly(o),"controlType","form"),cu(ly(o),"props",void 0),o.props=new V((i=r)===null||i===void 0?void 0:i.props),o}return n}(W);cu(z,"controlEventKeys",["on_change","on_focus","on_blur"]),cu(z,"controlCustomAttributes",void 0);function lu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},au(e)}function l4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&py(e,t)}function a4(e,t){return t&&(s4(t)==="object"||typeof t=="function")?t:lu(e)}function py(e,t){return py=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},py(e,t)}function s4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _4(e){var t=p4();return function(){var r=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return a4(this,o)}}var G=function(e){l4(n,e);var t=_4(n);function n(r){f4(this,n);var o,i;return o=t.call(this,r),sy(lu(o),"controlType","form"),sy(lu(o),"props",void 0),sy(lu(o),"value",void 0),o.props=new V((i=r)===null||i===void 0?void 0:i.props),o}return n}(ye);function y4(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 su(e){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(e)}function d4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_y(e,t)}function h4(e,t){return t&&(b4(t)==="object"||typeof t=="function")?t:y4(e)}function _y(e,t){return _y=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_y(e,t)}function b4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g4(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m4(e){var t=g4();return function(){var r=su(e),o;if(t){var i=su(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return h4(this,o)}}var Q=function(e){d4(n,e);var t=m4(n);function n(r){return v4(this,n),t.call(this,r)}return n}(_e);function yy(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function O4(e){if(Array.isArray(e))return yy(e)}function w4(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function P4(){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 u$(e){return O4(e)||w4(e)||$4(e)||P4()}function $4(e,t){if(!!e){if(typeof e=="string")return yy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yy(e,t)}}function c$(e,t){var n;!((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0)&&n.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function vy(e,t){e.parent=t,c$(e,"parent")}function f$(e,t){e.forEach(function(n){vy(n,t)})}var l$=Symbol("targetKey");function a$(e){var t;return(t=e[l$])!==null&&t!==void 0?t:e}function s$(e,t){return f$(e,t),new Proxy(e,{get:function(r,o){for(var i=arguments.length,u=new Array(i>2?i-2:0),f=2;f<i;f++)u[f-2]=arguments[f];var a;return o===l$?r:(a=Reflect).get.apply(a,[r,o].concat(u$(u)))},set:function(r,o,i){for(var u=arguments.length,f=new Array(u>3?u-3:0),a=3;a<u;a++)f[a-3]=arguments[a];var l;if(An(e)&&o==="length"&&i===e.length)return!0;var s=(l=Reflect).set.apply(l,[r,o,i].concat(u$(f)));return L_(i)&&vy(i,t),s}})}function vt(e,t,n,r){var o=r!=null?r:e,i=s$(a$(n!=null?n:[]),o);Object.defineProperty(e,t,{get:function(){return i},set:function(f){i=s$(a$(f),o)},enumerable:!0})}function dy(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function R4(e){if(Array.isArray(e))return dy(e)}function xn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p$(e,t,n,r,o,i,u){try{var f=e[i](u),a=f.value}catch(l){n(l);return}f.done?t(a):Promise.resolve(a).then(r,o)}function T4(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(a){p$(i,r,o,u,f,"next",a)}function f(a){p$(i,r,o,u,f,"throw",a)}u(void 0)})}}function S4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E4(e,t,n){return t&&_$(e.prototype,t),n&&_$(e,n),e}function an(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wr(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?wr=Reflect.get:wr=function(o,i,u){var f=j4(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},wr(e,t,n||e)}function sn(e){return sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sn(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&&hy(e,t)}function B4(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function N4(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function M4(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function A4(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){an(e,o,n[o])})}return e}function k4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function D4(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):k4(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function L4(e,t){return t&&(F4(t)==="object"||typeof t=="function")?t:xn(e)}function hy(e,t){return hy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},hy(e,t)}function j4(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=sn(e),e!==null););return e}function y$(e){return R4(e)||N4(e)||C4(e)||M4()}function F4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C4(e,t){if(!!e){if(typeof e=="string")return dy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dy(e,t)}}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 V4(e){var t=x4();return function(){var r=sn(e),o;if(t){var i=sn(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return L4(this,o)}}function z4(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var G4=1e4,te=function(t){I4(r,t);var n=V4(r);function r(o){S4(this,r);var i,u,f;i=n.call(this,o),an(xn(i),"controlType","layout"),an(xn(i),"children",void 0),an(xn(i),"excludes",void 0),an(xn(i),"childrenMaxLength",void 0),an(xn(i),"props",void 0);var a=B4(this,r)?this.constructor:void 0,l=a.excludes,s=a.childrenMaxLength;return i.props=new Q((u=o)===null||u===void 0?void 0:u.props),vt(xn(i),"children",(f=o)===null||f===void 0?void 0:f.children),i.excludes=zt(l),i.childrenMaxLength=s,i}return E4(r,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var f=this,a=this,l=function(){return wr(sn(r.prototype),"validate",f)};return T4(function(){return z4(this,function(s){switch(s.label){case 0:return[4,l().call(a,i,u)];case 1:return s.sent(),[4,Promise.all(a.children.map(function(p){return p.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=wr(sn(r.prototype),"toDataBindModel",this).call(this),f=u?[u]:[];return this.children.reduce(function(a,l){var s=l.toDataBindModel(i);if(Array.isArray(s)){var p=s.filter(function(_){return!!_});return y$(a).concat(y$(p))}return s&&a.push(s),a},f)}},{key:"toSchema",value:function(){var i=wr(sn(r.prototype),"toSchema",this).call(this),u=this.children.map(function(f){var a=f.toSchema();return a});return D4(A4({},i),{children:u})}}]),r}(W);an(te,"excludes",!1),an(te,"childrenMaxLength",G4);function Io(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function by(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pu(e){return pu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pu(e)}function H4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gy(e,t)}function q4(e,t){return t&&(U4(t)==="object"||typeof t=="function")?t:Io(e)}function gy(e,t){return gy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},gy(e,t)}function U4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}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 r=pu(e),o;if(t){var i=pu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return q4(this,o)}}var ue=function(e){H4(n,e);var t=K4(n);function n(r){Y4(this,n);var o,i,u;return o=t.call(this,r),by(Io(o),"controlType","layout"),by(Io(o),"children",void 0),by(Io(o),"props",void 0),o.props=new Q((i=r)===null||i===void 0?void 0:i.props),vt(Io(o),"children",(u=r)===null||u===void 0?void 0:u.children),o}return n}(ye);function Bo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X4(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_u(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&&my(e,t)}function Q4(e,t){return t&&(Z4(t)==="object"||typeof t=="function")?t:Bo(e)}function my(e,t){return my=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},my(e,t)}function Z4(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tC(e){var t=eC();return function(){var r=_u(e),o;if(t){var i=_u(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Q4(this,o)}}var No=function(e){J4(n,e);var t=tC(n);function n(r,o){X4(this,n);var i,u,f;return i=t.call(this,o),v$(Bo(i),"headers",void 0),v$(Bo(i),"footers",void 0),vt(Bo(i),"headers",(u=o)===null||u===void 0?void 0:u.headers,r),vt(Bo(i),"footers",(f=o)===null||f===void 0?void 0:f.footers,r),i}return n}(_e);function Oy(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nC(e){if(Array.isArray(e))return Oy(e)}function yu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d$(e,t,n,r,o,i,u){try{var f=e[i](u),a=f.value}catch(l){n(l);return}f.done?t(a):Promise.resolve(a).then(r,o)}function rC(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(a){d$(i,r,o,u,f,"next",a)}function f(a){d$(i,r,o,u,f,"throw",a)}u(void 0)})}}function oC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iC(e,t,n){return t&&h$(e.prototype,t),n&&h$(e,n),e}function vu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pr(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Pr=Reflect.get:Pr=function(o,i,u){var f=sC(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Pr(e,t,n||e)}function pn(e){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(e)}function uC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wy(e,t)}function cC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fC(){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 b$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){vu(e,o,n[o])})}return e}function lC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function g$(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lC(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function aC(e,t){return t&&(pC(t)==="object"||typeof t=="function")?t:yu(e)}function wy(e,t){return wy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},wy(e,t)}function sC(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=pn(e),e!==null););return e}function m$(e){return nC(e)||cC(e)||_C(e)||fC()}function pC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _C(e,t){if(!!e){if(typeof e=="string")return Oy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Oy(e,t)}}function yC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vC(e){var t=yC();return function(){var r=pn(e),o;if(t){var i=pn(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return aC(this,o)}}function dC(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var du=function(e){uC(n,e);var t=vC(n);function n(r){oC(this,n);var o,i;return o=t.call(this,r),vu(yu(o),"controlType","list"),vu(yu(o),"props",void 0),o.props=new No(yu(o),(i=r)===null||i===void 0?void 0:i.props),o}return iC(n,[{key:"validate",value:function(o,i){var u=this,f=this,a=function(){return Pr(pn(n.prototype),"validate",u)};return rC(function(){return dC(this,function(l){switch(l.label){case 0:return[4,a().call(f,o)];case 1:return l.sent(),[4,Promise.all(f.props.headers.map(function(s){return s.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=Pr(pn(n.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(f,a){var l=a.toDataBindModel(u);if(Array.isArray(l)){var s=l.filter(function(p){return!!p});return m$(f).concat(m$(s))}return l&&f.push(l),f},i)}},{key:"toSchema",value:function(){var o,i,u=Pr(pn(n.prototype),"toSchema",this).call(this),f=this.props.headers.map(function(l){return l.toSchema()}),a=(i=this.props)===null||i===void 0||(o=i.footers)===null||o===void 0?void 0:o.map(function(l){if(l)return l.toSchema()});return g$(b$({},u),{props:g$(b$({},this.props),{headers:f,footers:a})})}}]),n}(W);vu(du,"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 hC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bC(e,t,n){return t&&O$(e.prototype,t),n&&O$(e,n),e}function Py(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hu(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&&$y(e,t)}function mC(e,t){return t&&(OC(t)==="object"||typeof t=="function")?t:$r(e)}function $y(e,t){return $y=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},$y(e,t)}function OC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PC(e){var t=wC();return function(){var r=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mC(this,o)}}var Ry=function(e){gC(n,e);var t=PC(n);function n(r){hC(this,n);var o,i,u;return o=t.call(this,r),Py($r(o),"controlType","list"),Py($r(o),"children",void 0),Py($r(o),"props",void 0),o.props=new No($r(o),(i=r)===null||i===void 0?void 0:i.props),vt($r(o),"children",(u=r)===null||u===void 0?void 0:u.children),o}return bC(n,[{key:"length",get:function(){return this.children.length}}]),n}(ye);function we(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 Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bu(e){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(e)}function Sy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ey(e,t)}function $C(e,t){return t&&(RC(t)==="object"||typeof t=="function")?t:we(e)}function Ey(e,t){return Ey=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ey(e,t)}function RC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iy(e){var t=TC();return function(){var r=bu(e),o;if(t){var i=bu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return $C(this,o)}}var Nt=function(e){Sy(n,e);var t=Iy(n);function n(r){Ty(this,n);var o;return o=t.call(this,r),Ie(we(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),Ie(we(o),"width",{type:"number",required:!1,message:w.getMessage("pleaseEnterColumnWidth")}),o.width.required=r.widthType==="px",o}return n}(pe),ce=function(e){Sy(n,e);var t=Iy(n);function n(r){Ty(this,n);var o,i,u,f,a,l,s,p,_,y,d;o=t.call(this,r),Ie(we(o),"widthType",void 0),Ie(we(o),"width",void 0),Ie(we(o),"caption",void 0),Ie(we(o),"dataBind",void 0),Ie(we(o),"autoWidth",void 0),Ie(we(o),"fixed",void 0),Ie(we(o),"sort",void 0),Ie(we(o),"align",void 0),Ie(we(o),"colSpan",void 0),Ie(we(o),"autoHeight",void 0);var h;o.width=(h=(i=r)===null||i===void 0?void 0:i.width)!==null&&h!==void 0?h:150,o.widthType=((u=r)===null||u===void 0?void 0:u.widthType)||"auto";var b;o.caption=(b=(f=r)===null||f===void 0?void 0:f.caption)!==null&&b!==void 0?b:"";var v;o.fixed=(v=(a=r)===null||a===void 0?void 0:a.fixed)!==null&&v!==void 0?v:"none",o.autoWidth=new V_((l=r)===null||l===void 0?void 0:l.autoWidth),o.dataBind=new ot((s=r)===null||s===void 0?void 0:s.dataBind);var g;o.sort=(g=(p=r)===null||p===void 0?void 0:p.sort)!==null&&g!==void 0?g:!0,o.align=(_=r)===null||_===void 0?void 0:_.align,o.colSpan=(y=r)===null||y===void 0?void 0:y.colSpan;var m;return o.autoHeight=(m=(d=r)===null||d===void 0?void 0:d.autoHeight)!==null&&m!==void 0?m:!1,o}return n}(_e);Ie(ce,"Rules",Nt);var By=function(e){Sy(n,e);var t=Iy(n);function n(r){Ty(this,n);var o;return o=t.call(this,r),Ie(we(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:w.getMessage("PleaseSelectTheCorrectOptionSettings")}),Ie(we(o),"options",[{type:"array",message:w.getMessage("isNotArray")}]),Ie(we(o),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),nu.call(we(o),r),o}return n}(Nt);function Ny(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(e)}function EC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&My(e,t)}function IC(e,t){return t&&(BC(t)==="object"||typeof t=="function")?t:Ny(e)}function My(e,t){return My=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},My(e,t)}function BC(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 MC(e){var t=NC();return function(){var r=gu(e),o;if(t){var i=gu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return IC(this,o)}}var he=function(e){EC(n,e);var t=MC(n);function n(r){SC(this,n);var o,i;return o=t.call(this,r),w$(Ny(o),"controlType","column"),w$(Ny(o),"props",void 0),o.props=new ce((i=r)===null||i===void 0?void 0:i.props),o}return n}(W);function Ay(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mu(e){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(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&&ky(e,t)}function DC(e,t){return t&&(LC(t)==="object"||typeof t=="function")?t:Ay(e)}function ky(e,t){return ky=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ky(e,t)}function LC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FC(e){var t=jC();return function(){var r=mu(e),o;if(t){var i=mu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return DC(this,o)}}var be=function(e){kC(n,e);var t=FC(n);function n(r){AC(this,n);var o,i;return o=t.call(this,r),P$(Ay(o),"controlType","column"),P$(Ay(o),"props",void 0),o.props=new ce((i=r)===null||i===void 0?void 0:i.props),o}return n}(ye);function $$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xC(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ou(e){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(e)}function VC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dy(e,t)}function zC(e,t){return t&&(GC(t)==="object"||typeof t=="function")?t:$$(e)}function Dy(e,t){return Dy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Dy(e,t)}function GC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HC(e){var t=YC();return function(){var r=Ou(e),o;if(t){var i=Ou(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zC(this,o)}}var wu=function(e){VC(n,e);var t=HC(n);function n(r){CC(this,n);var o,i;return o=t.call(this,r),xC($$(o),"dataBind",void 0),o.dataBind=new ot((i=r)===null||i===void 0?void 0:i.dataBind),o}return n}(Q);function Ly(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pu(e){return Pu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pu(e)}function UC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jy(e,t)}function WC(e,t){return t&&(KC(t)==="object"||typeof t=="function")?t:Ly(e)}function jy(e,t){return jy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},jy(e,t)}function KC(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XC(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JC(e){var t=XC();return function(){var r=Pu(e),o;if(t){var i=Pu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return WC(this,o)}}var T$=function(e){UC(n,e);var t=JC(n);function n(r){qC(this,n);var o,i;return o=t.call(this,r),R$(Ly(o),"controlType","search"),R$(Ly(o),"props",void 0),o.props=new wu((i=r)===null||i===void 0?void 0:i.props),o}return n}(te);function Fy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $u(e){return $u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$u(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&&Cy(e,t)}function e5(e,t){return t&&(t5(t)==="object"||typeof t=="function")?t:Fy(e)}function Cy(e,t){return Cy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Cy(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 r=$u(e),o;if(t){var i=$u(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return e5(this,o)}}var E$=function(e){ZC(n,e);var t=r5(n);function n(r){QC(this,n);var o,i;return o=t.call(this,r),S$(Fy(o),"controlType","search"),S$(Fy(o),"props",void 0),o.props=new wu((i=r)===null||i===void 0?void 0:i.props),o}return n}(ue);function o5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ru(e){return Ru=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ru(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&&xy(e,t)}function c5(e,t){return t&&(f5(t)==="object"||typeof t=="function")?t:o5(e)}function xy(e,t){return xy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},xy(e,t)}function f5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a5(e){var t=l5();return function(){var r=Ru(e),o;if(t){var i=Ru(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return c5(this,o)}}var Tu=function(e){u5(n,e);var t=a5(n);function n(r){return i5(this,n),t.call(this,r)}return n}(Q);function Vy(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 I$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Su(e){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Su(e)}function p5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zy(e,t)}function _5(e,t){return t&&(y5(t)==="object"||typeof t=="function")?t:Vy(e)}function zy(e,t){return zy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},zy(e,t)}function y5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d5(e){var t=v5();return function(){var r=Su(e),o;if(t){var i=Su(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _5(this,o)}}var B$=function(e){p5(n,e);var t=d5(n);function n(r){s5(this,n);var o,i;return o=t.call(this,r),I$(Vy(o),"controlType","wrap"),I$(Vy(o),"props",void 0),o.props=new Tu((i=r)===null||i===void 0?void 0:i.props),o}return n}(te);function Gy(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 N$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eu(e){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Eu(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&&Yy(e,t)}function g5(e,t){return t&&(m5(t)==="object"||typeof t=="function")?t:Gy(e)}function Yy(e,t){return Yy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Yy(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 r=Eu(e),o;if(t){var i=Eu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return g5(this,o)}}var M$=function(e){b5(n,e);var t=w5(n);function n(r){h5(this,n);var o,i;return o=t.call(this,r),N$(Gy(o),"controlType","wrap"),N$(Gy(o),"props",void 0),o.props=new Tu((i=r)===null||i===void 0?void 0:i.props),o}return n}(ue);function _n(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:w.getMessage("pleaseEnterForm")}}}])}function Rr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(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&&Hy(e,t)}function R5(e,t){return t&&(T5(t)==="object"||typeof t=="function")?t:Rr(e)}function Hy(e,t){return Hy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Hy(e,t)}function T5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E5(e){var t=S5();return function(){var r=Iu(e),o;if(t){var i=Iu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return R5(this,o)}}var qy=function(e){$5(n,e);var t=E5(n);function n(r){P5(this,n);var o,i,u,f,a,l;o=t.call(this,r),Mo(Rr(o),"content",void 0),Mo(Rr(o),"fontSize",void 0),Mo(Rr(o),"color",void 0),Mo(Rr(o),"icon",void 0),Mo(Rr(o),"showState",void 0);var s;o.fontSize=(s=(i=r)===null||i===void 0?void 0:i.fontSize)!==null&&s!==void 0?s:"14px";var p;o.color=(p=(u=r)===null||u===void 0?void 0:u.color)!==null&&p!==void 0?p:"#646A73";var _;o.icon=(_=(f=r)===null||f===void 0?void 0:f.icon)!==null&&_!==void 0?_:"page-hint";var y;o.showState=(y=(a=r)===null||a===void 0?void 0:a.showState)!==null&&y!==void 0?y:"text";var d;return o.content=(d=(l=r)===null||l===void 0?void 0:l.content)!==null&&d!==void 0?d:"\u8BF4\u660E\u6587\u5B57",o}return n}(_e);function A$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function B5(e,t,n){return t&&k$(e.prototype,t),n&&k$(e,n),e}function D$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bu(e)}function N5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uy(e,t)}function M5(e,t){return t&&(A5(t)==="object"||typeof t=="function")?t:A$(e)}function Uy(e,t){return Uy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Uy(e,t)}function A5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D5(e){var t=k5();return function(){var r=Bu(e),o;if(t){var i=Bu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return M5(this,o)}}var L$=function(e){N5(n,e);var t=D5(n);function n(r){I5(this,n);var o,i;return o=t.call(this,r),D$(A$(o),"props",void 0),o.props=new qy((i=r)===null||i===void 0?void 0:i.props),o}return B5(n,null,[{key:"controlName",get:function(){return"\u8BF4\u660E\u6587\u5B57"}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),n}(W);D$(L$,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function j$(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 F$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function j5(e,t,n){return t&&F$(e.prototype,t),n&&F$(e,n),e}function F5(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nu(e){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(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&&Wy(e,t)}function x5(e,t){return t&&(V5(t)==="object"||typeof t=="function")?t:j$(e)}function Wy(e,t){return Wy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Wy(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 r=Nu(e),o;if(t){var i=Nu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return x5(this,o)}}var Y5=function(e){C5(n,e);var t=G5(n);function n(r){L5(this,n);var o,i;return o=t.call(this,r),F5(j$(o),"props",void 0),o.props=new qy((i=r)===null||i===void 0?void 0:i.props),o}return j5(n,null,[{key:"controlType",get:function(){return"text"}}]),n}(ye),C$={Designer:L$,Runtime:Y5,Property:qy};function Mu(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 Ky(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Au(e){return Au=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Au(e)}function q5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xy(e,t)}function U5(e,t){return t&&(W5(t)==="object"||typeof t=="function")?t:Mu(e)}function Xy(e,t){return Xy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Xy(e,t)}function W5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X5(e){var t=K5();return function(){var r=Au(e),o;if(t){var i=Au(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return U5(this,o)}}var Jy=function(e){q5(n,e);var t=X5(n);function n(r){H5(this,n);var o,i,u,f;o=t.call(this,r),Ky(Mu(o),"content",void 0),Ky(Mu(o),"url",void 0),Ky(Mu(o),"openMode",void 0);var a;o.content=(a=(i=r)===null||i===void 0?void 0:i.content)!==null&&a!==void 0?a:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var l;o.url=(l=(u=r)===null||u===void 0?void 0:u.url)!==null&&l!==void 0?l:"";var s;return o.openMode=(s=(f=r)===null||f===void 0?void 0:f.openMode)!==null&&s!==void 0?s:"new",o}return n}(_e);function x$(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 V$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Q5(e,t,n){return t&&V$(e.prototype,t),n&&V$(e,n),e}function Qy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ku(e){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(e)}function Z5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zy(e,t)}function e6(e,t){return t&&(t6(t)==="object"||typeof t=="function")?t:x$(e)}function Zy(e,t){return Zy=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Zy(e,t)}function t6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r6(e){var t=n6();return function(){var r=ku(e),o;if(t){var i=ku(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return e6(this,o)}}var ev=function(e){Z5(n,e);var t=r6(n);function n(r){J5(this,n);var o,i;return o=t.call(this,r),Qy(x$(o),"props",void 0),o.props=new Jy((i=r)===null||i===void 0?void 0:i.props),o}return Q5(n,null,[{key:"controlName",get:function(){return"\u94FE\u63A5"}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),n}(W);Qy(ev,"controlEventKeys",["on_click"]),Qy(ev,"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 z$(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 G$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i6(e,t,n){return t&&G$(e.prototype,t),n&&G$(e,n),e}function u6(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Du(e){return Du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Du(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&&tv(e,t)}function f6(e,t){return t&&(l6(t)==="object"||typeof t=="function")?t:z$(e)}function tv(e,t){return tv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},tv(e,t)}function l6(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 r=Du(e),o;if(t){var i=Du(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return f6(this,o)}}var p6=function(e){c6(n,e);var t=s6(n);function n(r){o6(this,n);var o,i;return o=t.call(this,r),u6(z$(o),"props",void 0),o.props=new Jy((i=r)===null||i===void 0?void 0:i.props),o}return i6(n,null,[{key:"controlType",get:function(){return"link"}}]),n}(ye),Y$={Designer:ev,Runtime:p6,Property:Jy};function Mt(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 Ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lu(e){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lu(e)}function y6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 v6(e,t){return t&&(d6(t)==="object"||typeof t=="function")?t:Mt(e)}function nv(e,t){return nv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},nv(e,t)}function d6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function b6(e){var t=h6();return function(){var r=Lu(e),o;if(t){var i=Lu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return v6(this,o)}}var Le=function(e){y6(n,e);var t=b6(n);function n(r){_6(this,n);var o,i,u,f,a,l,s,p,_,y;o=t.call(this,r),Ht(Mt(o),"content",void 0),Ht(Mt(o),"buttonType",void 0),Ht(Mt(o),"showType",void 0),Ht(Mt(o),"color",void 0),Ht(Mt(o),"icon",void 0),Ht(Mt(o),"defaultState",void 0),Ht(Mt(o),"command",void 0),Ht(Mt(o),"isLoading",void 0),Ht(Mt(o),"optObj",void 0);var d;o.content=(d=(i=r)===null||i===void 0?void 0:i.content)!==null&&d!==void 0?d:"\u6309\u94AE";var h;o.buttonType=(h=(u=r)===null||u===void 0?void 0:u.buttonType)!==null&&h!==void 0?h:"primary";var b;o.showType=(b=(f=r)===null||f===void 0?void 0:f.showType)!==null&&b!==void 0?b:"text";var v;o.color=(v=(a=r)===null||a===void 0?void 0:a.color)!==null&&v!==void 0?v:"primary";var g;o.icon=(g=(l=r)===null||l===void 0?void 0:l.icon)!==null&&g!==void 0?g:"iconfenlei2";var m;o.defaultState=(m=(s=r)===null||s===void 0?void 0:s.defaultState)!==null&&m!==void 0?m:"default";var O;o.command=(O=(p=r)===null||p===void 0?void 0:p.command)!==null&&O!==void 0?O:"custom";var $;o.isLoading=($=(_=r)===null||_===void 0?void 0:_.isLoading)!==null&&$!==void 0?$:!1;var T;return o.optObj=new FP((T=(y=r)===null||y===void 0?void 0:y.optObj)!==null&&T!==void 0?T:{}),o}return n}(_e);function H$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m6(e,t,n){return t&&q$(e.prototype,t),n&&q$(e,n),e}function rv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ju(e){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},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&&ov(e,t)}function w6(e,t){return t&&(P6(t)==="object"||typeof t=="function")?t:H$(e)}function ov(e,t){return ov=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ov(e,t)}function P6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R6(e){var t=$6();return function(){var r=ju(e),o;if(t){var i=ju(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return w6(this,o)}}var je=function(e){O6(n,e);var t=R6(n);function n(r){g6(this,n);var o,i;return o=t.call(this,r),rv(H$(o),"props",void 0),o.props=new Le((i=r)===null||i===void 0?void 0:i.props),o}return m6(n,null,[{key:"controlName",get:function(){return"\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),n}(W);rv(je,"controlEventKeys",["on_click","on_click_finish"]),rv(je,"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 U$(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 W$(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S6(e,t,n){return t&&W$(e.prototype,t),n&&W$(e,n),e}function E6(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fu(e){return Fu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fu(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&&iv(e,t)}function B6(e,t){return t&&(N6(t)==="object"||typeof t=="function")?t:U$(e)}function iv(e,t){return iv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},iv(e,t)}function N6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A6(e){var t=M6();return function(){var r=Fu(e),o;if(t){var i=Fu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return B6(this,o)}}var Je=function(e){I6(n,e);var t=A6(n);function n(r){T6(this,n);var o,i;return o=t.call(this,r),E6(U$(o),"props",void 0),o.props=new Le((i=r)===null||i===void 0?void 0:i.props),o}return S6(n,null,[{key:"controlType",get:function(){return"button"}}]),n}(ye),K$={Designer:je,Runtime:Je,Property:Le};function qt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 Cu=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:c.DATE_CONFIG_TYPE.UN_SELECT_ABLE_INTERVAL,dateLimitType:c.DATE_LIMIT_TYPE.FILE_IN_TIME,id:yt(8),value:["",""]};qt(this,e),L(this,"dateConfigType",void 0),L(this,"dateLimitType",void 0),L(this,"id",void 0),L(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 xu=function e(t){qt(this,e);var n,r;L(this,"id",void 0),L(this,"text",void 0);var o;this.id=(o=(n=t)===null||n===void 0?void 0:n.id)!==null&&o!==void 0?o:yt();var i;this.text=(i=(r=t)===null||r===void 0?void 0:r.text)!==null&&i!==void 0?i:""};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 uv=function e(t){qt(this,e);var n,r,o,i,u,f,a,l;L(this,"type",void 0),L(this,"person",void 0),L(this,"signatureType",void 0),L(this,"telephone",void 0),L(this,"company",void 0),L(this,"remark",void 0);var s;this.type=(s=(n=t)===null||n===void 0?void 0:n.type)!==null&&s!==void 0?s:"private";var p;this.person=new mr((p=(r=t)===null||r===void 0?void 0:r.person)!==null&&p!==void 0?p:{type:"form"});var _;this.signatureType=(_=(o=t)===null||o===void 0?void 0:o.signatureType)!==null&&_!==void 0?_:[];var y,d;this.telephone=(d=(i=t)===null||i===void 0?void 0:i.telephone)!==null&&d!==void 0?d:new mr((y=(u=t)===null||u===void 0?void 0:u.telephone)!==null&&y!==void 0?y:{type:"form"});var h,b;this.company=(b=(f=t)===null||f===void 0?void 0:f.company)!==null&&b!==void 0?b:new mr((h=(a=t)===null||a===void 0?void 0:a.company)!==null&&h!==void 0?h:{type:"form"});var v;this.remark=(v=(l=t)===null||l===void 0?void 0:l.remark)!==null&&v!==void 0?v:""},X$=function e(t){qt(this,e);var n,r,o,i,u,f;L(this,"fileControl",void 0),L(this,"undersignedList",void 0),L(this,"statusControl",void 0),L(this,"completeControl",void 0),L(this,"completeTimeControl",void 0);var a;this.fileControl=(a=(n=t)===null||n===void 0?void 0:n.fileControl)!==null&&a!==void 0?a:"";var l;this.undersignedList=(l=(o=t)===null||o===void 0||(r=o.undersignedList)===null||r===void 0?void 0:r.map(function(y){return new uv(y)}))!==null&&l!==void 0?l:[new uv];var s;this.statusControl=(s=(i=t)===null||i===void 0?void 0:i.statusControl)!==null&&s!==void 0?s:"";var p;this.completeControl=(p=(u=t)===null||u===void 0?void 0:u.completeControl)!==null&&p!==void 0?p:"";var _;this.completeTimeControl=(_=(f=t)===null||f===void 0?void 0:f.completeTimeControl)!==null&&_!==void 0?_:""},cv=function e(t){qt(this,e);var n,r,o,i,u,f,a;L(this,"id",void 0),L(this,"appId",void 0),L(this,"dataCode",void 0),L(this,"svcCode",void 0),L(this,"name",void 0),L(this,"fieldList",void 0),L(this,"active",void 0);var l;this.id=(l=(n=t)===null||n===void 0?void 0:n.id)!==null&&l!==void 0?l:yt(8);var s;this.appId=(s=(r=t)===null||r===void 0?void 0:r.appId)!==null&&s!==void 0?s:"";var p;this.dataCode=(p=(o=t)===null||o===void 0?void 0:o.dataCode)!==null&&p!==void 0?p:"";var _;this.svcCode=(_=(i=t)===null||i===void 0?void 0:i.svcCode)!==null&&_!==void 0?_:"";var y;this.name=(y=(u=t)===null||u===void 0?void 0:u.name)!==null&&y!==void 0?y:"";var d;this.fieldList=(d=(f=t)===null||f===void 0?void 0:f.fieldList)!==null&&d!==void 0?d:[];var h;this.active=(h=(a=t)===null||a===void 0?void 0:a.active)!==null&&h!==void 0?h:!1},fv=function e(t){qt(this,e);var n,r;L(this,"active",void 0),L(this,"text",void 0);var o;this.active=(o=(n=t)===null||n===void 0?void 0:n.active)!==null&&o!==void 0?o:!1;var i;this.text=(i=(r=t)===null||r===void 0?void 0:r.text)!==null&&i!==void 0?i:""},J$=function e(t){qt(this,e);var n,r,o,i,u,f;L(this,"types",void 0),L(this,"history",void 0),L(this,"collaborativeRecord",void 0),L(this,"logicToDelete",void 0),L(this,"watermark",void 0),L(this,"autoRename",void 0);var a;this.types=(a=(n=t)===null||n===void 0?void 0:n.types)!==null&&a!==void 0?a:["word","ppt","excel"];var l;this.history=(l=(r=t)===null||r===void 0?void 0:r.history)!==null&&l!==void 0?l:!1;var s;this.collaborativeRecord=(s=(o=t)===null||o===void 0?void 0:o.collaborativeRecord)!==null&&s!==void 0?s:!1;var p;this.logicToDelete=(p=(i=t)===null||i===void 0?void 0:i.logicToDelete)!==null&&p!==void 0?p:!0,this.watermark=new fv((u=t)===null||u===void 0?void 0:u.watermark),this.autoRename=new fv((f=t)===null||f===void 0?void 0:f.autoRename)},Q$=480;function Ao(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var Z$=function e(t){qt(this,e);var n,r,o;L(this,"fileId",void 0),L(this,"fileName",void 0),L(this,"ruleName",void 0),L(this,"isDefault",void 0),L(this,"rules",void 0);var i;this.fileId=(i=(n=t)===null||n===void 0?void 0:n.fileId)!==null&&i!==void 0?i:"";var u;this.fileName=(u=(r=t)===null||r===void 0?void 0:r.fileName)!==null&&u!==void 0?u:"";var f;this.ruleName=(f=(o=t)===null||o===void 0?void 0:o.ruleName)!==null&&f!==void 0?f:"";var a;this.isDefault=(a=t.isDefault)!==null&&a!==void 0?a:!1;var l;this.rules=(l=t.rules)!==null&&l!==void 0?l:[]},eR=function e(t){qt(this,e);var n,r,o;L(this,"direction",void 0),L(this,"justifyContent",void 0),L(this,"alignItems",void 0);var i;this.direction=(i=(n=t)===null||n===void 0?void 0:n.direction)!==null&&i!==void 0?i:"row";var u;this.justifyContent=(u=(r=t)===null||r===void 0?void 0:r.justifyContent)!==null&&u!==void 0?u:"flex-start";var f;this.alignItems=(f=(o=t)===null||o===void 0?void 0:o.alignItems)!==null&&f!==void 0?f:"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 lv(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 tR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vu(e)}function D6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&av(e,t)}function L6(e,t){return t&&(j6(t)==="object"||typeof t=="function")?t:lv(e)}function av(e,t){return av=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},av(e,t)}function j6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C6(e){var t=F6();return function(){var r=Vu(e),o;if(t){var i=Vu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return L6(this,o)}}var sv=function(e){D6(n,e);var t=C6(n);function n(r){k6(this,n);var o,i,u;o=t.call(this,r),tR(lv(o),"color",void 0),tR(lv(o),"lineStyle",void 0);var f;o.color=(f=(i=r)===null||i===void 0?void 0:i.color)!==null&&f!==void 0?f:"#000";var a;return o.lineStyle=(a=(u=r)===null||u===void 0?void 0:u.lineStyle)!==null&&a!==void 0?a:c.LINE_STYLE.SOLID,o}return n}(_e);function nR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function V6(e,t,n){return t&&rR(e.prototype,t),n&&rR(e,n),e}function oR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(e)}function z6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pv(e,t)}function G6(e,t){return t&&(Y6(t)==="object"||typeof t=="function")?t:nR(e)}function pv(e,t){return pv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},pv(e,t)}function Y6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q6(e){var t=H6();return function(){var r=zu(e),o;if(t){var i=zu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return G6(this,o)}}var iR=function(e){z6(n,e);var t=q6(n);function n(r){x6(this,n);var o,i;return o=t.call(this,r),oR(nR(o),"props",void 0),o.props=new sv((i=r)===null||i===void 0?void 0:i.props),o}return V6(n,null,[{key:"controlName",get:function(){return"\u5206\u5272\u7EBF"}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),n}(W);oR(iR,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]}]);function uR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function W6(e,t,n){return t&&cR(e.prototype,t),n&&cR(e,n),e}function K6(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gu(e){return Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gu(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&&_v(e,t)}function J6(e,t){return t&&(Q6(t)==="object"||typeof t=="function")?t:uR(e)}function _v(e,t){return _v=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_v(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 r=Gu(e),o;if(t){var i=Gu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return J6(this,o)}}var tx=function(e){X6(n,e);var t=ex(n);function n(r){U6(this,n);var o,i;return o=t.call(this,r),K6(uR(o),"props",void 0),o.props=new sv((i=r)===null||i===void 0?void 0:i.props),o}return W6(n,null,[{key:"controlType",get:function(){return"divider"}}]),n}(ye),fR={Designer:iR,Runtime:tx,Property:sv};function yn(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 vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yu(e){return Yu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yu(e)}function aR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yv(e,t)}function nx(e,t){return t&&(rx(t)==="object"||typeof t=="function")?t:yn(e)}function yv(e,t){return yv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},yv(e,t)}function rx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ox(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sR(e){var t=ox();return function(){var r=Yu(e),o;if(t){var i=Yu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return nx(this,o)}}var ix=function(e){aR(n,e);var t=sR(n);function n(r){lR(this,n);var o;return o=t.call(this,r),vn(yn(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),vn(yn(o),"dataBind",{type:"any"}),vn(yn(o),"config",{type:"array"}),r.config.includes(c.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:w.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:w.getMessage("bizKeyNotBindFiled")}},message:w.getMessage("bizKeyNotBindFiled")}),!r.isHide&&r.config.length===0&&(o.config={type:"array",min:1,required:!0,message:w.getMessage("pleaseSelectOneField")}),o}return n}(pe),Hu=function(e){aR(n,e);var t=sR(n);function n(r){lR(this,n);var o,i,u,f,a,l;o=t.call(this,r),vn(yn(o),"dataBind",void 0),vn(yn(o),"caption",void 0),vn(yn(o),"config",void 0),vn(yn(o),"position",void 0),o.dataBind=new ot((i=r)===null||i===void 0?void 0:i.dataBind);var s;o.config=(s=(u=r)===null||u===void 0?void 0:u.config)!==null&&s!==void 0?s:[c.TitleConfigEnum.ShowSubmitUser,c.TitleConfigEnum.ShowSubmitDept,c.TitleConfigEnum.ShowSubmitTime,c.TitleConfigEnum.ShowCurrentApprovar,c.TitleConfigEnum.ShowTitle];var p,_;o.caption=(_=(p=(f=r)===null||f===void 0?void 0:f.caption)!==null&&p!==void 0?p:(a=Uu)===null||a===void 0?void 0:a.controlName)!==null&&_!==void 0?_:"";var y;return o.position=(y=(l=r)===null||l===void 0?void 0:l.position)!==null&&y!==void 0?y:"top",o}return n}(_e);vn(Hu,"Rules",ix);function pR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ux(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cx(e,t,n){return t&&_R(e.prototype,t),n&&_R(e,n),e}function vv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qu(e){return qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qu(e)}function fx(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dv(e,t)}function lx(e,t){return t&&(ax(t)==="object"||typeof t=="function")?t:pR(e)}function dv(e,t){return dv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},dv(e,t)}function ax(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 px(e){var t=sx();return function(){var r=qu(e),o;if(t){var i=qu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return lx(this,o)}}var Uu=function(e){fx(n,e);var t=px(n);function n(r){ux(this,n);var o,i;return o=t.call(this,r),vv(pR(o),"props",void 0),o.props=new Hu((i=r)===null||i===void 0?void 0:i.props),o}return cx(n,null,[{key:"controlName",get:function(){return"\u6807\u9898\u7EC4\u4EF6"}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),n}(W);vv(Uu,"controlFieldType",c.FieldTypes.AUTO_NUMBER),vv(Uu,"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 _x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yx(e,t,n){return t&&vR(e.prototype,t),n&&vR(e,n),e}function vx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wu(e){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wu(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&&hv(e,t)}function hx(e,t){return t&&(bx(t)==="object"||typeof t=="function")?t:yR(e)}function hv(e,t){return hv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},hv(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 r=Wu(e),o;if(t){var i=Wu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return hx(this,o)}}var Ox=function(e){dx(n,e);var t=mx(n);function n(r){_x(this,n);var o,i;return o=t.call(this,r),vx(yR(o),"props",void 0),o.props=new Hu((i=r)===null||i===void 0?void 0:i.props),o}return yx(n,null,[{key:"controlType",get:function(){return"title"}}]),n}(ye),dR={Designer:Uu,Runtime:Ox,Property:Hu};function Ku(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ju(e){return Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ju(e)}function bR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bv(e,t)}function wx(e,t){return t&&(Px(t)==="object"||typeof t=="function")?t:Ku(e)}function bv(e,t){return bv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},bv(e,t)}function Px(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $x(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gR(e){var t=$x();return function(){var r=Ju(e),o;if(t){var i=Ju(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return wx(this,o)}}var Rx=function(e){bR(n,e);var t=gR(n);function n(r){hR(this,n);var o;return o=t.call(this,r),Xu(Ku(o),"formKey",{type:"string",required:!0,message:w.getMessage("pleaseEnterForm")}),o}return n}(pe),Qu=function(e){bR(n,e);var t=gR(n);function n(r){hR(this,n);var o,i,u,f,a;o=t.call(this,r),Xu(Ku(o),"formKey",void 0),Xu(Ku(o),"openType",void 0);var l;o.icon=(l=(i=r)===null||i===void 0?void 0:i.icon)!==null&&l!==void 0?l:ko.controlIcon;var s;o.content=(s=(u=r)===null||u===void 0?void 0:u.content)!==null&&s!==void 0?s:ko.controlName;var p;o.formKey=(p=(f=r)===null||f===void 0?void 0:f.formKey)!==null&&p!==void 0?p:"";var _;return o.openType=(_=(a=r)===null||a===void 0?void 0:a.openType)!==null&&_!==void 0?_:"modal",o}return n}(Le);Xu(Qu,"Rules",Rx);function mR(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 n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Sx(e,t,n){return t&&OR(e.prototype,t),n&&OR(e,n),e}function gv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zu(e){return Zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zu(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&&mv(e,t)}function Ix(e,t){return t&&(Bx(t)==="object"||typeof t=="function")?t:mR(e)}function mv(e,t){return mv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},mv(e,t)}function Bx(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 Mx(e){var t=Nx();return function(){var r=Zu(e),o;if(t){var i=Zu(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Ix(this,o)}}var ko=function(e){Ex(n,e);var t=Mx(n);function n(r){Tx(this,n);var o,i;return o=t.call(this,r),gv(mR(o),"props",void 0),o.props=new Qu((i=r)===null||i===void 0?void 0:i.props),o}return Sx(n,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"}}]),n}(je);gv(ko,"controlEventKeys",["on_click","on_click_finish"]),gv(ko,"setting",[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function wR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ax(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kx(e,t,n){return t&&PR(e.prototype,t),n&&PR(e,n),e}function Dx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ec(e){return ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ec(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&&Ov(e,t)}function jx(e,t){return t&&(Fx(t)==="object"||typeof t=="function")?t:wR(e)}function Ov(e,t){return Ov=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ov(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 r=ec(e),o;if(t){var i=ec(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return jx(this,o)}}var Vx=function(e){Lx(n,e);var t=xx(n);function n(r){Ax(this,n);var o,i;return o=t.call(this,r),Dx(wR(o),"props",void 0),o.props=new Qu((i=r)===null||i===void 0?void 0:i.props),o}return kx(n,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),n}(Je),$R={Designer:ko,Runtime:Vx,Property:Qu};function Tr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tc(e){return tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tc(e)}function TR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wv(e,t)}function zx(e,t){return t&&(Gx(t)==="object"||typeof t=="function")?t:Tr(e)}function wv(e,t){return wv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},wv(e,t)}function Gx(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yx(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SR(e){var t=Yx();return function(){var r=tc(e),o;if(t){var i=tc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zx(this,o)}}var Hx=function(e){TR(n,e);var t=SR(n);function n(r){RR(this,n);var o;return o=t.call(this,r),Sr(Tr(o),"processKey",[{type:"string",message:w.getMessage("isNotString")},{type:"string",required:!0,message:w.getMessage("pleaseEnterProcess")}]),o}return n}(pe),nc=function(e){TR(n,e);var t=SR(n);function n(r){RR(this,n);var o,i,u,f,a,l,s;o=t.call(this,r),Sr(Tr(o),"processKey",void 0),Sr(Tr(o),"initiatorMode",void 0),Sr(Tr(o),"fieldCode",void 0),Sr(Tr(o),"employeeId",void 0);var p;o.icon=(p=(i=r)===null||i===void 0?void 0:i.icon)!==null&&p!==void 0?p:Do.controlIcon;var _;o.content=(_=(u=r)===null||u===void 0?void 0:u.content)!==null&&_!==void 0?_:Do.controlName;var y;o.initiatorMode=(y=(f=r)===null||f===void 0?void 0:f.initiatorMode)!==null&&y!==void 0?y:"currentInitiator";var d;o.processKey=(d=(a=r)===null||a===void 0?void 0:a.processKey)!==null&&d!==void 0?d:"";var h;o.fieldCode=(h=(l=r)===null||l===void 0?void 0:l.fieldCode)!==null&&h!==void 0?h:"";var b;return o.employeeId=(b=(s=r)===null||s===void 0?void 0:s.employeeId)!==null&&b!==void 0?b:"",o}return n}(Le);Sr(nc,"Rules",Hx);function ER(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 IR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ux(e,t,n){return t&&IR(e.prototype,t),n&&IR(e,n),e}function Pv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rc(e){return rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rc(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&&$v(e,t)}function Kx(e,t){return t&&(Xx(t)==="object"||typeof t=="function")?t:ER(e)}function $v(e,t){return $v=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},$v(e,t)}function Xx(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 Qx(e){var t=Jx();return function(){var r=rc(e),o;if(t){var i=rc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Kx(this,o)}}var Do=function(e){Wx(n,e);var t=Qx(n);function n(r){qx(this,n);var o,i;return o=t.call(this,r),Pv(ER(o),"props",void 0),o.props=new nc((i=r)===null||i===void 0?void 0:i.props),o}return Ux(n,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"}}]),n}(je);Pv(Do,"controlEventKeys",["on_click","on_click_finish"]),Pv(Do,"setting",[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function BR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function e7(e,t,n){return t&&NR(e.prototype,t),n&&NR(e,n),e}function t7(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oc(e){return oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oc(e)}function n7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rv(e,t)}function r7(e,t){return t&&(o7(t)==="object"||typeof t=="function")?t:BR(e)}function Rv(e,t){return Rv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Rv(e,t)}function o7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function i7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u7(e){var t=i7();return function(){var r=oc(e),o;if(t){var i=oc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return r7(this,o)}}var c7=function(e){n7(n,e);var t=u7(n);function n(r){Zx(this,n);var o,i;return o=t.call(this,r),t7(BR(o),"props",void 0),o.props=new nc((i=r)===null||i===void 0?void 0:i.props),o}return e7(n,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),n}(Je),MR={Designer:Do,Runtime:c7,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 l7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ic(e){return ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ic(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&&Tv(e,t)}function s7(e,t){return t&&(p7(t)==="object"||typeof t=="function")?t:f7(e)}function Tv(e,t){return Tv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Tv(e,t)}function p7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y7(e){var t=_7();return function(){var r=ic(e),o;if(t){var i=ic(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return s7(this,o)}}var Sv=function(e){a7(n,e);var t=y7(n);function n(r){l7(this,n);var o,i,u;o=t.call(this,r);var f;o.content=(f=(i=r)===null||i===void 0?void 0:i.content)!==null&&f!==void 0?f:Lo.controlName;var a;return o.icon=(a=(u=r)===null||u===void 0?void 0:u.icon)!==null&&a!==void 0?a:Lo.controlIcon,o}return n}(Le);function AR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d7(e,t,n){return t&&kR(e.prototype,t),n&&kR(e,n),e}function Ev(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uc(e){return uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uc(e)}function h7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iv(e,t)}function b7(e,t){return t&&(g7(t)==="object"||typeof t=="function")?t:AR(e)}function Iv(e,t){return Iv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Iv(e,t)}function g7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function m7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O7(e){var t=m7();return function(){var r=uc(e),o;if(t){var i=uc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return b7(this,o)}}var Lo=function(e){h7(n,e);var t=O7(n);function n(r){v7(this,n);var o,i;return o=t.call(this,r),Ev(AR(o),"props",void 0),o.props=new Sv((i=r)===null||i===void 0?void 0:i.props),o}return d7(n,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"}}]),n}(je);Ev(Lo,"controlEventKeys",["on_click"]),Ev(Lo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function DR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function P7(e,t,n){return t&&LR(e.prototype,t),n&&LR(e,n),e}function $7(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cc(e){return cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cc(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&&Bv(e,t)}function T7(e,t){return t&&(S7(t)==="object"||typeof t=="function")?t:DR(e)}function Bv(e,t){return Bv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Bv(e,t)}function S7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I7(e){var t=E7();return function(){var r=cc(e),o;if(t){var i=cc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return T7(this,o)}}var B7=function(e){R7(n,e);var t=I7(n);function n(r){w7(this,n);var o,i;return o=t.call(this,r),$7(DR(o),"props",void 0),o.props=new Sv((i=r)===null||i===void 0?void 0:i.props),o}return P7(n,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),n}(Je),jR={Designer:Lo,Runtime:B7,Property:Sv};function Nv(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 FR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fc(e){return fc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fc(e)}function M7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mv(e,t)}function A7(e,t){return t&&(k7(t)==="object"||typeof t=="function")?t:Nv(e)}function Mv(e,t){return Mv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Mv(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 r=fc(e),o;if(t){var i=fc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return A7(this,o)}}var Av=function(e){M7(n,e);var t=L7(n);function n(r){N7(this,n);var o,i,u,f,a,l;o=t.call(this,r),FR(Nv(o),"templateList",void 0),FR(Nv(o),"templateType",void 0);var s;o.icon=(s=(i=r)===null||i===void 0?void 0:i.icon)!==null&&s!==void 0?s:jo.controlIcon;var p;o.content=(p=(u=r)===null||u===void 0?void 0:u.content)!==null&&p!==void 0?p:jo.controlName;var _;o.templateType=(_=(f=r)===null||f===void 0?void 0:f.templateType)!==null&&_!==void 0?_:"system";var y;return o.templateList=(y=(l=r)===null||l===void 0||(a=l.templateList)===null||a===void 0?void 0:a.map(function(d){return new cv(d)}))!==null&&y!==void 0?y:[new cv({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return n}(Le);function CR(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 xR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function F7(e,t,n){return t&&xR(e.prototype,t),n&&xR(e,n),e}function kv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lc(e){return lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lc(e)}function C7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dv(e,t)}function x7(e,t){return t&&(V7(t)==="object"||typeof t=="function")?t:CR(e)}function Dv(e,t){return Dv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Dv(e,t)}function V7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G7(e){var t=z7();return function(){var r=lc(e),o;if(t){var i=lc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return x7(this,o)}}var jo=function(e){C7(n,e);var t=G7(n);function n(r){j7(this,n);var o,i;return o=t.call(this,r),kv(CR(o),"props",void 0),o.props=new Av((i=r)===null||i===void 0?void 0:i.props),o}return F7(n,null,[{key:"controlName",get:function(){return"\u5BFC\u51FA"}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),n}(je);kv(jo,"controlEventKeys",["on_click","on_click_finish"]),kv(jo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function VR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function H7(e,t,n){return t&&zR(e.prototype,t),n&&zR(e,n),e}function q7(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ac(e){return ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ac(e)}function U7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lv(e,t)}function W7(e,t){return t&&(K7(t)==="object"||typeof t=="function")?t:VR(e)}function Lv(e,t){return Lv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Lv(e,t)}function K7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function X7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function J7(e){var t=X7();return function(){var r=ac(e),o;if(t){var i=ac(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return W7(this,o)}}var Q7=function(e){U7(n,e);var t=J7(n);function n(r){Y7(this,n);var o,i;return o=t.call(this,r),q7(VR(o),"props",void 0),o.props=new Av((i=r)===null||i===void 0?void 0:i.props),o}return H7(n,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),n}(Je),GR={Designer:jo,Runtime:Q7,Property:Av};function Z7(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 sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sc(e)}function t8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jv(e,t)}function n8(e,t){return t&&(r8(t)==="object"||typeof t=="function")?t:Z7(e)}function jv(e,t){return jv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},jv(e,t)}function r8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i8(e){var t=o8();return function(){var r=sc(e),o;if(t){var i=sc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return n8(this,o)}}var Fv=function(e){t8(n,e);var t=i8(n);function n(r){e8(this,n);var o,i,u;o=t.call(this,r);var f;o.content=(f=(i=r)===null||i===void 0?void 0:i.content)!==null&&f!==void 0?f:Fo.controlName;var a;return o.icon=(a=(u=r)===null||u===void 0?void 0:u.icon)!==null&&a!==void 0?a:Fo.controlIcon,o}return n}(Le);function YR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c8(e,t,n){return t&&HR(e.prototype,t),n&&HR(e,n),e}function Cv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pc(e){return pc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pc(e)}function f8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xv(e,t)}function l8(e,t){return t&&(a8(t)==="object"||typeof t=="function")?t:YR(e)}function xv(e,t){return xv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},xv(e,t)}function a8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p8(e){var t=s8();return function(){var r=pc(e),o;if(t){var i=pc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return l8(this,o)}}var Fo=function(e){f8(n,e);var t=p8(n);function n(r){u8(this,n);var o,i;return o=t.call(this,r),Cv(YR(o),"props",void 0),o.props=new Fv((i=r)===null||i===void 0?void 0:i.props),o}return c8(n,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"}}]),n}(je);Cv(Fo,"controlEventKeys",["on_click"]),Cv(Fo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function qR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y8(e,t,n){return t&&UR(e.prototype,t),n&&UR(e,n),e}function v8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _c(e){return _c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_c(e)}function d8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vv(e,t)}function h8(e,t){return t&&(b8(t)==="object"||typeof t=="function")?t:qR(e)}function Vv(e,t){return Vv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Vv(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 m8(e){var t=g8();return function(){var r=_c(e),o;if(t){var i=_c(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return h8(this,o)}}var O8=function(e){d8(n,e);var t=m8(n);function n(r){_8(this,n);var o,i;return o=t.call(this,r),v8(qR(o),"props",void 0),o.props=new Fv((i=r)===null||i===void 0?void 0:i.props),o}return y8(n,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),n}(Je),WR={Designer:Fo,Runtime:O8,Property:Fv};function zv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yc(e){return yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yc(e)}function w8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yv(e,t)}function P8(e,t){return t&&($8(t)==="object"||typeof t=="function")?t:zv(e)}function Yv(e,t){return Yv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Yv(e,t)}function $8(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 T8(e){var t=R8();return function(){var r=yc(e),o;if(t){var i=yc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return P8(this,o)}}var S8=function e(t){KR(this,e),Gv(this,"dataCode",void 0),this.dataCode=t.dataCode},Hv=function(e){w8(n,e);var t=T8(n);function n(r){KR(this,n);var o,i,u,f,a,l;o=t.call(this,r),Gv(zv(o),"canImportList",void 0),Gv(zv(o),"templateType",void 0);var s;o.content=(s=(i=r)===null||i===void 0?void 0:i.content)!==null&&s!==void 0?s:Co.controlName;var p;o.icon=(p=(u=r)===null||u===void 0?void 0:u.icon)!==null&&p!==void 0?p:Co.controlIcon;var _;o.canImportList=(_=(a=r)===null||a===void 0||(f=a.canImportList)===null||f===void 0?void 0:f.map(function(d){return new S8(d)}))!==null&&_!==void 0?_:[];var y;return o.templateType=(y=(l=r)===null||l===void 0?void 0:l.templateType)!==null&&y!==void 0?y:"system",o}return n}(Le);function XR(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 JR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I8(e,t,n){return t&&JR(e.prototype,t),n&&JR(e,n),e}function qv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vc(e){return vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vc(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&&Uv(e,t)}function N8(e,t){return t&&(M8(t)==="object"||typeof t=="function")?t:XR(e)}function Uv(e,t){return Uv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Uv(e,t)}function M8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k8(e){var t=A8();return function(){var r=vc(e),o;if(t){var i=vc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return N8(this,o)}}var Co=function(e){B8(n,e);var t=k8(n);function n(r){E8(this,n);var o,i;return o=t.call(this,r),qv(XR(o),"props",void 0),o.props=new Hv((i=r)===null||i===void 0?void 0:i.props),o}return I8(n,null,[{key:"controlName",get:function(){return"\u5BFC\u5165"}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),n}(je);qv(Co,"controlEventKeys",["on_click","on_click_finish"]),qv(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:"import-list-template",visible:!0},{key:"super-setting",visible:!0}]);function QR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function L8(e,t,n){return t&&ZR(e.prototype,t),n&&ZR(e,n),e}function j8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dc(e)}function F8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wv(e,t)}function C8(e,t){return t&&(x8(t)==="object"||typeof t=="function")?t:QR(e)}function Wv(e,t){return Wv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Wv(e,t)}function x8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z8(e){var t=V8();return function(){var r=dc(e),o;if(t){var i=dc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return C8(this,o)}}var G8=function(e){F8(n,e);var t=z8(n);function n(r){D8(this,n);var o,i;return o=t.call(this,r),j8(QR(o),"props",void 0),o.props=new Hv((i=r)===null||i===void 0?void 0:i.props),o}return L8(n,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),n}(Je),eT={Designer:Co,Runtime:G8,Property:Hv};function hc(){return{dataCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:w.getMessage("pleaseSelectControl")}}}}}}function dn(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 Ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bc(e){return bc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bc(e)}function nT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kv(e,t)}function rT(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Ut(e,o,n[o])})}return e}function Y8(e,t){return t&&(H8(t)==="object"||typeof t=="function")?t:dn(e)}function Kv(e,t){return Kv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Kv(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 oT(e){var t=q8();return function(){var r=bc(e),o;if(t){var i=bc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Y8(this,o)}}var U8=function(e){nT(n,e);var t=oT(n);function n(r){tT(this,n);var o;return o=t.call(this,r),Ut(dn(o),"fillPayload",{type:"object",fields:rT({},hc())}),Ut(dn(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:w.getMessage("pleaseEnterList")}}}),Ut(dn(o),"fillBack",{type:"object",fields:rT({mode:{type:"string",required:!0,message:w.getMessage("pleaseSelectFillBackMode")}},hc())}),(r.command==="edit"||r.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:w.getMessage("pleaseSelectControl")}),o}return n}(pe),gc=function(e){nT(n,e);var t=oT(n);function n(r){tT(this,n);var o,i,u,f,a,l,s;o=t.call(this,r),Ut(dn(o),"fillPayload",void 0),Ut(dn(o),"formBind",void 0),Ut(dn(o),"fillBack",void 0),Ut(dn(o),"command",void 0);var p;o.content=(p=(i=r)===null||i===void 0?void 0:i.content)!==null&&p!==void 0?p:xo.controlName;var _;o.icon=(_=(u=r)===null||u===void 0?void 0:u.icon)!==null&&_!==void 0?_:xo.controlIcon;var y;return o.command=(y=(f=r)===null||f===void 0?void 0:f.command)!==null&&y!==void 0?y:"create",o.fillPayload=new U_((a=r)===null||a===void 0?void 0:a.fillPayload),o.formBind=new bP((l=r)===null||l===void 0?void 0:l.formBind),o.fillBack=new W_((s=r)===null||s===void 0?void 0:s.fillBack),o}return n}(Le);Ut(gc,"Rules",U8);function iT(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 uT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function K8(e,t,n){return t&&uT(e.prototype,t),n&&uT(e,n),e}function Xv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mc(e){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mc(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&&Jv(e,t)}function J8(e,t){return t&&(Q8(t)==="object"||typeof t=="function")?t:iT(e)}function Jv(e,t){return Jv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Jv(e,t)}function Q8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e9(e){var t=Z8();return function(){var r=mc(e),o;if(t){var i=mc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return J8(this,o)}}var xo=function(e){X8(n,e);var t=e9(n);function n(r){W8(this,n);var o,i;return o=t.call(this,r),Xv(iT(o),"props",void 0),o.props=new gc((i=r)===null||i===void 0?void 0:i.props),o}return K8(n,null,[{key:"controlName",get:function(){return"\u8868\u5355\u64CD\u4F5C"}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),n}(je);Xv(xo,"controlEventKeys",["on_click","on_click_finish"]),Xv(xo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function cT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function n9(e,t,n){return t&&fT(e.prototype,t),n&&fT(e,n),e}function r9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oc(e){return Oc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oc(e)}function o9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qv(e,t)}function i9(e,t){return t&&(u9(t)==="object"||typeof t=="function")?t:cT(e)}function Qv(e,t){return Qv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Qv(e,t)}function u9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f9(e){var t=c9();return function(){var r=Oc(e),o;if(t){var i=Oc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return i9(this,o)}}var l9=function(e){o9(n,e);var t=f9(n);function n(r){t9(this,n);var o,i;return o=t.call(this,r),r9(cT(o),"props",void 0),o.props=new gc((i=r)===null||i===void 0?void 0:i.props),o}return n9(n,null,[{key:"controlType",get:function(){return"form-select-button"}}]),n}(Je),lT={Designer:xo,Runtime:l9,Property:gc};function Wt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function At(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wc(e){return wc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wc(e)}function sT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zv(e,t)}function pT(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){At(e,o,n[o])})}return e}function a9(e,t){return t&&(s9(t)==="object"||typeof t=="function")?t:Wt(e)}function Zv(e,t){return Zv=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Zv(e,t)}function s9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _T(e){var t=p9();return function(){var r=wc(e),o;if(t){var i=wc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return a9(this,o)}}var _9=function(e){sT(n,e);var t=_T(n);function n(r){aT(this,n);var o;return o=t.call(this,r),At(Wt(o),"fillPayload",{type:"object",fields:pT({},hc())}),At(Wt(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:w.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:w.getMessage("pleaseSelectAtLeastOneColumn")}}}),At(Wt(o),"fillBack",{type:"object",fields:pT({mode:{type:"string",required:!0,message:w.getMessage("pleaseSelectFillBackMode")}},hc())}),o}return n}(pe),Pc=function(e){sT(n,e);var t=_T(n);function n(r){aT(this,n);var o,i,u,f,a,l,s,p;o=t.call(this,r),At(Wt(o),"fillPayload",void 0),At(Wt(o),"listPageBind",void 0),At(Wt(o),"fillBack",void 0),At(Wt(o),"showSelectedDetail",void 0),At(Wt(o),"selectedContentConfig",void 0);var _;o.content=(_=(i=r)===null||i===void 0?void 0:i.content)!==null&&_!==void 0?_:Vo.controlName;var y;o.icon=(y=(u=r)===null||u===void 0?void 0:u.icon)!==null&&y!==void 0?y:Vo.controlIcon,o.fillPayload=new U_((f=r)===null||f===void 0?void 0:f.fillPayload),o.listPageBind=new Wi((a=r)===null||a===void 0?void 0:a.listPageBind),o.fillBack=new W_((l=r)===null||l===void 0?void 0:l.fillBack);var d;return o.showSelectedDetail=(d=(s=r)===null||s===void 0?void 0:s.showSelectedDetail)!==null&&d!==void 0?d:!1,o.selectedContentConfig=new Ji((p=r)===null||p===void 0?void 0:p.selectedContentConfig),o}return n}(Le);At(Pc,"Rules",_9);function yT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v9(e,t,n){return t&&vT(e.prototype,t),n&&vT(e,n),e}function ed(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $c(e){return $c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$c(e)}function d9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&td(e,t)}function h9(e,t){return t&&(b9(t)==="object"||typeof t=="function")?t:yT(e)}function td(e,t){return td=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},td(e,t)}function b9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m9(e){var t=g9();return function(){var r=$c(e),o;if(t){var i=$c(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return h9(this,o)}}var Vo=function(e){d9(n,e);var t=m9(n);function n(r){y9(this,n);var o,i;return o=t.call(this,r),ed(yT(o),"props",void 0),o.props=new Pc((i=r)===null||i===void 0?void 0:i.props),o}return v9(n,null,[{key:"controlName",get:function(){return"\u5217\u8868\u9009\u62E9"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),n}(je);ed(Vo,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),ed(Vo,"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 dT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w9(e,t,n){return t&&hT(e.prototype,t),n&&hT(e,n),e}function P9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rc(e){return Rc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rc(e)}function $9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nd(e,t)}function R9(e,t){return t&&(T9(t)==="object"||typeof t=="function")?t:dT(e)}function nd(e,t){return nd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},nd(e,t)}function T9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E9(e){var t=S9();return function(){var r=Rc(e),o;if(t){var i=Rc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return R9(this,o)}}var I9=function(e){$9(n,e);var t=E9(n);function n(r){O9(this,n);var o,i;return o=t.call(this,r),P9(dT(o),"props",void 0),o.props=new Pc((i=r)===null||i===void 0?void 0:i.props),o}return w9(n,null,[{key:"controlType",get:function(){return"list-select-button"}}]),n}(Je),bT={Designer:Vo,Runtime:I9,Property:Pc};function B9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tc(e){return Tc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tc(e)}function od(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 N9(e,t){return t&&(M9(t)==="object"||typeof t=="function")?t:B9(e)}function id(e,t){return id=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},id(e,t)}function M9(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 ud(e){var t=A9();return function(){var r=Tc(e),o;if(t){var i=Tc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return N9(this,o)}}var k9=function(e){od(n,e);var t=ud(n);function n(r){return rd(this,n),t.call(this,r)}return n}(pe),D9=function(e){od(n,e);var t=ud(n);function n(r){return rd(this,n),t.call(this,r)}return n}(fn),zo=function(e){od(n,e);var t=ud(n);function n(r){return rd(this,n),t.call(this,r)}return n}(_e);gT(zo,"Rules",k9),gT(zo,"RuntimeRules",D9);function mT(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 OT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function j9(e,t,n){return t&&OT(e.prototype,t),n&&OT(e,n),e}function wT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sc(e){return Sc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sc(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&&cd(e,t)}function C9(e,t){return t&&(x9(t)==="object"||typeof t=="function")?t:mT(e)}function cd(e,t){return cd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},cd(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 r=Sc(e),o;if(t){var i=Sc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return C9(this,o)}}var PT=function(e){F9(n,e);var t=z9(n);function n(r){L9(this,n);var o,i;return o=t.call(this,r),wT(mT(o),"props",void 0),o.props=new zo((i=r)===null||i===void 0?void 0:i.props),o}return j9(n,null,[{key:"controlName",get:function(){return"\u5206\u9875"}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),n}(W);wT(PT,"setting",[]);function $T(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Y9(e,t,n){return t&&RT(e.prototype,t),n&&RT(e,n),e}function H9(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ec(e){return Ec=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ec(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&&fd(e,t)}function U9(e,t){return t&&(W9(t)==="object"||typeof t=="function")?t:$T(e)}function fd(e,t){return fd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},fd(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 r=Ec(e),o;if(t){var i=Ec(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return U9(this,o)}}var J9=function(e){q9(n,e);var t=X9(n);function n(r){G9(this,n);var o,i;return o=t.call(this,r),H9($T(o),"props",void 0),o.props=new zo((i=r)===null||i===void 0?void 0:i.props),o}return Y9(n,null,[{key:"controlType",get:function(){return"pagination"}}]),n}(ye),TT={Designer:PT,Runtime:J9,Property:zo};function ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ST(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ic(e)}function ET(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ld(e,t)}function Q9(e,t){return t&&(Z9(t)==="object"||typeof t=="function")?t:ut(e)}function ld(e,t){return ld=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ld(e,t)}function Z9(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 IT(e){var t=eV();return function(){var r=Ic(e),o;if(t){var i=Ic(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Q9(this,o)}}var tV=function(e){ET(n,e);var t=IT(n);function n(r){ST(this,n);var o;return o=t.call(this,r),ct(ut(o),"dashboardKey",{type:"string",required:!0,message:w.getMessage("pleaseSelectDashboard")}),ct(ut(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),ct(ut(o),"isHideCaption",{type:"boolean"}),ct(ut(o),"labelPosition",{type:"enum",enum:["top","left"]}),ct(ut(o),"captionTip",{type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")}),r.isShowCaptionTip&&(o.captionTip.required=!0),o}return n}(pe),Bc=function(e){ET(n,e);var t=IT(n);function n(r){ST(this,n);var o,i,u,f,a,l,s;o=t.call(this,r),ct(ut(o),"dashboardKey",void 0),ct(ut(o),"caption",void 0),ct(ut(o),"isHideCaption",void 0),ct(ut(o),"isShowCaptionTip",void 0),ct(ut(o),"captionTip",void 0),ct(ut(o),"labelPosition",void 0);var p;o.dashboardKey=(p=(i=r)===null||i===void 0?void 0:i.dashboardKey)!==null&&p!==void 0?p:"";var _;o.caption=(_=(u=r)===null||u===void 0?void 0:u.caption)!==null&&_!==void 0?_:"";var y;o.isHideCaption=(y=(f=r)===null||f===void 0?void 0:f.isHideCaption)!==null&&y!==void 0?y:!1;var d;o.isShowCaptionTip=(d=(a=r)===null||a===void 0?void 0:a.isShowCaptionTip)!==null&&d!==void 0?d:!1;var h;o.captionTip=(h=(l=r)===null||l===void 0?void 0:l.captionTip)!==null&&h!==void 0?h:"";var b;return o.labelPosition=(b=(s=r)===null||s===void 0?void 0:s.labelPosition)!==null&&b!==void 0?b:"top",o}return n}(_e);ct(Bc,"Rules",tV);function BT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function rV(e,t,n){return t&&NT(e.prototype,t),n&&NT(e,n),e}function MT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nc(e){return Nc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nc(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&&ad(e,t)}function iV(e,t){return t&&(uV(t)==="object"||typeof t=="function")?t:BT(e)}function ad(e,t){return ad=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ad(e,t)}function uV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fV(e){var t=cV();return function(){var r=Nc(e),o;if(t){var i=Nc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return iV(this,o)}}var AT=function(e){oV(n,e);var t=fV(n);function n(r){nV(this,n);var o,i;return o=t.call(this,r),MT(BT(o),"props",void 0),o.props=new Bc((i=r)===null||i===void 0?void 0:i.props),o}return rV(n,null,[{key:"controlName",get:function(){return"\u4EEA\u8868\u76D8"}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),n}(W);MT(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 kT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function aV(e,t,n){return t&&DT(e.prototype,t),n&&DT(e,n),e}function sV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mc(e){return Mc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mc(e)}function pV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}function _V(e,t){return t&&(yV(t)==="object"||typeof t=="function")?t:kT(e)}function sd(e,t){return sd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},sd(e,t)}function yV(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 dV(e){var t=vV();return function(){var r=Mc(e),o;if(t){var i=Mc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _V(this,o)}}var hV=function(e){pV(n,e);var t=dV(n);function n(r){lV(this,n);var o,i;return o=t.call(this,r),sV(kT(o),"props",void 0),o.props=new Bc((i=r)===null||i===void 0?void 0:i.props),o}return aV(n,null,[{key:"controlType",get:function(){return"dashboard"}}]),n}(ye),LT={Designer:AT,Runtime:hV,Property:Bc};function Go(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ac(e){return Ac=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ac(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&&pd(e,t)}function bV(e,t){return t&&(gV(t)==="object"||typeof t=="function")?t:Go(e)}function pd(e,t){return pd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},pd(e,t)}function gV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CT(e){var t=mV();return function(){var r=Ac(e),o;if(t){var i=Ac(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return bV(this,o)}}var OV=function(e){FT(n,e);var t=CT(n);function n(r){jT(this,n);var o;return o=t.call(this,r),Yo(Go(o),"showType",{type:"enum",enum:["select","tabs"]}),Yo(Go(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:w.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:w.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return n}(pe),kc=function(e){FT(n,e);var t=CT(n);function n(r){jT(this,n);var o,i,u,f;o=t.call(this,r),Yo(Go(o),"showType",void 0),Yo(Go(o),"viewList",void 0);var a;o.showType=(a=(i=r)===null||i===void 0?void 0:i.showType)!==null&&a!==void 0?a:"select";var l;return o.viewList=(l=(f=r)===null||f===void 0||(u=f.viewList)===null||u===void 0?void 0:u.map(function(s){return new LP(s)}))!==null&&l!==void 0?l:[],o}return n}(_e);Yo(kc,"Rules",OV);function xT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function PV(e,t,n){return t&&VT(e.prototype,t),n&&VT(e,n),e}function zT(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dc(e)}function $V(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_d(e,t)}function RV(e,t){return t&&(TV(t)==="object"||typeof t=="function")?t:xT(e)}function _d(e,t){return _d=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_d(e,t)}function TV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EV(e){var t=SV();return function(){var r=Dc(e),o;if(t){var i=Dc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return RV(this,o)}}var GT=function(e){$V(n,e);var t=EV(n);function n(r){wV(this,n);var o,i;return o=t.call(this,r),zT(xT(o),"props",void 0),o.props=new kc((i=r)===null||i===void 0?void 0:i.props),o}return PV(n,null,[{key:"controlName",get:function(){return"\u5217\u8868\u89C6\u56FE"}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),n}(W);zT(GT,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function YT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function BV(e,t,n){return t&&HT(e.prototype,t),n&&HT(e,n),e}function NV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lc(e){return Lc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lc(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&&yd(e,t)}function AV(e,t){return t&&(kV(t)==="object"||typeof t=="function")?t:YT(e)}function yd(e,t){return yd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},yd(e,t)}function kV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function LV(e){var t=DV();return function(){var r=Lc(e),o;if(t){var i=Lc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return AV(this,o)}}var jV=function(e){MV(n,e);var t=LV(n);function n(r){IV(this,n);var o,i;return o=t.call(this,r),NV(YT(o),"props",void 0),o.props=new kc((i=r)===null||i===void 0?void 0:i.props),o}return BV(n,null,[{key:"controlType",get:function(){return"list-view-select"}}]),n}(ye),qT={Designer:GT,Runtime:jV,Property:kc};function ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jc(e){return jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jc(e)}function WT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vd(e,t)}function FV(e,t){return t&&(CV(t)==="object"||typeof t=="function")?t:ze(e)}function vd(e,t){return vd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},vd(e,t)}function CV(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xV(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KT(e){var t=xV();return function(){var r=jc(e),o;if(t){var i=jc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return FV(this,o)}}var VV=function(e){WT(n,e);var t=KT(n);function n(r){UT(this,n);var o;return o=t.call(this,r),Ge(ze(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),Ge(ze(o),"isHideCaption",{type:"boolean"}),Ge(ze(o),"labelPosition",{type:"enum",enum:["top","left"]}),Ge(ze(o),"ocrType",{type:"string",required:!0,message:w.getMessage("pleaseSelectOcrType")}),Ge(ze(o),"fillList",{type:"array",validator:function(u,f,a){var l=f.every(function(s){return!s.controlId});if(l){a(w.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),Ge(ze(o),"captionTip",{type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")}),r.isShowCaptionTip&&(o.captionTip.required=!0),o}return n}(pe),Fc=function(e){WT(n,e);var t=KT(n);function n(r){UT(this,n);var o,i,u,f,a,l,s,p,_,y,d;o=t.call(this,r),Ge(ze(o),"caption",void 0),Ge(ze(o),"isHideCaption",void 0),Ge(ze(o),"isShowCaptionTip",void 0),Ge(ze(o),"captionTip",void 0),Ge(ze(o),"labelPosition",void 0),Ge(ze(o),"ocrType",void 0),Ge(ze(o),"fillList",void 0);var h;o.caption=(h=(i=r)===null||i===void 0?void 0:i.caption)!==null&&h!==void 0?h:Er.controlName;var b;o.isHideCaption=(b=(u=r)===null||u===void 0?void 0:u.isHideCaption)!==null&&b!==void 0?b:!1;var v;o.isShowCaptionTip=(v=(f=r)===null||f===void 0?void 0:f.isShowCaptionTip)!==null&&v!==void 0?v:!1;var g;o.captionTip=(g=(a=r)===null||a===void 0?void 0:a.captionTip)!==null&&g!==void 0?g:"";var m;o.labelPosition=(m=(l=r)===null||l===void 0?void 0:l.labelPosition)!==null&&m!==void 0?m:"top";var O;o.content=(O=(s=r)===null||s===void 0?void 0:s.content)!==null&&O!==void 0?O:Er.controlName;var $;o.icon=($=(p=r)===null||p===void 0?void 0:p.icon)!==null&&$!==void 0?$:Er.controlIcon;var T;o.ocrType=(T=(_=r)===null||_===void 0?void 0:_.ocrType)!==null&&T!==void 0?T:"";var R;return o.fillList=(R=(d=r)===null||d===void 0||(y=d.fillList)===null||y===void 0?void 0:y.map(function(S){return new De(S)}))!==null&&R!==void 0?R:[],o}return n}(Le);Ge(Fc,"Rules",VV);function XT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function GV(e,t,n){return t&&JT(e.prototype,t),n&&JT(e,n),e}function dd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cc(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&&hd(e,t)}function HV(e,t){return t&&(qV(t)==="object"||typeof t=="function")?t:XT(e)}function hd(e,t){return hd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},hd(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 r=Cc(e),o;if(t){var i=Cc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return HV(this,o)}}var Er=function(e){YV(n,e);var t=WV(n);function n(r){zV(this,n);var o,i;return o=t.call(this,r),dd(XT(o),"props",void 0),o.props=new Fc((i=r)===null||i===void 0?void 0:i.props),o}return GV(n,null,[{key:"controlName",get:function(){return"\u6587\u5B57\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),n}(je);dd(Er,"controlEventKeys",["on_click","on_click_finish"]),dd(Er,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function QT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KV(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZT(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function XV(e,t,n){return t&&ZT(e.prototype,t),n&&ZT(e,n),e}function JV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xc(e){return xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xc(e)}function QV(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bd(e,t)}function ZV(e,t){return t&&(ez(t)==="object"||typeof t=="function")?t:QT(e)}function bd(e,t){return bd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},bd(e,t)}function ez(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nz(e){var t=tz();return function(){var r=xc(e),o;if(t){var i=xc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return ZV(this,o)}}var rz=function(e){QV(n,e);var t=nz(n);function n(r){KV(this,n);var o,i;return o=t.call(this,r),JV(QT(o),"props",void 0),o.props=new Fc((i=r)===null||i===void 0?void 0:i.props),o}return XV(n,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),n}(Je),eS={Designer:Er,Runtime:rz,Property:Fc};function Ye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vc(e){return Vc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vc(e)}function nS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gd(e,t)}function oz(e,t){return t&&(iz(t)==="object"||typeof t=="function")?t:Ye(e)}function gd(e,t){return gd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},gd(e,t)}function iz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rS(e){var t=uz();return function(){var r=Vc(e),o;if(t){var i=Vc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return oz(this,o)}}var cz=function(e){nS(n,e);var t=rS(n);function n(r){tS(this,n);var o;return o=t.call(this,r),He(Ye(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),He(Ye(o),"isHideCaption",{type:"boolean"}),He(Ye(o),"labelPosition",{type:"enum",enum:["top","left"]}),He(Ye(o),"invoiceCheck",{type:"boolean"}),He(Ye(o),"fillList",{type:"array",validator:function(u,f,a){var l=f.every(function(s){return!s.controlId});if(l){a(w.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),He(Ye(o),"captionTip",{type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")}),r.isShowCaptionTip&&(o.captionTip.required=!0),o}return n}(pe),zc=function(e){nS(n,e);var t=rS(n);function n(r){tS(this,n);var o,i,u,f,a,l,s,p,_,y,d;o=t.call(this,r),He(Ye(o),"caption",void 0),He(Ye(o),"isHideCaption",void 0),He(Ye(o),"isShowCaptionTip",void 0),He(Ye(o),"captionTip",void 0),He(Ye(o),"labelPosition",void 0),He(Ye(o),"invoiceCheck",void 0),He(Ye(o),"fillList",void 0);var h;o.caption=(h=(i=r)===null||i===void 0?void 0:i.caption)!==null&&h!==void 0?h:Ir.controlName;var b;o.isHideCaption=(b=(u=r)===null||u===void 0?void 0:u.isHideCaption)!==null&&b!==void 0?b:!1;var v;o.isShowCaptionTip=(v=(f=r)===null||f===void 0?void 0:f.isShowCaptionTip)!==null&&v!==void 0?v:!1;var g;o.captionTip=(g=(a=r)===null||a===void 0?void 0:a.captionTip)!==null&&g!==void 0?g:"";var m;o.labelPosition=(m=(l=r)===null||l===void 0?void 0:l.labelPosition)!==null&&m!==void 0?m:"top";var O;o.content=(O=(s=r)===null||s===void 0?void 0:s.content)!==null&&O!==void 0?O:Ir.controlName;var $;o.icon=($=(p=r)===null||p===void 0?void 0:p.icon)!==null&&$!==void 0?$:Ir.controlIcon;var T;o.invoiceCheck=(T=(_=r)===null||_===void 0?void 0:_.invoiceCheck)!==null&&T!==void 0?T:!0;var R;return o.fillList=(R=(d=r)===null||d===void 0||(y=d.fillList)===null||y===void 0?void 0:y.map(function(S){return new De(S)}))!==null&&R!==void 0?R:[],o}return n}(Le);He(zc,"Rules",cz);function oS(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 iS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lz(e,t,n){return t&&iS(e.prototype,t),n&&iS(e,n),e}function md(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gc(e)}function az(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Od(e,t)}function sz(e,t){return t&&(pz(t)==="object"||typeof t=="function")?t:oS(e)}function Od(e,t){return Od=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Od(e,t)}function pz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yz(e){var t=_z();return function(){var r=Gc(e),o;if(t){var i=Gc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return sz(this,o)}}var Ir=function(e){az(n,e);var t=yz(n);function n(r){fz(this,n);var o,i;return o=t.call(this,r),md(oS(o),"props",void 0),o.props=new zc((i=r)===null||i===void 0?void 0:i.props),o}return lz(n,null,[{key:"controlName",get:function(){return"\u53D1\u7968\u8BC6\u522B"}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),n}(je);md(Ir,"controlEventKeys",["on_click","on_click_finish"]),md(Ir,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function uS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function dz(e,t,n){return t&&cS(e.prototype,t),n&&cS(e,n),e}function hz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yc(e){return Yc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yc(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&&wd(e,t)}function gz(e,t){return t&&(mz(t)==="object"||typeof t=="function")?t:uS(e)}function wd(e,t){return wd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},wd(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 r=Yc(e),o;if(t){var i=Yc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return gz(this,o)}}var Pz=function(e){bz(n,e);var t=wz(n);function n(r){vz(this,n);var o,i;return o=t.call(this,r),hz(uS(o),"props",void 0),o.props=new zc((i=r)===null||i===void 0?void 0:i.props),o}return dz(n,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),n}(Je),fS={Designer:Ir,Runtime:Pz,Property:zc};function Hc(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 qc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uc(e){return Uc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uc(e)}function aS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pd(e,t)}function $z(e,t){return t&&(Rz(t)==="object"||typeof t=="function")?t:Hc(e)}function Pd(e,t){return Pd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Pd(e,t)}function Rz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sS(e){var t=Tz();return function(){var r=Uc(e),o;if(t){var i=Uc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return $z(this,o)}}var Sz=function(e){aS(n,e);var t=sS(n);function n(){lS(this,n);var r;return r=t.apply(this,arguments),qc(Hc(r),"printTemplates",{type:"array",min:1,required:!0,message:w.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),r}return n}(pe),Wc=function(e){aS(n,e);var t=sS(n);function n(r){lS(this,n);var o,i,u,f,a,l;o=t.call(this,r),qc(Hc(o),"printTemplates",void 0),qc(Hc(o),"autoSelectTemplate",void 0);var s;o.icon=(s=(i=r)===null||i===void 0?void 0:i.icon)!==null&&s!==void 0?s:Ho.controlIcon;var p;o.content=(p=(u=r)===null||u===void 0?void 0:u.content)!==null&&p!==void 0?p:Ho.controlName;var _;o.printTemplates=(_=(a=r)===null||a===void 0||(f=a.printTemplates)===null||f===void 0?void 0:f.map(function(d){return new Z$(d)}))!==null&&_!==void 0?_:[];var y;return o.autoSelectTemplate=(y=(l=r)===null||l===void 0?void 0:l.autoSelectTemplate)!==null&&y!==void 0?y:!1,o}return n}(Le);qc(Wc,"Rules",Sz);function pS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ez(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _S(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Iz(e,t,n){return t&&_S(e.prototype,t),n&&_S(e,n),e}function $d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kc(e){return Kc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kc(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&&Rd(e,t)}function Nz(e,t){return t&&(Mz(t)==="object"||typeof t=="function")?t:pS(e)}function Rd(e,t){return Rd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Rd(e,t)}function Mz(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 kz(e){var t=Az();return function(){var r=Kc(e),o;if(t){var i=Kc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Nz(this,o)}}var Ho=function(e){Bz(n,e);var t=kz(n);function n(r){Ez(this,n);var o,i;return o=t.call(this,r),$d(pS(o),"props",void 0),o.props=new Wc((i=r)===null||i===void 0?void 0:i.props),o}return Iz(n,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"}}]),n}(je);$d(Ho,"controlEventKeys",["on_click","on_click_finish"]),$d(Ho,"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 Dz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Lz(e,t,n){return t&&vS(e.prototype,t),n&&vS(e,n),e}function jz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xc(e){return Xc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xc(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&&Td(e,t)}function Cz(e,t){return t&&(xz(t)==="object"||typeof t=="function")?t:yS(e)}function Td(e,t){return Td=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Td(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 r=Xc(e),o;if(t){var i=Xc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Cz(this,o)}}var Gz=function(e){Fz(n,e);var t=zz(n);function n(r){Dz(this,n);var o,i;return o=t.call(this,r),jz(yS(o),"props",void 0),o.props=new Wc((i=r)===null||i===void 0?void 0:i.props),o}return Lz(n,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),n}(Je),dS={Designer:Ho,Runtime:Gz,Property:Wc};function Yz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jc(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&&Sd(e,t)}function Uz(e,t){return t&&(Wz(t)==="object"||typeof t=="function")?t:Yz(e)}function Sd(e,t){return Sd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Sd(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 r=Jc(e),o;if(t){var i=Jc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Uz(this,o)}}var Ed=function(e){qz(n,e);var t=Xz(n);function n(r){Hz(this,n);var o,i,u;o=t.call(this,r);var f;o.content=(f=(i=r)===null||i===void 0?void 0:i.content)!==null&&f!==void 0?f:qo.controlName;var a;return o.icon=(a=(u=r)===null||u===void 0?void 0:u.icon)!==null&&a!==void 0?a:qo.controlIcon,o}return n}(Le);function hS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Qz(e,t,n){return t&&bS(e.prototype,t),n&&bS(e,n),e}function Id(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qc(e){return Qc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qc(e)}function Zz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bd(e,t)}function eG(e,t){return t&&(tG(t)==="object"||typeof t=="function")?t:hS(e)}function Bd(e,t){return Bd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Bd(e,t)}function tG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rG(e){var t=nG();return function(){var r=Qc(e),o;if(t){var i=Qc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return eG(this,o)}}var qo=function(e){Zz(n,e);var t=rG(n);function n(r){Jz(this,n);var o,i;return o=t.call(this,r),Id(hS(o),"props",void 0),o.props=new Ed((i=r)===null||i===void 0?void 0:i.props),o}return Qz(n,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"}}]),n}(je);Id(qo,"controlEventKeys",["on_click"]),Id(qo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}]);function gS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iG(e,t,n){return t&&mS(e.prototype,t),n&&mS(e,n),e}function uG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zc(e){return Zc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zc(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&&Nd(e,t)}function fG(e,t){return t&&(lG(t)==="object"||typeof t=="function")?t:gS(e)}function Nd(e,t){return Nd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Nd(e,t)}function lG(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 r=Zc(e),o;if(t){var i=Zc(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return fG(this,o)}}var pG=function(e){cG(n,e);var t=sG(n);function n(r){oG(this,n);var o,i;return o=t.call(this,r),uG(gS(o),"props",void 0),o.props=new Ed((i=r)===null||i===void 0?void 0:i.props),o}return iG(n,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),n}(Je),OS={Designer:qo,Runtime:pG,Property:Ed};function Fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ef(e)}function PS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Md(e,t)}function _G(e,t){return t&&(yG(t)==="object"||typeof t=="function")?t:Fe(e)}function Md(e,t){return Md=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Md(e,t)}function yG(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 $S(e){var t=vG();return function(){var r=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _G(this,o)}}var dG=function(e){PS(n,e);var t=$S(n);function n(r){wS(this,n);var o;return o=t.call(this,r),Ce(Fe(o),"formKey",{type:"string",required:!1}),(r.command==="edit"||r.command==="view")&&(o.formKey={type:"string",required:!0,message:w.getMessage("pleaseEnterForm")}),o}return n}(pe),tf=function(e){PS(n,e);var t=$S(n);function n(r){wS(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b,v;o=t.call(this,r),Ce(Fe(o),"content",void 0),Ce(Fe(o),"code",void 0),Ce(Fe(o),"command",void 0),Ce(Fe(o),"color",void 0),Ce(Fe(o),"icon",void 0),Ce(Fe(o),"formKey",void 0),Ce(Fe(o),"openType",void 0),Ce(Fe(o),"needConfirm",void 0),Ce(Fe(o),"confirmMessage",void 0),Ce(Fe(o),"options",void 0),Ce(Fe(o),"defaultState",void 0),Ce(Fe(o),"priorityProcess",void 0),Ce(Fe(o),"isLoading",void 0);var g;o.content=(g=(i=r)===null||i===void 0?void 0:i.content)!==null&&g!==void 0?g:"\u6309\u94AE",o.code=(u=r)===null||u===void 0?void 0:u.code;var m;o.command=(m=(f=r)===null||f===void 0?void 0:f.command)!==null&&m!==void 0?m:"custom";var O;o.color=(O=(a=r)===null||a===void 0?void 0:a.color)!==null&&O!==void 0?O:"primary",o.icon=(l=r)===null||l===void 0?void 0:l.icon,o.formKey=(s=r)===null||s===void 0?void 0:s.formKey,o.openType=(p=r)===null||p===void 0?void 0:p.openType,o.needConfirm=(_=r)===null||_===void 0?void 0:_.needConfirm,o.confirmMessage=(y=r)===null||y===void 0?void 0:y.confirmMessage,o.options=(d=r)===null||d===void 0?void 0:d.options;var $;o.defaultState=($=(h=r)===null||h===void 0?void 0:h.defaultState)!==null&&$!==void 0?$:"default",o.priorityProcess=(b=r)===null||b===void 0?void 0:b.priorityProcess;var T;return o.isLoading=(T=(v=r)===null||v===void 0?void 0:v.isLoading)!==null&&T!==void 0?T:!1,o}return n}(_e);Ce(tf,"Rules",dG);function RS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bG(e,t,n){return t&&TS(e.prototype,t),n&&TS(e,n),e}function Ad(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nf(e){return nf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nf(e)}function gG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kd(e,t)}function mG(e,t){return t&&(OG(t)==="object"||typeof t=="function")?t:RS(e)}function kd(e,t){return kd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},kd(e,t)}function OG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PG(e){var t=wG();return function(){var r=nf(e),o;if(t){var i=nf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mG(this,o)}}var rf=function(e){gG(n,e);var t=PG(n);function n(r){hG(this,n);var o,i;return o=t.call(this,r),Ad(RS(o),"props",void 0),o.props=new tf((i=r)===null||i===void 0?void 0:i.props),o}return bG(n,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),n}(W);Ad(rf,"controlEventKeys",["on_click"]),Ad(rf,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function SS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $G(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ES(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function RG(e,t,n){return t&&ES(e.prototype,t),n&&ES(e,n),e}function TG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},of(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&&Dd(e,t)}function EG(e,t){return t&&(IG(t)==="object"||typeof t=="function")?t:SS(e)}function Dd(e,t){return Dd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Dd(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 r=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return EG(this,o)}}var MG=function(e){SG(n,e);var t=NG(n);function n(r){$G(this,n);var o,i;return o=t.call(this,r),TG(SS(o),"props",void 0),o.props=new tf((i=r)===null||i===void 0?void 0:i.props),o}return RG(n,null,[{key:"controlType",get:function(){return"operation-button"}}]),n}(ye),Uo={Designer:rf,Runtime:MG,Property:tf};function Kt(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 hn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uf(e){return uf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uf(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&&Ld(e,t)}function DG(e,t){return t&&(LG(t)==="object"||typeof t=="function")?t:Kt(e)}function Ld(e,t){return Ld=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ld(e,t)}function LG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FG(e){var t=jG();return function(){var r=uf(e),o;if(t){var i=uf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return DG(this,o)}}var jd=function(e){kG(n,e);var t=FG(n);function n(r){AG(this,n);var o,i,u,f,a,l,s,p,_,y;o=t.call(this,r),hn(Kt(o),"content",void 0),hn(Kt(o),"buttonType",void 0),hn(Kt(o),"showType",void 0),hn(Kt(o),"color",void 0),hn(Kt(o),"icon",void 0),hn(Kt(o),"defaultState",void 0),hn(Kt(o),"command",void 0),hn(Kt(o),"isLoading",void 0);var d;o.content=(d=(i=r)===null||i===void 0?void 0:i.content)!==null&&d!==void 0?d:Wo.controlName;var h;o.icon=(h=(u=r)===null||u===void 0?void 0:u.icon)!==null&&h!==void 0?h:Wo.controlIcon;var b;o.buttonType=(b=(f=r)===null||f===void 0?void 0:f.buttonType)!==null&&b!==void 0?b:"primary";var v;o.showType=(v=(a=r)===null||a===void 0?void 0:a.showType)!==null&&v!==void 0?v:"iconText";var g;o.color=(g=(l=r)===null||l===void 0?void 0:l.color)!==null&&g!==void 0?g:"danger";var m;o.isHide=(m=(s=r)===null||s===void 0?void 0:s.isHide)!==null&&m!==void 0?m:!1;var O;o.defaultState=(O=(p=r)===null||p===void 0?void 0:p.defaultState)!==null&&O!==void 0?O:"default";var $;o.command=($=(_=r)===null||_===void 0?void 0:_.command)!==null&&$!==void 0?$:"custom";var T;return o.isLoading=(T=(y=r)===null||y===void 0?void 0:y.isLoading)!==null&&T!==void 0?T:!1,o}return n}(_e);function IS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xG(e,t,n){return t&&BS(e.prototype,t),n&&BS(e,n),e}function Fd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cf(e){return cf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cf(e)}function VG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cd(e,t)}function zG(e,t){return t&&(GG(t)==="object"||typeof t=="function")?t:IS(e)}function Cd(e,t){return Cd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Cd(e,t)}function GG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HG(e){var t=YG();return function(){var r=cf(e),o;if(t){var i=cf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zG(this,o)}}var Wo=function(e){VG(n,e);var t=HG(n);function n(r){CG(this,n);var o,i;return o=t.call(this,r),Fd(IS(o),"props",void 0),o.props=new jd((i=r)===null||i===void 0?void 0:i.props),o}return xG(n,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"}}]),n}(W);Fd(Wo,"controlEventKeys",["on_click"]),Fd(Wo,"setting",[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"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 qG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function UG(e,t,n){return t&&MS(e.prototype,t),n&&MS(e,n),e}function WG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ff(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&&xd(e,t)}function XG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:NS(e)}function xd(e,t){return xd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},xd(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 r=ff(e),o;if(t){var i=ff(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return XG(this,o)}}var eY=function(e){KG(n,e);var t=ZG(n);function n(r){qG(this,n);var o,i;return o=t.call(this,r),WG(NS(o),"props",void 0),o.props=new jd((i=r)===null||i===void 0?void 0:i.props),o}return UG(n,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),n}(ye),AS={Designer:Wo,Runtime:eY,Property:jd},tY=Object.freeze({__proto__:null,Text:C$,Link:Y$,Button:K$,Divider:fR,Title:dR,CreateFormListButton:$R,BatchSubmissionListButton:MR,SubmissionRecordListButton:jR,ExportListButton:GR,ExportRecordListButton:WR,ImportRecordListButton:eT,FormSelectButton:lT,ListSelectButton:bT,Pagination:TT,Dashboard:LT,ListViewSelect:qT,TextOcrButton:eS,InvoiceCheckButton:fS,BatchPrintListButton:dS,BatchPrintRecordListButton:OS,OperationButton:Uo,BatchDeleteButton:AS});function kt(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 dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lf(e){return lf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lf(e)}function zd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}function nY(e,t){return t&&(rY(t)==="object"||typeof t=="function")?t:kt(e)}function Gd(e,t){return Gd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Gd(e,t)}function rY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yd(e){var t=oY();return function(){var r=lf(e),o;if(t){var i=lf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return nY(this,o)}}var iY=function(e){zd(n,e);var t=Yd(n);function n(r){Vd(this,n);var o;return o=t.call(this,r),dt(kt(o),"maxLength",{type:"number",min:0,message:w.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),dt(kt(o),"minLength",{type:"number",max:200,message:w.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),dt(kt(o),"defaultValue",[{type:"string",max:200,min:0,message:w.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=r.minLength,o.minLength.max=r.maxLength,o.defaultValue[0].max=r.maxLength,o.defaultValue[0].min=r.minLength,o.defaultValue[0].message=w.getMessage("stringRangeError",{max:r.maxLength,min:r.minLength}),o.defaultValue[1].pattern=Ao(r.regularRules.expression),o.defaultValue[1].message=r.regularRules.errMessage,o}return n}(Oe),uY=function(e){zd(n,e);var t=Yd(n);function n(r){Vd(this,n);var o;return o=t.call(this,r),o.push({type:"string",message:w.getMessage("isNotString")},{max:r.maxLength,min:r.minLength,message:w.getMessage("stringRangeError",{max:r.maxLength,min:r.minLength})}),r.regularRules.expression&&r.regularRules.errMessage&&o.push({pattern:Ao(r.regularRules.expression),message:r.regularRules.errMessage}),o}return n}(J),Br=function(e){zd(n,e);var t=Yd(n);function n(r){Vd(this,n);var o,i,u,f,a,l,s,p,_;o=t.call(this,r),dt(kt(o),"maxLength",void 0),dt(kt(o),"minLength",void 0),dt(kt(o),"regularRules",void 0),dt(kt(o),"defaultValue",void 0),dt(kt(o),"encrypted",void 0),dt(kt(o),"encryptedMode",void 0);var y;o.maxLength=(y=(i=r)===null||i===void 0?void 0:i.maxLength)!==null&&y!==void 0?y:200;var d;o.minLength=(d=(u=r)===null||u===void 0?void 0:u.minLength)!==null&&d!==void 0?d:0,o.regularRules=new K_((f=r)===null||f===void 0?void 0:f.regularRules);var h;o.defaultValue=(h=(a=r)===null||a===void 0?void 0:a.defaultValue)!==null&&h!==void 0?h:"";var b;o.caption=(b=(l=r)===null||l===void 0?void 0:l.caption)!==null&&b!==void 0?b:Nr.controlName;var v;o.placeholder=(v=(s=r)===null||s===void 0?void 0:s.placeholder)!==null&&v!==void 0?v:"\u8BF7\u8F93\u5165";var g;o.encrypted=(g=(p=r)===null||p===void 0?void 0:p.encrypted)!==null&&g!==void 0?g:!1;var m;return o.encryptedMode=(m=(_=r)===null||_===void 0?void 0:_.encryptedMode)!==null&&m!==void 0?m:"",o}return n}(V);dt(Br,"Rules",iY),dt(Br,"RuntimeRules",uY);function kS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fY(e,t,n){return t&&DS(e.prototype,t),n&&DS(e,n),e}function af(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sf(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&&Hd(e,t)}function aY(e,t){return t&&(sY(t)==="object"||typeof t=="function")?t:kS(e)}function Hd(e,t){return Hd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Hd(e,t)}function sY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _Y(e){var t=pY();return function(){var r=sf(e),o;if(t){var i=sf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return aY(this,o)}}var Nr=function(e){lY(n,e);var t=_Y(n);function n(r){cY(this,n);var o,i;return o=t.call(this,r),af(kS(o),"props",void 0),o.props=new Br((i=r)===null||i===void 0?void 0:i.props),o}return fY(n,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),n}(z);af(Nr,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),af(Nr,"controlFieldType",c.FieldTypes.VARCHAR),af(Nr,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function LS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vY(e,t,n){return t&&jS(e.prototype,t),n&&jS(e,n),e}function FS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pf(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&&qd(e,t)}function hY(e,t){return t&&(bY(t)==="object"||typeof t=="function")?t:LS(e)}function qd(e,t){return qd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},qd(e,t)}function bY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mY(e){var t=gY();return function(){var r=pf(e),o;if(t){var i=pf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return hY(this,o)}}var CS=function(e){dY(n,e);var t=mY(n);function n(r){yY(this,n);var o,i;return o=t.call(this,r),FS(LS(o),"props",void 0),o.props=new Br((i=r)===null||i===void 0?void 0:i.props),o}return vY(n,null,[{key:"controlType",get:function(){return"input"}}]),n}(G);FS(CS,"controlFieldType",c.FieldTypes.VARCHAR);var xS={Designer:Nr,Runtime:CS,Property:Br};function Be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ud(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_f(e)}function Wd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kd(e,t)}function OY(e,t){return t&&(wY(t)==="object"||typeof t=="function")?t:Be(e)}function Kd(e,t){return Kd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Kd(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 Xd(e){var t=PY();return function(){var r=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return OY(this,o)}}var $Y=function(e){Wd(n,e);var t=Xd(n);function n(r){Ud(this,n);var o;o=t.call(this,r),Pe(Be(o),"limitMax",{type:"number",min:void 0,message:w.getMessage("PleaseReselectTheOptionalQuantity")});var i=r.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(f){return f==="unlimited"?void 0:f};return o.limitMax.min=u(r.limitMin),o}return n}(Cn),RY=function(e){Wd(n,e);var t=Xd(n);function n(r){Ud(this,n);var o;return o=t.call(this,r),o[0].type="array",o.push({type:"array",max:typeof r.limitMax=="number"?r.limitMax:void 0,min:typeof r.limitMin=="number"?r.limitMin:void 0}),o}return n}(J),Ko=function(e){Wd(n,e);var t=Xd(n);function n(r){Ud(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b,v,g,m;o=t.call(this,r),Pe(Be(o),"checkboxMode",void 0),Pe(Be(o),"options",void 0),Pe(Be(o),"optionsOrder",void 0),Pe(Be(o),"limitMax",void 0),Pe(Be(o),"limitMin",void 0),Pe(Be(o),"otherOption",void 0),Pe(Be(o),"optionConfig",void 0),Pe(Be(o),"optionsFormat",void 0),Pe(Be(o),"defaultShowOptions",void 0),Pe(Be(o),"datasourceBind",void 0),Pe(Be(o),"multistageFilling",void 0),Pe(Be(o),"interreaction",void 0),Pe(Be(o),"defaultValue",void 0),Pe(Be(o),"openMultistageFilling",void 0);var O;o.options=It((O=(i=r)===null||i===void 0?void 0:i.options)!==null&&O!==void 0?O:[{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 $;o.checkboxMode=($=(u=r)===null||u===void 0?void 0:u.checkboxMode)!==null&&$!==void 0?$:"horizontal";var T;o.optionConfig=(T=(f=r)===null||f===void 0?void 0:f.optionConfig)!==null&&T!==void 0?T:"custom";var R;o.optionsOrder=(R=(a=r)===null||a===void 0?void 0:a.optionsOrder)!==null&&R!==void 0?R:!1;var S;o.otherOption=(S=(l=r)===null||l===void 0?void 0:l.otherOption)!==null&&S!==void 0?S:!1;var I;o.limitMin=(I=(s=r)===null||s===void 0?void 0:s.limitMin)!==null&&I!==void 0?I:"unlimited";var E;o.limitMax=(E=(p=r)===null||p===void 0?void 0:p.limitMax)!==null&&E!==void 0?E:"unlimited",o.datasourceBind=new ve((_=r)===null||_===void 0?void 0:_.datasourceBind);var N;o.interreaction=(N=(y=r)===null||y===void 0?void 0:y.interreaction)!==null&&N!==void 0?N:[];var B;o.caption=(B=(d=r)===null||d===void 0?void 0:d.caption)!==null&&B!==void 0?B:Xo.controlName;var A;o.defaultValue=(A=(h=r)===null||h===void 0?void 0:h.defaultValue)!==null&&A!==void 0?A:[];var M;o.optionsFormat=(M=(b=r)===null||b===void 0?void 0:b.optionsFormat)!==null&&M!==void 0?M:"horizontal";var j;o.defaultShowOptions=(j=(v=r)===null||v===void 0?void 0:v.defaultShowOptions)!==null&&j!==void 0?j:!0;var D;if(o.openMultistageFilling=(D=(g=r)===null||g===void 0?void 0:g.openMultistageFilling)!==null&&D!==void 0?D:!1,o.multistageFilling=[],Array.isArray((m=r)===null||m===void 0?void 0:m.multistageFilling)){var Y;(Y=r)===null||Y===void 0||Y.multistageFilling.map(function(U){var K;(K=o.multistageFilling)===null||K===void 0||K.push(new De(U))})}return o}return n}(V);Pe(Ko,"Rules",$Y),Pe(Ko,"RuntimeRules",RY);function VS(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 zS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function SY(e,t,n){return t&&zS(e.prototype,t),n&&zS(e,n),e}function yf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vf(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&&Jd(e,t)}function IY(e,t){return t&&(BY(t)==="object"||typeof t=="function")?t:VS(e)}function Jd(e,t){return Jd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Jd(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 MY(e){var t=NY();return function(){var r=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return IY(this,o)}}var Xo=function(e){EY(n,e);var t=MY(n);function n(r){TY(this,n);var o,i;return o=t.call(this,r),yf(VS(o),"props",void 0),o.props=new Ko((i=r)===null||i===void 0?void 0:i.props),o}return SY(n,null,[{key:"controlName",get:function(){return"\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),n}(z);yf(Xo,"controlEventKeys",["on_change","on_click"]),yf(Xo,"controlFieldType",c.FieldTypes.ARRAY),yf(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:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function GS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kY(e,t,n){return t&&YS(e.prototype,t),n&&YS(e,n),e}function HS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},df(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&&Qd(e,t)}function LY(e,t){return t&&(jY(t)==="object"||typeof t=="function")?t:GS(e)}function Qd(e,t){return Qd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Qd(e,t)}function jY(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 CY(e){var t=FY();return function(){var r=df(e),o;if(t){var i=df(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return LY(this,o)}}var qS=function(e){DY(n,e);var t=CY(n);function n(r){AY(this,n);var o,i;return o=t.call(this,r),HS(GS(o),"props",void 0),o.props=new Ko((i=r)===null||i===void 0?void 0:i.props),o}return kY(n,null,[{key:"controlType",get:function(){return"checkbox"}}]),n}(G);HS(qS,"controlFieldType",c.FieldTypes.ARRAY);var US={Designer:Xo,Runtime:qS,Property:Ko};function Qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hf(e)}function KS(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zd(e,t)}function xY(e,t){return t&&(VY(t)==="object"||typeof t=="function")?t:Qe(e)}function Zd(e,t){return Zd=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Zd(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 XS(e){var t=zY();return function(){var r=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return xY(this,o)}}var GY=function(e){KS(n,e);var t=XS(n);function n(r){return WS(this,n),t.call(this,r)}return n}(Cn),bf=function(e){KS(n,e);var t=XS(n);function n(r){WS(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b,v;o=t.call(this,r),Ze(Qe(o),"radioMode",void 0),Ze(Qe(o),"options",void 0),Ze(Qe(o),"optionConfig",void 0),Ze(Qe(o),"optionsFormat",void 0),Ze(Qe(o),"defaultShowOptions",void 0),Ze(Qe(o),"otherOption",void 0),Ze(Qe(o),"optionsOrder",void 0),Ze(Qe(o),"datasourceBind",void 0),Ze(Qe(o),"multistageFilling",void 0),Ze(Qe(o),"interreaction",void 0),Ze(Qe(o),"defaultValue",void 0),Ze(Qe(o),"openMultistageFilling",void 0);var g;o.options=It((g=(i=r)===null||i===void 0?void 0:i.options)!==null&&g!==void 0?g:[{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 m;o.radioMode=(m=(u=r)===null||u===void 0?void 0:u.radioMode)!==null&&m!==void 0?m:"horizontal";var O;o.optionConfig=(O=(f=r)===null||f===void 0?void 0:f.optionConfig)!==null&&O!==void 0?O:"custom";var $;o.otherOption=($=(a=r)===null||a===void 0?void 0:a.otherOption)!==null&&$!==void 0?$:!1;var T;o.optionsOrder=(T=(l=r)===null||l===void 0?void 0:l.optionsOrder)!==null&&T!==void 0?T:!1;var R;o.defaultShowOptions=(R=(s=r)===null||s===void 0?void 0:s.defaultShowOptions)!==null&&R!==void 0?R:!0;var S;o.optionsFormat=(S=(p=r)===null||p===void 0?void 0:p.optionsFormat)!==null&&S!==void 0?S:"horizontal",o.datasourceBind=new ve((_=r)===null||_===void 0?void 0:_.datasourceBind);var I;o.interreaction=(I=(y=r)===null||y===void 0?void 0:y.interreaction)!==null&&I!==void 0?I:[];var E;o.caption=(E=(d=r)===null||d===void 0?void 0:d.caption)!==null&&E!==void 0?E:Jo.controlName;var N;o.defaultValue=(N=(h=r)===null||h===void 0?void 0:h.defaultValue)!==null&&N!==void 0?N:"";var B;if(o.openMultistageFilling=(B=(b=r)===null||b===void 0?void 0:b.openMultistageFilling)!==null&&B!==void 0?B:!1,o.multistageFilling=[],Array.isArray((v=r)===null||v===void 0?void 0:v.multistageFilling)){var A;(A=r)===null||A===void 0||A.multistageFilling.map(function(M){var j;(j=o.multistageFilling)===null||j===void 0||j.push(new De(M))})}return o}return n}(V);Ze(bf,"Rules",GY);function JS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QS(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function HY(e,t,n){return t&&QS(e.prototype,t),n&&QS(e,n),e}function gf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mf(e){return mf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mf(e)}function qY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eh(e,t)}function UY(e,t){return t&&(WY(t)==="object"||typeof t=="function")?t:JS(e)}function eh(e,t){return eh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},eh(e,t)}function WY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XY(e){var t=KY();return function(){var r=mf(e),o;if(t){var i=mf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return UY(this,o)}}var Jo=function(e){qY(n,e);var t=XY(n);function n(r){YY(this,n);var o,i;return o=t.call(this,r),gf(JS(o),"props",void 0),o.props=new bf((i=r)===null||i===void 0?void 0:i.props),o}return HY(n,null,[{key:"controlName",get:function(){return"\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),n}(z);gf(Jo,"controlEventKeys",["on_change","on_click"]),gf(Jo,"controlFieldType",c.FieldTypes.VARCHAR),gf(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:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}]);function ZS(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function QY(e,t,n){return t&&eE(e.prototype,t),n&&eE(e,n),e}function tE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Of(e)}function ZY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&th(e,t)}function eH(e,t){return t&&(tH(t)==="object"||typeof t=="function")?t:ZS(e)}function th(e,t){return th=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},th(e,t)}function tH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rH(e){var t=nH();return function(){var r=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return eH(this,o)}}var nE=function(e){ZY(n,e);var t=rH(n);function n(r){JY(this,n);var o,i;return o=t.call(this,r),tE(ZS(o),"props",void 0),o.props=new bf((i=r)===null||i===void 0?void 0:i.props),o}return QY(n,null,[{key:"controlType",get:function(){return"radio"}}]),n}(G);tE(nE,"controlFieldType",c.FieldTypes.VARCHAR);var rE={Designer:Jo,Runtime:nE,Property:bf};function xe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wf(e)}function rh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oh(e,t)}function oH(e,t){return t&&(iH(t)==="object"||typeof t=="function")?t:xe(e)}function oh(e,t){return oh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},oh(e,t)}function iH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ih(e){var t=uH();return function(){var r=wf(e),o;if(t){var i=wf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return oH(this,o)}}var cH=function(e){rh(n,e);var t=ih(n);function n(r){nh(this,n);var o;o=t.call(this,r),Ne(xe(o),"defaultValue",[{type:"number",min:0,max:200,message:w.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),Ne(xe(o),"rangeMax",{type:"any"});var i=r.rangeMax===""?void 0:r.rangeMax,u=r.rangeMin===""?void 0:r.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=w.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:w.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=Ao(r.regularRules.expression),o.defaultValue[1].message=r.regularRules.errMessage,o}return n}(Oe),fH=function(e){rh(n,e);var t=ih(n);function n(r){nh(this,n);var o;o=t.call(this,r),o[0].type="number";var i=r.rangeMax!==""?r.rangeMax:void 0,u=r.rangeMin!==""?r.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:w.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),r.regularRules.expression&&r.regularRules.errMessage&&o.push({pattern:Ao(r.regularRules.expression),message:r.regularRules.errMessage}),o}return n}(J),Qo=function(e){rh(n,e);var t=ih(n);function n(r){nh(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b,v,g;o=t.call(this,r),Ne(xe(o),"rangeMin",void 0),Ne(xe(o),"rangeMax",void 0),Ne(xe(o),"numberType",void 0),Ne(xe(o),"percentageFormat",void 0),Ne(xe(o),"micrometer",void 0),Ne(xe(o),"precision",void 0),Ne(xe(o),"showUpperCase",void 0),Ne(xe(o),"isShowUnit",void 0),Ne(xe(o),"unitPosition",void 0),Ne(xe(o),"unit",void 0),Ne(xe(o),"defaultValue",void 0),Ne(xe(o),"regularRules",void 0);var m;o.rangeMin=(m=(i=r)===null||i===void 0?void 0:i.rangeMin)!==null&&m!==void 0?m:"";var O;o.rangeMax=(O=(u=r)===null||u===void 0?void 0:u.rangeMax)!==null&&O!==void 0?O:"";var $;o.numberType=($=(f=r)===null||f===void 0?void 0:f.numberType)!==null&&$!==void 0?$:"number";var T;o.percentageFormat=(T=(a=r)===null||a===void 0?void 0:a.percentageFormat)!==null&&T!==void 0?T:!1;var R;o.micrometer=(R=(l=r)===null||l===void 0?void 0:l.micrometer)!==null&&R!==void 0?R:!1;var S;o.precision=(S=(s=r)===null||s===void 0?void 0:s.precision)!==null&&S!==void 0?S:0;var I;o.showUpperCase=(I=(p=r)===null||p===void 0?void 0:p.showUpperCase)!==null&&I!==void 0?I:!1;var E;o.isShowUnit=(E=(_=r)===null||_===void 0?void 0:_.isShowUnit)!==null&&E!==void 0?E:!1;var N;o.unitPosition=(N=(y=r)===null||y===void 0?void 0:y.unitPosition)!==null&&N!==void 0?N:"right";var B;o.unit=(B=(d=r)===null||d===void 0?void 0:d.unit)!==null&&B!==void 0?B:"";var A;o.caption=(A=(h=r)===null||h===void 0?void 0:h.caption)!==null&&A!==void 0?A:Zo.controlName;var M;o.placeholder=(M=(b=r)===null||b===void 0?void 0:b.placeholder)!==null&&M!==void 0?M:"\u8BF7\u8F93\u5165";var j;return o.defaultValue=(j=(v=r)===null||v===void 0?void 0:v.defaultValue)!==null&&j!==void 0?j:"",o.regularRules=new K_((g=r)===null||g===void 0?void 0:g.regularRules),o}return n}(V);Ne(Qo,"Rules",cH),Ne(Qo,"RuntimeRules",fH);function oE(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 iE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function aH(e,t,n){return t&&iE(e.prototype,t),n&&iE(e,n),e}function Pf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $f(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?$f=Reflect.get:$f=function(o,i,u){var f=_H(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},$f(e,t,n||e)}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mr(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&&uh(e,t)}function pH(e,t){return t&&(yH(t)==="object"||typeof t=="function")?t:oE(e)}function uh(e,t){return uh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},uh(e,t)}function _H(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Mr(e),e!==null););return e}function yH(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 dH(e){var t=vH();return function(){var r=Mr(e),o;if(t){var i=Mr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return pH(this,o)}}var Zo=function(e){sH(n,e);var t=dH(n);function n(r){lH(this,n);var o,i;return o=t.call(this,r),Pf(oE(o),"props",void 0),o.props=new Qo((i=r)===null||i===void 0?void 0:i.props),o}return aH(n,[{key:"toDataBindModel",value:function(o){var i=$f(Mr(n.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.precision,a=u.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u6570\u5B57"}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),n}(z);Pf(Zo,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Pf(Zo,"controlFieldType",c.FieldTypes.DECIMAL),Pf(Zo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_UNIT,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function uE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bH(e,t,n){return t&&cE(e.prototype,t),n&&cE(e,n),e}function fE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rf(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&&ch(e,t)}function mH(e,t){return t&&(OH(t)==="object"||typeof t=="function")?t:uE(e)}function ch(e,t){return ch=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ch(e,t)}function OH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PH(e){var t=wH();return function(){var r=Rf(e),o;if(t){var i=Rf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mH(this,o)}}var lE=function(e){gH(n,e);var t=PH(n);function n(r){hH(this,n);var o,i;return o=t.call(this,r),fE(uE(o),"props",void 0),o.props=new Qo((i=r)===null||i===void 0?void 0:i.props),o}return bH(n,null,[{key:"controlType",get:function(){return"number"}}]),n}(G);fE(lE,"controlFieldType",c.FieldTypes.DECIMAL);var aE={Designer:Zo,Runtime:lE,Property:Qo};function Xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $H(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tf(e)}function RH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fh(e,t)}function TH(e,t){return t&&(SH(t)==="object"||typeof t=="function")?t:Xt(e)}function fh(e,t){return fh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},fh(e,t)}function SH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IH(e){var t=EH();return function(){var r=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return TH(this,o)}}var lh=function(e){RH(n,e);var t=IH(n);function n(r){$H(this,n);var o,i,u,f,a,l,s,p,_,y,d,h;o=t.call(this,r),bn(Xt(o),"dateType",void 0),bn(Xt(o),"dateFormat",void 0),bn(Xt(o),"commonTimeSetting",void 0),bn(Xt(o),"setValueType",void 0),bn(Xt(o),"defaultValue",void 0),bn(Xt(o),"limitDateList",void 0),bn(Xt(o),"allowDateRange",void 0),bn(Xt(o),"filterWeekend",void 0);var b;o.dateType=(b=(i=r)===null||i===void 0?void 0:i.dateType)!==null&&b!==void 0?b:c.DateType.DATE;var v;o.dateFormat=(v=(u=r)===null||u===void 0?void 0:u.dateFormat)!==null&&v!==void 0?v:"";var g;o.commonTimeSetting=(g=(f=r)===null||f===void 0?void 0:f.commonTimeSetting)!==null&&g!==void 0?g:[];var m;o.setValueType=(m=(a=r)===null||a===void 0?void 0:a.setValueType)!==null&&m!==void 0?m:"custom";var O;o.caption=(O=(l=r)===null||l===void 0?void 0:l.caption)!==null&&O!==void 0?O:Ef.controlName;var $;o.placeholder=($=(s=r)===null||s===void 0?void 0:s.placeholder)!==null&&$!==void 0?$:"\u8BF7\u8F93\u5165\u65E5\u671F";var T;o.defaultValue=(T=(p=r)===null||p===void 0?void 0:p.defaultValue)!==null&&T!==void 0?T:"";var R;o.limitDateList=(R=(y=r)===null||y===void 0||(_=y.limitDateList)===null||_===void 0?void 0:_.map(function(E){return new Cu(E)}))!==null&&R!==void 0?R:[];var S;o.allowDateRange=(S=(d=r)===null||d===void 0?void 0:d.allowDateRange)!==null&&S!==void 0?S:["",""];var I;return o.filterWeekend=(I=(h=r)===null||h===void 0?void 0:h.filterWeekend)!==null&&I!==void 0?I:!1,o}return n}(V);function sE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function NH(e,t,n){return t&&pE(e.prototype,t),n&&pE(e,n),e}function ah(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sf(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Sf=Reflect.get:Sf=function(o,i,u){var f=kH(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Sf(e,t,n||e)}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ar(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&&sh(e,t)}function AH(e,t){return t&&(DH(t)==="object"||typeof t=="function")?t:sE(e)}function sh(e,t){return sh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},sh(e,t)}function kH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ar(e),e!==null););return e}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 r=Ar(e),o;if(t){var i=Ar(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return AH(this,o)}}var Ef=function(e){MH(n,e);var t=jH(n);function n(r){BH(this,n);var o,i;return o=t.call(this,r),ah(sE(o),"props",void 0),o.props=new lh((i=r)===null||i===void 0?void 0:i.props),o}return NH(n,[{key:"toDataBindModel",value:function(o){var i=Sf(Ar(n.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"}}]),n}(z);ah(Ef,"controlFieldType",c.FieldTypes.TIMESTAMP),ah(Ef,"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 FH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function CH(e,t,n){return t&&yE(e.prototype,t),n&&yE(e,n),e}function vE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},If(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&&ph(e,t)}function VH(e,t){return t&&(zH(t)==="object"||typeof t=="function")?t:_E(e)}function ph(e,t){return ph=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ph(e,t)}function zH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YH(e){var t=GH();return function(){var r=If(e),o;if(t){var i=If(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return VH(this,o)}}var dE=function(e){xH(n,e);var t=YH(n);function n(r){FH(this,n);var o,i;return o=t.call(this,r),vE(_E(o),"props",void 0),o.props=new lh((i=r)===null||i===void 0?void 0:i.props),o}return CH(n,null,[{key:"controlType",get:function(){return"date-picker"}}]),n}(G);vE(dE,"controlFieldType",c.FieldTypes.TIMESTAMP);var hE={Designer:Ef,Runtime:dE,Property:lh};function ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bf(e)}function gE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_h(e,t)}function HH(e,t){return t&&(qH(t)==="object"||typeof t=="function")?t:ft(e)}function _h(e,t){return _h=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_h(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 mE(e){var t=UH();return function(){var r=Bf(e),o;if(t){var i=Bf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return HH(this,o)}}var WH=function(e){gE(n,e);var t=mE(n);function n(r){bE(this,n);var o;return o=t.call(this,r),o[0].type="object",r.isHide||o.push({type:"object",fields:{max:{type:"string",required:r.required,message:o[0].message},min:{type:"string",required:r.required,message:o[0].message}}}),o}return n}(J),Nf=function(e){gE(n,e);var t=mE(n);function n(r){bE(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b,v;o=t.call(this,r),lt(ft(o),"dataBind",void 0),lt(ft(o),"rangeMin",void 0),lt(ft(o),"rangeMax",void 0),lt(ft(o),"placeholderStart",void 0),lt(ft(o),"placeholderEnd",void 0),lt(ft(o),"dateFormat",void 0),lt(ft(o),"commonTimeSetting",void 0),lt(ft(o),"dateType",void 0),lt(ft(o),"setValueType",void 0),lt(ft(o),"defaultValue",void 0),lt(ft(o),"limitDateList",void 0),o.dataBind=new NP((i=r)===null||i===void 0?void 0:i.dataBind),o.defaultValue=new MP((u=r)===null||u===void 0?void 0:u.defaultValue);var g;o.dateType=(g=(f=r)===null||f===void 0?void 0:f.dateType)!==null&&g!==void 0?g:c.DateType.DATE;var m;o.dateFormat=(m=(a=r)===null||a===void 0?void 0:a.dateFormat)!==null&&m!==void 0?m:"";var O;o.commonTimeSetting=(O=(l=r)===null||l===void 0?void 0:l.commonTimeSetting)!==null&&O!==void 0?O:[];var $;o.setValueType=($=(s=r)===null||s===void 0?void 0:s.setValueType)!==null&&$!==void 0?$:"custom";var T;o.rangeMin=(T=(p=r)===null||p===void 0?void 0:p.rangeMin)!==null&&T!==void 0?T:"";var R;o.rangeMax=(R=(_=r)===null||_===void 0?void 0:_.rangeMax)!==null&&R!==void 0?R:"";var S;o.placeholderStart=(S=(y=r)===null||y===void 0?void 0:y.placeholderStart)!==null&&S!==void 0?S:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var I;o.placeholderEnd=(I=(d=r)===null||d===void 0?void 0:d.placeholderEnd)!==null&&I!==void 0?I:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var E;o.caption=(E=(h=r)===null||h===void 0?void 0:h.caption)!==null&&E!==void 0?E:Af.controlName;var N;return o.limitDateList=(N=(v=r)===null||v===void 0||(b=v.limitDateList)===null||b===void 0?void 0:b.map(function(B){return new Cu(B)}))!==null&&N!==void 0?N:[],o}return n}(V);lt(Nf,"RuntimeRules",WH);function OE(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 wE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function XH(e,t,n){return t&&wE(e.prototype,t),n&&wE(e,n),e}function yh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mf(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Mf=Reflect.get:Mf=function(o,i,u){var f=ZH(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Mf(e,t,n||e)}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kr(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:OE(e)}function vh(e,t){return vh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},vh(e,t)}function ZH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kr(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 r=kr(e),o;if(t){var i=kr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return QH(this,o)}}var Af=function(e){JH(n,e);var t=nq(n);function n(r){KH(this,n);var o,i;return o=t.call(this,r),yh(OE(o),"props",void 0),o.props=new Nf((i=r)===null||i===void 0?void 0:i.props),o}return XH(n,[{key:"toDataBindModel",value:function(o){var i=Mf(kr(n.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"}}]),n}(z);yh(Af,"controlFieldType",c.FieldTypes.TIMESCOPE),yh(Af,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function PE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oq(e,t,n){return t&&$E(e.prototype,t),n&&$E(e,n),e}function RE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kf(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&&dh(e,t)}function uq(e,t){return t&&(cq(t)==="object"||typeof t=="function")?t:PE(e)}function dh(e,t){return dh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},dh(e,t)}function cq(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 lq(e){var t=fq();return function(){var r=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return uq(this,o)}}var TE=function(e){iq(n,e);var t=lq(n);function n(r){rq(this,n);var o,i;return o=t.call(this,r),RE(PE(o),"props",void 0),o.props=new Nf((i=r)===null||i===void 0?void 0:i.props),o}return oq(n,null,[{key:"controlType",get:function(){return"date-range"}}]),n}(G);RE(TE,"controlFieldType",c.FieldTypes.TIMESCOPE);var SE={Designer:Af,Runtime:TE,Property:Nf};function gn(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 Jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Df(e)}function bh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gh(e,t)}function aq(e,t){return t&&(sq(t)==="object"||typeof t=="function")?t:gn(e)}function gh(e,t){return gh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},gh(e,t)}function sq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mh(e){var t=pq();return function(){var r=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return aq(this,o)}}var _q=function(e){bh(n,e);var t=mh(n);function n(r){hh(this,n);var o;return o=t.call(this,r),Jt(gn(o),"maxLength",{type:"number",min:0,message:w.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Jt(gn(o),"minLength",{type:"number",max:1e6,message:w.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Jt(gn(o),"defaultValue",{type:"string",max:200,min:0,message:w.getMessage("stringRangeError")}),o.maxLength.min=r.minLength,o.minLength.max=r.maxLength,o.defaultValue.max=r.maxLength,o.defaultValue.min=r.minLength,o.defaultValue.message=w.getMessage("stringRangeError",{max:r.maxLength,min:r.minLength}),o}return n}(Oe),yq=function(e){bh(n,e);var t=mh(n);function n(r){hh(this,n);var o;return o=t.call(this,r),o.push({type:"string",max:r.maxLength,min:r.minLength,message:w.getMessage("stringRangeError",{max:r.maxLength,min:r.minLength})}),o}return n}(J),ei=function(e){bh(n,e);var t=mh(n);function n(r){hh(this,n);var o,i,u,f,a,l,s;o=t.call(this,r),Jt(gn(o),"maxLength",void 0),Jt(gn(o),"minLength",void 0),Jt(gn(o),"defaultValue",void 0),Jt(gn(o),"lineEllipsis",void 0);var p;o.maxLength=(p=(i=r)===null||i===void 0?void 0:i.maxLength)!==null&&p!==void 0?p:5e4;var _;o.minLength=(_=(u=r)===null||u===void 0?void 0:u.minLength)!==null&&_!==void 0?_:0;var y;o.defaultValue=(y=(f=r)===null||f===void 0?void 0:f.defaultValue)!==null&&y!==void 0?y:"";var d;o.caption=(d=(a=r)===null||a===void 0?void 0:a.caption)!==null&&d!==void 0?d:ti.controlName;var h;o.placeholder=(h=(l=r)===null||l===void 0?void 0:l.placeholder)!==null&&h!==void 0?h:"\u8BF7\u8F93\u5165";var b;return o.lineEllipsis=(b=(s=r)===null||s===void 0?void 0:s.lineEllipsis)!==null&&b!==void 0?b:4,o}return n}(V);Jt(ei,"Rules",_q),Jt(ei,"RuntimeRules",yq);function EE(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 IE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function dq(e,t,n){return t&&IE(e.prototype,t),n&&IE(e,n),e}function Lf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jf(e)}function hq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Oh(e,t)}function bq(e,t){return t&&(gq(t)==="object"||typeof t=="function")?t:EE(e)}function Oh(e,t){return Oh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Oh(e,t)}function gq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oq(e){var t=mq();return function(){var r=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return bq(this,o)}}var ti=function(e){hq(n,e);var t=Oq(n);function n(r){vq(this,n);var o,i;return o=t.call(this,r),Lf(EE(o),"props",void 0),o.props=new ei((i=r)===null||i===void 0?void 0:i.props),o}return dq(n,null,[{key:"controlName",get:function(){return"\u591A\u884C\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),n}(z);Lf(ti,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Lf(ti,"controlFieldType",c.FieldTypes.TEXT),Lf(ti,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}]);function BE(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 NE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pq(e,t,n){return t&&NE(e.prototype,t),n&&NE(e,n),e}function ME(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ff(e){return Ff=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ff(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&&wh(e,t)}function Rq(e,t){return t&&(Tq(t)==="object"||typeof t=="function")?t:BE(e)}function wh(e,t){return wh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},wh(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 r=Ff(e),o;if(t){var i=Ff(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Rq(this,o)}}var AE=function(e){$q(n,e);var t=Eq(n);function n(r){wq(this,n);var o,i;return o=t.call(this,r),ME(BE(o),"props",void 0),o.props=new ei((i=r)===null||i===void 0?void 0:i.props),o}return Pq(n,null,[{key:"controlType",get:function(){return"textarea"}}]),n}(G);ME(AE,"controlFieldType",c.FieldTypes.TEXT);var kE={Designer:ti,Runtime:AE,Property:ei};function Vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ph(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cf(e)}function $h(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rh(e,t)}function Iq(e,t){return t&&(Bq(t)==="object"||typeof t=="function")?t:Vn(e)}function Rh(e,t){return Rh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Rh(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 Th(e){var t=Nq();return function(){var r=Cf(e),o;if(t){var i=Cf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Iq(this,o)}}var Mq=function(e){$h(n,e);var t=Th(n);function n(r){Ph(this,n);var o;return o=t.call(this,r),mn(Vn(o),"maxLength",{type:"number",min:0,message:w.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),mn(Vn(o),"minLength",{type:"number",max:1e6,message:w.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),mn(Vn(o),"defaultValue",{type:"string",max:200,min:0,message:w.getMessage("stringRangeError")}),o.maxLength.min=r.minLength,o.minLength.max=r.maxLength,o.defaultValue.max=r.maxLength,o.defaultValue.min=r.minLength,o.defaultValue.message=w.getMessage("stringRangeError",{max:r.maxLength,min:r.minLength}),o}return n}(Oe),Aq=function(e){$h(n,e);var t=Th(n);function n(r){Ph(this,n);var o;return o=t.call(this,r),o.push({type:"string",max:r.maxLength,min:r.minLength,message:w.getMessage("stringRangeError",{max:r.maxLength,min:r.minLength})}),o}return n}(J),ni=function(e){$h(n,e);var t=Th(n);function n(r){Ph(this,n);var o,i,u,f,a,l;o=t.call(this,r),mn(Vn(o),"maxLength",void 0),mn(Vn(o),"minLength",void 0),mn(Vn(o),"defaultValue",void 0);var s;o.maxLength=(s=(i=r)===null||i===void 0?void 0:i.maxLength)!==null&&s!==void 0?s:5e4;var p;o.minLength=(p=(u=r)===null||u===void 0?void 0:u.minLength)!==null&&p!==void 0?p:0;var _;o.defaultValue=(_=(f=r)===null||f===void 0?void 0:f.defaultValue)!==null&&_!==void 0?_:"";var y;o.caption=(y=(a=r)===null||a===void 0?void 0:a.caption)!==null&&y!==void 0?y:ri.controlName;var d;return o.placeholder=(d=(l=r)===null||l===void 0?void 0:l.placeholder)!==null&&d!==void 0?d:"\u8BF7\u8F93\u5165",o}return n}(V);mn(ni,"Rules",Mq),mn(ni,"RuntimeRules",Aq);function DE(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 LE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Dq(e,t,n){return t&&LE(e.prototype,t),n&&LE(e,n),e}function xf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vf(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&&Sh(e,t)}function jq(e,t){return t&&(Fq(t)==="object"||typeof t=="function")?t:DE(e)}function Sh(e,t){return Sh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Sh(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 xq(e){var t=Cq();return function(){var r=Vf(e),o;if(t){var i=Vf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return jq(this,o)}}var ri=function(e){Lq(n,e);var t=xq(n);function n(r){kq(this,n);var o,i;return o=t.call(this,r),xf(DE(o),"props",void 0),o.props=new ni((i=r)===null||i===void 0?void 0:i.props),o}return Dq(n,null,[{key:"controlName",get:function(){return"\u5BCC\u6587\u672C"}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),n}(z);xf(ri,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),xf(ri,"controlFieldType",c.FieldTypes.TEXT),xf(ri,"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 jE(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 FE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zq(e,t,n){return t&&FE(e.prototype,t),n&&FE(e,n),e}function CE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zf(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&&Eh(e,t)}function Yq(e,t){return t&&(Hq(t)==="object"||typeof t=="function")?t:jE(e)}function Eh(e,t){return Eh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Eh(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 r=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Yq(this,o)}}var xE=function(e){Gq(n,e);var t=Uq(n);function n(r){Vq(this,n);var o,i;return o=t.call(this,r),CE(jE(o),"props",void 0),o.props=new ni((i=r)===null||i===void 0?void 0:i.props),o}return zq(n,null,[{key:"controlType",get:function(){return"rich-text"}}]),n}(G);CE(xE,"controlFieldType",c.FieldTypes.TEXT);var VE={Designer:ri,Runtime:xE,Property:ni};function at(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function st(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gf(e)}function GE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ih(e,t)}function Wq(e,t){return t&&(Kq(t)==="object"||typeof t=="function")?t:at(e)}function Ih(e,t){return Ih=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ih(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 YE(e){var t=Xq();return function(){var r=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Wq(this,o)}}var Jq=function(e){GE(n,e);var t=YE(n);function n(r){return zE(this,n),t.call(this,r)}return n}(Cn),Yf=function(e){GE(n,e);var t=YE(n);function n(r){zE(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b,v;o=t.call(this,r),st(at(o),"options",void 0),st(at(o),"defaultShowOptions",void 0),st(at(o),"optionConfig",void 0),st(at(o),"defaultValue",void 0),st(at(o),"datasourceBind",void 0),st(at(o),"multistageFilling",void 0),st(at(o),"allowCopyOptions",void 0),st(at(o),"openMultistageFilling",void 0),st(at(o),"viewFormModelType",void 0),st(at(o),"canViewForm",void 0),st(at(o),"formBind",void 0);var g;o.options=It((g=(i=r)===null||i===void 0?void 0:i.options)!==null&&g!==void 0?g:[{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 m;o.defaultShowOptions=(m=(u=r)===null||u===void 0?void 0:u.defaultShowOptions)!==null&&m!==void 0?m:!0;var O;o.optionConfig=(O=(f=r)===null||f===void 0?void 0:f.optionConfig)!==null&&O!==void 0?O:"custom",o.datasourceBind=new ve((a=r)===null||a===void 0?void 0:a.datasourceBind);var $;o.caption=($=(l=r)===null||l===void 0?void 0:l.caption)!==null&&$!==void 0?$:qf.controlName;var T;o.placeholder=(T=(s=r)===null||s===void 0?void 0:s.placeholder)!==null&&T!==void 0?T:"\u8BF7\u9009\u62E9";var R;o.defaultValue=(R=(p=r)===null||p===void 0?void 0:p.defaultValue)!==null&&R!==void 0?R:"";var S;o.allowCopyOptions=(S=(_=r)===null||_===void 0?void 0:_.allowCopyOptions)!==null&&S!==void 0?S:!1;var I;if(o.openMultistageFilling=(I=(y=r)===null||y===void 0?void 0:y.openMultistageFilling)!==null&&I!==void 0?I:!1,o.multistageFilling=[],Array.isArray((d=r)===null||d===void 0?void 0:d.multistageFilling)){var E;(E=r)===null||E===void 0||E.multistageFilling.map(function(A){var M;(M=o.multistageFilling)===null||M===void 0||M.push(new De(A))})}var N;o.canViewForm=(N=(h=r)===null||h===void 0?void 0:h.canViewForm)!==null&&N!==void 0?N:!1;var B;return o.viewFormModelType=(B=(b=r)===null||b===void 0?void 0:b.viewFormModelType)!==null&&B!==void 0?B:"window",o.formBind=new jn((v=r)===null||v===void 0?void 0:v.formBind),o}return n}(V);st(Yf,"Rules",Jq);function HE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Zq(e,t,n){return t&&qE(e.prototype,t),n&&qE(e,n),e}function Bh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hf(e)}function eU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tU(e,t){return t&&(nU(t)==="object"||typeof t=="function")?t:HE(e)}function Nh(e,t){return Nh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Nh(e,t)}function nU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oU(e){var t=rU();return function(){var r=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return tU(this,o)}}var qf=function(e){eU(n,e);var t=oU(n);function n(r){Qq(this,n);var o,i;return o=t.call(this,r),Bh(HE(o),"props",void 0),o.props=new Yf((i=r)===null||i===void 0?void 0:i.props),o}return Zq(n,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),n}(z);Bh(qf,"controlFieldType",c.FieldTypes.VARCHAR),Bh(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:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function UE(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 WE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function uU(e,t,n){return t&&WE(e.prototype,t),n&&WE(e,n),e}function KE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uf(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&&Mh(e,t)}function fU(e,t){return t&&(lU(t)==="object"||typeof t=="function")?t:UE(e)}function Mh(e,t){return Mh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Mh(e,t)}function lU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sU(e){var t=aU();return function(){var r=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return fU(this,o)}}var XE=function(e){cU(n,e);var t=sU(n);function n(r){iU(this,n);var o,i;return o=t.call(this,r),KE(UE(o),"props",void 0),o.props=new Yf((i=r)===null||i===void 0?void 0:i.props),o}return uU(n,null,[{key:"controlType",get:function(){return"select"}}]),n}(G);KE(XE,"controlFieldType",c.FieldTypes.VARCHAR);var JE={Designer:qf,Runtime:XE,Property:Yf};function ht(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 pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wf(e){return Wf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wf(e)}function kh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dh(e,t)}function pU(e,t){return t&&(_U(t)==="object"||typeof t=="function")?t:ht(e)}function Dh(e,t){return Dh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Dh(e,t)}function _U(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lh(e){var t=yU();return function(){var r=Wf(e),o;if(t){var i=Wf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return pU(this,o)}}var vU=function(e){kh(n,e);var t=Lh(n);function n(r){return Ah(this,n),t.call(this,r)}return n}(Cn),dU=function(e){kh(n,e);var t=Lh(n);function n(r){Ah(this,n);var o;return o=t.call(this,r),o[0].type="array",o}return n}(J),oi=function(e){kh(n,e);var t=Lh(n);function n(r){Ah(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b;o=t.call(this,r),pt(ht(o),"options",void 0),pt(ht(o),"defaultShowOptions",void 0),pt(ht(o),"optionConfig",void 0),pt(ht(o),"defaultValue",void 0),pt(ht(o),"datasourceBind",void 0),pt(ht(o),"multistageFilling",void 0),pt(ht(o),"openMultistageFilling",void 0),pt(ht(o),"viewFormModelType",void 0),pt(ht(o),"canViewForm",void 0),pt(ht(o),"formBind",void 0);var v;o.options=It((v=(i=r)===null||i===void 0?void 0:i.options)!==null&&v!==void 0?v:[{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 g;o.defaultShowOptions=(g=(u=r)===null||u===void 0?void 0:u.defaultShowOptions)!==null&&g!==void 0?g:!0;var m;o.optionConfig=(m=(f=r)===null||f===void 0?void 0:f.optionConfig)!==null&&m!==void 0?m:"custom",o.datasourceBind=new ve((a=r)===null||a===void 0?void 0:a.datasourceBind);var O;o.caption=(O=(l=r)===null||l===void 0?void 0:l.caption)!==null&&O!==void 0?O:Xf.controlName;var $;o.placeholder=($=(s=r)===null||s===void 0?void 0:s.placeholder)!==null&&$!==void 0?$:"\u8BF7\u9009\u62E9";var T;o.defaultValue=(T=(p=r)===null||p===void 0?void 0:p.defaultValue)!==null&&T!==void 0?T:[];var R;if(o.openMultistageFilling=(R=(_=r)===null||_===void 0?void 0:_.openMultistageFilling)!==null&&R!==void 0?R:!1,o.multistageFilling=[],Array.isArray((y=r)===null||y===void 0?void 0:y.multistageFilling)){var S;(S=r)===null||S===void 0||S.multistageFilling.map(function(N){var B;(B=o.multistageFilling)===null||B===void 0||B.push(new De(N))})}var I;o.canViewForm=(I=(d=r)===null||d===void 0?void 0:d.canViewForm)!==null&&I!==void 0?I:!1;var E;return o.viewFormModelType=(E=(h=r)===null||h===void 0?void 0:h.viewFormModelType)!==null&&E!==void 0?E:"window",o.formBind=new jn((b=r)===null||b===void 0?void 0:b.formBind),o}return n}(V);pt(oi,"Rules",vU),pt(oi,"RuntimeRules",dU);function QE(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 ZE(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bU(e,t,n){return t&&ZE(e.prototype,t),n&&ZE(e,n),e}function jh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kf(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&&Fh(e,t)}function mU(e,t){return t&&(OU(t)==="object"||typeof t=="function")?t:QE(e)}function Fh(e,t){return Fh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Fh(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 r=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mU(this,o)}}var Xf=function(e){gU(n,e);var t=PU(n);function n(r){hU(this,n);var o,i;return o=t.call(this,r),jh(QE(o),"props",void 0),o.props=new oi((i=r)===null||i===void 0?void 0:i.props),o}return bU(n,null,[{key:"controlName",get:function(){return"\u4E0B\u62C9\u591A\u9009"}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),n}(z);jh(Xf,"controlFieldType",c.FieldTypes.ARRAY),jh(Xf,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]);function eI(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 tI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function RU(e,t,n){return t&&tI(e.prototype,t),n&&tI(e,n),e}function nI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jf(e){return Jf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jf(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&&Ch(e,t)}function SU(e,t){return t&&(EU(t)==="object"||typeof t=="function")?t:eI(e)}function Ch(e,t){return Ch=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ch(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 BU(e){var t=IU();return function(){var r=Jf(e),o;if(t){var i=Jf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return SU(this,o)}}var rI=function(e){TU(n,e);var t=BU(n);function n(r){$U(this,n);var o,i;return o=t.call(this,r),nI(eI(o),"props",void 0),o.props=new oi((i=r)===null||i===void 0?void 0:i.props),o}return RU(n,null,[{key:"controlType",get:function(){return"select-multiple"}}]),n}(G);nI(rI,"controlFieldType",c.FieldTypes.ARRAY);var oI={Designer:Xf,Runtime:rI,Property:oi};function Qt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qf(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&&xh(e,t)}function NU(e,t){return t&&(MU(t)==="object"||typeof t=="function")?t:Qt(e)}function xh(e,t){return xh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},xh(e,t)}function MU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cI(e){var t=AU();return function(){var r=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return NU(this,o)}}var kU=function(e){uI(n,e);var t=cI(n);function n(r){iI(this,n);var o;return o=t.call(this,r),o[0].type="array",o}return n}(J),Zf=function(e){uI(n,e);var t=cI(n);function n(r){iI(this,n);var o,i,u,f,a,l,s,p,_,y,d;o=t.call(this,r),Zt(Qt(o),"showType",void 0),Zt(Qt(o),"range",void 0),Zt(Qt(o),"rangeOptions",void 0),Zt(Qt(o),"multiple",void 0),Zt(Qt(o),"defaultValueType",void 0),Zt(Qt(o),"defaultValue",void 0),Zt(Qt(o),"multistageFilling",void 0),Zt(Qt(o),"openMultistageFilling",void 0);var h;o.showType=(h=(i=r)===null||i===void 0?void 0:i.showType)!==null&&h!==void 0?h:"default";var b;o.range=(b=(u=r)===null||u===void 0?void 0:u.range)!==null&&b!==void 0?b:"all";var v;o.rangeOptions=(v=(f=r)===null||f===void 0?void 0:f.rangeOptions)!==null&&v!==void 0?v:[];var g;o.multiple=(g=(a=r)===null||a===void 0?void 0:a.multiple)!==null&&g!==void 0?g:!1;var m;o.defaultValueType=(m=(l=r)===null||l===void 0?void 0:l.defaultValueType)!==null&&m!==void 0?m:"none";var O;o.defaultValue=(O=(s=r)===null||s===void 0?void 0:s.defaultValue)!==null&&O!==void 0?O:[];var $;o.caption=($=(p=r)===null||p===void 0?void 0:p.caption)!==null&&$!==void 0?$:tl.controlName;var T;o.placeholder=(T=(_=r)===null||_===void 0?void 0:_.placeholder)!==null&&T!==void 0?T:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var R;if(o.openMultistageFilling=(R=(y=r)===null||y===void 0?void 0:y.openMultistageFilling)!==null&&R!==void 0?R:!1,o.multistageFilling=[],Array.isArray((d=r)===null||d===void 0?void 0:d.multistageFilling)){var S;(S=r)===null||S===void 0||S.multistageFilling.map(function(I){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new De(I))})}return o}return n}(V);Zt(Zf,"RuntimeRules",kU);function fI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function LU(e,t,n){return t&&lI(e.prototype,t),n&&lI(e,n),e}function Vh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function el(e){return el=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},el(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&&zh(e,t)}function FU(e,t){return t&&(CU(t)==="object"||typeof t=="function")?t:fI(e)}function zh(e,t){return zh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},zh(e,t)}function CU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VU(e){var t=xU();return function(){var r=el(e),o;if(t){var i=el(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return FU(this,o)}}var tl=function(e){jU(n,e);var t=VU(n);function n(r){DU(this,n);var o,i;return o=t.call(this,r),Vh(fI(o),"props",void 0),o.props=new Zf((i=r)===null||i===void 0?void 0:i.props),o}return LU(n,null,[{key:"controlName",get:function(){return"\u4EBA\u5458"}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),n}(z);Vh(tl,"controlFieldType",c.FieldTypes.EMPLOYEES),Vh(tl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function aI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zU(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function GU(e,t,n){return t&&sI(e.prototype,t),n&&sI(e,n),e}function pI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nl(e){return nl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nl(e)}function YU(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gh(e,t)}function HU(e,t){return t&&(qU(t)==="object"||typeof t=="function")?t:aI(e)}function Gh(e,t){return Gh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Gh(e,t)}function qU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WU(e){var t=UU();return function(){var r=nl(e),o;if(t){var i=nl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return HU(this,o)}}var _I=function(e){YU(n,e);var t=WU(n);function n(r){zU(this,n);var o,i;return o=t.call(this,r),pI(aI(o),"props",void 0),o.props=new Zf((i=r)===null||i===void 0?void 0:i.props),o}return GU(n,null,[{key:"controlType",get:function(){return"employee"}}]),n}(G);pI(_I,"controlFieldType",c.FieldTypes.EMPLOYEES);var yI={Designer:tl,Runtime:_I,Property:Zf};function en(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rl(e){return rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rl(e)}function Hh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qh(e,t)}function KU(e,t){return t&&(XU(t)==="object"||typeof t=="function")?t:en(e)}function qh(e,t){return qh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},qh(e,t)}function XU(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JU(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uh(e){var t=JU();return function(){var r=rl(e),o;if(t){var i=rl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return KU(this,o)}}var QU=10485760,ZU=104857600,eW=1048576e3,tW=function(e){Hh(n,e);var t=Uh(n);function n(r){Yh(this,n);var o;return o=t.call(this,r),Dt(en(o),"maxSize",{type:"number",min:0,max:eW,message:w.getMessage("attachmentMaxSize")}),o}return n}(Oe),nW=function(e){Hh(n,e);var t=Uh(n);function n(r){Yh(this,n);var o;return o=t.call(this,r),o[0].type="array",o.push({type:"array",max:r.maxLimit,min:r.minLimit,message:w.getMessage("attachmentLimitError",{max:r.maxLimit,min:r.minLimit})}),o}return n}(J),Dr=function(e){Hh(n,e);var t=Uh(n);function n(r){Yh(this,n);var o,i,u,f,a,l,s,p,_,y;o=t.call(this,r),Dt(en(o),"defaultValue",void 0),Dt(en(o),"showType",void 0),Dt(en(o),"resultShowType",void 0),Dt(en(o),"attachmentAccept",void 0),Dt(en(o),"maxLimit",void 0),Dt(en(o),"minLimit",void 0),Dt(en(o),"maxSize",void 0);var d;o.defaultValue=(d=(i=r)===null||i===void 0?void 0:i.defaultValue)!==null&&d!==void 0?d:[];var h;o.showType=(h=(u=r)===null||u===void 0?void 0:u.showType)!==null&&h!==void 0?h:"default";var b;o.resultShowType=(b=(f=r)===null||f===void 0?void 0:f.resultShowType)!==null&&b!==void 0?b:"simple";var v;o.attachmentAccept=(v=(a=r)===null||a===void 0?void 0:a.attachmentAccept)!==null&&v!==void 0?v:[];var g;o.maxLimit=(g=(l=r)===null||l===void 0?void 0:l.maxLimit)!==null&&g!==void 0?g:10;var m;o.minLimit=(m=(s=r)===null||s===void 0?void 0:s.minLimit)!==null&&m!==void 0?m:0;var O;o.maxSize=(O=(p=r)===null||p===void 0?void 0:p.maxSize)!==null&&O!==void 0?O:ZU;var $;o.caption=($=(_=r)===null||_===void 0?void 0:_.caption)!==null&&$!==void 0?$:Lr.controlName;var T;return o.placeholder=(T=(y=r)===null||y===void 0?void 0:y.placeholder)!==null&&T!==void 0?T:"\u4E0A\u4F20\u9644\u4EF6",o}return n}(V);Dt(Dr,"Rules",tW),Dt(Dr,"RuntimeRules",nW);function vI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oW(e,t,n){return t&&dI(e.prototype,t),n&&dI(e,n),e}function ol(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function il(e){return il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},il(e)}function iW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wh(e,t)}function uW(e,t){return t&&(cW(t)==="object"||typeof t=="function")?t:vI(e)}function Wh(e,t){return Wh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Wh(e,t)}function cW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lW(e){var t=fW();return function(){var r=il(e),o;if(t){var i=il(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return uW(this,o)}}var Lr=function(e){iW(n,e);var t=lW(n);function n(r){rW(this,n);var o,i;return o=t.call(this,r),ol(vI(o),"props",void 0),o.props=new Dr((i=r)===null||i===void 0?void 0:i.props),o}return oW(n,null,[{key:"controlName",get:function(){return"\u9644\u4EF6"}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),n}(z);ol(Lr,"controlEventKeys",["on_change"]),ol(Lr,"controlFieldType",c.FieldTypes.FILE),ol(Lr,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function hI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sW(e,t,n){return t&&bI(e.prototype,t),n&&bI(e,n),e}function gI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ul(e){return ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ul(e)}function pW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kh(e,t)}function _W(e,t){return t&&(yW(t)==="object"||typeof t=="function")?t:hI(e)}function Kh(e,t){return Kh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Kh(e,t)}function yW(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 dW(e){var t=vW();return function(){var r=ul(e),o;if(t){var i=ul(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _W(this,o)}}var Xh=function(e){pW(n,e);var t=dW(n);function n(r){aW(this,n);var o,i;return o=t.call(this,r),gI(hI(o),"props",void 0),o.props=new Dr((i=r)===null||i===void 0?void 0:i.props),o}return sW(n,null,[{key:"controlType",get:function(){return"attachment"}}]),n}(G);gI(Xh,"controlFieldType",c.FieldTypes.FILE);var mI={Designer:Lr,Runtime:Xh,Property:Dr};function hW(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 OI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gW(e,t,n){return t&&OI(e.prototype,t),n&&OI(e,n),e}function wI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cl(e){return cl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cl(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&&Jh(e,t)}function OW(e,t){return t&&(wW(t)==="object"||typeof t=="function")?t:hW(e)}function Jh(e,t){return Jh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Jh(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 r=cl(e),o;if(t){var i=cl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return OW(this,o)}}var Qh=function(e){mW(n,e);var t=$W(n);function n(r){bW(this,n);var o,i,u,f,a;o=t.call(this,r),o.props.showType="image";var l;o.props.caption=(l=(u=r)===null||u===void 0||(i=u.props)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:n.controlName;var s;return o.props.placeholder=(s=(a=r)===null||a===void 0||(f=a.props)===null||f===void 0?void 0:f.placeholder)!==null&&s!==void 0?s:"\u4E0A\u4F20\u56FE\u7247",o}return gW(n,null,[{key:"controlName",get:function(){return"\u56FE\u7247"}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),n}(Lr);wI(Qh,"controlFieldType",c.FieldTypes.IMAGE),wI(Qh,"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 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 PI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function SW(e,t,n){return t&&PI(e.prototype,t),n&&PI(e,n),e}function fl(e){return fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fl(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&&Zh(e,t)}function IW(e,t){return t&&(BW(t)==="object"||typeof t=="function")?t:RW(e)}function Zh(e,t){return Zh=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Zh(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 MW(e){var t=NW();return function(){var r=fl(e),o;if(t){var i=fl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return IW(this,o)}}var AW=function(e){EW(n,e);var t=MW(n);function n(r){TW(this,n);var o,i,u,f,a,l,s;o=t.call(this,r),o.props.showType="image";var p;o.props.maxLimit=(p=(u=r)===null||u===void 0||(i=u.props)===null||i===void 0?void 0:i.maxLimit)!==null&&p!==void 0?p:9;var _;o.props.caption=(_=(a=r)===null||a===void 0||(f=a.props)===null||f===void 0?void 0:f.caption)!==null&&_!==void 0?_:"\u56FE\u7247";var y;return o.props.placeholder=(y=(s=r)===null||s===void 0||(l=s.props)===null||l===void 0?void 0:l.placeholder)!==null&&y!==void 0?y:"\u4E0A\u4F20\u56FE\u7247",o}return SW(n,null,[{key:"controlType",get:function(){return"image"}}]),n}(Xh);function kW(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ll(e){return ll=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ll(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&&eb(e,t)}function jW(e,t){return t&&(FW(t)==="object"||typeof t=="function")?t:kW(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},eb(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 r=ll(e),o;if(t){var i=ll(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return jW(this,o)}}var VW=function(e){LW(n,e);var t=xW(n);function n(r){return DW(this,n),t.call(this,r)}return n}(Dr),$I={Designer:Qh,Runtime:AW,Property:VW};function qe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function al(e){return al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},al(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&&rb(e,t)}function zW(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Me(e,o,n[o])})}return e}function GW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function YW(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):GW(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function HW(e,t){return t&&(qW(t)==="object"||typeof t=="function")?t:qe(e)}function rb(e,t){return rb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},rb(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 ob(e){var t=UW();return function(){var r=al(e),o;if(t){var i=al(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return HW(this,o)}}var WW=function(e){nb(n,e);var t=ob(n);function n(r){tb(this,n);var o;o=t.call(this,r),Me(qe(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:w.getMessage("pleaseEnterNumberRange")}]}}),Me(qe(o),"rangeMax",{type:"any"});var i=r.rangeMax===""?void 0:r.rangeMax,u=r.rangeMin===""?void 0:r.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=w.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:w.getMessage("numberRangeSetError")}),o}return n}(Cn),KW=function(e){nb(n,e);var t=ob(n);function n(r){tb(this,n);var o;o=t.call(this,r),o[0].type="object";var i=r.rangeMax===""?void 0:r.rangeMax,u=r.rangeMin===""?void 0:r.rangeMin;return o.push({type:"object",fields:{amount:[YW(zW({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:w.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return n}(J),ii=function(e){nb(n,e);var t=ob(n);function n(r){tb(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b,v;o=t.call(this,r),Me(qe(o),"rangeMin",void 0),Me(qe(o),"rangeMax",void 0),Me(qe(o),"showUpperCase",void 0),Me(qe(o),"submitSelectCurrency",void 0),Me(qe(o),"micrometer",void 0),Me(qe(o),"precision",void 0),Me(qe(o),"optionConfig",void 0),Me(qe(o),"dataBind",void 0),Me(qe(o),"datasourceBind",void 0),Me(qe(o),"defaultValue",void 0),Me(qe(o),"options",void 0);var g;o.rangeMin=(g=(i=r)===null||i===void 0?void 0:i.rangeMin)!==null&&g!==void 0?g:"";var m;o.rangeMax=(m=(u=r)===null||u===void 0?void 0:u.rangeMax)!==null&&m!==void 0?m:"";var O;o.optionConfig=(O=(f=r)===null||f===void 0?void 0:f.optionConfig)!==null&&O!==void 0?O:"datasource";var $;o.micrometer=($=(a=r)===null||a===void 0?void 0:a.micrometer)!==null&&$!==void 0?$:!1;var T;o.precision=(T=(l=r)===null||l===void 0?void 0:l.precision)!==null&&T!==void 0?T:2,o.dataBind=new IP((s=r)===null||s===void 0?void 0:s.dataBind);var R;o.datasourceBind=new ve((R=(p=r)===null||p===void 0?void 0:p.datasourceBind)!==null&&R!==void 0?R:{displayBoList:[new Xi({value:"name"})]});var S;o.defaultValue=new BP((S=(_=r)===null||_===void 0?void 0:_.defaultValue)!==null&&S!==void 0?S:{amount:"",currency:c.AMOUNT_TYPE.CNY}),o.options=It((y=r)===null||y===void 0?void 0:y.options);var I;o.caption=(I=(d=r)===null||d===void 0?void 0:d.caption)!==null&&I!==void 0?I:ui.controlName;var E;o.placeholder=(E=(h=r)===null||h===void 0?void 0:h.placeholder)!==null&&E!==void 0?E:"\u8BF7\u8F93\u5165";var N;o.submitSelectCurrency=(N=(b=r)===null||b===void 0?void 0:b.submitSelectCurrency)!==null&&N!==void 0?N:!1;var B;return o.showUpperCase=(B=(v=r)===null||v===void 0?void 0:v.showUpperCase)!==null&&B!==void 0?B:!1,o}return n}(V);Me(ii,"Rules",WW),Me(ii,"RuntimeRules",KW);function RI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function JW(e,t,n){return t&&TI(e.prototype,t),n&&TI(e,n),e}function sl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?pl=Reflect.get:pl=function(o,i,u){var f=eK(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},pl(e,t,n||e)}function jr(e){return jr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jr(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&&ib(e,t)}function ZW(e,t){return t&&(tK(t)==="object"||typeof t=="function")?t:RI(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ib(e,t)}function eK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=jr(e),e!==null););return e}function tK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rK(e){var t=nK();return function(){var r=jr(e),o;if(t){var i=jr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return ZW(this,o)}}var ui=function(e){QW(n,e);var t=rK(n);function n(r){XW(this,n);var o,i;return o=t.call(this,r),sl(RI(o),"props",void 0),o.props=new ii((i=r)===null||i===void 0?void 0:i.props),o}return JW(n,[{key:"toDataBindModel",value:function(o){var i=pl(jr(n.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.precision,a=u.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u91D1\u989D"}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),n}(z);sl(ui,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),sl(ui,"controlFieldType",c.FieldTypes.MONEY),sl(ui,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function SI(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 EI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iK(e,t,n){return t&&EI(e.prototype,t),n&&EI(e,n),e}function II(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _l(e){return _l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_l(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&&ub(e,t)}function cK(e,t){return t&&(fK(t)==="object"||typeof t=="function")?t:SI(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ub(e,t)}function fK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aK(e){var t=lK();return function(){var r=_l(e),o;if(t){var i=_l(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return cK(this,o)}}var BI=function(e){uK(n,e);var t=aK(n);function n(r){oK(this,n);var o,i;return o=t.call(this,r),II(SI(o),"props",void 0),o.props=new ii((i=r)===null||i===void 0?void 0:i.props),o}return iK(n,null,[{key:"controlType",get:function(){return"amount"}}]),n}(G);II(BI,"controlFieldType",c.FieldTypes.MONEY);var NI={Designer:ui,Runtime:BI,Property:ii};function On(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yl(e){return yl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yl(e)}function fb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lb(e,t)}function sK(e,t){return t&&(pK(t)==="object"||typeof t=="function")?t:On(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},lb(e,t)}function pK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _K(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ab(e){var t=_K();return function(){var r=yl(e),o;if(t){var i=yl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return sK(this,o)}}var yK=function(e){fb(n,e);var t=ab(n);function n(r){cb(this,n);var o;return o=t.call(this,r),tn(On(o),"totalScore",[{type:"number",required:!0,message:w.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:w.getMessage("theTotalScoreMustNotBeLessThan1")}]),tn(On(o),"defaultValue",{type:"number",min:0,max:5,message:w.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=r.totalScore,o.defaultValue.message=w.getMessage("scoreDefaultValueRange",{max:r.totalScore,min:0}),o}return n}(Oe),vK=function(e){fb(n,e);var t=ab(n);function n(r){cb(this,n);var o;o=t.call(this,r),o[0].type="number";var i=r.required?1:0;return o.push({type:"number",min:i,max:r.totalScore,message:w.getMessage("scoreDefaultValueRange",{max:r.totalScore,min:i})}),o}return n}(J),ci=function(e){fb(n,e);var t=ab(n);function n(r){cb(this,n);var o,i,u,f,a,l,s,p;o=t.call(this,r),tn(On(o),"totalScore",void 0),tn(On(o),"scoreType",void 0),tn(On(o),"isShowExplain",void 0),tn(On(o),"explain",void 0),tn(On(o),"defaultValue",void 0);var _;o.totalScore=(_=(i=r)===null||i===void 0?void 0:i.totalScore)!==null&&_!==void 0?_:5;var y;o.scoreType=(y=(u=r)===null||u===void 0?void 0:u.scoreType)!==null&&y!==void 0?y:c.SCORE_TYPE.STAR;var d;o.isShowExplain=(d=(f=r)===null||f===void 0?void 0:f.isShowExplain)!==null&&d!==void 0?d:!0;var h;o.explain=(h=(l=r)===null||l===void 0||(a=l.explain)===null||a===void 0?void 0:a.map(function(g){return new xu(g)}))!==null&&h!==void 0?h:Array(o.totalScore).fill(void 0).map(function(){return new xu});var b;o.defaultValue=(b=(s=r)===null||s===void 0?void 0:s.defaultValue)!==null&&b!==void 0?b:0;var v;return o.caption=(v=(p=r)===null||p===void 0?void 0:p.caption)!==null&&v!==void 0?v:fi.controlName,o}return n}(V);tn(ci,"Rules",yK),tn(ci,"RuntimeRules",vK);function sb(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function dK(e){if(Array.isArray(e))return sb(e)}function MI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bK(e,t,n){return t&&AI(e.prototype,t),n&&AI(e,n),e}function vl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dl(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?dl=Reflect.get:dl=function(o,i,u){var f=PK(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},dl(e,t,n||e)}function Fr(e){return Fr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fr(e)}function gK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function mK(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function OK(){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 wK(e,t){return t&&(RK(t)==="object"||typeof t=="function")?t:MI(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},pb(e,t)}function PK(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Fr(e),e!==null););return e}function $K(e){return dK(e)||mK(e)||TK(e)||OK()}function RK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TK(e,t){if(!!e){if(typeof e=="string")return sb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sb(e,t)}}function SK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EK(e){var t=SK();return function(){var r=Fr(e),o;if(t){var i=Fr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return wK(this,o)}}var fi=function(e){gK(n,e);var t=EK(n);function n(r){hK(this,n);var o,i;return o=t.call(this,r),vl(MI(o),"props",void 0),o.props=new ci((i=r)===null||i===void 0?void 0:i.props),o}return bK(n,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,f=i-this.props.explain.length,a=Array(f).fill(void 0).map(function(){return new xu});(u=this.props.explain).push.apply(u,$K(a))}}dl(Fr(n.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"}}]),n}(z);vl(fi,"controlEventKeys",["on_change","on_click"]),vl(fi,"controlFieldType",c.FieldTypes.DECIMAL),vl(fi,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function kI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function BK(e,t,n){return t&&DI(e.prototype,t),n&&DI(e,n),e}function LI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hl(e)}function NK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_b(e,t)}function MK(e,t){return t&&(AK(t)==="object"||typeof t=="function")?t:kI(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_b(e,t)}function AK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DK(e){var t=kK();return function(){var r=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return MK(this,o)}}var jI=function(e){NK(n,e);var t=DK(n);function n(r){IK(this,n);var o,i;return o=t.call(this,r),LI(kI(o),"props",void 0),o.props=new ci((i=r)===null||i===void 0?void 0:i.props),o}return BK(n,null,[{key:"controlType",get:function(){return"score"}}]),n}(G);LI(jI,"controlFieldType",c.FieldTypes.DECIMAL);var FI={Designer:fi,Runtime:jI,Property:ci};function bl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ml(e)}function xI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yb(e,t)}function LK(e,t){return t&&(jK(t)==="object"||typeof t=="function")?t:bl(e)}function yb(e,t){return yb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},yb(e,t)}function jK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VI(e){var t=FK();return function(){var r=ml(e),o;if(t){var i=ml(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return LK(this,o)}}var CK=function(e){xI(n,e);var t=VI(n);function n(r){CI(this,n);var o;if(o=t.call(this,r),o[0].type="object",r.required&&!r.isHide){var i={type:"object",fields:{province:{type:"string",required:r.required,message:w.getMessage("pleaseSelectProvince")}}};r.addressType.includes("city")&&(i.fields.city={type:"string",required:r.required,message:w.getMessage("pleaseSelectCity")}),r.addressType.includes("district")&&(i.fields.district={type:"string",required:r.required,message:w.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return n}(J),Ol=function(e){xI(n,e);var t=VI(n);function n(r){CI(this,n);var o,i,u,f,a,l;o=t.call(this,r),gl(bl(o),"defaultValueType",void 0),gl(bl(o),"defaultValue",void 0),gl(bl(o),"addressType",void 0);var s;o.caption=(s=(i=r)===null||i===void 0?void 0:i.caption)!==null&&s!==void 0?s:Pl.controlName;var p;o.defaultValueType=(p=(u=r)===null||u===void 0?void 0:u.defaultValueType)!==null&&p!==void 0?p:"default";var _;o.addressType=(_=(f=r)===null||f===void 0?void 0:f.addressType)!==null&&_!==void 0?_:["province","city","district"];var y;o.defaultValue=new AP((y=(a=r)===null||a===void 0?void 0:a.defaultValue)!==null&&y!==void 0?y:{});var d;return o.placeholder=(d=(l=r)===null||l===void 0?void 0:l.placeholder)!==null&&d!==void 0?d:"\u8BF7\u9009\u62E9\u5730\u5740",o}return n}(V);gl(Ol,"RuntimeRules",CK);function zI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function VK(e,t,n){return t&&GI(e.prototype,t),n&&GI(e,n),e}function vb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wl(e)}function zK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&db(e,t)}function GK(e,t){return t&&(YK(t)==="object"||typeof t=="function")?t:zI(e)}function db(e,t){return db=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},db(e,t)}function YK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qK(e){var t=HK();return function(){var r=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return GK(this,o)}}var Pl=function(e){zK(n,e);var t=qK(n);function n(r){xK(this,n);var o,i;return o=t.call(this,r),vb(zI(o),"props",void 0),o.props=new Ol((i=r)===null||i===void 0?void 0:i.props),o}return VK(n,null,[{key:"controlName",get:function(){return"\u5730\u5740"}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),n}(z);vb(Pl,"controlFieldType",c.FieldTypes.ADDRESS),vb(Pl,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function YI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function WK(e,t,n){return t&&HI(e.prototype,t),n&&HI(e,n),e}function qI(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$l(e)}function KK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hb(e,t)}function XK(e,t){return t&&(JK(t)==="object"||typeof t=="function")?t:YI(e)}function hb(e,t){return hb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},hb(e,t)}function JK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZK(e){var t=QK();return function(){var r=$l(e),o;if(t){var i=$l(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return XK(this,o)}}var UI=function(e){KK(n,e);var t=ZK(n);function n(r){UK(this,n);var o,i;return o=t.call(this,r),qI(YI(o),"props",void 0),o.props=new Ol((i=r)===null||i===void 0?void 0:i.props),o}return WK(n,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),n}(G);qI(UI,"controlFieldType",c.FieldTypes.ADDRESS);var WI={Designer:Pl,Runtime:UI,Property:Ol};function bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rl(e)}function XI(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bb(e,t)}function eX(e,t){return t&&(tX(t)==="object"||typeof t=="function")?t:bt(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},bb(e,t)}function tX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JI(e){var t=nX();return function(){var r=Rl(e),o;if(t){var i=Rl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return eX(this,o)}}var rX=function(e){XI(n,e);var t=JI(n);function n(r){KI(this,n);var o;return o=t.call(this,r),o[0].type="array",o}return n}(J),Tl=function(e){XI(n,e);var t=JI(n);function n(r){KI(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b;o=t.call(this,r),gt(bt(o),"showType",void 0),gt(bt(o),"range",void 0),gt(bt(o),"defaultValueType",void 0),gt(bt(o),"multiple",void 0),gt(bt(o),"rangeOptions",void 0),gt(bt(o),"defaultValue",void 0),gt(bt(o),"displayLevel",void 0),gt(bt(o),"showSubDept",void 0),gt(bt(o),"multistageFilling",void 0),gt(bt(o),"openMultistageFilling",void 0);var v;o.showType=(v=(i=r)===null||i===void 0?void 0:i.showType)!==null&&v!==void 0?v:"default";var g;o.multiple=(g=(u=r)===null||u===void 0?void 0:u.multiple)!==null&&g!==void 0?g:!1;var m;o.range=(m=(f=r)===null||f===void 0?void 0:f.range)!==null&&m!==void 0?m:"all";var O;o.defaultValueType=(O=(a=r)===null||a===void 0?void 0:a.defaultValueType)!==null&&O!==void 0?O:"none";var $;o.rangeOptions=($=(l=r)===null||l===void 0?void 0:l.rangeOptions)!==null&&$!==void 0?$:[];var T;o.defaultValue=(T=(s=r)===null||s===void 0?void 0:s.defaultValue)!==null&&T!==void 0?T:[];var R;o.displayLevel=(R=(p=r)===null||p===void 0?void 0:p.displayLevel)!==null&&R!==void 0?R:1;var S;o.showSubDept=(S=(_=r)===null||_===void 0?void 0:_.showSubDept)!==null&&S!==void 0?S:!0;var I;o.caption=(I=(y=r)===null||y===void 0?void 0:y.caption)!==null&&I!==void 0?I:li.controlName;var E;o.placeholder=(E=(d=r)===null||d===void 0?void 0:d.placeholder)!==null&&E!==void 0?E:"\u8BF7\u9009\u62E9\u90E8\u95E8";var N;if(o.openMultistageFilling=(N=(h=r)===null||h===void 0?void 0:h.openMultistageFilling)!==null&&N!==void 0?N:!1,o.multistageFilling=[],Array.isArray((b=r)===null||b===void 0?void 0:b.multistageFilling)){var B;(B=r)===null||B===void 0||B.multistageFilling.map(function(A){var M;(M=o.multistageFilling)===null||M===void 0||M.push(new De(A))})}return o}return n}(V);gt(Tl,"RuntimeRules",rX);function QI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iX(e,t,n){return t&&ZI(e.prototype,t),n&&ZI(e,n),e}function Sl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function El(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?El=Reflect.get:El=function(o,i,u){var f=fX(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},El(e,t,n||e)}function Cr(e){return Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cr(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&&gb(e,t)}function cX(e,t){return t&&(lX(t)==="object"||typeof t=="function")?t:QI(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},gb(e,t)}function fX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Cr(e),e!==null););return e}function lX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sX(e){var t=aX();return function(){var r=Cr(e),o;if(t){var i=Cr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return cX(this,o)}}var li=function(e){uX(n,e);var t=sX(n);function n(r){oX(this,n);var o,i;return o=t.call(this,r),Sl(QI(o),"props",void 0),o.props=new Tl((i=r)===null||i===void 0?void 0:i.props),o}return iX(n,[{key:"toDataBindModel",value:function(o){var i=El(Cr(n.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.displayLevel,a=u.showSubDept;i.props.displayLevel=f,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),n}(z);Sl(li,"controlName","\u90E8\u95E8"),Sl(li,"controlFieldType",c.FieldTypes.DEPARTMENTS),Sl(li,"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 e3(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 t3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _X(e,t,n){return t&&t3(e.prototype,t),n&&t3(e,n),e}function n3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Il(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&&mb(e,t)}function vX(e,t){return t&&(dX(t)==="object"||typeof t=="function")?t:e3(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},mb(e,t)}function dX(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 r=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return vX(this,o)}}var r3=function(e){yX(n,e);var t=bX(n);function n(r){pX(this,n);var o,i;return o=t.call(this,r),n3(e3(o),"props",void 0),o.props=new Tl((i=r)===null||i===void 0?void 0:i.props),o}return _X(n,null,[{key:"controlType",get:function(){return"department"}}]),n}(G);n3(r3,"controlFieldType",c.FieldTypes.DEPARTMENTS);var o3={Designer:li,Runtime:r3,Property:Tl};function i3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bl(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&&Ob(e,t)}function wX(e,t){return t&&(PX(t)==="object"||typeof t=="function")?t:i3(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ob(e,t)}function PX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function RX(e){var t=$X();return function(){var r=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return wX(this,o)}}var wb=function(e){OX(n,e);var t=RX(n);function n(r){gX(this,n);var o,i,u,f;o=t.call(this,r),mX(i3(o),"defaultValue",void 0);var a;o.defaultValue=(a=(i=r)===null||i===void 0?void 0:i.defaultValue)!==null&&a!==void 0?a:"";var l;o.caption=(l=(u=r)===null||u===void 0?void 0:u.caption)!==null&&l!==void 0?l:ai.controlName;var s;return o.placeholder=(s=(f=r)===null||f===void 0?void 0:f.placeholder)!==null&&s!==void 0?s:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return n}(V);function u3(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 c3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function SX(e,t,n){return t&&c3(e.prototype,t),n&&c3(e,n),e}function Nl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ml(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&&Pb(e,t)}function IX(e,t){return t&&(BX(t)==="object"||typeof t=="function")?t:u3(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Pb(e,t)}function BX(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 MX(e){var t=NX();return function(){var r=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return IX(this,o)}}var ai=function(e){EX(n,e);var t=MX(n);function n(r){TX(this,n);var o,i;return o=t.call(this,r),Nl(u3(o),"props",void 0),o.props=new wb((i=r)===null||i===void 0?void 0:i.props),o}return SX(n,null,[{key:"controlName",get:function(){return"\u81EA\u52A8\u7F16\u53F7"}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),n}(z);Nl(ai,"controlEventKeys",["on_change"]),Nl(ai,"controlFieldType",c.FieldTypes.AUTO_NUMBER),Nl(ai,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 f3(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 l3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kX(e,t,n){return t&&l3(e.prototype,t),n&&l3(e,n),e}function a3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Al(e){return Al=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Al(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 LX(e,t){return t&&(jX(t)==="object"||typeof t=="function")?t:f3(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},$b(e,t)}function jX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CX(e){var t=FX();return function(){var r=Al(e),o;if(t){var i=Al(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return LX(this,o)}}var s3=function(e){DX(n,e);var t=CX(n);function n(r){AX(this,n);var o,i;return o=t.call(this,r),a3(f3(o),"props",void 0),o.props=new wb((i=r)===null||i===void 0?void 0:i.props),o}return kX(n,null,[{key:"controlType",get:function(){return"auto-number"}}]),n}(G);a3(s3,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var p3={Designer:ai,Runtime:s3,Property:wb};function wn(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 nn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kl(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&&Sb(e,t)}function xX(e,t){return t&&(VX(t)==="object"||typeof t=="function")?t:wn(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Sb(e,t)}function VX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eb(e){var t=zX();return function(){var r=kl(e),o;if(t){var i=kl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return xX(this,o)}}var GX=function(e){Tb(n,e);var t=Eb(n);function n(r){Rb(this,n);var o;return o=t.call(this,r),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 n}(Oe),YX=function(e){Tb(n,e);var t=Eb(n);function n(r){Rb(this,n);var o;return o=t.call(this,r),o[0].type="object",o.push({type:"object",message:w.getMessage("isNotObject"),fields:{result:[{type:"number",message:w.getMessage("isNotNumber")}],unit:{type:"string",message:w.getMessage("isNotString")}}}),o}return n}(J),si=function(e){Tb(n,e);var t=Eb(n);function n(r){Rb(this,n);var o,i,u,f,a,l,s,p,_,y;o=t.call(this,r),nn(wn(o),"precision",void 0),nn(wn(o),"micrometer",void 0),nn(wn(o),"showUpperCase",void 0),nn(wn(o),"scriptSrc",void 0),nn(wn(o),"scriptEcho",void 0),nn(wn(o),"dataBind",void 0),nn(wn(o),"defaultValue",void 0);var d;o.precision=(d=(i=r)===null||i===void 0?void 0:i.precision)!==null&&d!==void 0?d:0;var h;o.micrometer=(h=(u=r)===null||u===void 0?void 0:u.micrometer)!==null&&h!==void 0?h:!1;var b;o.showUpperCase=(b=(f=r)===null||f===void 0?void 0:f.showUpperCase)!==null&&b!==void 0?b:!1,o.dataBind=new kP((a=r)===null||a===void 0?void 0:a.dataBind),o.defaultValue=new DP((l=r)===null||l===void 0?void 0:l.defaultValue);var v;o.caption=(v=(s=r)===null||s===void 0?void 0:s.caption)!==null&&v!==void 0?v:pi.controlName;var g;o.placeholder=(g=(p=r)===null||p===void 0?void 0:p.placeholder)!==null&&g!==void 0?g:"\u8BF7\u8F93\u5165";var m;o.scriptEcho=(m=(_=r)===null||_===void 0?void 0:_.scriptEcho)!==null&&m!==void 0?m:[];var O;return o.scriptSrc=(O=(y=r)===null||y===void 0?void 0:y.scriptSrc)!==null&&O!==void 0?O:"",o}return n}(V);nn(si,"Rules",GX),nn(si,"RuntimeRules",YX);function _3(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 y3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qX(e,t,n){return t&&y3(e.prototype,t),n&&y3(e,n),e}function Dl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ll(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ll=Reflect.get:Ll=function(o,i,u){var f=KX(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Ll(e,t,n||e)}function xr(e){return xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xr(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&&Ib(e,t)}function WX(e,t){return t&&(XX(t)==="object"||typeof t=="function")?t:_3(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ib(e,t)}function KX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=xr(e),e!==null););return e}function XX(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 QX(e){var t=JX();return function(){var r=xr(e),o;if(t){var i=xr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return WX(this,o)}}var pi=function(e){UX(n,e);var t=QX(n);function n(r){HX(this,n);var o,i;return o=t.call(this,r),Dl(_3(o),"props",void 0),o.props=new si((i=r)===null||i===void 0?void 0:i.props),o}return qX(n,[{key:"toDataBindModel",value:function(o){var i=Ll(xr(n.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.precision,a=u.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return"\u8BA1\u7B97\u516C\u5F0F"}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),n}(z);Dl(pi,"controlEventKeys",["on_change"]),Dl(pi,"controlFieldType",c.FieldTypes.CALC),Dl(pi,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,c.COMMON_SETTING_TYPE.MICROMETER,c.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function v3(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 d3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eJ(e,t,n){return t&&d3(e.prototype,t),n&&d3(e,n),e}function h3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jl(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&&Bb(e,t)}function nJ(e,t){return t&&(rJ(t)==="object"||typeof t=="function")?t:v3(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Bb(e,t)}function rJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iJ(e){var t=oJ();return function(){var r=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return nJ(this,o)}}var b3=function(e){tJ(n,e);var t=iJ(n);function n(r){ZX(this,n);var o,i;return o=t.call(this,r),h3(v3(o),"props",void 0),o.props=new si((i=r)===null||i===void 0?void 0:i.props),o}return eJ(n,null,[{key:"controlType",get:function(){return"calc"}}]),n}(G);h3(b3,"controlFieldType",c.FieldTypes.CALC);var g3={Designer:pi,Runtime:b3,Property:si};function Vr(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 zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fl(e){return Fl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fl(e)}function O3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 uJ(e,t){return t&&(cJ(t)==="object"||typeof t=="function")?t:Vr(e)}function Nb(e,t){return Nb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Nb(e,t)}function cJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function w3(e){var t=fJ();return function(){var r=Fl(e),o;if(t){var i=Fl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return uJ(this,o)}}var lJ=function(e){O3(n,e);var t=w3(n);function n(r){m3(this,n);var o;return o=t.call(this,r),o[0].type="array",o.push({validator:function(u,f){if(r.required){var a=f.every(function(l){return!l});return a?Promise.reject(w.getMessage("runtimeRequired",{caption:r.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return n}(J),Cl=function(e){O3(n,e);var t=w3(n);function n(r){m3(this,n);var o,i,u,f,a,l,s;o=t.call(this,r),zr(Vr(o),"rangeMin",void 0),zr(Vr(o),"rangeMax",void 0),zr(Vr(o),"placeholderStart",void 0),zr(Vr(o),"placeholderEnd",void 0),zr(Vr(o),"defaultValue",void 0);var p;o.defaultValue=(p=(i=r)===null||i===void 0?void 0:i.defaultValue)!==null&&p!==void 0?p:["",""];var _;o.rangeMin=(_=(u=r)===null||u===void 0?void 0:u.rangeMin)!==null&&_!==void 0?_:"";var y;o.rangeMax=(y=(f=r)===null||f===void 0?void 0:f.rangeMax)!==null&&y!==void 0?y:"";var d;o.placeholderStart=(d=(a=r)===null||a===void 0?void 0:a.placeholderStart)!==null&&d!==void 0?d:"\u6700\u5C0F\u503C";var h;o.placeholderEnd=(h=(l=r)===null||l===void 0?void 0:l.placeholderEnd)!==null&&h!==void 0?h:"\u6700\u5927\u503C";var b;return o.caption=(b=(s=r)===null||s===void 0?void 0:s.caption)!==null&&b!==void 0?b:Vl.controlName,o}return n}(V);zr(Cl,"RuntimeRules",lJ);function P3(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 $3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sJ(e,t,n){return t&&$3(e.prototype,t),n&&$3(e,n),e}function Mb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xl(e)}function pJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ab(e,t)}function _J(e,t){return t&&(yJ(t)==="object"||typeof t=="function")?t:P3(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ab(e,t)}function yJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dJ(e){var t=vJ();return function(){var r=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _J(this,o)}}var Vl=function(e){pJ(n,e);var t=dJ(n);function n(r){aJ(this,n);var o,i;return o=t.call(this,r),Mb(P3(o),"props",void 0),o.props=new Cl((i=r)===null||i===void 0?void 0:i.props),o}return sJ(n,null,[{key:"controlName",get:function(){return"\u6570\u5B57\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),n}(z);Mb(Vl,"controlFieldType",c.FieldTypes.DECIMAL_RANGE),Mb(Vl,"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 R3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bJ(e,t,n){return t&&T3(e.prototype,t),n&&T3(e,n),e}function S3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zl(e)}function gJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function mJ(e,t){return t&&(OJ(t)==="object"||typeof t=="function")?t:R3(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},kb(e,t)}function OJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PJ(e){var t=wJ();return function(){var r=zl(e),o;if(t){var i=zl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mJ(this,o)}}var E3=function(e){gJ(n,e);var t=PJ(n);function n(r){hJ(this,n);var o,i;return o=t.call(this,r),S3(R3(o),"props",void 0),o.props=new Cl((i=r)===null||i===void 0?void 0:i.props),o}return bJ(n,null,[{key:"controlType",get:function(){return"search-number-range"}}]),n}(G);S3(E3,"controlFieldType",c.FieldTypes.DECIMAL_RANGE);var I3={Designer:Vl,Runtime:E3,Property:Cl};function mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gl(e)}function N3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $J(e,t){return t&&(RJ(t)==="object"||typeof t=="function")?t:mt(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Db(e,t)}function RJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function M3(e){var t=TJ();return function(){var r=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return $J(this,o)}}var SJ=function(e){N3(n,e);var t=M3(n);function n(r){B3(this,n);var o;return o=t.call(this,r),o[0].type="array",o.push({type:"array",fields:{0:{type:"string",required:r.required,message:o[0].message},1:{type:"string",required:r.required,message:o[0].message}}}),o}return n}(J),Yl=function(e){N3(n,e);var t=M3(n);function n(r){B3(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b;o=t.call(this,r),Ot(mt(o),"rangeMin",void 0),Ot(mt(o),"rangeMax",void 0),Ot(mt(o),"placeholderStart",void 0),Ot(mt(o),"placeholderEnd",void 0),Ot(mt(o),"dateType",void 0),Ot(mt(o),"dateFormat",void 0),Ot(mt(o),"commonTimeSetting",void 0),Ot(mt(o),"setValueType",void 0),Ot(mt(o),"defaultValue",void 0),Ot(mt(o),"limitDateList",void 0);var v;o.defaultValue=(v=(i=r)===null||i===void 0?void 0:i.defaultValue)!==null&&v!==void 0?v:["",""];var g;o.dateType=(g=(u=r)===null||u===void 0?void 0:u.dateType)!==null&&g!==void 0?g:c.DateType.DATE;var m;o.dateFormat=(m=(f=r)===null||f===void 0?void 0:f.dateFormat)!==null&&m!==void 0?m:"";var O;o.commonTimeSetting=(O=(a=r)===null||a===void 0?void 0:a.commonTimeSetting)!==null&&O!==void 0?O:[];var $;o.setValueType=($=(l=r)===null||l===void 0?void 0:l.setValueType)!==null&&$!==void 0?$:"custom";var T;o.rangeMin=(T=(s=r)===null||s===void 0?void 0:s.rangeMin)!==null&&T!==void 0?T:"";var R;o.rangeMax=(R=(p=r)===null||p===void 0?void 0:p.rangeMax)!==null&&R!==void 0?R:"";var S;o.placeholderStart=(S=(_=r)===null||_===void 0?void 0:_.placeholderStart)!==null&&S!==void 0?S:"\u5F00\u59CB\u65E5\u671F";var I;o.placeholderEnd=(I=(y=r)===null||y===void 0?void 0:y.placeholderEnd)!==null&&I!==void 0?I:"\u7ED3\u675F\u65E5\u671F";var E;o.caption=(E=(d=r)===null||d===void 0?void 0:d.caption)!==null&&E!==void 0?E:ql.controlName;var N;return o.limitDateList=(N=(b=r)===null||b===void 0||(h=b.limitDateList)===null||h===void 0?void 0:h.map(function(B){return new Cu(B)}))!==null&&N!==void 0?N:[],o}return n}(V);Ot(Yl,"RuntimeRules",SJ);function A3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function IJ(e,t,n){return t&&k3(e.prototype,t),n&&k3(e,n),e}function Lb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hl(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 NJ(e,t){return t&&(MJ(t)==="object"||typeof t=="function")?t:A3(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},jb(e,t)}function MJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kJ(e){var t=AJ();return function(){var r=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return NJ(this,o)}}var ql=function(e){BJ(n,e);var t=kJ(n);function n(r){EJ(this,n);var o,i;return o=t.call(this,r),Lb(A3(o),"props",void 0),o.props=new Yl((i=r)===null||i===void 0?void 0:i.props),o}return IJ(n,null,[{key:"controlName",get:function(){return"\u65E5\u671F\u533A\u95F4"}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),n}(z);Lb(ql,"controlFieldType",c.FieldTypes.ARRAY),Lb(ql,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 D3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function LJ(e,t,n){return t&&L3(e.prototype,t),n&&L3(e,n),e}function j3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ul(e){return Ul=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ul(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&&Fb(e,t)}function FJ(e,t){return t&&(CJ(t)==="object"||typeof t=="function")?t:D3(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Fb(e,t)}function CJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VJ(e){var t=xJ();return function(){var r=Ul(e),o;if(t){var i=Ul(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return FJ(this,o)}}var F3=function(e){jJ(n,e);var t=VJ(n);function n(r){DJ(this,n);var o,i;return o=t.call(this,r),j3(D3(o),"props",void 0),o.props=new Yl((i=r)===null||i===void 0?void 0:i.props),o}return LJ(n,null,[{key:"controlType",get:function(){return"search-date-range"}}]),n}(G);j3(F3,"controlFieldType",c.FieldTypes.ARRAY);var C3={Designer:ql,Runtime:F3,Property:Yl};function _i(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wl(e)}function xb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vb(e,t)}function zJ(e,t){return t&&(GJ(t)==="object"||typeof t=="function")?t:_i(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Vb(e,t)}function GJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zb(e){var t=YJ();return function(){var r=Wl(e),o;if(t){var i=Wl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zJ(this,o)}}var HJ=function(e){xb(n,e);var t=zb(n);function n(r){Cb(this,n);var o;return o=t.call(this,r),o.dataBind={type:"any"},o}return n}(Oe),qJ=function(e){xb(n,e);var t=zb(n);function n(r){Cb(this,n);var o;return o=t.call(this,r),o[0].type="any",o}return n}(J),yi=function(e){xb(n,e);var t=zb(n);function n(r){Cb(this,n);var o,i,u,f,a,l;o=t.call(this,r),Gr(_i(o),"controlExportName",void 0),Gr(_i(o),"permissions",void 0),Gr(_i(o),"defaultValue",void 0),Gr(_i(o),"isInlineEdit",void 0);var s;o.caption=(s=(i=r)===null||i===void 0?void 0:i.caption)!==null&&s!==void 0?s:vi.controlName;var p;o.defaultValue=(p=(u=r)===null||u===void 0?void 0:u.defaultValue)!==null&&p!==void 0?p:void 0;var _;o.controlExportName=(_=(f=r)===null||f===void 0?void 0:f.controlExportName)!==null&&_!==void 0?_:"";var y;o.permissions=(y=(a=r)===null||a===void 0?void 0:a.permissions)!==null&&y!==void 0?y:[];var d;return o.isInlineEdit=(d=(l=r)===null||l===void 0?void 0:l.isInlineEdit)!==null&&d!==void 0?d:!1,o}return n}(V);Gr(yi,"Rules",HJ),Gr(yi,"RuntimeRules",qJ);function x3(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 V3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function WJ(e,t,n){return t&&V3(e.prototype,t),n&&V3(e,n),e}function Kl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xl(e){return Xl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xl(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&&Gb(e,t)}function XJ(e,t){return t&&(JJ(t)==="object"||typeof t=="function")?t:x3(e)}function Gb(e,t){return Gb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Gb(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 r=Xl(e),o;if(t){var i=Xl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return XJ(this,o)}}var vi=function(e){KJ(n,e);var t=ZJ(n);function n(r){UJ(this,n);var o,i;return o=t.call(this,r),Kl(x3(o),"props",void 0),o.props=new yi((i=r)===null||i===void 0?void 0:i.props),o}return WJ(n,null,[{key:"controlName",get:function(){return"Vue\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),n}(z);Kl(vi,"controlFieldType",c.FieldTypes.ANY),Kl(vi,"controlEventKeys",[]),Kl(vi,"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 z3(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 G3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tQ(e,t,n){return t&&G3(e.prototype,t),n&&G3(e,n),e}function Y3(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jl(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&&Yb(e,t)}function rQ(e,t){return t&&(oQ(t)==="object"||typeof t=="function")?t:z3(e)}function Yb(e,t){return Yb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Yb(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 r=Jl(e),o;if(t){var i=Jl(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return rQ(this,o)}}var H3=function(e){nQ(n,e);var t=uQ(n);function n(r){eQ(this,n);var o,i;return o=t.call(this,r),Y3(z3(o),"props",void 0),o.props=new yi((i=r)===null||i===void 0?void 0:i.props),o}return tQ(n,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),n}(G);Y3(H3,"controlFieldType",c.FieldTypes.ANY);var q3={Designer:vi,Runtime:H3,Property:yi};function Ue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ql(e)}function W3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cQ(e,t){return t&&(fQ(t)==="object"||typeof t=="function")?t:Ue(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Hb(e,t)}function fQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K3(e){var t=lQ();return function(){var r=Ql(e),o;if(t){var i=Ql(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return cQ(this,o)}}var aQ=function(e){W3(n,e);var t=K3(n);function n(r){U3(this,n);var o;return o=t.call(this,r),We(Ue(o),"listPageBind",[{type:"object",message:w.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:w.getMessage("isNotString")},{type:"string",required:!0,message:w.getMessage("pleaseEnterList")}]}}]),o}return n}(Cn),Zl=function(e){W3(n,e);var t=K3(n);function n(r){U3(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b,v,g;o=t.call(this,r),We(Ue(o),"options",void 0),We(Ue(o),"optionConfig",void 0),We(Ue(o),"defaultValue",void 0),We(Ue(o),"listPageBind",void 0),We(Ue(o),"datasourceBind",void 0),We(Ue(o),"multistageFilling",void 0),We(Ue(o),"viewFormModelType",void 0),We(Ue(o),"canViewForm",void 0),We(Ue(o),"formBind",void 0),We(Ue(o),"openMultistageFilling",void 0),We(Ue(o),"showSelectedDetail",void 0),We(Ue(o),"selectedContentConfig",void 0);var m;o.options=It((m=(i=r)===null||i===void 0?void 0:i.options)!==null&&m!==void 0?m:[]);var O;o.optionConfig=(O=(u=r)===null||u===void 0?void 0:u.optionConfig)!==null&&O!==void 0?O:"datasource",o.listPageBind=new Wi((f=r)===null||f===void 0?void 0:f.listPageBind),o.datasourceBind=new ve((a=r)===null||a===void 0?void 0:a.datasourceBind);var $;o.caption=($=(l=r)===null||l===void 0?void 0:l.caption)!==null&&$!==void 0?$:di.controlName;var T;o.placeholder=(T=(s=r)===null||s===void 0?void 0:s.placeholder)!==null&&T!==void 0?T:"\u8BF7\u9009\u62E9";var R;o.defaultValue=(R=(p=r)===null||p===void 0?void 0:p.defaultValue)!==null&&R!==void 0?R:"";var S;o.openMultistageFilling=(S=(_=r)===null||_===void 0?void 0:_.openMultistageFilling)!==null&&S!==void 0?S:!1;var I;if(o.showSelectedDetail=(I=(y=r)===null||y===void 0?void 0:y.showSelectedDetail)!==null&&I!==void 0?I:!1,o.selectedContentConfig=new Ji((d=r)===null||d===void 0?void 0:d.selectedContentConfig),o.multistageFilling=[],Array.isArray((h=r)===null||h===void 0?void 0:h.multistageFilling)){var E;(E=r)===null||E===void 0||E.multistageFilling.map(function(A){var M;(M=o.multistageFilling)===null||M===void 0||M.push(new De(A))})}var N;o.canViewForm=(N=(b=r)===null||b===void 0?void 0:b.canViewForm)!==null&&N!==void 0?N:!1;var B;return o.viewFormModelType=(B=(v=r)===null||v===void 0?void 0:v.viewFormModelType)!==null&&B!==void 0?B:"window",o.formBind=new jn((g=r)===null||g===void 0?void 0:g.formBind),o}return n}(V);We(Zl,"Rules",aQ);function X3(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 J3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pQ(e,t,n){return t&&J3(e.prototype,t),n&&J3(e,n),e}function ea(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ta(e){return ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ta(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&&qb(e,t)}function yQ(e,t){return t&&(vQ(t)==="object"||typeof t=="function")?t:X3(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},qb(e,t)}function vQ(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 hQ(e){var t=dQ();return function(){var r=ta(e),o;if(t){var i=ta(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return yQ(this,o)}}var di=function(e){_Q(n,e);var t=hQ(n);function n(r){sQ(this,n);var o,i;return o=t.call(this,r),ea(X3(o),"props",void 0),o.props=new Zl((i=r)===null||i===void 0?void 0:i.props),o}return pQ(n,null,[{key:"controlName",get:function(){return"\u5173\u8054\u5355\u9009"}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),n}(z);ea(di,"controlFieldType",c.FieldTypes.VARCHAR),ea(di,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.CAN_VIEW_FORM,c.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}]),ea(di,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function Q3(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 Z3(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gQ(e,t,n){return t&&Z3(e.prototype,t),n&&Z3(e,n),e}function e1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},na(e)}function mQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ub(e,t)}function OQ(e,t){return t&&(wQ(t)==="object"||typeof t=="function")?t:Q3(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ub(e,t)}function wQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $Q(e){var t=PQ();return function(){var r=na(e),o;if(t){var i=na(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return OQ(this,o)}}var t1=function(e){mQ(n,e);var t=$Q(n);function n(r){bQ(this,n);var o,i;return o=t.call(this,r),e1(Q3(o),"props",void 0),o.props=new Zl((i=r)===null||i===void 0?void 0:i.props),o}return gQ(n,null,[{key:"controlType",get:function(){return"select-relation"}}]),n}(G);e1(t1,"controlFieldType",c.FieldTypes.VARCHAR);var n1={Designer:di,Runtime:t1,Property:Zl};function RQ(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 ra(e){return ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ra(e)}function SQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wb(e,t)}function EQ(e,t){return t&&(IQ(t)==="object"||typeof t=="function")?t:RQ(e)}function Wb(e,t){return Wb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Wb(e,t)}function IQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NQ(e){var t=BQ();return function(){var r=ra(e),o;if(t){var i=ra(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return EQ(this,o)}}var Kb=function(e){SQ(n,e);var t=NQ(n);function n(r){return TQ(this,n),t.call(this,r)}return n}(Br);function r1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function AQ(e,t,n){return t&&o1(e.prototype,t),n&&o1(e,n),e}function i1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oa(e){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oa(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&&Xb(e,t)}function DQ(e,t){return t&&(LQ(t)==="object"||typeof t=="function")?t:r1(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Xb(e,t)}function LQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FQ(e){var t=jQ();return function(){var r=oa(e),o;if(t){var i=oa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return DQ(this,o)}}var u1=function(e){kQ(n,e);var t=FQ(n);function n(r){MQ(this,n);var o,i;return o=t.call(this,r),i1(r1(o),"props",void 0),o.props=new Kb((i=r)===null||i===void 0?void 0:i.props),o}return AQ(n,null,[{key:"controlName",get:function(){return"\u5355\u884C\u6587\u672C"}},{key:"controlType",get:function(){return"search-input"}}]),n}(Nr);i1(u1,"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 c1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xQ(e,t,n){return t&&f1(e.prototype,t),n&&f1(e,n),e}function l1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ia(e){return ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ia(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&&Jb(e,t)}function zQ(e,t){return t&&(GQ(t)==="object"||typeof t=="function")?t:c1(e)}function Jb(e,t){return Jb=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Jb(e,t)}function GQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HQ(e){var t=YQ();return function(){var r=ia(e),o;if(t){var i=ia(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zQ(this,o)}}var a1=function(e){VQ(n,e);var t=HQ(n);function n(r){CQ(this,n);var o,i;return o=t.call(this,r),l1(c1(o),"props",void 0),o.props=new Kb((i=r)===null||i===void 0?void 0:i.props),o}return xQ(n,null,[{key:"controlType",get:function(){return"search-input"}}]),n}(G);l1(a1,"controlFieldType",c.FieldTypes.VARCHAR);var s1={Designer:u1,Runtime:a1,Property:Kb};function fe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ua(e){return ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ua(e)}function Zb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eg(e,t)}function qQ(e,t){return t&&(UQ(t)==="object"||typeof t=="function")?t:fe(e)}function eg(e,t){return eg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},eg(e,t)}function UQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tg(e){var t=WQ();return function(){var r=ua(e),o;if(t){var i=ua(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return qQ(this,o)}}var KQ=function(e){Zb(n,e);var t=tg(n);function n(r){Qb(this,n);var o;return o=t.call(this,r),le(fe(o),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),Eo.call(fe(o),r,Pn.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:w.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:w.getMessage("rootNodeIsRequired")}}}]),o}return n}(Oe),XQ=function(e){Zb(n,e);var t=tg(n);function n(r){Qb(this,n);var o;return o=t.call(this,r),o[0].type="array",o}return n}(J),hi=function(e){Zb(n,e);var t=tg(n);function n(r){Qb(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b,v,g,m,O,$,T,R;o=t.call(this,r),le(fe(o),"placeholder",void 0),le(fe(o),"multiple",void 0),le(fe(o),"canSearch",void 0),le(fe(o),"levelType",void 0),le(fe(o),"optionalLevel",void 0),le(fe(o),"containsSubNode",void 0),le(fe(o),"defaultDisplay",void 0),le(fe(o),"isShowIncludeSub",void 0),le(fe(o),"isDefaultCheckSub",void 0),le(fe(o),"isShowFilterItem",void 0),le(fe(o),"defaultCollapse",void 0),le(fe(o),"defaultCollapseLevel",void 0),le(fe(o),"optionConfig","datasource"),le(fe(o),"datasourceBind",void 0),le(fe(o),"filterItemDatasourceBind",void 0),le(fe(o),"multistageFilling",void 0),le(fe(o),"defaultValue",void 0),le(fe(o),"openMultistageFilling",void 0);var S;o.caption=(S=(i=r)===null||i===void 0?void 0:i.caption)!==null&&S!==void 0?S:Pn.controlName;var I;o.placeholder=(I=(u=r)===null||u===void 0?void 0:u.placeholder)!==null&&I!==void 0?I:"\u8BF7\u9009\u62E9";var E;o.multiple=(E=(f=r)===null||f===void 0?void 0:f.multiple)!==null&&E!==void 0?E:!1;var N;o.canSearch=(N=(a=r)===null||a===void 0?void 0:a.canSearch)!==null&&N!==void 0?N:!0;var B;o.levelType=(B=(l=r)===null||l===void 0?void 0:l.levelType)!==null&&B!==void 0?B:"all";var A;o.optionalLevel=(A=(s=r)===null||s===void 0?void 0:s.optionalLevel)!==null&&A!==void 0?A:1;var M;o.containsSubNode=(M=(p=r)===null||p===void 0?void 0:p.containsSubNode)!==null&&M!==void 0?M:!1;var j;o.isShowFilterItem=(j=(_=r)===null||_===void 0?void 0:_.isShowFilterItem)!==null&&j!==void 0?j:!1;var D;o.isShowIncludeSub=(D=(y=r)===null||y===void 0?void 0:y.isShowIncludeSub)!==null&&D!==void 0?D:!1;var Y;o.isDefaultCheckSub=(Y=(d=r)===null||d===void 0?void 0:d.isDefaultCheckSub)!==null&&Y!==void 0?Y:!1;var U;o.defaultCollapse=(U=(h=r)===null||h===void 0?void 0:h.defaultCollapse)!==null&&U!==void 0?U:"all";var K;o.defaultCollapseLevel=(K=(b=r)===null||b===void 0?void 0:b.defaultCollapseLevel)!==null&&K!==void 0?K:1;var ie;o.datasourceBind=new q_((ie=(v=r)===null||v===void 0?void 0:v.datasourceBind)!==null&&ie!==void 0?ie:{attributes:Pn.controlCustomAttributes});var tt;o.filterItemDatasourceBind=new q_((tt=(g=r)===null||g===void 0?void 0:g.filterItemDatasourceBind)!==null&&tt!==void 0?tt:{attributes:Pn.controlCustomAttributes});var Ve;o.openMultistageFilling=(Ve=(m=r)===null||m===void 0?void 0:m.openMultistageFilling)!==null&&Ve!==void 0?Ve:!1;var Tt;o.defaultDisplay=(Tt=(O=r)===null||O===void 0?void 0:O.defaultDisplay)!==null&&Tt!==void 0?Tt:!1;var St;o.multistageFilling=(St=(T=r)===null||T===void 0||($=T.multistageFilling)===null||$===void 0?void 0:$.map(function(on){return new De(on)}))!==null&&St!==void 0?St:[];var Et;return o.defaultValue=(Et=(R=r)===null||R===void 0?void 0:R.defaultValue)!==null&&Et!==void 0?Et:[],o}return n}(V);le(hi,"Rules",KQ),le(hi,"RuntimeRules",XQ);function p1(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 _1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function QQ(e,t,n){return t&&_1(e.prototype,t),n&&_1(e,n),e}function ca(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fa(e){return fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fa(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&&ng(e,t)}function eZ(e,t){return t&&(tZ(t)==="object"||typeof t=="function")?t:p1(e)}function ng(e,t){return ng=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ng(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 r=fa(e),o;if(t){var i=fa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return eZ(this,o)}}var Pn=function(e){ZQ(n,e);var t=rZ(n);function n(r){JQ(this,n);var o,i;return o=t.call(this,r),ca(p1(o),"props",void 0),o.props=new hi((i=r)===null||i===void 0?void 0:i.props),o}return QQ(n,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}]}}]),n}(z);ca(Pn,"controlEventKeys",["on_change","on_click"]),ca(Pn,"controlFieldType",c.FieldTypes.ARRAY),ca(Pn,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.MULTIPLE,c.COMMON_SETTING_TYPE.CAN_SEARCH,c.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,c.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}]);function y1(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 v1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function iZ(e,t,n){return t&&v1(e.prototype,t),n&&v1(e,n),e}function d1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function la(e){return la=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},la(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&&rg(e,t)}function cZ(e,t){return t&&(fZ(t)==="object"||typeof t=="function")?t:y1(e)}function rg(e,t){return rg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},rg(e,t)}function fZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aZ(e){var t=lZ();return function(){var r=la(e),o;if(t){var i=la(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return cZ(this,o)}}var h1=function(e){uZ(n,e);var t=aZ(n);function n(r){oZ(this,n);var o,i;return o=t.call(this,r),d1(y1(o),"props",void 0),o.props=new hi((i=r)===null||i===void 0?void 0:i.props),o}return iZ(n,null,[{key:"controlType",get:function(){return"tree"}}]),n}(G);d1(h1,"controlFieldType",c.FieldTypes.ARRAY);var b1={Designer:Pn,Runtime:h1,Property:hi};function $e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function og(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aa(e){return aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},aa(e)}function ig(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ug(e,t)}function sZ(e,t){return t&&(pZ(t)==="object"||typeof t=="function")?t:$e(e)}function ug(e,t){return ug=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ug(e,t)}function pZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _Z(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cg(e){var t=_Z();return function(){var r=aa(e),o;if(t){var i=aa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return sZ(this,o)}}var yZ=function(e){ig(n,e);var t=cg(n);function n(r){og(this,n);var o;return o=t.call(this,r),Re($e(o),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),Re($e(o),"externalScope",{type:"any"}),Eo.call($e(o),r,Yr.controlCustomAttributes),r.externalType===c.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:w.getMessage("pleaseAssignExternal")}),o}return n}(Oe),vZ=function(e){ig(n,e);var t=cg(n);function n(r){og(this,n);var o;return o=t.call(this,r),o[0].type="array",o}return n}(J),bi=function(e){ig(n,e);var t=cg(n);function n(r){og(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b,v,g,m;o=t.call(this,r),Re($e(o),"showType",void 0),Re($e(o),"range",void 0),Re($e(o),"rangeOptions",void 0),Re($e(o),"multiple",void 0),Re($e(o),"defaultValueType",void 0),Re($e(o),"defaultValue",void 0),Re($e(o),"multistageFilling",void 0),Re($e(o),"datasourceBind",void 0),Re($e(o),"datasourceType",void 0),Re($e(o),"insideType",void 0),Re($e(o),"externalType",void 0),Re($e(o),"externalScope",void 0),Re($e(o),"openMultistageFilling",void 0);var O;o.showType=(O=(i=r)===null||i===void 0?void 0:i.showType)!==null&&O!==void 0?O:"default";var $;o.range=($=(u=r)===null||u===void 0?void 0:u.range)!==null&&$!==void 0?$:"all";var T;o.rangeOptions=(T=(f=r)===null||f===void 0?void 0:f.rangeOptions)!==null&&T!==void 0?T:[];var R;o.multiple=(R=(a=r)===null||a===void 0?void 0:a.multiple)!==null&&R!==void 0?R:!1;var S;o.defaultValueType=(S=(l=r)===null||l===void 0?void 0:l.defaultValueType)!==null&&S!==void 0?S:"none";var I;o.defaultValue=(I=(s=r)===null||s===void 0?void 0:s.defaultValue)!==null&&I!==void 0?I:[];var E;o.caption=(E=(p=r)===null||p===void 0?void 0:p.caption)!==null&&E!==void 0?E:Yr.controlName;var N;o.placeholder=(N=(_=r)===null||_===void 0?void 0:_.placeholder)!==null&&N!==void 0?N:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var B;o.datasourceBind=new Po((B=(y=r)===null||y===void 0?void 0:y.datasourceBind)!==null&&B!==void 0?B:{attributes:Yr.controlCustomAttributes});var A;o.datasourceType=(A=(d=r)===null||d===void 0?void 0:d.datasourceType)!==null&&A!==void 0?A:c.OrganizeType.INTERNAL;var M;o.insideType=(M=(h=r)===null||h===void 0?void 0:h.insideType)!==null&&M!==void 0?M:c.InternalType.ADMIN;var j;o.externalType=(j=(b=r)===null||b===void 0?void 0:b.externalType)!==null&&j!==void 0?j:c.AssignType.ALL;var D;o.externalScope=(D=(v=r)===null||v===void 0?void 0:v.externalScope)!==null&&D!==void 0?D:[];var Y;if(o.openMultistageFilling=(Y=(g=r)===null||g===void 0?void 0:g.openMultistageFilling)!==null&&Y!==void 0?Y:!1,o.multistageFilling=[],Array.isArray((m=r)===null||m===void 0?void 0:m.multistageFilling)){var U;(U=r)===null||U===void 0||U.multistageFilling.map(function(K){var ie;(ie=o.multistageFilling)===null||ie===void 0||ie.push(new De(K))})}return o}return n}(V);Re(bi,"Rules",yZ),Re(bi,"RuntimeRules",vZ);function g1(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 m1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function hZ(e,t,n){return t&&m1(e.prototype,t),n&&m1(e,n),e}function fg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sa(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&&lg(e,t)}function gZ(e,t){return t&&(mZ(t)==="object"||typeof t=="function")?t:g1(e)}function lg(e,t){return lg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},lg(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 r=sa(e),o;if(t){var i=sa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return gZ(this,o)}}var Yr=function(e){bZ(n,e);var t=wZ(n);function n(r){dZ(this,n);var o,i;return o=t.call(this,r),fg(g1(o),"props",void 0),o.props=new bi((i=r)===null||i===void 0?void 0:i.props),o}return hZ(n,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}]}}]),n}(z);fg(Yr,"controlFieldType",c.FieldTypes.EMPLOYEES),fg(Yr,"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 O1(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 w1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $Z(e,t,n){return t&&w1(e.prototype,t),n&&w1(e,n),e}function P1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pa(e){return pa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pa(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&&ag(e,t)}function TZ(e,t){return t&&(SZ(t)==="object"||typeof t=="function")?t:O1(e)}function ag(e,t){return ag=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ag(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 r=pa(e),o;if(t){var i=pa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return TZ(this,o)}}var $1=function(e){RZ(n,e);var t=IZ(n);function n(r){PZ(this,n);var o,i;return o=t.call(this,r),P1(O1(o),"props",void 0),o.props=new bi((i=r)===null||i===void 0?void 0:i.props),o}return $Z(n,null,[{key:"controlType",get:function(){return"employee2"}}]),n}(G);P1($1,"controlFieldType",c.FieldTypes.EMPLOYEES);var R1={Designer:Yr,Runtime:$1,Property:bi};function Lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_a(e)}function S1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sg(e,t)}function BZ(e,t){return t&&(NZ(t)==="object"||typeof t=="function")?t:Lt(e)}function sg(e,t){return sg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},sg(e,t)}function NZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E1(e){var t=MZ();return function(){var r=_a(e),o;if(t){var i=_a(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return BZ(this,o)}}var AZ=function(e){S1(n,e);var t=E1(n);function n(r){T1(this,n);var o;return o=t.call(this,r),jt(Lt(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:r.signatureConfig.undersignedList.reduce(function(i,u,f){return i[f]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(l,s,p){if(u.type==="public"&&An(s.value)&&s.value.length===0){p("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}p()}},company:{type:"object",required:!0,validator:function(l,s,p){if(u.type==="public"&&u.signatureType.includes("company")&&An(s.value)&&s.value.length===0){p("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}p()}}}},i},{})}}},o}return n}(Oe),ya=function(e){S1(n,e);var t=E1(n);function n(r){T1(this,n);var o,i,u,f,a,l,s,p;o=t.call(this,r),jt(Lt(o),"buttonType",void 0),jt(Lt(o),"content",void 0),jt(Lt(o),"showType",void 0),jt(Lt(o),"color",void 0),jt(Lt(o),"icon",void 0),jt(Lt(o),"command",""),jt(Lt(o),"isLoading",!1),jt(Lt(o),"signatureConfig",void 0);var _;o.caption=(_=(i=r)===null||i===void 0?void 0:i.caption)!==null&&_!==void 0?_:gi.controlName;var y;o.content=(y=(u=r)===null||u===void 0?void 0:u.content)!==null&&y!==void 0?y:"\u53D1\u8D77\u7B7E\u7F72";var d;o.buttonType=(d=(f=r)===null||f===void 0?void 0:f.buttonType)!==null&&d!==void 0?d:"primary";var h;o.showType=(h=(a=r)===null||a===void 0?void 0:a.showType)!==null&&h!==void 0?h:"text";var b;o.color=(b=(l=r)===null||l===void 0?void 0:l.color)!==null&&b!==void 0?b:"primary";var v;return o.icon=(v=(s=r)===null||s===void 0?void 0:s.icon)!==null&&v!==void 0?v:"iconfenlei2",o.signatureConfig=new X$((p=r)===null||p===void 0?void 0:p.signatureConfig),o}return n}(V);jt(ya,"Rules",AZ);function I1(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 B1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function DZ(e,t,n){return t&&B1(e.prototype,t),n&&B1(e,n),e}function va(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},da(e)}function LZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pg(e,t)}function jZ(e,t){return t&&(FZ(t)==="object"||typeof t=="function")?t:I1(e)}function pg(e,t){return pg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},pg(e,t)}function FZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xZ(e){var t=CZ();return function(){var r=da(e),o;if(t){var i=da(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return jZ(this,o)}}var gi=function(e){LZ(n,e);var t=xZ(n);function n(r){kZ(this,n);var o,i;return o=t.call(this,r),va(I1(o),"props",void 0),o.props=new ya((i=r)===null||i===void 0?void 0:i.props),o}return DZ(n,null,[{key:"controlName",get:function(){return"\u7535\u5B50\u7B7E\u7AE0"}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),n}(z);va(gi,"controlEventKeys",["on_click","on_click_finish"]),va(gi,"controlFieldType",c.FieldTypes.VARCHAR),va(gi,"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 N1(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 M1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zZ(e,t,n){return t&&M1(e.prototype,t),n&&M1(e,n),e}function A1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ha(e){return ha=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ha(e)}function GZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_g(e,t)}function YZ(e,t){return t&&(HZ(t)==="object"||typeof t=="function")?t:N1(e)}function _g(e,t){return _g=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_g(e,t)}function HZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UZ(e){var t=qZ();return function(){var r=ha(e),o;if(t){var i=ha(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return YZ(this,o)}}var k1=function(e){GZ(n,e);var t=UZ(n);function n(r){VZ(this,n);var o,i;return o=t.call(this,r),A1(N1(o),"props",void 0),o.props=new ya((i=r)===null||i===void 0?void 0:i.props),o}return zZ(n,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),n}(G);A1(k1,"controlFieldType",c.FieldTypes.VARCHAR);var D1={Designer:gi,Runtime:k1,Property:ya};function Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ba(e)}function vg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dg(e,t)}function WZ(e,t){return t&&(KZ(t)==="object"||typeof t=="function")?t:Ae(e)}function dg(e,t){return dg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},dg(e,t)}function KZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hg(e){var t=XZ();return function(){var r=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return WZ(this,o)}}var JZ=function(e){vg(n,e);var t=hg(n);function n(r){yg(this,n);var o;return o=t.call(this,r),Te(Ae(o),"content",{type:"string",required:!0,message:w.getMessage("pleaseEnterButtonContent")}),Te(Ae(o),"canAdd",void 0),Te(Ae(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,f,a){if(f.active&&!f.text){a(w.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,f,a){if(f.active&&!f.text){a(w.getMessage("pleaseEnterFileName"));return}a()}}}}),o.canAdd={type:"boolean",validator:function(u,f,a){if(r.canAdd&&!r.addLocal&&!r.addOnline){a(w.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return n}(Oe),QZ=function(e){vg(n,e);var t=hg(n);function n(r){yg(this,n);var o;return o=t.call(this,r),o[0].type="array",o}return n}(J),mi=function(e){vg(n,e);var t=hg(n);function n(r){yg(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b,v;o=t.call(this,r),Te(Ae(o),"content",void 0),Te(Ae(o),"canAdd",void 0),Te(Ae(o),"addLocal",void 0),Te(Ae(o),"addOnline",void 0),Te(Ae(o),"canDownload",void 0),Te(Ae(o),"canEdit",void 0),Te(Ae(o),"canExport",void 0),Te(Ae(o),"canDelete",void 0),Te(Ae(o),"wpsSetting",void 0),Te(Ae(o),"maxSize",void 0),Te(Ae(o),"defaultValue",void 0),Te(Ae(o),"revisionsMode",void 0);var g;o.caption=(g=(i=r)===null||i===void 0?void 0:i.caption)!==null&&g!==void 0?g:Oi.controlName;var m;o.content=(m=(u=r)===null||u===void 0?void 0:u.content)!==null&&m!==void 0?m:"\u65B0\u5EFA\u6587\u6863";var O;o.canAdd=(O=(f=r)===null||f===void 0?void 0:f.canAdd)!==null&&O!==void 0?O:!0;var $;o.addLocal=($=(a=r)===null||a===void 0?void 0:a.addLocal)!==null&&$!==void 0?$:!0;var T;o.addOnline=(T=(l=r)===null||l===void 0?void 0:l.addOnline)!==null&&T!==void 0?T:!0;var R;o.canEdit=(R=(s=r)===null||s===void 0?void 0:s.canEdit)!==null&&R!==void 0?R:!0;var S;o.canDownload=(S=(p=r)===null||p===void 0?void 0:p.canDownload)!==null&&S!==void 0?S:!0;var I;o.canExport=(I=(_=r)===null||_===void 0?void 0:_.canExport)!==null&&I!==void 0?I:!0;var E;o.canDelete=(E=(y=r)===null||y===void 0?void 0:y.canDelete)!==null&&E!==void 0?E:!1;var N;o.maxSize=(N=(d=r)===null||d===void 0?void 0:d.maxSize)!==null&&N!==void 0?N:QU;var B;o.defaultValue=(B=(h=r)===null||h===void 0?void 0:h.defaultValue)!==null&&B!==void 0?B:[],o.wpsSetting=new J$((b=r)===null||b===void 0?void 0:b.wpsSetting);var A;return o.revisionsMode=(A=(v=r)===null||v===void 0?void 0:v.revisionsMode)!==null&&A!==void 0?A:!1,o}return n}(V);Te(mi,"Rules",JZ),Te(mi,"RuntimeRules",QZ);function L1(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 j1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eee(e,t,n){return t&&j1(e.prototype,t),n&&j1(e,n),e}function ga(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ma(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&&bg(e,t)}function nee(e,t){return t&&(ree(t)==="object"||typeof t=="function")?t:L1(e)}function bg(e,t){return bg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},bg(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 r=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return nee(this,o)}}var Oi=function(e){tee(n,e);var t=iee(n);function n(r){ZZ(this,n);var o,i;return o=t.call(this,r),ga(L1(o),"props",void 0),o.props=new mi((i=r)===null||i===void 0?void 0:i.props),o}return eee(n,null,[{key:"controlName",get:function(){return"\u5728\u7EBF\u6587\u6863"}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),n}(z);ga(Oi,"controlEventKeys",["on_change","on_wps_open"]),ga(Oi,"controlFieldType",c.FieldTypes.FILE),ga(Oi,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.REQUIRED,c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_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 F1(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 C1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cee(e,t,n){return t&&C1(e.prototype,t),n&&C1(e,n),e}function x1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oa(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&&gg(e,t)}function lee(e,t){return t&&(aee(t)==="object"||typeof t=="function")?t:F1(e)}function gg(e,t){return gg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},gg(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 pee(e){var t=see();return function(){var r=Oa(e),o;if(t){var i=Oa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return lee(this,o)}}var V1=function(e){fee(n,e);var t=pee(n);function n(r){uee(this,n);var o,i;return o=t.call(this,r),x1(F1(o),"props",void 0),o.props=new mi((i=r)===null||i===void 0?void 0:i.props),o}return cee(n,null,[{key:"controlType",get:function(){return"wps"}}]),n}(G);x1(V1,"controlFieldType",c.FieldTypes.FILE);var z1={Designer:Oi,Runtime:V1,Property:mi};function ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wa(e){return wa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wa(e)}function Og(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wg(e,t)}function _ee(e,t){return t&&(yee(t)==="object"||typeof t=="function")?t:ge(e)}function wg(e,t){return wg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},wg(e,t)}function yee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pg(e){var t=vee();return function(){var r=wa(e),o;if(t){var i=wa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _ee(this,o)}}var dee=function(e){Og(n,e);var t=Pg(n);function n(r){mg(this,n);var o;return o=t.call(this,r),me(ge(o),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),me(ge(o),"businessScope",{type:"any"}),Eo.call(ge(o),r,zn.controlCustomAttributes),r.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:w.getMessage("pleaseAssignBusiness")}),o}return n}(Oe),hee=function(e){Og(n,e);var t=Pg(n);function n(r){mg(this,n);var o;return o=t.call(this,r),o[0].type="array",o}return n}(J),wi=function(e){Og(n,e);var t=Pg(n);function n(r){mg(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b,v,g,m,O;o=t.call(this,r),me(ge(o),"showType",void 0),me(ge(o),"range",void 0),me(ge(o),"defaultValueType",void 0),me(ge(o),"multiple",void 0),me(ge(o),"rangeOptions",void 0),me(ge(o),"defaultValue",void 0),me(ge(o),"displayLevel",void 0),me(ge(o),"showSubDept",void 0),me(ge(o),"multistageFilling",void 0),me(ge(o),"datasourceBind",void 0),me(ge(o),"datasourceType",void 0),me(ge(o),"businessType",void 0),me(ge(o),"businessScope",void 0),me(ge(o),"openMultistageFilling",void 0);var $;o.showType=($=(i=r)===null||i===void 0?void 0:i.showType)!==null&&$!==void 0?$:"default";var T;o.multiple=(T=(u=r)===null||u===void 0?void 0:u.multiple)!==null&&T!==void 0?T:!1;var R;o.range=(R=(f=r)===null||f===void 0?void 0:f.range)!==null&&R!==void 0?R:"all";var S;o.defaultValueType=(S=(a=r)===null||a===void 0?void 0:a.defaultValueType)!==null&&S!==void 0?S:"none";var I;o.rangeOptions=(I=(l=r)===null||l===void 0?void 0:l.rangeOptions)!==null&&I!==void 0?I:[];var E;o.defaultValue=(E=(s=r)===null||s===void 0?void 0:s.defaultValue)!==null&&E!==void 0?E:[];var N;o.displayLevel=(N=(p=r)===null||p===void 0?void 0:p.displayLevel)!==null&&N!==void 0?N:1;var B;o.showSubDept=(B=(_=r)===null||_===void 0?void 0:_.showSubDept)!==null&&B!==void 0?B:!0;var A;o.caption=(A=(y=r)===null||y===void 0?void 0:y.caption)!==null&&A!==void 0?A:zn.controlName;var M;o.placeholder=(M=(d=r)===null||d===void 0?void 0:d.placeholder)!==null&&M!==void 0?M:"\u8BF7\u9009\u62E9\u90E8\u95E8";var j;o.datasourceBind=new Po((j=(h=r)===null||h===void 0?void 0:h.datasourceBind)!==null&&j!==void 0?j:{attributes:zn.controlCustomAttributes});var D;o.datasourceType=(D=(b=r)===null||b===void 0?void 0:b.datasourceType)!==null&&D!==void 0?D:c.DepartmentType.INTERNAL;var Y;o.businessScope=(Y=(v=r)===null||v===void 0?void 0:v.businessScope)!==null&&Y!==void 0?Y:[];var U;o.businessType=(U=(g=r)===null||g===void 0?void 0:g.businessType)!==null&&U!==void 0?U:c.AssignType.ALL;var K;if(o.openMultistageFilling=(K=(m=r)===null||m===void 0?void 0:m.openMultistageFilling)!==null&&K!==void 0?K:!1,o.multistageFilling=[],Array.isArray((O=r)===null||O===void 0?void 0:O.multistageFilling)){var ie;(ie=r)===null||ie===void 0||ie.multistageFilling.map(function(tt){var Ve;(Ve=o.multistageFilling)===null||Ve===void 0||Ve.push(new De(tt))})}return o}return n}(V);me(wi,"Rules",dee),me(wi,"RuntimeRules",hee);function G1(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 Y1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function gee(e,t,n){return t&&Y1(e.prototype,t),n&&Y1(e,n),e}function Pa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $a(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?$a=Reflect.get:$a=function(o,i,u){var f=wee(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},$a(e,t,n||e)}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hr(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&&$g(e,t)}function Oee(e,t){return t&&(Pee(t)==="object"||typeof t=="function")?t:G1(e)}function $g(e,t){return $g=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},$g(e,t)}function wee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hr(e),e!==null););return e}function Pee(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 Ree(e){var t=$ee();return function(){var r=Hr(e),o;if(t){var i=Hr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Oee(this,o)}}var zn=function(e){mee(n,e);var t=Ree(n);function n(r){bee(this,n);var o,i;return o=t.call(this,r),Pa(G1(o),"props",void 0),o.props=new wi((i=r)===null||i===void 0?void 0:i.props),o}return gee(n,[{key:"toDataBindModel",value:function(o){var i=$a(Hr(n.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.displayLevel,a=u.showSubDept;i.props.displayLevel=f,i.props.showSubDept=a}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}]}}]),n}(z);Pa(zn,"controlName","\u90E8\u95E8"),Pa(zn,"controlFieldType",c.FieldTypes.DEPARTMENTS),Pa(zn,"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 H1(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 q1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function See(e,t,n){return t&&q1(e.prototype,t),n&&q1(e,n),e}function U1(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ra(e){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ra(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&&Rg(e,t)}function Iee(e,t){return t&&(Bee(t)==="object"||typeof t=="function")?t:H1(e)}function Rg(e,t){return Rg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Rg(e,t)}function Bee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mee(e){var t=Nee();return function(){var r=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Iee(this,o)}}var W1=function(e){Eee(n,e);var t=Mee(n);function n(r){Tee(this,n);var o,i;return o=t.call(this,r),U1(H1(o),"props",void 0),o.props=new wi((i=r)===null||i===void 0?void 0:i.props),o}return See(n,null,[{key:"controlType",get:function(){return"department2"}}]),n}(G);U1(W1,"controlFieldType",c.FieldTypes.DEPARTMENTS);var K1={Designer:zn,Runtime:W1,Property:wi};function ne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ta(e){return Ta=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ta(e)}function Sg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eg(e,t)}function Aee(e,t){return t&&(kee(t)==="object"||typeof t=="function")?t:ne(e)}function Eg(e,t){return Eg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Eg(e,t)}function kee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ig(e){var t=Dee();return function(){var r=Ta(e),o;if(t){var i=Ta(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Aee(this,o)}}var Lee=function(e){Sg(n,e);var t=Ig(n);function n(r){Tg(this,n);var o;return o=t.call(this,r),re(ne(o),"datasourceBind",[{type:"object",message:w.getMessage("isNotObject")}]),re(ne(o),"businessScope",{type:"any"}),Eo.call(ne(o),r,Gn.controlCustomAttributes),r.businessType===c.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:w.getMessage("pleaseAssignBusiness")}),o}return n}(Oe),jee=function(e){Sg(n,e);var t=Ig(n);function n(r){Tg(this,n);var o;return o=t.call(this,r),o[0].type="array",o}return n}(J),Pi=function(e){Sg(n,e);var t=Ig(n);function n(r){Tg(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b,v,g,m,O,$,T,R,S,I;o=t.call(this,r),re(ne(o),"showType",void 0),re(ne(o),"range",void 0),re(ne(o),"defaultValueType",void 0),re(ne(o),"multiple",void 0),re(ne(o),"rangeOptions",void 0),re(ne(o),"defaultValue",void 0),re(ne(o),"displayLevel",void 0),re(ne(o),"showSubDept",void 0),re(ne(o),"multistageFilling",void 0),re(ne(o),"datasourceBind",void 0),re(ne(o),"listPageBind",void 0),re(ne(o),"datasourceType",void 0),re(ne(o),"businessType",void 0),re(ne(o),"businessScope",void 0),re(ne(o),"organizingFunction",void 0),re(ne(o),"organizationView",void 0),re(ne(o),"openMultistageFilling",void 0),re(ne(o),"showSelectedDetail",void 0),re(ne(o),"selectedContentConfig",void 0);var E;o.showType=(E=(i=r)===null||i===void 0?void 0:i.showType)!==null&&E!==void 0?E:"default";var N;o.multiple=(N=(u=r)===null||u===void 0?void 0:u.multiple)!==null&&N!==void 0?N:!1;var B;o.range=(B=(f=r)===null||f===void 0?void 0:f.range)!==null&&B!==void 0?B:"all",o.listPageBind=new Wi((a=r)===null||a===void 0?void 0:a.listPageBind);var A;o.defaultValueType=(A=(l=r)===null||l===void 0?void 0:l.defaultValueType)!==null&&A!==void 0?A:"none";var M;o.rangeOptions=(M=(s=r)===null||s===void 0?void 0:s.rangeOptions)!==null&&M!==void 0?M:[];var j;o.defaultValue=(j=(p=r)===null||p===void 0?void 0:p.defaultValue)!==null&&j!==void 0?j:[];var D;o.displayLevel=(D=(_=r)===null||_===void 0?void 0:_.displayLevel)!==null&&D!==void 0?D:1;var Y;o.showSubDept=(Y=(y=r)===null||y===void 0?void 0:y.showSubDept)!==null&&Y!==void 0?Y:!0;var U;o.caption=(U=(d=r)===null||d===void 0?void 0:d.caption)!==null&&U!==void 0?U:Gn.controlName;var K;o.placeholder=(K=(h=r)===null||h===void 0?void 0:h.placeholder)!==null&&K!==void 0?K:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var ie;o.datasourceBind=new TP((ie=(b=r)===null||b===void 0?void 0:b.datasourceBind)!==null&&ie!==void 0?ie:{attributes:Gn.controlCustomAttributes});var tt;o.datasourceType=(tt=(v=r)===null||v===void 0?void 0:v.datasourceType)!==null&&tt!==void 0?tt:c.DepartmentType.INTERNAL;var Ve;o.businessScope=(Ve=(g=r)===null||g===void 0?void 0:g.businessScope)!==null&&Ve!==void 0?Ve:[];var Tt;o.businessType=(Tt=(m=r)===null||m===void 0?void 0:m.businessType)!==null&&Tt!==void 0?Tt:c.AssignType.ALL;var St;o.organizingFunction=(St=(O=r)===null||O===void 0?void 0:O.organizingFunction)!==null&&St!==void 0?St:void 0;var Et;o.organizationView=(Et=($=r)===null||$===void 0?void 0:$.organizationView)!==null&&Et!==void 0?Et:void 0;var on;o.showSelectedDetail=(on=(T=r)===null||T===void 0?void 0:T.showSelectedDetail)!==null&&on!==void 0?on:!1,o.selectedContentConfig=new Ji((R=r)===null||R===void 0?void 0:R.selectedContentConfig);var dr;if(o.openMultistageFilling=(dr=(S=r)===null||S===void 0?void 0:S.openMultistageFilling)!==null&&dr!==void 0?dr:!1,o.multistageFilling=[],Array.isArray((I=r)===null||I===void 0?void 0:I.multistageFilling)){var hr;(hr=r)===null||hr===void 0||hr.multistageFilling.map(function(xi){var br;(br=o.multistageFilling)===null||br===void 0||br.push(new De(xi))})}return o}return n}(V);re(Pi,"Rules",Lee),re(Pi,"RuntimeRules",jee);function X1(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 J1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Cee(e,t,n){return t&&J1(e.prototype,t),n&&J1(e,n),e}function Sa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ea(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Ea=Reflect.get:Ea=function(o,i,u){var f=zee(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Ea(e,t,n||e)}function qr(e){return qr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qr(e)}function xee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Vee(e,t){return t&&(Gee(t)==="object"||typeof t=="function")?t:X1(e)}function Bg(e,t){return Bg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Bg(e,t)}function zee(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=qr(e),e!==null););return e}function Gee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hee(e){var t=Yee();return function(){var r=qr(e),o;if(t){var i=qr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Vee(this,o)}}var Gn=function(e){xee(n,e);var t=Hee(n);function n(r){Fee(this,n);var o,i;return o=t.call(this,r),Sa(X1(o),"props",void 0),o.props=new Pi((i=r)===null||i===void 0?void 0:i.props),o}return Cee(n,[{key:"toDataBindModel",value:function(o){var i=Ea(qr(n.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,f=u.displayLevel,a=u.showSubDept;i.props.displayLevel=f,i.props.showSubDept=a}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}]}}]),n}(z);Sa(Gn,"controlName","\u4E1A\u52A1\u7EC4\u7EC7"),Sa(Gn,"controlFieldType",c.FieldTypes.DEPARTMENTS),Sa(Gn,"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 Q1(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 Z1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Uee(e,t,n){return t&&Z1(e.prototype,t),n&&Z1(e,n),e}function eB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ia(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&&Ng(e,t)}function Kee(e,t){return t&&(Xee(t)==="object"||typeof t=="function")?t:Q1(e)}function Ng(e,t){return Ng=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ng(e,t)}function Xee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qee(e){var t=Jee();return function(){var r=Ia(e),o;if(t){var i=Ia(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Kee(this,o)}}var tB=function(e){Wee(n,e);var t=Qee(n);function n(r){qee(this,n);var o,i;return o=t.call(this,r),eB(Q1(o),"props",void 0),o.props=new Pi((i=r)===null||i===void 0?void 0:i.props),o}return Uee(n,null,[{key:"controlType",get:function(){return"organization-selection"}}]),n}(G);eB(tB,"controlFieldType",c.FieldTypes.DEPARTMENTS);var nB={Designer:Gn,Runtime:tB,Property:Pi},Zee=Object.freeze({__proto__:null,Input:xS,Checkbox:US,Radio:rE,Number:aE,DatePicker:hE,DateRange:SE,Textarea:kE,RichText:VE,Select:JE,SelectMultiple:oI,Employee:yI,Image:$I,Attachment:mI,Amount:NI,Score:FI,Address:WI,Department:o3,AutoNumber:p3,Calc:g3,SearchNumberRange:I3,SearchDateRange:C3,VueFormItem:q3,SelectRelation:n1,SearchInput:s1,Tree:b1,Employee2:R1,ElectronicSignature:D1,WPS:z1,Department2:K1,OrganizationSelection:nB});function ete(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nte(e,t,n){return t&&rB(e.prototype,t),n&&rB(e,n),e}function rte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ba(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&&Mg(e,t)}function ite(e,t){return t&&(ute(t)==="object"||typeof t=="function")?t:ete(e)}function Mg(e,t){return Mg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Mg(e,t)}function ute(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fte(e){var t=cte();return function(){var r=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return ite(this,o)}}var oB=function(e){ote(n,e);var t=fte(n);function n(r){return tte(this,n),t.call(this,r)}return nte(n,null,[{key:"controlName",get:function(){return"\u753B\u5E03"}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),n}(te);rte(oB,"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 ate(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ste(e,t,n){return t&&iB(e.prototype,t),n&&iB(e,n),e}function Na(e){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Na(e)}function pte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ag(e,t)}function _te(e,t){return t&&(yte(t)==="object"||typeof t=="function")?t:lte(e)}function Ag(e,t){return Ag=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ag(e,t)}function yte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dte(e){var t=vte();return function(){var r=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _te(this,o)}}var hte=function(e){pte(n,e);var t=dte(n);function n(r){return ate(this,n),t.call(this,r)}return ste(n,null,[{key:"controlType",get:function(){return"grid"}}]),n}(ue),uB={Designer:oB,Runtime:hte,Property:Q};function kg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ma(e){return Ma=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ma(e)}function gte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dg(e,t)}function mte(e,t){return t&&(Ote(t)==="object"||typeof t=="function")?t:kg(e)}function Dg(e,t){return Dg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Dg(e,t)}function Ote(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Pte(e){var t=wte();return function(){var r=Ma(e),o;if(t){var i=Ma(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mte(this,o)}}var $te=24,Yn=function(e){gte(n,e);var t=Pte(n);function n(r){bte(this,n);var o,i,u;o=t.call(this,r),cB(kg(o),"span",void 0),cB(kg(o),"offset",void 0);var f;o.span=(f=(i=r)===null||i===void 0?void 0:i.span)!==null&&f!==void 0?f:$te;var a;return o.offset=(a=(u=r)===null||u===void 0?void 0:u.offset)!==null&&a!==void 0?a:0,o}return n}(Q);function fB(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 lB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tte(e,t,n){return t&&lB(e.prototype,t),n&&lB(e,n),e}function Lg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Aa(e)}function Ste(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jg(e,t)}function Ete(e,t){return t&&(Ite(t)==="object"||typeof t=="function")?t:fB(e)}function jg(e,t){return jg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},jg(e,t)}function Ite(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nte(e){var t=Bte();return function(){var r=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Ete(this,o)}}var $i=function(e){Ste(n,e);var t=Nte(n);function n(r){Rte(this,n);var o,i;return o=t.call(this,r),Lg(fB(o),"props",void 0),o.props=new Yn((i=r)===null||i===void 0?void 0:i.props),o}return Tte(n,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),n}(te);Lg($i,"excludes",[c.CONTROL_TYPE.COL,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.SUBTABLE_COLUMN,c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.DIVIDER]),Lg($i,"childrenMaxLength",1);function aB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ate(e,t,n){return t&&sB(e.prototype,t),n&&sB(e,n),e}function kte(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ka(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&&Fg(e,t)}function Lte(e,t){return t&&(jte(t)==="object"||typeof t=="function")?t:aB(e)}function Fg(e,t){return Fg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Fg(e,t)}function jte(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 Cte(e){var t=Fte();return function(){var r=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Lte(this,o)}}var Cg=function(e){Dte(n,e);var t=Cte(n);function n(r){Mte(this,n);var o,i;return o=t.call(this,r),kte(aB(o),"props",void 0),o.props=new Yn((i=r)===null||i===void 0?void 0:i.props),o}return Ate(n,null,[{key:"controlType",get:function(){return"col"}}]),n}(ue),Da={Designer:$i,Runtime:Cg,Property:Yn};function xg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},La(e)}function Vte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zte(e,t){return t&&(Gte(t)==="object"||typeof t=="function")?t:xg(e)}function Vg(e,t){return Vg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Vg(e,t)}function Gte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hte(e){var t=Yte();return function(){var r=La(e),o;if(t){var i=La(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zte(this,o)}}var ja=function(e){Vte(n,e);var t=Hte(n);function n(r){xte(this,n);var o,i,u;o=t.call(this,r),pB(xg(o),"layoutMode",void 0),pB(xg(o),"gutter",void 0);var f;o.layoutMode=(f=(i=r)===null||i===void 0?void 0:i.layoutMode)!==null&&f!==void 0?f:"select";var a;return o.gutter=(a=(u=r)===null||u===void 0?void 0:u.gutter)!==null&&a!==void 0?a:0,o}return n}(Q);function _B(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 yB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ute(e,t,n){return t&&yB(e.prototype,t),n&&yB(e,n),e}function zg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fa(e)}function Wte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Kte(e,t){return t&&(Xte(t)==="object"||typeof t=="function")?t:_B(e)}function Gg(e,t){return Gg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Gg(e,t)}function Xte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qte(e){var t=Jte();return function(){var r=Fa(e),o;if(t){var i=Fa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Kte(this,o)}}var Ca=function(e){Wte(n,e);var t=Qte(n);function n(r){qte(this,n);var o,i;return o=t.call(this,r),zg(_B(o),"props",void 0),o.props=new ja((i=r)===null||i===void 0?void 0:i.props),o}return Ute(n,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),n}(te);zg(Ca,"excludes",[c.CONTROL_TYPE.ROW]),zg(Ca,"setting",[{key:"col-setting",visible:!0}]);function vB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ene(e,t,n){return t&&dB(e.prototype,t),n&&dB(e,n),e}function tne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xa(e){return xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xa(e)}function nne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rne(e,t){return t&&(one(t)==="object"||typeof t=="function")?t:vB(e)}function Yg(e,t){return Yg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Yg(e,t)}function one(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ine(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function une(e){var t=ine();return function(){var r=xa(e),o;if(t){var i=xa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return rne(this,o)}}var hB=function(e){nne(n,e);var t=une(n);function n(r){Zte(this,n);var o,i;return o=t.call(this,r),tne(vB(o),"props",void 0),o.props=new ja((i=r)===null||i===void 0?void 0:i.props),o}return ene(n,null,[{key:"controlType",get:function(){return"row"}}]),n}(ue),bB={Designer:Ca,Runtime:hB,Property:ja};function cne(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 gB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lne(e,t,n){return t&&gB(e.prototype,t),n&&gB(e,n),e}function Hg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Va(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&&qg(e,t)}function sne(e,t){return t&&(pne(t)==="object"||typeof t=="function")?t:cne(e)}function qg(e,t){return qg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},qg(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 yne(e){var t=_ne();return function(){var r=Va(e),o;if(t){var i=Va(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return sne(this,o)}}var vne=4,za=function(e){ane(n,e);var t=yne(n);function n(r){return fne(this,n),t.call(this,r)}return lne(n,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"}}]),n}(Ca);Hg(za,"excludes",[c.CONTROL_TYPE.GRID_ROW]),Hg(za,"setting",[]),Hg(za,"childrenMaxLength",vne);function dne(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bne(e,t,n){return t&&mB(e.prototype,t),n&&mB(e,n),e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ga(e)}function gne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ug(e,t)}function mne(e,t){return t&&(One(t)==="object"||typeof t=="function")?t:dne(e)}function Ug(e,t){return Ug=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ug(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 r=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mne(this,o)}}var $ne=function(e){gne(n,e);var t=Pne(n);function n(r){return hne(this,n),t.call(this,r)}return bne(n,null,[{key:"controlType",get:function(){return"grid-row"}}]),n}(hB);function Rne(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 Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ya(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 Ene(e,t){return t&&(Ine(t)==="object"||typeof t=="function")?t:Rne(e)}function Wg(e,t){return Wg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Wg(e,t)}function Ine(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nne(e){var t=Bne();return function(){var r=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Ene(this,o)}}var Mne=function(e){Sne(n,e);var t=Nne(n);function n(r){return Tne(this,n),t.call(this,r)}return n}(ja),Kg={Designer:za,Runtime:$ne,Property:Mne};function Ha(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ua(e)}function wB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xg(e,t)}function Ane(e,t){return t&&(kne(t)==="object"||typeof t=="function")?t:Ha(e)}function Xg(e,t){return Xg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Xg(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 PB(e){var t=Dne();return function(){var r=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Ane(this,o)}}var Lne=function(e){wB(n,e);var t=PB(n);function n(){OB(this,n);var r;return r=t.apply(this,arguments),qa(Ha(r),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),r}return n}(Q.Rules),Wa=function(e){wB(n,e);var t=PB(n);function n(r){OB(this,n);var o,i,u;o=t.call(this,r),qa(Ha(o),"caption",void 0),qa(Ha(o),"collapse",void 0);var f;o.caption=(f=(i=r)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:"\u5206\u7EC4";var a;return o.collapse=(a=(u=r)===null||u===void 0?void 0:u.collapse)!==null&&a!==void 0?a:"none",o}return n}(Q);qa(Wa,"Rules",Lne);function $B(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Fne(e,t,n){return t&&RB(e.prototype,t),n&&RB(e,n),e}function Jg(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ka(e)}function Cne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qg(e,t)}function xne(e,t){return t&&(Vne(t)==="object"||typeof t=="function")?t:$B(e)}function Qg(e,t){return Qg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Qg(e,t)}function Vne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gne(e){var t=zne();return function(){var r=Ka(e),o;if(t){var i=Ka(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return xne(this,o)}}var Zg=function(e){Cne(n,e);var t=Gne(n);function n(r){jne(this,n);var o,i;return o=t.call(this,r),Jg($B(o),"props",void 0),o.props=new Wa((i=r)===null||i===void 0?void 0:i.props),o}return Fne(n,null,[{key:"controlName",get:function(){return"\u5206\u7EC4"}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),n}(te);Jg(Zg,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),Jg(Zg,"excludes",[c.CONTROL_TYPE.CARD_GROUP]);function TB(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 SB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Hne(e,t,n){return t&&SB(e.prototype,t),n&&SB(e,n),e}function qne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xa(e)}function Une(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&em(e,t)}function Wne(e,t){return t&&(Kne(t)==="object"||typeof t=="function")?t:TB(e)}function em(e,t){return em=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},em(e,t)}function Kne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jne(e){var t=Xne();return function(){var r=Xa(e),o;if(t){var i=Xa(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Wne(this,o)}}var Qne=function(e){Une(n,e);var t=Jne(n);function n(r){Yne(this,n);var o,i;return o=t.call(this,r),qne(TB(o),"props",void 0),o.props=new Wa((i=r)===null||i===void 0?void 0:i.props),o}return Hne(n,null,[{key:"controlType",get:function(){return"card-group"}}]),n}(ue),EB={Designer:Zg,Runtime:Qne,Property:Wa};function Ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ja(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&&tm(e,t)}function Zne(e,t){return t&&(ere(t)==="object"||typeof t=="function")?t:Ft(e)}function tm(e,t){return tm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},tm(e,t)}function ere(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NB(e){var t=tre();return function(){var r=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Zne(this,o)}}var nre=function(e){BB(n,e);var t=NB(n);function n(r){IB(this,n);var o;return o=t.call(this,r),Ct(Ft(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),Ct(Ft(o),"width",{type:"number",required:!1,message:w.getMessage("pleaseEnterColumnWidth")}),Ct(Ft(o),"captionTip",{type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")}),r.isShowCaptionTip&&(o.captionTip.required=!0),o}return n}(pe),Qa=function(e){BB(n,e);var t=NB(n);function n(r){IB(this,n);var o,i,u,f,a,l,s;o=t.call(this,r),Ct(Ft(o),"metaAutoWidth",void 0),Ct(Ft(o),"caption",void 0),Ct(Ft(o),"fixed",void 0),Ct(Ft(o),"isShowCaptionTip",void 0),Ct(Ft(o),"captionTip",void 0),Ct(Ft(o),"isHideCaption",void 0);var p;o.caption=(p=(i=r)===null||i===void 0?void 0:i.caption)!==null&&p!==void 0?p:"";var _;o.fixed=(_=(u=r)===null||u===void 0?void 0:u.fixed)!==null&&_!==void 0?_:!1;var y;o.isShowCaptionTip=(y=(f=r)===null||f===void 0?void 0:f.isShowCaptionTip)!==null&&y!==void 0?y:!1;var d;o.captionTip=(d=(a=r)===null||a===void 0?void 0:a.captionTip)!==null&&d!==void 0?d:"";var h;return o.isHideCaption=(h=(l=r)===null||l===void 0?void 0:l.isHideCaption)!==null&&h!==void 0?h:!1,o.metaAutoWidth=new dP((s=r)===null||s===void 0?void 0:s.metaAutoWidth),o}return n}(Q);Ct(Qa,"Rules",nre);function MB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Za(e)}function ore(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ire(e,t){return t&&(ure(t)==="object"||typeof t=="function")?t:MB(e)}function nm(e,t){return nm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},nm(e,t)}function ure(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 fre(e){var t=cre();return function(){var r=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return ire(this,o)}}var wt=function(e){ore(n,e);var t=fre(n);function n(r){rre(this,n);var o,i;return o=t.call(this,r),Hn(MB(o),"props",void 0),o.props=new Qa((i=r)===null||i===void 0?void 0:i.props),o}return n}(te);Hn(wt,"controlName","\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),Hn(wt,"controlType","subtable-column"),Hn(wt,"controlIcon","subtable-column"),Hn(wt,"childrenMaxLength",1),Hn(wt,"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]),Hn(wt,"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 AB(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 kB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function es(e){return es=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},es(e)}function are(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rm(e,t)}function sre(e,t){return t&&(pre(t)==="object"||typeof t=="function")?t:AB(e)}function rm(e,t){return rm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},rm(e,t)}function pre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _re(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yre(e){var t=_re();return function(){var r=es(e),o;if(t){var i=es(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return sre(this,o)}}var DB=function(e){are(n,e);var t=yre(n);function n(r){lre(this,n);var o,i;return o=t.call(this,r),kB(AB(o),"props",void 0),o.props=new Qa((i=r)===null||i===void 0?void 0:i.props),o}return n}(ue);kB(DB,"controlType","subtable-column");var om={Designer:wt,Runtime:DB,Property:Qa};function vre(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ts(e){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ts(e)}function hre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&im(e,t)}function bre(e,t){return t&&(gre(t)==="object"||typeof t=="function")?t:vre(e)}function im(e,t){return im=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},im(e,t)}function gre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ore(e){var t=mre();return function(){var r=ts(e),o;if(t){var i=ts(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return bre(this,o)}}var um=function(e){hre(n,e);var t=Ore(n);function n(r){return dre(this,n),t.call(this,r)}return n}(Q);function LB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ns(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&&cm(e,t)}function $re(e,t){return t&&(Rre(t)==="object"||typeof t=="function")?t:LB(e)}function cm(e,t){return cm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},cm(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 r=ns(e),o;if(t){var i=ns(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return $re(this,o)}}var Un=function(e){Pre(n,e);var t=Sre(n);function n(r){wre(this,n);var o,i;return o=t.call(this,r),qn(LB(o),"props",void 0),o.props=new um((i=r)===null||i===void 0?void 0:i.props),o}return n}(te);qn(Un,"controlName","\u660E\u7EC6\u5B50\u8868\u884C"),qn(Un,"controlType","subtable-row"),qn(Un,"controlIcon","subtable-row"),qn(Un,"childrenMaxLength",1),qn(Un,"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]),qn(Un,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],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 Ere(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ire(e,t,n){return t&&FB(e.prototype,t),n&&FB(e,n),e}function Bre(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rs(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&&fm(e,t)}function Mre(e,t){return t&&(Are(t)==="object"||typeof t=="function")?t:jB(e)}function fm(e,t){return fm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},fm(e,t)}function Are(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 r=rs(e),o;if(t){var i=rs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Mre(this,o)}}var Lre=function(e){Nre(n,e);var t=Dre(n);function n(r){Ere(this,n);var o,i;return o=t.call(this,r),Bre(jB(o),"props",void 0),o.props=new um((i=r)===null||i===void 0?void 0:i.props),o}return Ire(n,null,[{key:"controlType",get:function(){return"subtable-row"}}]),n}(ue),CB={Designer:Un,Runtime:Lre,Property:um};function et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},os(e)}function Fre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lm(e,t)}function Cre(e,t){return t&&(xre(t)==="object"||typeof t=="function")?t:et(e)}function lm(e,t){return lm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},lm(e,t)}function xre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zre(e){var t=Vre();return function(){var r=os(e),o;if(t){var i=os(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Cre(this,o)}}var am=function(e){Fre(n,e);var t=zre(n);function n(r){jre(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b;o=t.call(this,r),_t(et(o),"widthType",void 0),_t(et(o),"width",void 0),_t(et(o),"caption",void 0),_t(et(o),"fieldCode",void 0),_t(et(o),"fieldType",void 0),_t(et(o),"fieldName",void 0),_t(et(o),"datasourceBind",void 0),_t(et(o),"fixed",void 0),_t(et(o),"textCleanFormart",void 0),_t(et(o),"decimalKeepPrecision",void 0),_t(et(o),"timestampDateType",void 0),_t(et(o),"departmentDisplayLevel",void 0);var v;o.width=(v=(i=r)===null||i===void 0?void 0:i.width)!==null&&v!==void 0?v:200,o.widthType=((u=r)===null||u===void 0?void 0:u.widthType)||"auto";var g;o.caption=(g=(f=r)===null||f===void 0?void 0:f.caption)!==null&&g!==void 0?g:"";var m;o.fixed=(m=(a=r)===null||a===void 0?void 0:a.fixed)!==null&&m!==void 0?m:!1;var O;o.fieldCode=(O=(l=r)===null||l===void 0?void 0:l.fieldCode)!==null&&O!==void 0?O:"";var $;o.fieldType=($=(s=r)===null||s===void 0?void 0:s.fieldType)!==null&&$!==void 0?$:c.FieldTypes.VARCHAR;var T;o.fieldName=(T=(p=r)===null||p===void 0?void 0:p.fieldName)!==null&&T!==void 0?T:"",o.datasourceBind=new ve((_=r)===null||_===void 0?void 0:_.datasourceBind);var R;o.textCleanFormart=(R=(y=r)===null||y===void 0?void 0:y.textCleanFormart)!==null&&R!==void 0?R:!1;var S;o.decimalKeepPrecision=(S=(d=r)===null||d===void 0?void 0:d.decimalKeepPrecision)!==null&&S!==void 0?S:0;var I;o.timestampDateType=(I=(h=r)===null||h===void 0?void 0:h.timestampDateType)!==null&&I!==void 0?I:c.DateType.DATE;var E;return o.departmentDisplayLevel=(E=(b=r)===null||b===void 0?void 0:b.departmentDisplayLevel)!==null&&E!==void 0?E:1,o}return n}(Q);function xB(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 Wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function is(e){return is=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},is(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&&sm(e,t)}function Hre(e,t){return t&&(qre(t)==="object"||typeof t=="function")?t:xB(e)}function sm(e,t){return sm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},sm(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 r=is(e),o;if(t){var i=is(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Hre(this,o)}}var Kn=function(e){Yre(n,e);var t=Wre(n);function n(r){Gre(this,n);var o,i;return o=t.call(this,r),Wn(xB(o),"props",void 0),o.props=new am((i=r)===null||i===void 0?void 0:i.props),o}return n}(te);Wn(Kn,"controlName","\u5217\u8868\u5355\u5143\u683C"),Wn(Kn,"controlType","gridtable-column"),Wn(Kn,"controlIcon","gridtable-column"),Wn(Kn,"childrenMaxLength",1),Wn(Kn,"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]),Wn(Kn,"setting",[{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function VB(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 zB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},us(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&&pm(e,t)}function Jre(e,t){return t&&(Qre(t)==="object"||typeof t=="function")?t:VB(e)}function pm(e,t){return pm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},pm(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 r=us(e),o;if(t){var i=us(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Jre(this,o)}}var GB=function(e){Xre(n,e);var t=eoe(n);function n(r){Kre(this,n);var o,i;return o=t.call(this,r),zB(VB(o),"props",void 0),o.props=new am((i=r)===null||i===void 0?void 0:i.props),o}return n}(ue);zB(GB,"controlType","gridtable-column");var YB={Designer:Kn,Runtime:GB,Property:am};function _m(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 HB(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cs(e){return cs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cs(e)}function noe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ym(e,t)}function roe(e,t){return t&&(ooe(t)==="object"||typeof t=="function")?t:_m(e)}function ym(e,t){return ym=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ym(e,t)}function ooe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ioe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uoe(e){var t=ioe();return function(){var r=cs(e),o;if(t){var i=cs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return roe(this,o)}}var vm=function(e){noe(n,e);var t=uoe(n);function n(r){toe(this,n);var o,i,u;o=t.call(this,r),HB(_m(o),"childMinWidth",void 0),HB(_m(o),"colGap",void 0);var f;o.childMinWidth=(f=(i=r)===null||i===void 0?void 0:i.childMinWidth)!==null&&f!==void 0?f:230;var a;return o.colGap=(a=(u=r)===null||u===void 0?void 0:u.colGap)!==null&&a!==void 0?a:24,o}return n}(Q);function qB(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 UB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function foe(e,t,n){return t&&UB(e.prototype,t),n&&UB(e,n),e}function dm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fs(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&&hm(e,t)}function aoe(e,t){return t&&(soe(t)==="object"||typeof t=="function")?t:qB(e)}function hm(e,t){return hm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},hm(e,t)}function soe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function poe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _oe(e){var t=poe();return function(){var r=fs(e),o;if(t){var i=fs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return aoe(this,o)}}var bm=function(e){loe(n,e);var t=_oe(n);function n(r){coe(this,n);var o,i;return o=t.call(this,r),dm(qB(o),"props",void 0),o.props=new vm((i=r)===null||i===void 0?void 0:i.props),o}return foe(n,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"}}]),n}(te);dm(bm,"excludes",[c.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,c.CONTROL_TYPE.CARD_GROUP,c.CONTROL_TYPE.TAB]),dm(bm,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",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 yoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KB(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function voe(e,t,n){return t&&KB(e.prototype,t),n&&KB(e,n),e}function doe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ls(e){return ls=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ls(e)}function hoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gm(e,t)}function boe(e,t){return t&&(goe(t)==="object"||typeof t=="function")?t:WB(e)}function gm(e,t){return gm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},gm(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 r=ls(e),o;if(t){var i=ls(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return boe(this,o)}}var woe=function(e){hoe(n,e);var t=Ooe(n);function n(r){yoe(this,n);var o,i;return o=t.call(this,r),doe(WB(o),"props",void 0),o.props=new vm((i=r)===null||i===void 0?void 0:i.props),o}return voe(n,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),n}(ue),XB={Designer:bm,Runtime:woe,Property:vm};function JB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Poe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},as(e)}function Roe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mm(e,t)}function Toe(e,t){return t&&(Soe(t)==="object"||typeof t=="function")?t:JB(e)}function mm(e,t){return mm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},mm(e,t)}function Soe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ioe(e){var t=Eoe();return function(){var r=as(e),o;if(t){var i=as(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Toe(this,o)}}var Om=function(e){Roe(n,e);var t=Ioe(n);function n(r){Poe(this,n);var o,i;o=t.call(this,r),$oe(JB(o),"mobileShowType",void 0);var u;return o.mobileShowType=(u=(i=r)===null||i===void 0?void 0:i.mobileShowType)!==null&&u!==void 0?u:"vertical",o}return n}(Q);function wm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ss(e){return ss=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ss(e)}function ZB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$m(e,t)}function Boe(e,t){return t&&(Noe(t)==="object"||typeof t=="function")?t:wm(e)}function $m(e,t){return $m=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},$m(e,t)}function Noe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Moe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eN(e){var t=Moe();return function(){var r=ss(e),o;if(t){var i=ss(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Boe(this,o)}}var Aoe=function(e){ZB(n,e);var t=eN(n);function n(r){QB(this,n);var o;return o=t.call(this,r),Pm(wm(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),o}return n}(pe),ps=function(e){ZB(n,e);var t=eN(n);function n(r){QB(this,n);var o,i;o=t.call(this,r),Pm(wm(o),"caption",void 0);var u;return o.caption=(u=(i=r)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:Ti.controlName,o}return n}(Q);Pm(ps,"Rules",Aoe);function tN(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 nN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Doe(e,t,n){return t&&nN(e.prototype,t),n&&nN(e,n),e}function Rm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _s(e){return _s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_s(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&&Tm(e,t)}function joe(e,t){return t&&(Foe(t)==="object"||typeof t=="function")?t:tN(e)}function Tm(e,t){return Tm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Tm(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 r=_s(e),o;if(t){var i=_s(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return joe(this,o)}}var Ri=function(e){Loe(n,e);var t=xoe(n);function n(r){koe(this,n);var o,i;return o=t.call(this,r),Rm(tN(o),"props",void 0),o.props=new ps((i=r)===null||i===void 0?void 0:i.props),o}return Doe(n,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u5355\u5143"}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),n}(te);Rm(Ri,"excludes",[c.CONTROL_TYPE.TAB]),Rm(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 rN(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 oN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function zoe(e,t,n){return t&&oN(e.prototype,t),n&&oN(e,n),e}function Goe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ys(e){return ys=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ys(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&&Sm(e,t)}function Hoe(e,t){return t&&(qoe(t)==="object"||typeof t=="function")?t:rN(e)}function Sm(e,t){return Sm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Sm(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 r=ys(e),o;if(t){var i=ys(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Hoe(this,o)}}var Koe=function(e){Yoe(n,e);var t=Woe(n);function n(r){Voe(this,n);var o,i;return o=t.call(this,r),Goe(rN(o),"props",void 0),o.props=new ps((i=r)===null||i===void 0?void 0:i.props),o}return zoe(n,null,[{key:"controlType",get:function(){return"tab-pane"}}]),n}(ue),iN={Designer:Ri,Runtime:Koe,Property:ps};function uN(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 cN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Joe(e,t,n){return t&&cN(e.prototype,t),n&&cN(e,n),e}function vs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ds(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&&Em(e,t)}function Zoe(e,t){return t&&(eie(t)==="object"||typeof t=="function")?t:uN(e)}function Em(e,t){return Em=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Em(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 r=ds(e),o;if(t){var i=ds(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Zoe(this,o)}}var Ti=function(e){Qoe(n,e);var t=nie(n);function n(r){Xoe(this,n);var o,i,u;o=t.call(this,r),vs(uN(o),"props",void 0),o.props=new Om((i=r)===null||i===void 0?void 0:i.props);var f;return o.children=(f=(u=r)===null||u===void 0?void 0:u.children)!==null&&f!==void 0?f:[new Ri,new Ri],o}return Joe(n,null,[{key:"controlName",get:function(){return"\u6807\u7B7E\u9875"}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),n}(te);vs(Ti,"excludes",[c.CONTROL_TYPE.TAB]),vs(Ti,"controlEventKeys",["on_change_tab"]),vs(Ti,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function fN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oie(e,t,n){return t&&lN(e.prototype,t),n&&lN(e,n),e}function iie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hs(e)}function uie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Im(e,t)}function cie(e,t){return t&&(fie(t)==="object"||typeof t=="function")?t:fN(e)}function Im(e,t){return Im=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Im(e,t)}function fie(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 aie(e){var t=lie();return function(){var r=hs(e),o;if(t){var i=hs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return cie(this,o)}}var sie=function(e){uie(n,e);var t=aie(n);function n(r){rie(this,n);var o,i;return o=t.call(this,r),iie(fN(o),"props",void 0),o.props=new Om((i=r)===null||i===void 0?void 0:i.props),o}return oie(n,null,[{key:"controlType",get:function(){return"tab"}}]),n}(ue),aN={Designer:Ti,Runtime:sie,Property:Om};function pie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bs(e){return bs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bs(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&&Bm(e,t)}function vie(e,t){return t&&(die(t)==="object"||typeof t=="function")?t:pie(e)}function Bm(e,t){return Bm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Bm(e,t)}function die(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bie(e){var t=hie();return function(){var r=bs(e),o;if(t){var i=bs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return vie(this,o)}}var sN=function(e){yie(n,e);var t=bie(n);function n(r){return _ie(this,n),t.call(this,r)}return n}(Q);function pN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _N(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mie(e,t,n){return t&&_N(e.prototype,t),n&&_N(e,n),e}function yN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gs(e)}function Oie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nm(e,t)}function wie(e,t){return t&&(Pie(t)==="object"||typeof t=="function")?t:pN(e)}function Nm(e,t){return Nm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Nm(e,t)}function Pie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $ie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rie(e){var t=$ie();return function(){var r=gs(e),o;if(t){var i=gs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return wie(this,o)}}var vN=function(e){Oie(n,e);var t=Rie(n);function n(r){gie(this,n);var o,i;return o=t.call(this,r),yN(pN(o),"props",void 0),o.props=new sN({}),o.children=((i=r)===null||i===void 0?void 0:i.children)||[new $i({props:new Yn({span:12})}),new $i({props:new Yn({span:12})})],o}return mie(n,null,[{key:"controlName",get:function(){return"\u5DE5\u5177\u680F"}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),n}(te);yN(vN,"excludes",[c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.GRID,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.TOOLBOX]);function Tie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Eie(e,t,n){return t&&dN(e.prototype,t),n&&dN(e,n),e}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ms(e)}function Iie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mm(e,t)}function Bie(e,t){return t&&(Nie(t)==="object"||typeof t=="function")?t:Tie(e)}function Mm(e,t){return Mm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Mm(e,t)}function Nie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Aie(e){var t=Mie();return function(){var r=ms(e),o;if(t){var i=ms(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Bie(this,o)}}var kie=function(e){Iie(n,e);var t=Aie(n);function n(r){Sie(this,n);var o,i;return o=t.call(this,r),o.children=((i=r)===null||i===void 0?void 0:i.children)||[new Cg({props:new Yn({span:12})}),new Cg({props:new Yn({span:12})})],o}return Eie(n,null,[{key:"controlType",get:function(){return"toolbox"}}]),n}(ue),hN={Designer:vN,Runtime:kie,Property:sN};function ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Am(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Os(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&&Dm(e,t)}function Die(e,t){return t&&(Lie(t)==="object"||typeof t=="function")?t:ae(e)}function Dm(e,t){return Dm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Dm(e,t)}function Lie(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 Lm(e){var t=jie();return function(){var r=Os(e),o;if(t){var i=Os(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Die(this,o)}}var ws;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(ws||(ws={}));var Fie=function(e){km(n,e);var t=Lm(n);function n(r){Am(this,n);var o;return o=t.call(this,r),o.push({type:"object",fields:{}}),o}return n}(fn),Cie=function(e){km(n,e);var t=Lm(n);function n(r){Am(this,n);var o;if(o=t.call(this,r),se(ae(o),"triggerFieldCode",{type:"any"}),se(ae(o),"datasourceBind",{type:"any"}),se(ae(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),r.triggerType===ws.CLICK_CELL&&r.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:w.getMessage("pleaseEnterFieldCode")}),r.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:w.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:w.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:w.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:w.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:w.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:w.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:w.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),nu.call(ae(o),{optionConfig:"datasource",datasourceBind:r.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 n}(pe),Si=function(e){km(n,e);var t=Lm(n);function n(r){Am(this,n);var o,i,u,f,a,l,s,p,_,y,d,h,b,v,g,m,O;o=t.call(this,r),se(ae(o),"datasourceBind",void 0),se(ae(o),"isLoading",void 0),se(ae(o),"isShowSubList",void 0),se(ae(o),"triggerType",void 0),se(ae(o),"triggerFieldCode",void 0),se(ae(o),"sublistPage",void 0),se(ae(o),"isShowJoinRelation",void 0),se(ae(o),"joinRelation",void 0),se(ae(o),"showType",void 0),se(ae(o),"showFullScreen",void 0),se(ae(o),"isFixedHeader",void 0),se(ae(o),"selectionType",void 0),se(ae(o),"isShowSelection",void 0),se(ae(o),"isAllLoaded",void 0),se(ae(o),"countType",void 0),se(ae(o),"countLimit",void 0),o.datasourceBind=new ve((i=r)===null||i===void 0?void 0:i.datasourceBind);var $;o.isLoading=($=(u=r)===null||u===void 0?void 0:u.isLoading)!==null&&$!==void 0?$:!1;var T;o.isShowSubList=(T=(f=r)===null||f===void 0?void 0:f.isShowSubList)!==null&&T!==void 0?T:!1;var R;o.triggerType=(R=(a=r)===null||a===void 0?void 0:a.triggerType)!==null&&R!==void 0?R:ws.CLICK_ROW;var S;o.triggerFieldCode=(S=(l=r)===null||l===void 0?void 0:l.triggerFieldCode)!==null&&S!==void 0?S:"",o.sublistPage=new wP((s=r)===null||s===void 0?void 0:s.sublistPage);var I;o.isShowJoinRelation=(I=(p=r)===null||p===void 0?void 0:p.isShowJoinRelation)!==null&&I!==void 0?I:!1,o.joinRelation=new $P((_=r)===null||_===void 0?void 0:_.joinRelation);var E;o.showType=(E=(y=r)===null||y===void 0?void 0:y.showType)!==null&&E!==void 0?E:"stretch";var N;o.showFullScreen=(N=(d=r)===null||d===void 0?void 0:d.showFullScreen)!==null&&N!==void 0?N:!1;var B;o.selectionType=(B=(h=r)===null||h===void 0?void 0:h.selectionType)!==null&&B!==void 0?B:"multiple";var A;o.isFixedHeader=(A=(b=r)===null||b===void 0?void 0:b.isFixedHeader)!==null&&A!==void 0?A:!1;var M;o.isShowSelection=(M=(v=r)===null||v===void 0?void 0:v.isShowSelection)!==null&&M!==void 0?M:!1;var j;o.isAllLoaded=(j=(g=r)===null||g===void 0?void 0:g.isAllLoaded)!==null&&j!==void 0?j:!0,o.countType=(m=r)===null||m===void 0?void 0:m.countType;var D;return o.countLimit=(D=(O=r)===null||O===void 0?void 0:O.countLimit)!==null&&D!==void 0?D:1e5,o}return n}(Q);se(Si,"Rules",Cie),se(Si,"RuntimeRules",Fie);function bN(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 gN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Vie(e,t,n){return t&&gN(e.prototype,t),n&&gN(e,n),e}function Ps(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $s(e){return $s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$s(e)}function zie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jm(e,t)}function Gie(e,t){return t&&(Yie(t)==="object"||typeof t=="function")?t:bN(e)}function jm(e,t){return jm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},jm(e,t)}function Yie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qie(e){var t=Hie();return function(){var r=$s(e),o;if(t){var i=$s(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Gie(this,o)}}var Rs=function(e){zie(n,e);var t=qie(n);function n(r){xie(this,n);var o,i;return o=t.call(this,r),Ps(bN(o),"props",void 0),o.props=new Si((i=r)===null||i===void 0?void 0:i.props),o}return Vie(n,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),n}(te);Ps(Rs,"excludes",[c.CONTROL_TYPE.ROW]),Ps(Rs,"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"]),Ps(Rs,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}]);function mN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ON(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Wie(e,t,n){return t&&ON(e.prototype,t),n&&ON(e,n),e}function Kie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ts(e){return Ts=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ts(e)}function Xie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fm(e,t)}function Jie(e,t){return t&&(Qie(t)==="object"||typeof t=="function")?t:mN(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Fm(e,t)}function Qie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eue(e){var t=Zie();return function(){var r=Ts(e),o;if(t){var i=Ts(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Jie(this,o)}}var tue=function(e){Xie(n,e);var t=eue(n);function n(r){Uie(this,n);var o,i;return o=t.call(this,r),Kie(mN(o),"props",void 0),o.props=new Si((i=r)===null||i===void 0?void 0:i.props),o}return Wie(n,null,[{key:"controlType",get:function(){return"list-view"}}]),n}(ue),Cm={Designer:Rs,Runtime:tue,Property:Si};function $n(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wN(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ss(e){return Ss=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ss(e)}function PN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nue(e,t){return t&&(rue(t)==="object"||typeof t=="function")?t:$n(e)}function xm(e,t){return xm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},xm(e,t)}function rue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $N(e){var t=oue();return function(){var r=Ss(e),o;if(t){var i=Ss(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return nue(this,o)}}var iue=function(e){PN(n,e);var t=$N(n);function n(r){wN(this,n);var o;return o=t.call(this,r),o.push({type:"object",fields:{}}),o}return n}(fn),Es=function(e){PN(n,e);var t=$N(n);function n(r){wN(this,n);var o,i,u,f,a,l,s,p;o=t.call(this,r),Rn($n(o),"save",void 0),Rn($n(o),"cancel",void 0),Rn($n(o),"saveAs",void 0),Rn($n(o),"print",void 0),Rn($n(o),"custom",void 0),Rn($n(o),"isLoading",void 0),Rn($n(o),"datasourceBind",void 0);var _;o.save=new Yt((_=(i=r)===null||i===void 0?void 0:i.save)!==null&&_!==void 0?_:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var y;o.cancel=new Yt((y=(u=r)===null||u===void 0?void 0:u.cancel)!==null&&y!==void 0?y:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var d;o.saveAs=new Yt((d=(f=r)===null||f===void 0?void 0:f.saveAs)!==null&&d!==void 0?d:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var h;o.print=new Yt((h=(a=r)===null||a===void 0?void 0:a.print)!==null&&h!==void 0?h:{content:"\u6253\u5370",type:"print",isShow:!1});var b;o.custom=((b=(l=r)===null||l===void 0?void 0:l.custom)!==null&&b!==void 0?b:[]).map(function(g){return new Yt(g)});var v;return o.isLoading=(v=(s=r)===null||s===void 0?void 0:s.isLoading)!==null&&v!==void 0?v:!1,o.datasourceBind=new ve((p=r)===null||p===void 0?void 0:p.datasourceBind),o}return n}(Q);Rn(Es,"RuntimeRules",iue);function RN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cue(e,t,n){return t&&TN(e.prototype,t),n&&TN(e,n),e}function SN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Is(e){return Is=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Is(e)}function fue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vm(e,t)}function lue(e,t){return t&&(aue(t)==="object"||typeof t=="function")?t:RN(e)}function Vm(e,t){return Vm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Vm(e,t)}function aue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pue(e){var t=sue();return function(){var r=Is(e),o;if(t){var i=Is(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return lue(this,o)}}var EN=function(e){fue(n,e);var t=pue(n);function n(r){uue(this,n);var o,i;return o=t.call(this,r),SN(RN(o),"props",void 0),o.props=new Es((i=r)===null||i===void 0?void 0:i.props),o}return cue(n,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),n}(te);SN(EN,"excludes",[]);function IN(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 BN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yue(e,t,n){return t&&BN(e.prototype,t),n&&BN(e,n),e}function vue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bs(e){return Bs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bs(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&&zm(e,t)}function hue(e,t){return t&&(bue(t)==="object"||typeof t=="function")?t:IN(e)}function zm(e,t){return zm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},zm(e,t)}function bue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mue(e){var t=gue();return function(){var r=Bs(e),o;if(t){var i=Bs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return hue(this,o)}}var Oue=function(e){due(n,e);var t=mue(n);function n(r){_ue(this,n);var o,i;return o=t.call(this,r),vue(IN(o),"props",void 0),o.props=new Es((i=r)===null||i===void 0?void 0:i.props),o}return yue(n,null,[{key:"controlType",get:function(){return"data-view"}}]),n}(ue),Gm={Designer:EN,Runtime:Oue,Property:Es};function wue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $ue(e,t,n){return t&&NN(e.prototype,t),n&&NN(e,n),e}function Ns(e){return Ns=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ns(e)}function Rue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tue(e,t){return t&&(Sue(t)==="object"||typeof t=="function")?t:wue(e)}function Ym(e,t){return Ym=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Ym(e,t)}function Sue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iue(e){var t=Eue();return function(){var r=Ns(e),o;if(t){var i=Ns(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Tue(this,o)}}var Bue=function(e){Rue(n,e);var t=Iue(n);function n(r){return Pue(this,n),t.call(this,r)}return $ue(n,null,[{key:"controlName",get:function(){return"\u81EA\u7531\u9875\u9762"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),n}(te);function Nue(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 MN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Aue(e,t,n){return t&&MN(e.prototype,t),n&&MN(e,n),e}function Ms(e){return Ms=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ms(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&&Hm(e,t)}function Due(e,t){return t&&(Lue(t)==="object"||typeof t=="function")?t:Nue(e)}function Hm(e,t){return Hm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Hm(e,t)}function Lue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jue();return function(){var r=Ms(e),o;if(t){var i=Ms(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Due(this,o)}}var Cue=function(e){kue(n,e);var t=Fue(n);function n(r){return Mue(this,n),t.call(this,r)}return Aue(n,null,[{key:"controlType",get:function(){return"page"}}]),n}(ue);function Ur(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 Ei(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function As(e){return As=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},As(e)}function Vue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zue(e,t){return t&&(Gue(t)==="object"||typeof t=="function")?t:Ur(e)}function qm(e,t){return qm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},qm(e,t)}function Gue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hue(e){var t=Yue();return function(){var r=As(e),o;if(t){var i=As(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zue(this,o)}}var que=function(e){Vue(n,e);var t=Hue(n);function n(r){xue(this,n);var o,i;o=t.call(this,r),Ei(Ur(o),"hideHeader",void 0),Ei(Ur(o),"background","#fff"),Ei(Ur(o),"minWidth",""),Ei(Ur(o),"maxWidth",""),Ei(Ur(o),"heightConfig","auto");var u;return o.hideHeader=(u=(i=r)===null||i===void 0?void 0:i.hideHeader)!==null&&u!==void 0?u:!1,o}return n}(Q),AN={Designer:Bue,Runtime:Cue,Property:que};function Uue(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Kue(e,t,n){return t&&kN(e.prototype,t),n&&kN(e,n),e}function ks(e){return ks=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ks(e)}function Xue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Um(e,t)}function Jue(e,t){return t&&(Que(t)==="object"||typeof t=="function")?t:Uue(e)}function Um(e,t){return Um=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Um(e,t)}function Que(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ece(e){var t=Zue();return function(){var r=ks(e),o;if(t){var i=ks(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Jue(this,o)}}var tce=function(e){Xue(n,e);var t=ece(n);function n(r){return Wue(this,n),t.call(this,r)}return Kue(n,null,[{key:"controlName",get:function(){return"\u9AD8\u7EA7\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),n}(te);function nce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function oce(e,t,n){return t&&DN(e.prototype,t),n&&DN(e,n),e}function Ds(e){return Ds=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ds(e)}function ice(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wm(e,t)}function uce(e,t){return t&&(cce(t)==="object"||typeof t=="function")?t:nce(e)}function Wm(e,t){return Wm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Wm(e,t)}function cce(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 lce(e){var t=fce();return function(){var r=Ds(e),o;if(t){var i=Ds(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return uce(this,o)}}var ace=function(e){ice(n,e);var t=lce(n);function n(r){return rce(this,n),t.call(this,r)}return oce(n,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),n}(ue);function Km(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ls(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&&Xm(e,t)}function _ce(e,t){return t&&(yce(t)==="object"||typeof t=="function")?t:Km(e)}function Xm(e,t){return Xm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Xm(e,t)}function yce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dce(e){var t=vce();return function(){var r=Ls(e),o;if(t){var i=Ls(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _ce(this,o)}}var hce=function(e){pce(n,e);var t=dce(n);function n(r){sce(this,n);var o,i,u;return o=t.call(this,r),LN(Km(o),"display",void 0),LN(Km(o),"flexConfig",void 0),o.display=((i=r)===null||i===void 0?void 0:i.display)||"flex",o.flexConfig=new eR((u=r)===null||u===void 0?void 0:u.flexConfig),o}return n}(Q),jN={Designer:tce,Runtime:ace,Property:hce};function bce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mce(e,t,n){return t&&FN(e.prototype,t),n&&FN(e,n),e}function js(e){return js=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},js(e)}function Oce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jm(e,t)}function wce(e,t){return t&&(Pce(t)==="object"||typeof t=="function")?t:bce(e)}function Jm(e,t){return Jm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Jm(e,t)}function Pce(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 Rce(e){var t=$ce();return function(){var r=js(e),o;if(t){var i=js(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return wce(this,o)}}var Tce=function(e){Oce(n,e);var t=Rce(n);function n(r){return gce(this,n),t.call(this,r)}return mce(n,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),n}(te);function Sce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ece(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ice(e,t,n){return t&&CN(e.prototype,t),n&&CN(e,n),e}function Fs(e){return Fs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fs(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&&Qm(e,t)}function Nce(e,t){return t&&(Mce(t)==="object"||typeof t=="function")?t:Sce(e)}function Qm(e,t){return Qm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Qm(e,t)}function Mce(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 kce(e){var t=Ace();return function(){var r=Fs(e),o;if(t){var i=Fs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Nce(this,o)}}var Dce=function(e){Bce(n,e);var t=kce(n);function n(r){return Ece(this,n),t.call(this,r)}return Ice(n,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),n}(ue);function Lce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cs(e){return Cs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cs(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&&Zm(e,t)}function Cce(e,t){return t&&(xce(t)==="object"||typeof t=="function")?t:Lce(e)}function Zm(e,t){return Zm=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Zm(e,t)}function xce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zce(e){var t=Vce();return function(){var r=Cs(e),o;if(t){var i=Cs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Cce(this,o)}}var Gce=function(e){Fce(n,e);var t=zce(n);function n(r){return jce(this,n),t.call(this,r)}return n}(Q),xN={Designer:Tce,Runtime:Dce,Property:Gce};function Yce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qce(e,t,n){return t&&VN(e.prototype,t),n&&VN(e,n),e}function xs(e){return xs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xs(e)}function Uce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e0(e,t)}function Wce(e,t){return t&&(Kce(t)==="object"||typeof t=="function")?t:Yce(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},e0(e,t)}function Kce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jce(e){var t=Xce();return function(){var r=xs(e),o;if(t){var i=xs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Wce(this,o)}}var Qce=function(e){Uce(n,e);var t=Jce(n);function n(r){return Hce(this,n),t.call(this,r)}return qce(n,null,[{key:"controlName",get:function(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),n}(te);function Zce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function efe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tfe(e,t,n){return t&&zN(e.prototype,t),n&&zN(e,n),e}function Vs(e){return Vs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vs(e)}function nfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t0(e,t)}function rfe(e,t){return t&&(ofe(t)==="object"||typeof t=="function")?t:Zce(e)}function t0(e,t){return t0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},t0(e,t)}function ofe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ife(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ufe(e){var t=ife();return function(){var r=Vs(e),o;if(t){var i=Vs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return rfe(this,o)}}var cfe=function(e){nfe(n,e);var t=ufe(n);function n(r){return efe(this,n),t.call(this,r)}return tfe(n,null,[{key:"controlType",get:function(){return"position"}}]),n}(ue);function Ii(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ffe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gs(e){return Gs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gs(e)}function lfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function afe(e,t){return t&&(sfe(t)==="object"||typeof t=="function")?t:Ii(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},n0(e,t)}function sfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _fe(e){var t=pfe();return function(){var r=Gs(e),o;if(t){var i=Gs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return afe(this,o)}}var yfe=function(e){lfe(n,e);var t=_fe(n);function n(r){ffe(this,n);var o,i,u,f,a;o=t.call(this,r),zs(Ii(o),"widthSpan",void 0),zs(Ii(o),"heightSpan",void 0),zs(Ii(o),"left",void 0),zs(Ii(o),"top",void 0);var l;o.widthSpan=(l=(i=r)===null||i===void 0?void 0:i.widthSpan)!==null&&l!==void 0?l:12;var s;o.heightSpan=(s=(u=r)===null||u===void 0?void 0:u.heightSpan)!==null&&s!==void 0?s:12;var p;o.left=(p=(f=r)===null||f===void 0?void 0:f.left)!==null&&p!==void 0?p:0;var _;return o.top=(_=(a=r)===null||a===void 0?void 0:a.top)!==null&&_!==void 0?_:0,o}return n}(Q),GN={Designer:Qce,Runtime:cfe,Property:yfe};function Ys(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 r0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hs(e)}function dfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o0(e,t)}function hfe(e,t){return t&&(bfe(t)==="object"||typeof t=="function")?t:Ys(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},o0(e,t)}function bfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mfe(e){var t=gfe();return function(){var r=Hs(e),o;if(t){var i=Hs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return hfe(this,o)}}var i0=function(e){dfe(n,e);var t=mfe(n);function n(r){vfe(this,n);var o,i,u,f;o=t.call(this,r),r0(Ys(o),"position",void 0),r0(Ys(o),"opacity",void 0),r0(Ys(o),"align",void 0);var a;o.position=(a=(i=r)===null||i===void 0?void 0:i.position)!==null&&a!==void 0?a:"bottom";var l;o.opacity=(l=(u=r)===null||u===void 0?void 0:u.opacity)!==null&&l!==void 0?l:!0;var s;return o.align=(s=(f=r)===null||f===void 0?void 0:f.align)!==null&&s!==void 0?s:"right",o}return n}(Q);function YN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ofe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function wfe(e,t,n){return t&&HN(e.prototype,t),n&&HN(e,n),e}function u0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qs(e){return qs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qs(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&&c0(e,t)}function $fe(e,t){return t&&(Rfe(t)==="object"||typeof t=="function")?t:YN(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},c0(e,t)}function Rfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sfe(e){var t=Tfe();return function(){var r=qs(e),o;if(t){var i=qs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return $fe(this,o)}}var f0=function(e){Pfe(n,e);var t=Sfe(n);function n(r){Ofe(this,n);var o,i;o=t.call(this,r),u0(YN(o),"props",void 0);var u;return o.props=new i0((u=(i=r)===null||i===void 0?void 0:i.props)!==null&&u!==void 0?u:{}),o}return wfe(n,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"}}]),n}(te);u0(f0,"excludes",[]),u0(f0,"setting",[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}]);function qN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Efe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ife(e,t,n){return t&&UN(e.prototype,t),n&&UN(e,n),e}function Bfe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Us(e){return Us=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Us(e)}function Nfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l0(e,t)}function Mfe(e,t){return t&&(Afe(t)==="object"||typeof t=="function")?t:qN(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},l0(e,t)}function Afe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dfe(e){var t=kfe();return function(){var r=Us(e),o;if(t){var i=Us(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Mfe(this,o)}}var Lfe=function(e){Nfe(n,e);var t=Dfe(n);function n(r){Efe(this,n);var o,i;o=t.call(this,r),Bfe(qN(o),"props",void 0);var u;return o.props=new i0((u=(i=r)===null||i===void 0?void 0:i.props)!==null&&u!==void 0?u:{}),o}return Ife(n,null,[{key:"controlType",get:function(){return"action-bar"}}]),n}(ue),WN={Designer:f0,Runtime:Lfe,Property:i0},jfe=Object.freeze({__proto__:null,Grid:uB,Col:Da,Row:bB,GridRow:Kg,CardGroup:EB,SubTableColumn:om,SubTableRow:CB,GridTableColumn:YB,GridLayoutContainer:XB,Tab:aN,TabPane:iN,Toolbox:hN,ListView:Cm,DataView:Gm,Page:AN,AdvancedContainer:jN,PositioningContainer:xN,Position:GN,ActionBar:WN});function C(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ws(e){return Ws=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ws(e)}function s0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ffe(e,t){return t&&(Cfe(t)==="object"||typeof t=="function")?t:C(e)}function p0(e,t){return p0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},p0(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 _0(e){var t=xfe();return function(){var r=Ws(e),o;if(t){var i=Ws(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Ffe(this,o)}}var Vfe=function(e){s0(n,e);var t=_0(n);function n(r){a0(this,n);var o;return o=t.call(this,r),F(C(o),"caption",{type:"string",required:!0,message:w.getMessage("pleaseEnterCaption")}),F(C(o),"limitRows",[{type:"number",required:!0,message:w.getMessage("isNotNumber")},{type:"number",min:0,message:w.getMessage("limitRowsCannotBeLessThan0")}]),F(C(o),"formKey",{type:"string",required:!1,message:w.getMessage("pleaseEnterForm")}),F(C(o),"maxHeight",{type:"number",required:!0,message:w.getMessage("pleaseEnterMaxHeight")}),F(C(o),"captionTip",{type:"string",required:!1,message:w.getMessage("pleaseEnterCaptionTip")}),F(C(o),"mobileRowCaption",{type:"string",required:!1,message:w.getMessage("pleaseEnterRowCaption")}),r.openType==="modal"&&(o.formKey.required=!0),r.isShowCaptionTip&&(o.captionTip.required=!0),r.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return n}(pe),zfe=function(e){s0(n,e);var t=_0(n);function n(r){a0(this,n);var o;return o=t.call(this,r),r.isHide||o.push({type:"array",required:r.limitRows>0,message:w.getMessage("runtimeRequired",{caption:r.caption})},{type:"array",validator:function(u,f,a){f.length<r.limitRows&&a(w.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:r.limitRows})),a()},message:w.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:r.limitRows})}),o}return n}(fn),Bi=function(e){s0(n,e);var t=_0(n);function n(r,o){a0(this,n);var i,u,f,a,l,s,p,_,y,d,h,b,v,g,m,O,$,T,R,S,I,E,N,B,A,M,j,D,Y,U,K;i=t.call(this,r,o),F(C(i),"caption",void 0),F(C(i),"labelPosition",void 0),F(C(i),"isHideCaption",void 0),F(C(i),"isShowCaptionTip",void 0),F(C(i),"captionTip",void 0),F(C(i),"defaultState",void 0),F(C(i),"limitRows",void 0),F(C(i),"maxRows",void 0),F(C(i),"defaultRows",void 0),F(C(i),"datasourceBind",void 0),F(C(i),"printMode",void 0),F(C(i),"openType",void 0),F(C(i),"formKey",void 0),F(C(i),"useCustomHeight",void 0),F(C(i),"maxHeight",void 0),F(C(i),"canAdd",void 0),F(C(i),"canDelete",void 0),F(C(i),"canCheck",void 0),F(C(i),"canEdit",void 0),F(C(i),"canImport",void 0),F(C(i),"canExport",void 0),F(C(i),"canClear",void 0),F(C(i),"isPaste",void 0),F(C(i),"mobileShowType",void 0),F(C(i),"mobileDefaultNum",void 0),F(C(i),"dataStorageDoc",void 0),F(C(i),"serverPagination",void 0),F(C(i),"fixedColumn",void 0),F(C(i),"mobileRowCaption",void 0),F(C(i),"mobileIsTile",void 0);var ie;i.caption=(ie=(u=o)===null||u===void 0?void 0:u.caption)!==null&&ie!==void 0?ie:Xs.controlName;var tt;i.isHideCaption=(tt=(f=o)===null||f===void 0?void 0:f.isHideCaption)!==null&&tt!==void 0?tt:!1;var Ve;i.defaultState=(Ve=(a=o)===null||a===void 0?void 0:a.defaultState)!==null&&Ve!==void 0?Ve:"default";var Tt;i.labelPosition=(Tt=(l=o)===null||l===void 0?void 0:l.labelPosition)!==null&&Tt!==void 0?Tt:"top";var St;i.openType=(St=(s=o)===null||s===void 0?void 0:s.openType)!==null&&St!==void 0?St:"default";var Et;i.formKey=(Et=(p=o)===null||p===void 0?void 0:p.formKey)!==null&&Et!==void 0?Et:"";var on;i.useCustomHeight=(on=(_=o)===null||_===void 0?void 0:_.useCustomHeight)!==null&&on!==void 0?on:!1;var dr;i.maxHeight=(dr=(y=o)===null||y===void 0?void 0:y.maxHeight)!==null&&dr!==void 0?dr:Q$;var hr;i.printMode=(hr=(d=o)===null||d===void 0?void 0:d.printMode)!==null&&hr!==void 0?hr:"row";var xi;i.limitRows=(xi=(h=o)===null||h===void 0?void 0:h.limitRows)!==null&&xi!==void 0?xi:1;var br;i.maxRows=(br=(b=o)===null||b===void 0?void 0:b.maxRows)!==null&&br!==void 0?br:null;var Iw;i.defaultRows=(Iw=(v=o)===null||v===void 0?void 0:v.defaultRows)!==null&&Iw!==void 0?Iw:1,i.datasourceBind=new ve((g=o)===null||g===void 0?void 0:g.datasourceBind);var Bw;i.canAdd=(Bw=(m=o)===null||m===void 0?void 0:m.canAdd)!==null&&Bw!==void 0?Bw:!0;var Nw;i.canDelete=(Nw=(O=o)===null||O===void 0?void 0:O.canDelete)!==null&&Nw!==void 0?Nw:!0;var Mw;i.canCheck=(Mw=($=o)===null||$===void 0?void 0:$.canCheck)!==null&&Mw!==void 0?Mw:!1;var Aw;i.canEdit=(Aw=(T=o)===null||T===void 0?void 0:T.canEdit)!==null&&Aw!==void 0?Aw:!1;var kw;i.canImport=(kw=(R=o)===null||R===void 0?void 0:R.canImport)!==null&&kw!==void 0?kw:!1;var Dw;i.canExport=(Dw=(S=o)===null||S===void 0?void 0:S.canExport)!==null&&Dw!==void 0?Dw:!1;var Lw;i.canClear=(Lw=(I=o)===null||I===void 0?void 0:I.canClear)!==null&&Lw!==void 0?Lw:!0;var jw;i.serverPagination=(jw=(E=o)===null||E===void 0?void 0:E.serverPagination)!==null&&jw!==void 0?jw:!1;var Fw;i.isShowCaptionTip=(Fw=(N=o)===null||N===void 0?void 0:N.isShowCaptionTip)!==null&&Fw!==void 0?Fw:!1;var Cw;i.captionTip=(Cw=(B=o)===null||B===void 0?void 0:B.captionTip)!==null&&Cw!==void 0?Cw:"";var xw;i.mobileShowType=(xw=(A=o)===null||A===void 0?void 0:A.mobileShowType)!==null&&xw!==void 0?xw:"list";var Vw;i.mobileDefaultNum=(Vw=(M=o)===null||M===void 0?void 0:M.mobileDefaultNum)!==null&&Vw!==void 0?Vw:10;var zw;i.dataStorageDoc=(zw=(j=o)===null||j===void 0?void 0:j.dataStorageDoc)!==null&&zw!==void 0?zw:new hP;var Gw;i.fixedColumn=(Gw=(D=o)===null||D===void 0?void 0:D.fixedColumn)!==null&&Gw!==void 0?Gw:[];var Yw;i.mobileRowCaption=(Yw=(Y=o)===null||Y===void 0?void 0:Y.mobileRowCaption)!==null&&Yw!==void 0?Yw:"\u660E\u7EC6";var Hw;i.mobileIsTile=(Hw=(U=o)===null||U===void 0?void 0:U.mobileIsTile)!==null&&Hw!==void 0?Hw:!1;var qw;return i.isPaste=(qw=(K=o)===null||K===void 0?void 0:K.isPaste)!==null&&qw!==void 0?qw:!1,i}return n}(No);F(Bi,"Rules",Vfe),F(Bi,"RuntimeRules",zfe);function y0(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 KN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yfe(e,t,n){return t&&KN(e.prototype,t),n&&KN(e,n),e}function v0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ks(e){return Ks=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ks(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&&d0(e,t)}function qfe(e,t){return t&&(Ufe(t)==="object"||typeof t=="function")?t:y0(e)}function d0(e,t){return d0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},d0(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 r=Ks(e),o;if(t){var i=Ks(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return qfe(this,o)}}var Xs=function(e){Hfe(n,e);var t=Kfe(n);function n(r){Gfe(this,n);var o,i,u,f,a,l;return o=t.call(this,r),v0(y0(o),"props",void 0),o.props=new Bi(y0(o),(i=r)===null||i===void 0?void 0:i.props),((f=r)===null||f===void 0||(u=f.props)===null||u===void 0?void 0:u.headers)===void 0&&(o.props.headers=[new wt,new wt,new wt]),((l=r)===null||l===void 0||(a=l.props)===null||a===void 0?void 0:a.footers)===void 0&&(o.props.footers=[]),o}return Yfe(n,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new wt,f=typeof o=="number"?o:i;return f===void 0?this.props.headers.push(u):this.props.headers.splice(f,0,u),u}}],[{key:"controlName",get:function(){return"\u660E\u7EC6\u5B50\u8868"}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),n}(du);v0(Xs,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),v0(Xs,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION,c.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.COMMON_SETTING_TYPE.IS_HIDE,c.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,c.COMMON_SETTING_TYPE.IS_PASTE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function h0(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 XN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Jfe(e,t,n){return t&&XN(e.prototype,t),n&&XN(e,n),e}function Qfe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Js(e){return Js=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Js(e)}function Zfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b0(e,t)}function ele(e,t){return t&&(tle(t)==="object"||typeof t=="function")?t:h0(e)}function b0(e,t){return b0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},b0(e,t)}function tle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rle(e){var t=nle();return function(){var r=Js(e),o;if(t){var i=Js(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return ele(this,o)}}var ole=function(e){Zfe(n,e);var t=rle(n);function n(r){Xfe(this,n);var o,i;return o=t.call(this,r),Qfe(h0(o),"props",void 0),o.props=new Bi(h0(o),(i=r)===null||i===void 0?void 0:i.props),o}return Jfe(n,[{key:"getChildrenDataSourceBindLayout",value:function(){cn("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),n}(Ry),JN={Designer:Xs,Runtime:ole,Property:Bi};function Wr(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 Ni(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qs(e){return Qs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qs(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&&g0(e,t)}function cle(e,t){return t&&(fle(t)==="object"||typeof t=="function")?t:Wr(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},g0(e,t)}function fle(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 ale(e){var t=lle();return function(){var r=Qs(e),o;if(t){var i=Qs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return cle(this,o)}}var m0=function(e){ule(n,e);var t=ale(n);function n(r,o){ile(this,n);var i,u,f,a,l,s;i=t.call(this,r,o),Ni(Wr(i),"isFixedHeader",void 0),Ni(Wr(i),"selectionType",void 0),Ni(Wr(i),"isShowToolbar",void 0),Ni(Wr(i),"isShowSelection",void 0),Ni(Wr(i),"isShowCustomColumns",void 0);var p;i.isFixedHeader=(p=(u=o)===null||u===void 0?void 0:u.isFixedHeader)!==null&&p!==void 0?p:!1,i.selectionType=(f=o)===null||f===void 0?void 0:f.selectionType;var _;i.isShowToolbar=(_=(a=o)===null||a===void 0?void 0:a.isShowToolbar)!==null&&_!==void 0?_:!0;var y;i.isShowSelection=(y=(l=o)===null||l===void 0?void 0:l.isShowSelection)!==null&&y!==void 0?y:!1;var d;return i.isShowCustomColumns=(d=(s=o)===null||s===void 0?void 0:s.isShowCustomColumns)!==null&&d!==void 0?d:!0,i}return n}(No);function sle(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 ple(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zs(e){return Zs=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zs(e)}function ZN(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&O0(e,t)}function _le(e,t){return t&&(yle(t)==="object"||typeof t=="function")?t:sle(e)}function O0(e,t){return O0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},O0(e,t)}function yle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eM(e){var t=vle();return function(){var r=Zs(e),o;if(t){var i=Zs(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return _le(this,o)}}var dle=function(e){ZN(n,e);var t=eM(n);function n(r){QN(this,n);var o;return o=t.call(this,r),o.caption.required=!1,o}return n}(Nt),ep=function(e){ZN(n,e);var t=eM(n);function n(r){QN(this,n);var o,i,u,f,a,l,s,p,_;o=t.call(this,r);var y;o.fixed=(y=(i=r)===null||i===void 0?void 0:i.fixed)!==null&&y!==void 0?y:"left";var d;o.caption=(d=(u=r)===null||u===void 0?void 0:u.caption)!==null&&d!==void 0?d:Xn.controlName;var h;o.width=(h=(f=r)===null||f===void 0?void 0:f.width)!==null&&h!==void 0?h:60;var b;o.autoWidth.minWidth=(b=(l=r)===null||l===void 0||(a=l.autoWidth)===null||a===void 0?void 0:a.minWidth)!==null&&b!==void 0?b:60;var v;o.autoWidth.flex=(v=(p=r)===null||p===void 0||(s=p.autoWidth)===null||s===void 0?void 0:s.flex)!==null&&v!==void 0?v:.4;var g;return o.widthType=(g=(_=r)===null||_===void 0?void 0:_.widthType)!==null&&g!==void 0?g:"px",o}return n}(ce);ple(ep,"Rules",dle);function tM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tp(e){return tp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tp(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&&w0(e,t)}function gle(e,t){return t&&(mle(t)==="object"||typeof t=="function")?t:tM(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},w0(e,t)}function mle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ole(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wle(e){var t=Ole();return function(){var r=tp(e),o;if(t){var i=tp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return gle(this,o)}}var Xn=function(e){ble(n,e);var t=wle(n);function n(r){hle(this,n);var o,i;return o=t.call(this,r),Mi(tM(o),"props",void 0),o.props=new ep((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);Mi(Xn,"controlType","order-column"),Mi(Xn,"controlName","\u5E8F\u53F7"),Mi(Xn,"controlIcon","order-column"),Mi(Xn,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function nM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ple(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function np(e){return np=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},np(e)}function $le(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rle(e,t){return t&&(Tle(t)==="object"||typeof t=="function")?t:nM(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},$0(e,t)}function Tle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ele(e){var t=Sle();return function(){var r=np(e),o;if(t){var i=np(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Rle(this,o)}}var R0=function(e){$le(n,e);var t=Ele(n);function n(r){Ple(this,n);var o,i;return o=t.call(this,r),P0(nM(o),"props",void 0),o.props=new ep((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);P0(R0,"controlType","order-column"),P0(R0,"controlFieldType",c.FieldTypes.DECIMAL);var rM={Designer:Xn,Runtime:R0,Property:ep};function T0(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 oM(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rp(e){return rp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rp(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&&S0(e,t)}function Nle(e,t){return t&&(Mle(t)==="object"||typeof t=="function")?t:T0(e)}function S0(e,t){return S0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},S0(e,t)}function Mle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ale(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kle(e){var t=Ale();return function(){var r=rp(e),o;if(t){var i=rp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Nle(this,o)}}var E0=function(e){Ble(n,e);var t=kle(n);function n(r){Ile(this,n);var o,i,u,f,a,l,s;o=t.call(this,r),oM(T0(o),"showType",void 0),oM(T0(o),"limit",void 0);var p;o.fixed=(p=(i=r)===null||i===void 0?void 0:i.fixed)!==null&&p!==void 0?p:"right",o.widthType="auto";var _;o.autoWidth.minWidth=(_=(f=r)===null||f===void 0||(u=f.autoWidth)===null||u===void 0?void 0:u.minWidth)!==null&&_!==void 0?_:84;var y;o.caption=(y=(a=r)===null||a===void 0?void 0:a.caption)!==null&&y!==void 0?y:Qn.controlName;var d;o.showType=(d=(l=r)===null||l===void 0?void 0:l.showType)!==null&&d!==void 0?d:"icon";var h;return o.limit=(h=(s=r)===null||s===void 0?void 0:s.limit)!==null&&h!==void 0?h:3,o}return n}(ce);function op(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function iM(e,t,n,r,o,i,u){try{var f=e[i](u),a=f.value}catch(l){n(l);return}f.done?t(a):Promise.resolve(a).then(r,o)}function Dle(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(a){iM(i,r,o,u,f,"next",a)}function f(a){iM(i,r,o,u,f,"throw",a)}u(void 0)})}}function Lle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function jle(e,t,n){return t&&uM(e.prototype,t),n&&uM(e,n),e}function Jn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kr(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Kr=Reflect.get:Kr=function(o,i,u){var f=Gle(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Kr(e,t,n||e)}function Tn(e){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tn(e)}function Fle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I0(e,t)}function Cle(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Jn(e,o,n[o])})}return e}function xle(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Vle(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xle(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function zle(e,t){return t&&(Yle(t)==="object"||typeof t=="function")?t:op(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},I0(e,t)}function Gle(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Tn(e),e!==null););return e}function Yle(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 qle(e){var t=Hle();return function(){var r=Tn(e),o;if(t){var i=Tn(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zle(this,o)}}function Ule(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var Qn=function(e){Fle(n,e);var t=qle(n);function n(r){Lle(this,n);var o,i,u;return o=t.call(this,r),Jn(op(o),"props",void 0),Jn(op(o),"children",void 0),o.props=new E0((i=r)===null||i===void 0?void 0:i.props),vt(op(o),"children",(u=r)===null||u===void 0?void 0:u.children),o}return jle(n,[{key:"toDataBindModel",value:function(){var o=Kr(Tn(n.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===rf.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"toSchema",value:function(){var o=Kr(Tn(n.prototype),"toSchema",this).call(this);return Vle(Cle({},o),{children:this.children.map(function(i){return i.toSchema()})})}},{key:"validate",value:function(o,i){var u=this,f=this,a=function(){return Kr(Tn(n.prototype),"validate",u)};return Dle(function(){return Ule(this,function(l){switch(l.label){case 0:return[4,a().call(f,o,i)];case 1:return l.sent(),[4,Promise.all(f.children.map(function(s){return s.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}]),n}(he);Jn(Qn,"controlType","operation-column"),Jn(Qn,"controlName","\u64CD\u4F5C"),Jn(Qn,"controlIcon","operation-column"),Jn(Qn,"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 ip(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 up(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cp(e){return cp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cp(e)}function Kle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B0(e,t)}function Xle(e,t){return t&&(Jle(t)==="object"||typeof t=="function")?t:ip(e)}function B0(e,t){return B0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},B0(e,t)}function Jle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zle(e){var t=Qle();return function(){var r=cp(e),o;if(t){var i=cp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Xle(this,o)}}var N0=function(e){Kle(n,e);var t=Zle(n);function n(r){Wle(this,n);var o,i,u;return o=t.call(this,r),up(ip(o),"props",void 0),up(ip(o),"children",void 0),o.props=new E0((i=r)===null||i===void 0?void 0:i.props),vt(ip(o),"children",(u=r)===null||u===void 0?void 0:u.children),o}return n}(be);up(N0,"controlType","operation-column"),up(N0,"controlFieldType",c.FieldTypes.FILE);var cM={Designer:Qn,Runtime:N0,Property:E0};function Ai(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fM(e,t,n,r,o,i,u){try{var f=e[i](u),a=f.value}catch(l){n(l);return}f.done?t(a):Promise.resolve(a).then(r,o)}function eae(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(a){fM(i,r,o,u,f,"next",a)}function f(a){fM(i,r,o,u,f,"throw",a)}u(void 0)})}}function tae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nae(e,t,n){return t&&lM(e.prototype,t),n&&lM(e,n),e}function fp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ki(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?ki=Reflect.get:ki=function(o,i,u){var f=fae(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},ki(e,t,n||e)}function Zn(e){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(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&&M0(e,t)}function oae(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){fp(e,o,n[o])})}return e}function iae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function uae(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):iae(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function cae(e,t){return t&&(lae(t)==="object"||typeof t=="function")?t:Ai(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},M0(e,t)}function fae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Zn(e),e!==null););return e}function lae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sae(e){var t=aae();return function(){var r=Zn(e),o;if(t){var i=Zn(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return cae(this,o)}}function pae(e,t){var n,r,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function f(l){return function(s){return a([l,s])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=l[0]&2?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return u.label++,{value:l[1],done:!1};case 5:u.label++,r=l[1],l=[0];continue;case 7:l=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){u=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){u.label=l[1];break}if(l[0]===6&&u.label<o[1]){u.label=o[1],o=l;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(l);break}o[2]&&u.ops.pop(),u.trys.pop();continue}l=t.call(e,u)}catch(s){l=[6,s],r=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}var aM=function(e){rae(n,e);var t=sae(n);function n(r){tae(this,n);var o,i,u,f,a,l;return o=t.call(this,r),fp(Ai(o),"props",void 0),fp(Ai(o),"children",void 0),o.props=new m0(Ai(o),(i=r)===null||i===void 0?void 0:i.props),vt(Ai(o),"children",(u=r)===null||u===void 0?void 0:u.children),((f=r)===null||f===void 0?void 0:f.props.headers)===void 0&&(o.props.headers=[new Xn,new Qn]),((l=r)===null||l===void 0||(a=l.props)===null||a===void 0?void 0:a.footers)===void 0&&(o.props.footers=[]),o}return nae(n,[{key:"toSchema",value:function(){var o=ki(Zn(n.prototype),"toSchema",this).call(this),i=this.children.map(function(u){return u.toSchema()});return uae(oae({},o),{children:i})}},{key:"validate",value:function(o,i){var u=this,f=this,a=function(){return ki(Zn(n.prototype),"validate",u)};return eae(function(){return pae(this,function(l){switch(l.label){case 0:return[4,a().call(f,o,i)];case 1:return l.sent(),[4,Promise.all(f.children.map(function(s){return s.validate(o,i)}))];case 2:return l.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return"\u8868\u683C"}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(du);fp(aM,"setting",[{key:"list-fixed-header",visible:!0}]);function A0(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function yae(e,t,n){return t&&sM(e.prototype,t),n&&sM(e,n),e}function vae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lp(e){return lp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lp(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&&k0(e,t)}function hae(e,t){return t&&(bae(t)==="object"||typeof t=="function")?t:A0(e)}function k0(e,t){return k0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},k0(e,t)}function bae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mae(e){var t=gae();return function(){var r=lp(e),o;if(t){var i=lp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return hae(this,o)}}var Oae=function(e){dae(n,e);var t=mae(n);function n(r){_ae(this,n);var o,i;return o=t.call(this,r),vae(A0(o),"props",void 0),o.props=new m0(A0(o),(i=r)===null||i===void 0?void 0:i.props),o}return yae(n,[{key:"getChildrenDataSourceBindLayout",value:function(){cn("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}},{key:"getCheckboxProps",value:function(o){return{}}}],[{key:"controlType",get:function(){return"grid-table"}}]),n}(Ry),pM={Designer:aM,Runtime:Oae,Property:m0},wae=Object.freeze({__proto__:null,SubTable:JN,GridTable:pM});function Sn(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 er(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ap(e){return ap=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ap(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&&D0(e,t)}function Pae(e,t){return t&&($ae(t)==="object"||typeof t=="function")?t:Sn(e)}function D0(e,t){return D0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},D0(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 vM(e){var t=Rae();return function(){var r=ap(e),o;if(t){var i=ap(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Pae(this,o)}}var Tae=function(e){yM(n,e);var t=vM(n);function n(r){_M(this,n);var o;return o=t.call(this,r),_n.call(Sn(o),r),o}return n}(By),sp=function(e){yM(n,e);var t=vM(n);function n(r){_M(this,n);var o,i,u,f,a,l,s,p;o=t.call(this,r),er(Sn(o),"optionConfig",void 0),er(Sn(o),"datasourceBind",void 0),er(Sn(o),"showLinkOperation",void 0),er(Sn(o),"linkOperationOption",void 0),er(Sn(o),"options",void 0),er(Sn(o),"lineEllipsis",void 0);var _;o.caption=(_=(i=r)===null||i===void 0?void 0:i.caption)!==null&&_!==void 0?_:tr.controlName;var y;o.optionConfig=(y=(u=r)===null||u===void 0?void 0:u.optionConfig)!==null&&y!==void 0?y:"none",o.datasourceBind=new ve((f=r)===null||f===void 0?void 0:f.datasourceBind);var d;o.options=It((d=(a=r)===null||a===void 0?void 0:a.options)!==null&&d!==void 0?d:[{}]);var h;o.showLinkOperation=(h=(l=r)===null||l===void 0?void 0:l.showLinkOperation)!==null&&h!==void 0?h:!1,o.linkOperationOption=new Gt((s=r)===null||s===void 0?void 0:s.linkOperationOption);var b;return o.lineEllipsis=(b=(p=r)===null||p===void 0?void 0:p.lineEllipsis)!==null&&b!==void 0?b:1,o}return n}(ce);er(sp,"Rules",Tae);function dM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pp(e){return pp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pp(e)}function Eae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L0(e,t)}function Iae(e,t){return t&&(Bae(t)==="object"||typeof t=="function")?t:dM(e)}function L0(e,t){return L0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},L0(e,t)}function Bae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mae(e){var t=Nae();return function(){var r=pp(e),o;if(t){var i=pp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Iae(this,o)}}var tr=function(e){Eae(n,e);var t=Mae(n);function n(r){Sae(this,n);var o,i;return o=t.call(this,r),Xr(dM(o),"props",void 0),o.props=new sp((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);Xr(tr,"controlType","varchar-column"),Xr(tr,"controlName","\u77ED\u6587\u672C"),Xr(tr,"controlIcon","varchar-column"),Xr(tr,"controlFieldType",c.FieldTypes.VARCHAR),Xr(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-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 hM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _p(e){return _p=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_p(e)}function kae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F0(e,t)}function Dae(e,t){return t&&(Lae(t)==="object"||typeof t=="function")?t:hM(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},F0(e,t)}function Lae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fae(e){var t=jae();return function(){var r=_p(e),o;if(t){var i=_p(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Dae(this,o)}}var C0=function(e){kae(n,e);var t=Fae(n);function n(r){Aae(this,n);var o,i;return o=t.call(this,r),j0(hM(o),"props",void 0),o.props=new sp((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);j0(C0,"controlType","varchar-column"),j0(C0,"controlFieldType",c.FieldTypes.VARCHAR);var bM={Designer:tr,Runtime:C0,Property:sp};function Jr(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 Di(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yp(e){return yp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yp(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&&x0(e,t)}function Cae(e,t){return t&&(xae(t)==="object"||typeof t=="function")?t:Jr(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},x0(e,t)}function xae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OM(e){var t=Vae();return function(){var r=yp(e),o;if(t){var i=yp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Cae(this,o)}}var zae=function(e){mM(n,e);var t=OM(n);function n(r){gM(this,n);var o;return o=t.call(this,r),_n.call(Jr(o),r),o}return n}(Nt),vp=function(e){mM(n,e);var t=OM(n);function n(r){gM(this,n);var o,i,u,f,a,l;o=t.call(this,r),Di(Jr(o),"escapeHTML",void 0),Di(Jr(o),"showLinkOperation",void 0),Di(Jr(o),"linkOperationOption",void 0),Di(Jr(o),"lineEllipsis",void 0);var s;o.escapeHTML=(s=(i=r)===null||i===void 0?void 0:i.escapeHTML)!==null&&s!==void 0?s:!0;var p;o.caption=(p=(u=r)===null||u===void 0?void 0:u.caption)!==null&&p!==void 0?p:nr.controlName;var _;o.lineEllipsis=(_=(f=r)===null||f===void 0?void 0:f.lineEllipsis)!==null&&_!==void 0?_:1;var y;return o.showLinkOperation=(y=(a=r)===null||a===void 0?void 0:a.showLinkOperation)!==null&&y!==void 0?y:!1,o.linkOperationOption=new Gt((l=r)===null||l===void 0?void 0:l.linkOperationOption),o}return n}(ce);Di(vp,"Rules",zae);function wM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yae(e,t,n){return t&&PM(e.prototype,t),n&&PM(e,n),e}function Qr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dp(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?dp=Reflect.get:dp=function(o,i,u){var f=Uae(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},dp(e,t,n||e)}function Zr(e){return Zr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zr(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&&V0(e,t)}function qae(e,t){return t&&(Wae(t)==="object"||typeof t=="function")?t:wM(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},V0(e,t)}function Uae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Zr(e),e!==null););return e}function Wae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xae(e){var t=Kae();return function(){var r=Zr(e),o;if(t){var i=Zr(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return qae(this,o)}}var nr=function(e){Hae(n,e);var t=Xae(n);function n(r){Gae(this,n);var o,i;return o=t.call(this,r),Qr(wM(o),"props",void 0),o.props=new vp((i=r)===null||i===void 0?void 0:i.props),o}return Yae(n,[{key:"toDataBindModel",value:function(o){var i=dp(Zr(n.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),n}(he);Qr(nr,"controlType","text-column"),Qr(nr,"controlName","\u957F\u6587\u672C"),Qr(nr,"controlIcon","text-column"),Qr(nr,"controlFieldType",c.FieldTypes.TEXT),Qr(nr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-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 $M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hp(e){return hp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hp(e)}function Qae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zae(e,t){return t&&(ese(t)==="object"||typeof t=="function")?t:$M(e)}function G0(e,t){return G0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},G0(e,t)}function ese(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nse(e){var t=tse();return function(){var r=hp(e),o;if(t){var i=hp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Zae(this,o)}}var Y0=function(e){Qae(n,e);var t=nse(n);function n(r){Jae(this,n);var o,i;return o=t.call(this,r),z0($M(o),"props",void 0),o.props=new vp((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);z0(Y0,"controlType","text-column"),z0(Y0,"controlFieldType",c.FieldTypes.TEXT);var RM={Designer:nr,Runtime:Y0,Property:vp};function xt(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 rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bp(e){return bp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bp(e)}function SM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&H0(e,t)}function rse(e,t){return t&&(ose(t)==="object"||typeof t=="function")?t:xt(e)}function H0(e,t){return H0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},H0(e,t)}function ose(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ise(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EM(e){var t=ise();return function(){var r=bp(e),o;if(t){var i=bp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return rse(this,o)}}var use=function(e){SM(n,e);var t=EM(n);function n(r){TM(this,n);var o;return o=t.call(this,r),_n.call(xt(o),r),o}return n}(Nt),gp=function(e){SM(n,e);var t=EM(n);function n(r){TM(this,n);var o,i,u,f,a,l,s,p,_,y;o=t.call(this,r),rn(xt(o),"optionConfig",void 0),rn(xt(o),"datasourceBind",void 0),rn(xt(o),"showLinkOperation",void 0),rn(xt(o),"linkOperationOption",void 0),rn(xt(o),"options",void 0),rn(xt(o),"precision",void 0),rn(xt(o),"micrometer",void 0),rn(xt(o),"percentageFormat",void 0);var d;o.caption=(d=(i=r)===null||i===void 0?void 0:i.caption)!==null&&d!==void 0?d:rr.controlName;var h;o.precision=(h=(u=r)===null||u===void 0?void 0:u.precision)!==null&&h!==void 0?h:0;var b;o.micrometer=(b=(f=r)===null||f===void 0?void 0:f.micrometer)!==null&&b!==void 0?b:!1;var v;o.percentageFormat=(v=(a=r)===null||a===void 0?void 0:a.percentageFormat)!==null&&v!==void 0?v:!1;var g;o.optionConfig=(g=(l=r)===null||l===void 0?void 0:l.optionConfig)!==null&&g!==void 0?g:"none",o.datasourceBind=new ve((s=r)===null||s===void 0?void 0:s.datasourceBind);var m;o.options=It((m=(p=r)===null||p===void 0?void 0:p.options)!==null&&m!==void 0?m:[{}]);var O;return o.showLinkOperation=(O=(_=r)===null||_===void 0?void 0:_.showLinkOperation)!==null&&O!==void 0?O:!1,o.linkOperationOption=new Gt((y=r)===null||y===void 0?void 0:y.linkOperationOption),o}return n}(ce);rn(gp,"Rules",use);function IM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fse(e,t,n){return t&&BM(e.prototype,t),n&&BM(e,n),e}function eo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mp(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?mp=Reflect.get:mp=function(o,i,u){var f=sse(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},mp(e,t,n||e)}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},to(e)}function lse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ase(e,t){return t&&(pse(t)==="object"||typeof t=="function")?t:IM(e)}function q0(e,t){return q0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},q0(e,t)}function sse(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=to(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 yse(e){var t=_se();return function(){var r=to(e),o;if(t){var i=to(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return ase(this,o)}}var rr=function(e){lse(n,e);var t=yse(n);function n(r){cse(this,n);var o,i;return o=t.call(this,r),eo(IM(o),"props",void 0),o.props=new gp((i=r)===null||i===void 0?void 0:i.props),o}return fse(n,[{key:"toDataBindModel",value:function(o){var i=mp(to(n.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,f=u.precision,a=u.micrometer;f!==""&&(i.props.precision=f),i.props.micrometer=a}return i}}]),n}(he);eo(rr,"controlType","decimal-column"),eo(rr,"controlName","\u6570\u503C"),eo(rr,"controlIcon","decimal-column"),eo(rr,"controlFieldType",c.FieldTypes.DECIMAL),eo(rr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-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 NM(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 U0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Op(e){return Op=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Op(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&&W0(e,t)}function hse(e,t){return t&&(bse(t)==="object"||typeof t=="function")?t:NM(e)}function W0(e,t){return W0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},W0(e,t)}function bse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mse(e){var t=gse();return function(){var r=Op(e),o;if(t){var i=Op(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return hse(this,o)}}var K0=function(e){dse(n,e);var t=mse(n);function n(r){vse(this,n);var o,i;return o=t.call(this,r),U0(NM(o),"props",void 0),o.props=new gp((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);U0(K0,"controlType","decimal-column"),U0(K0,"controlFieldType",c.FieldTypes.DECIMAL);var MM={Designer:rr,Runtime:K0,Property:gp};function Li(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pp(e){return Pp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pp(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&&X0(e,t)}function Ose(e,t){return t&&(wse(t)==="object"||typeof t=="function")?t:Li(e)}function X0(e,t){return X0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},X0(e,t)}function wse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Pse();return function(){var r=Pp(e),o;if(t){var i=Pp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Ose(this,o)}}var $se=function(e){kM(n,e);var t=DM(n);function n(r){AM(this,n);var o;return o=t.call(this,r),_n.call(Li(o),r),o}return n}(Nt),$p=function(e){kM(n,e);var t=DM(n);function n(r){AM(this,n);var o,i,u,f,a;o=t.call(this,r),wp(Li(o),"dateType",void 0),wp(Li(o),"showLinkOperation",void 0),wp(Li(o),"linkOperationOption",void 0);var l;o.dateType=(l=(i=r)===null||i===void 0?void 0:i.dateType)!==null&&l!==void 0?l:c.DateType.DATE;var s;o.showLinkOperation=(s=(u=r)===null||u===void 0?void 0:u.showLinkOperation)!==null&&s!==void 0?s:!1,o.linkOperationOption=new Gt((f=r)===null||f===void 0?void 0:f.linkOperationOption);var p;return o.caption=(p=(a=r)===null||a===void 0?void 0:a.caption)!==null&&p!==void 0?p:or.controlName,o}return n}(ce);wp($p,"Rules",$se);function LM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Tse(e,t,n){return t&&jM(e.prototype,t),n&&jM(e,n),e}function no(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rp(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Rp=Reflect.get:Rp=function(o,i,u){var f=Ise(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Rp(e,t,n||e)}function ro(e){return ro=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ro(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&&J0(e,t)}function Ese(e,t){return t&&(Bse(t)==="object"||typeof t=="function")?t:LM(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},J0(e,t)}function Ise(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ro(e),e!==null););return e}function Bse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mse(e){var t=Nse();return function(){var r=ro(e),o;if(t){var i=ro(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Ese(this,o)}}var or=function(e){Sse(n,e);var t=Mse(n);function n(r){Rse(this,n);var o,i;return o=t.call(this,r),no(LM(o),"props",void 0),o.props=new $p((i=r)===null||i===void 0?void 0:i.props),o}return Tse(n,[{key:"toDataBindModel",value:function(o){var i=Rp(ro(n.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),n}(he);no(or,"controlType","timescope-column"),no(or,"controlName","\u65E5\u671F\u533A\u95F4"),no(or,"controlIcon","timescope-column"),no(or,"controlFieldType",c.FieldTypes.TIMESCOPE),no(or,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}]);function FM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ase(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q0(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tp(e){return Tp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tp(e)}function kse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dse(e,t){return t&&(Lse(t)==="object"||typeof t=="function")?t:FM(e)}function Z0(e,t){return Z0=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Z0(e,t)}function Lse(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 Fse(e){var t=jse();return function(){var r=Tp(e),o;if(t){var i=Tp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Dse(this,o)}}var eO=function(e){kse(n,e);var t=Fse(n);function n(r){Ase(this,n);var o,i;return o=t.call(this,r),Q0(FM(o),"props",void 0),o.props=new $p((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);Q0(eO,"controlType","timescope-column"),Q0(eO,"controlFieldType",c.FieldTypes.TIMESCOPE);var CM={Designer:or,Runtime:eO,Property:$p};function ji(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ep(e){return Ep=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ep(e)}function VM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tO(e,t)}function Cse(e,t){return t&&(xse(t)==="object"||typeof t=="function")?t:ji(e)}function tO(e,t){return tO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},tO(e,t)}function xse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zM(e){var t=Vse();return function(){var r=Ep(e),o;if(t){var i=Ep(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Cse(this,o)}}var zse=function(e){VM(n,e);var t=zM(n);function n(r){xM(this,n);var o;return o=t.call(this,r),_n.call(ji(o),r),o}return n}(Nt),Ip=function(e){VM(n,e);var t=zM(n);function n(r){xM(this,n);var o,i,u,f,a;o=t.call(this,r),Sp(ji(o),"dateType",void 0),Sp(ji(o),"showLinkOperation",void 0),Sp(ji(o),"linkOperationOption",void 0);var l;o.dateType=(l=(i=r)===null||i===void 0?void 0:i.dateType)!==null&&l!==void 0?l:c.DateType.DATE;var s;o.showLinkOperation=(s=(u=r)===null||u===void 0?void 0:u.showLinkOperation)!==null&&s!==void 0?s:!1,o.linkOperationOption=new Gt((f=r)===null||f===void 0?void 0:f.linkOperationOption);var p;return o.caption=(p=(a=r)===null||a===void 0?void 0:a.caption)!==null&&p!==void 0?p:ir.controlName,o}return n}(ce);Sp(Ip,"Rules",zse);function GM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YM(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Yse(e,t,n){return t&&YM(e.prototype,t),n&&YM(e,n),e}function oo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bp(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Bp=Reflect.get:Bp=function(o,i,u){var f=Use(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Bp(e,t,n||e)}function io(e){return io=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},io(e)}function Hse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nO(e,t)}function qse(e,t){return t&&(Wse(t)==="object"||typeof t=="function")?t:GM(e)}function nO(e,t){return nO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},nO(e,t)}function Use(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=io(e),e!==null););return e}function Wse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xse(e){var t=Kse();return function(){var r=io(e),o;if(t){var i=io(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return qse(this,o)}}var ir=function(e){Hse(n,e);var t=Xse(n);function n(r){Gse(this,n);var o,i;return o=t.call(this,r),oo(GM(o),"props",void 0),o.props=new Ip((i=r)===null||i===void 0?void 0:i.props),o}return Yse(n,[{key:"toDataBindModel",value:function(o){var i=Bp(io(n.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),n}(he);oo(ir,"controlType","timestamp-column"),oo(ir,"controlName","\u65E5\u671F"),oo(ir,"controlIcon","timestamp-column"),oo(ir,"controlFieldType",c.FieldTypes.TIMESTAMP),oo(ir,"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 HM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Np(e){return Np=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Np(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&&oO(e,t)}function Zse(e,t){return t&&(epe(t)==="object"||typeof t=="function")?t:HM(e)}function oO(e,t){return oO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},oO(e,t)}function epe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function npe(e){var t=tpe();return function(){var r=Np(e),o;if(t){var i=Np(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Zse(this,o)}}var iO=function(e){Qse(n,e);var t=npe(n);function n(r){Jse(this,n);var o,i;return o=t.call(this,r),rO(HM(o),"props",void 0),o.props=new Ip((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);rO(iO,"controlType","timestamp-column"),rO(iO,"controlFieldType",c.FieldTypes.TIMESTAMP);var qM={Designer:ir,Runtime:iO,Property:Ip};function Mp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ap(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kp(e){return kp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kp(e)}function WM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uO(e,t)}function rpe(e,t){return t&&(ope(t)==="object"||typeof t=="function")?t:Mp(e)}function uO(e,t){return uO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},uO(e,t)}function ope(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 KM(e){var t=ipe();return function(){var r=kp(e),o;if(t){var i=kp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return rpe(this,o)}}var upe=function(e){WM(n,e);var t=KM(n);function n(r){return UM(this,n),t.call(this,r)}return n}(By),Dp=function(e){WM(n,e);var t=KM(n);function n(r){UM(this,n);var o,i,u,f,a;o=t.call(this,r),Ap(Mp(o),"optionConfig",void 0),Ap(Mp(o),"datasourceBind",void 0),Ap(Mp(o),"options",void 0);var l;o.caption=(l=(i=r)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:ur.controlName;var s;o.optionConfig=(s=(u=r)===null||u===void 0?void 0:u.optionConfig)!==null&&s!==void 0?s:"none",o.datasourceBind=new ve((f=r)===null||f===void 0?void 0:f.datasourceBind);var p;return o.options=It((p=(a=r)===null||a===void 0?void 0:a.options)!==null&&p!==void 0?p:[{}]),o}return n}(ce);Ap(Dp,"Rules",upe);function XM(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 uo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lp(e){return Lp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lp(e)}function fpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cO(e,t)}function lpe(e,t){return t&&(ape(t)==="object"||typeof t=="function")?t:XM(e)}function cO(e,t){return cO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},cO(e,t)}function ape(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function spe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ppe(e){var t=spe();return function(){var r=Lp(e),o;if(t){var i=Lp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return lpe(this,o)}}var ur=function(e){fpe(n,e);var t=ppe(n);function n(r){cpe(this,n);var o,i;return o=t.call(this,r),uo(XM(o),"props",void 0),o.props=new Dp((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);uo(ur,"controlType","array-column"),uo(ur,"controlName","\u6570\u7EC4"),uo(ur,"controlIcon","array-column"),uo(ur,"controlFieldType",c.FieldTypes.ARRAY),uo(ur,"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 JM(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 fO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jp(e){return jp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jp(e)}function ype(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lO(e,t)}function vpe(e,t){return t&&(dpe(t)==="object"||typeof t=="function")?t:JM(e)}function lO(e,t){return lO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},lO(e,t)}function dpe(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 r=jp(e),o;if(t){var i=jp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return vpe(this,o)}}var aO=function(e){ype(n,e);var t=bpe(n);function n(r){_pe(this,n);var o,i;return o=t.call(this,r),fO(JM(o),"props",void 0),o.props=new Dp((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);fO(aO,"controlType","array-column"),fO(aO,"controlFieldType",c.FieldTypes.ARRAY);var QM={Designer:ur,Runtime:aO,Property:Dp};function ZM(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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fp(e){return Fp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fp(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&&sO(e,t)}function wpe(e,t){return t&&(Ppe(t)==="object"||typeof t=="function")?t:ZM(e)}function sO(e,t){return sO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},sO(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 r=Fp(e),o;if(t){var i=Fp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return wpe(this,o)}}var pO=function(e){Ope(n,e);var t=Rpe(n);function n(r){gpe(this,n);var o,i,u;o=t.call(this,r),mpe(ZM(o),"displayLevel",void 0);var f;o.caption=(f=(i=r)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:cr.controlName;var a;return o.displayLevel=(a=(u=r)===null||u===void 0?void 0:u.displayLevel)!==null&&a!==void 0?a:1,o}return n}(ce);function e2(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 t2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Spe(e,t,n){return t&&t2(e.prototype,t),n&&t2(e,n),e}function co(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cp(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Cp=Reflect.get:Cp=function(o,i,u){var f=Bpe(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Cp(e,t,n||e)}function fo(e){return fo=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fo(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&&_O(e,t)}function Ipe(e,t){return t&&(Npe(t)==="object"||typeof t=="function")?t:e2(e)}function _O(e,t){return _O=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_O(e,t)}function Bpe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fo(e),e!==null););return e}function Npe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ape(e){var t=Mpe();return function(){var r=fo(e),o;if(t){var i=fo(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Ipe(this,o)}}var cr=function(e){Epe(n,e);var t=Ape(n);function n(r){Tpe(this,n);var o,i;return o=t.call(this,r),co(e2(o),"props",void 0),o.props=new pO((i=r)===null||i===void 0?void 0:i.props),o}return Spe(n,[{key:"toDataBindModel",value:function(o){var i=Cp(fo(n.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),n}(he);co(cr,"controlType","department-column"),co(cr,"controlName","\u90E8\u95E8"),co(cr,"controlIcon","department-column"),co(cr,"controlFieldType",c.FieldTypes.DEPARTMENTS),co(cr,"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 n2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xp(e){return xp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xp(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&&vO(e,t)}function Lpe(e,t){return t&&(jpe(t)==="object"||typeof t=="function")?t:n2(e)}function vO(e,t){return vO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},vO(e,t)}function jpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cpe(e){var t=Fpe();return function(){var r=xp(e),o;if(t){var i=xp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Lpe(this,o)}}var dO=function(e){Dpe(n,e);var t=Cpe(n);function n(r){kpe(this,n);var o,i;return o=t.call(this,r),yO(n2(o),"props",void 0),o.props=new pO((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);yO(dO,"controlType","department-column"),yO(dO,"controlFieldType",c.FieldTypes.DEPARTMENTS);var r2={Designer:cr,Runtime:dO,Property:pO};function Vp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zp(e){return zp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zp(e)}function i2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xpe(e,t){return t&&(Vpe(t)==="object"||typeof t=="function")?t:Vp(e)}function bO(e,t){return bO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},bO(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 u2(e){var t=zpe();return function(){var r=zp(e),o;if(t){var i=zp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return xpe(this,o)}}var Gpe=function(e){i2(n,e);var t=u2(n);function n(r){o2(this,n);var o;return o=t.call(this,r),_n.call(Vp(o),r),o}return n}(Nt),Gp=function(e){i2(n,e);var t=u2(n);function n(r){o2(this,n);var o,i,u,f;o=t.call(this,r),hO(Vp(o),"showLinkOperation",void 0),hO(Vp(o),"linkOperationOption",void 0);var a;o.caption=(a=(i=r)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:fr.controlName;var l;return o.showLinkOperation=(l=(u=r)===null||u===void 0?void 0:u.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Gt((f=r)===null||f===void 0?void 0:f.linkOperationOption),o}return n}(ce);hO(Gp,"Rules",Gpe);function c2(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 lo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yp(e){return Yp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yp(e)}function Hpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gO(e,t)}function qpe(e,t){return t&&(Upe(t)==="object"||typeof t=="function")?t:c2(e)}function gO(e,t){return gO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},gO(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 r=Yp(e),o;if(t){var i=Yp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return qpe(this,o)}}var fr=function(e){Hpe(n,e);var t=Kpe(n);function n(r){Ype(this,n);var o,i;return o=t.call(this,r),lo(c2(o),"props",void 0),o.props=new Gp((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);lo(fr,"controlType","auto-number-column"),lo(fr,"controlName","\u81EA\u52A8\u7F16\u53F7"),lo(fr,"controlIcon","auto-number-column"),lo(fr,"controlFieldType",c.FieldTypes.AUTO_NUMBER),lo(fr,"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 f2(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 mO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hp(e){return Hp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hp(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&&OO(e,t)}function Qpe(e,t){return t&&(Zpe(t)==="object"||typeof t=="function")?t:f2(e)}function OO(e,t){return OO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},OO(e,t)}function Zpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t_e(e){var t=e_e();return function(){var r=Hp(e),o;if(t){var i=Hp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Qpe(this,o)}}var wO=function(e){Jpe(n,e);var t=t_e(n);function n(r){Xpe(this,n);var o,i;return o=t.call(this,r),mO(f2(o),"props",void 0),o.props=new Gp((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);mO(wO,"controlType","auto-number-column"),mO(wO,"controlFieldType",c.FieldTypes.AUTO_NUMBER);var l2={Designer:fr,Runtime:wO,Property:Gp};function n_e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qp(e){return qp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qp(e)}function o_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&PO(e,t)}function i_e(e,t){return t&&(u_e(t)==="object"||typeof t=="function")?t:n_e(e)}function PO(e,t){return PO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},PO(e,t)}function u_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f_e(e){var t=c_e();return function(){var r=qp(e),o;if(t){var i=qp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return i_e(this,o)}}var $O=function(e){o_e(n,e);var t=f_e(n);function n(r){r_e(this,n);var o,i;o=t.call(this,r);var u;return o.caption=(u=(i=r)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:lr.controlName,o}return n}(ce);function a2(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 ao(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Up(e){return Up=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Up(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&&RO(e,t)}function s_e(e,t){return t&&(p_e(t)==="object"||typeof t=="function")?t:a2(e)}function RO(e,t){return RO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},RO(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 y_e(e){var t=__e();return function(){var r=Up(e),o;if(t){var i=Up(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return s_e(this,o)}}var lr=function(e){a_e(n,e);var t=y_e(n);function n(r){l_e(this,n);var o,i;return o=t.call(this,r),ao(a2(o),"props",void 0),o.props=new $O((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);ao(lr,"controlType","file-column"),ao(lr,"controlName","\u9644\u4EF6"),ao(lr,"controlIcon","file-column"),ao(lr,"controlFieldType",c.FieldTypes.FILE),ao(lr,"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 s2(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 TO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wp(e){return Wp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wp(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&&SO(e,t)}function h_e(e,t){return t&&(b_e(t)==="object"||typeof t=="function")?t:s2(e)}function SO(e,t){return SO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},SO(e,t)}function b_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m_e(e){var t=g_e();return function(){var r=Wp(e),o;if(t){var i=Wp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return h_e(this,o)}}var EO=function(e){d_e(n,e);var t=m_e(n);function n(r){v_e(this,n);var o,i;return o=t.call(this,r),TO(s2(o),"props",void 0),o.props=new $O((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);TO(EO,"controlType","file-column"),TO(EO,"controlFieldType",c.FieldTypes.FILE);var p2={Designer:lr,Runtime:EO,Property:$O};function O_e(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 Kp(e){return Kp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kp(e)}function P_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&IO(e,t)}function $_e(e,t){return t&&(R_e(t)==="object"||typeof t=="function")?t:O_e(e)}function IO(e,t){return IO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},IO(e,t)}function R_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function S_e(e){var t=T_e();return function(){var r=Kp(e),o;if(t){var i=Kp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return $_e(this,o)}}var BO=function(e){P_e(n,e);var t=S_e(n);function n(r){w_e(this,n);var o,i;o=t.call(this,r);var u;return o.caption=(u=(i=r)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:ar.controlName,o}return n}(ce);function _2(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 so(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xp(e){return Xp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xp(e)}function I_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NO(e,t)}function B_e(e,t){return t&&(N_e(t)==="object"||typeof t=="function")?t:_2(e)}function NO(e,t){return NO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},NO(e,t)}function N_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A_e(e){var t=M_e();return function(){var r=Xp(e),o;if(t){var i=Xp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return B_e(this,o)}}var ar=function(e){I_e(n,e);var t=A_e(n);function n(r){E_e(this,n);var o,i;return o=t.call(this,r),so(_2(o),"props",void 0),o.props=new BO((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);so(ar,"controlType","image-column"),so(ar,"controlName","\u56FE\u7247"),so(ar,"controlIcon","image-column"),so(ar,"controlFieldType",c.FieldTypes.IMAGE),so(ar,"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 y2(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 MO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jp(e){return Jp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jp(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&&AO(e,t)}function L_e(e,t){return t&&(j_e(t)==="object"||typeof t=="function")?t:y2(e)}function AO(e,t){return AO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},AO(e,t)}function j_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C_e(e){var t=F_e();return function(){var r=Jp(e),o;if(t){var i=Jp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return L_e(this,o)}}var kO=function(e){D_e(n,e);var t=C_e(n);function n(r){k_e(this,n);var o,i;return o=t.call(this,r),MO(y2(o),"props",void 0),o.props=new BO((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);MO(kO,"controlType","image-column"),MO(kO,"controlFieldType",c.FieldTypes.IMAGE);var v2={Designer:ar,Runtime:kO,Property:BO};function x_e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qp(e){return Qp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qp(e)}function z_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&DO(e,t)}function G_e(e,t){return t&&(Y_e(t)==="object"||typeof t=="function")?t:x_e(e)}function DO(e,t){return DO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},DO(e,t)}function Y_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q_e(e){var t=H_e();return function(){var r=Qp(e),o;if(t){var i=Qp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return G_e(this,o)}}var LO=function(e){z_e(n,e);var t=q_e(n);function n(r){V_e(this,n);var o,i;o=t.call(this,r);var u;return o.caption=(u=(i=r)===null||i===void 0?void 0:i.caption)!==null&&u!==void 0?u:sr.controlName,o}return n}(ce);function d2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function po(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zp(e){return Zp=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zp(e)}function W_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jO(e,t)}function K_e(e,t){return t&&(X_e(t)==="object"||typeof t=="function")?t:d2(e)}function jO(e,t){return jO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},jO(e,t)}function X_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q_e(e){var t=J_e();return function(){var r=Zp(e),o;if(t){var i=Zp(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return K_e(this,o)}}var sr=function(e){W_e(n,e);var t=Q_e(n);function n(r){U_e(this,n);var o,i;return o=t.call(this,r),po(d2(o),"props",void 0),o.props=new LO((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);po(sr,"controlType","people-column"),po(sr,"controlName","\u4EBA\u5458"),po(sr,"controlIcon","people-column"),po(sr,"controlFieldType",c.FieldTypes.EMPLOYEES),po(sr,"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 h2(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 FO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function e_(e){return e_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},e_(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&&CO(e,t)}function tye(e,t){return t&&(nye(t)==="object"||typeof t=="function")?t:h2(e)}function CO(e,t){return CO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},CO(e,t)}function nye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oye(e){var t=rye();return function(){var r=e_(e),o;if(t){var i=e_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return tye(this,o)}}var xO=function(e){eye(n,e);var t=oye(n);function n(r){Z_e(this,n);var o,i;return o=t.call(this,r),FO(h2(o),"props",void 0),o.props=new LO((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);FO(xO,"controlType","people-column"),FO(xO,"controlFieldType",c.FieldTypes.EMPLOYEES);var b2={Designer:sr,Runtime:xO,Property:LO};function t_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n_(e){return n_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},n_(e)}function m2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 iye(e,t){return t&&(uye(t)==="object"||typeof t=="function")?t:t_(e)}function zO(e,t){return zO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},zO(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 O2(e){var t=cye();return function(){var r=n_(e),o;if(t){var i=n_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return iye(this,o)}}var fye=function(e){m2(n,e);var t=O2(n);function n(r){g2(this,n);var o;return o=t.call(this,r),_n.call(t_(o),r),o}return n}(Nt),r_=function(e){m2(n,e);var t=O2(n);function n(r){g2(this,n);var o,i,u,f;o=t.call(this,r),VO(t_(o),"showLinkOperation",void 0),VO(t_(o),"linkOperationOption",void 0);var a;o.caption=(a=(i=r)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:pr.controlName;var l;return o.showLinkOperation=(l=(u=r)===null||u===void 0?void 0:u.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Gt((f=r)===null||f===void 0?void 0:f.linkOperationOption),o}return n}(ce);VO(r_,"Rules",fye);function w2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o_(e){return o_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},o_(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&&GO(e,t)}function sye(e,t){return t&&(pye(t)==="object"||typeof t=="function")?t:w2(e)}function GO(e,t){return GO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},GO(e,t)}function pye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yye(e){var t=_ye();return function(){var r=o_(e),o;if(t){var i=o_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return sye(this,o)}}var pr=function(e){aye(n,e);var t=yye(n);function n(r){lye(this,n);var o,i;return o=t.call(this,r),_o(w2(o),"props",void 0),o.props=new r_((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);_o(pr,"controlType","location-column"),_o(pr,"controlName","\u5730\u5740"),_o(pr,"controlIcon","location-column"),_o(pr,"controlFieldType",c.FieldTypes.ADDRESS),_o(pr,"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 P2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i_(e){return i_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},i_(e)}function dye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hye(e,t){return t&&(bye(t)==="object"||typeof t=="function")?t:P2(e)}function HO(e,t){return HO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},HO(e,t)}function bye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mye(e){var t=gye();return function(){var r=i_(e),o;if(t){var i=i_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return hye(this,o)}}var qO=function(e){dye(n,e);var t=mye(n);function n(r){vye(this,n);var o,i;return o=t.call(this,r),YO(P2(o),"props",void 0),o.props=new r_((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);YO(qO,"controlType","location-column"),YO(qO,"controlFieldType",c.FieldTypes.ADDRESS);var $2={Designer:pr,Runtime:qO,Property:r_};function UO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u_(e){return u_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},u_(e)}function wye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&WO(e,t)}function Pye(e,t){return t&&($ye(t)==="object"||typeof t=="function")?t:UO(e)}function WO(e,t){return WO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},WO(e,t)}function $ye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tye(e){var t=Rye();return function(){var r=u_(e),o;if(t){var i=u_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Pye(this,o)}}var KO=function(e){wye(n,e);var t=Tye(n);function n(r){Oye(this,n);var o,i,u,f;o=t.call(this,r),R2(UO(o),"fieldCodeList",void 0),R2(UO(o),"sortFieldCode",void 0);var a;o.caption=(a=(i=r)===null||i===void 0?void 0:i.caption)!==null&&a!==void 0?a:En.controlName;var l;o.fieldCodeList=(l=(u=r)===null||u===void 0?void 0:u.fieldCodeList)!==null&&l!==void 0?l:[];var s;return o.sortFieldCode=(s=(f=r)===null||f===void 0?void 0:f.sortFieldCode)!==null&&s!==void 0?s:"",o}return n}(ce);function yo(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 T2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Eye(e,t,n){return t&&T2(e.prototype,t),n&&T2(e,n),e}function Pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fi(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Fi=Reflect.get:Fi=function(o,i,u){var f=Dye(o,i);if(!!f){var a=Object.getOwnPropertyDescriptor(f,i);return a.get?a.get.call(u||o):a.value}},Fi(e,t,n||e)}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_r(e)}function Iye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&XO(e,t)}function Bye(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function Nye(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),r.forEach(function(o){Pt(e,o,n[o])})}return e}function Mye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Aye(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Mye(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function kye(e,t){return t&&(Lye(t)==="object"||typeof t=="function")?t:yo(e)}function XO(e,t){return XO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},XO(e,t)}function Dye(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_r(e),e!==null););return e}function Lye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fye(e){var t=jye();return function(){var r=_r(e),o;if(t){var i=_r(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return kye(this,o)}}var Cye=1,En=function(t){Iye(r,t);var n=Fye(r);function r(o){Sye(this,r);var i,u,f;i=n.call(this,o),Pt(yo(i),"excludes",void 0),Pt(yo(i),"childrenMaxLength",void 0),Pt(yo(i),"props",void 0),Pt(yo(i),"children",void 0);var a=Bye(this,r)?this.constructor:void 0,l=a.excludes,s=a.childrenMaxLength;return i.props=new KO((u=o)===null||u===void 0?void 0:u.props),vt(yo(i),"children",(f=o)===null||f===void 0?void 0:f.children),i.excludes=zt(l),i.childrenMaxLength=s,i}return Eye(r,[{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=Fi(_r(r.prototype),"toDataBindModel",this).call(this,i);if(u){var f=this.props.fieldCodeList;u.props.fieldCodeList=f}return u}},{key:"toSchema",value:function(){var i=Fi(_r(r.prototype),"toSchema",this).call(this);return Aye(Nye({},i),{children:this.children.map(function(u){return u.toSchema()})})}}]),r}(he);Pt(En,"controlType","custom-column"),Pt(En,"controlName","\u81EA\u5B9A\u4E49"),Pt(En,"controlIcon","custom-column"),Pt(En,"excludes",[]),Pt(En,"childrenMaxLength",Cye),Pt(En,"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 c_(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 JO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f_(e){return f_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},f_(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&&QO(e,t)}function zye(e,t){return t&&(Gye(t)==="object"||typeof t=="function")?t:c_(e)}function QO(e,t){return QO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},QO(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 r=f_(e),o;if(t){var i=f_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return zye(this,o)}}var S2=function(e){Vye(n,e);var t=Hye(n);function n(r){xye(this,n);var o,i,u;return o=t.call(this,r),JO(c_(o),"props",void 0),JO(c_(o),"children",void 0),o.props=new KO((i=r)===null||i===void 0?void 0:i.props),vt(c_(o),"children",(u=r)===null||u===void 0?void 0:u.children),o}return n}(be);JO(S2,"controlType","custom-column");var E2={Designer:En,Runtime:S2,Property:KO};function I2(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 Uye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l_(e){return l_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},l_(e)}function Wye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ZO(e,t)}function Kye(e,t){return t&&(Xye(t)==="object"||typeof t=="function")?t:I2(e)}function ZO(e,t){return ZO=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ZO(e,t)}function Xye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qye(e){var t=Jye();return function(){var r=l_(e),o;if(t){var i=l_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Kye(this,o)}}var ew=function(e){Wye(n,e);var t=Qye(n);function n(r){qye(this,n);var o,i,u;o=t.call(this,r),Uye(I2(o),"datasourceBind",void 0);var f;o.caption=(f=(i=r)===null||i===void 0?void 0:i.caption)!==null&&f!==void 0?f:In.controlName;var a;return o.datasourceBind=new Po((a=(u=r)===null||u===void 0?void 0:u.datasourceBind)!==null&&a!==void 0?a:{attributes:In.controlCustomAttributes}),o}return n}(ce);function B2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eve(e,t,n){return t&&N2(e.prototype,t),n&&N2(e,n),e}function vo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a_(e){return a_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},a_(e)}function tve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tw(e,t)}function nve(e,t){return t&&(rve(t)==="object"||typeof t=="function")?t:B2(e)}function tw(e,t){return tw=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},tw(e,t)}function rve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ove(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ive(e){var t=ove();return function(){var r=a_(e),o;if(t){var i=a_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return nve(this,o)}}var In=function(e){tve(n,e);var t=ive(n);function n(r){Zye(this,n);var o,i;return o=t.call(this,r),vo(B2(o),"props",void 0),o.props=new ew((i=r)===null||i===void 0?void 0:i.props),o}return eve(n,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),n}(he);vo(In,"controlType","employee-column"),vo(In,"controlName","\u4EBA\u5458"),vo(In,"controlIcon","employee-column"),vo(In,"controlFieldType",c.FieldTypes.EMPLOYEES),vo(In,"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 M2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s_(e){return s_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},s_(e)}function cve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rw(e,t)}function fve(e,t){return t&&(lve(t)==="object"||typeof t=="function")?t:M2(e)}function rw(e,t){return rw=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},rw(e,t)}function lve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ave(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sve(e){var t=ave();return function(){var r=s_(e),o;if(t){var i=s_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return fve(this,o)}}var ow=function(e){cve(n,e);var t=sve(n);function n(r){uve(this,n);var o,i;return o=t.call(this,r),nw(M2(o),"props",void 0),o.props=new ew((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);nw(ow,"controlType","employee-column"),nw(ow,"controlFieldType",c.FieldTypes.EMPLOYEES);var A2={Designer:In,Runtime:ow,Property:ew};function p_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function __(e){return __=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},__(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&&uw(e,t)}function yve(e,t){return t&&(vve(t)==="object"||typeof t=="function")?t:p_(e)}function uw(e,t){return uw=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},uw(e,t)}function vve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hve(e){var t=dve();return function(){var r=__(e),o;if(t){var i=__(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return yve(this,o)}}var cw=function(e){_ve(n,e);var t=hve(n);function n(r){pve(this,n);var o,i,u,f,a;o=t.call(this,r),iw(p_(o),"lineEllipsis",void 0),iw(p_(o),"showLinkOperation",void 0),iw(p_(o),"linkOperationOption",void 0);var l;o.caption=(l=(i=r)===null||i===void 0?void 0:i.caption)!==null&&l!==void 0?l:vr.controlName;var s;o.showLinkOperation=(s=(u=r)===null||u===void 0?void 0:u.showLinkOperation)!==null&&s!==void 0?s:!1,o.linkOperationOption=new Gt((f=r)===null||f===void 0?void 0:f.linkOperationOption);var p;return o.lineEllipsis=(p=(a=r)===null||a===void 0?void 0:a.lineEllipsis)!==null&&p!==void 0?p:1,o}return n}(ce);function fw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y_(e){return y_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},y_(e)}function gve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mve(e,t){return t&&(Ove(t)==="object"||typeof t=="function")?t:fw(e)}function lw(e,t){return lw=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},lw(e,t)}function Ove(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 Pve(e){var t=wve();return function(){var r=y_(e),o;if(t){var i=y_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return mve(this,o)}}var vr=function(e){gve(n,e);var t=Pve(n);function n(r){bve(this,n);var o,i;return o=t.call(this,r),yr(fw(o),"props",void 0),yr(fw(o),"children",void 0),o.props=new cw((i=r)===null||i===void 0?void 0:i.props),o}return n}(he);yr(vr,"controlType","approval-status-column"),yr(vr,"controlName","\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),yr(vr,"controlIcon","approval-status-column"),yr(vr,"excludes",[]),yr(vr,"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 aw(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 sw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v_(e){return v_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},v_(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&&pw(e,t)}function Tve(e,t){return t&&(Sve(t)==="object"||typeof t=="function")?t:aw(e)}function pw(e,t){return pw=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},pw(e,t)}function Sve(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 Ive(e){var t=Eve();return function(){var r=v_(e),o;if(t){var i=v_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Tve(this,o)}}var k2=function(e){Rve(n,e);var t=Ive(n);function n(r){$ve(this,n);var o,i;return o=t.call(this,r),sw(aw(o),"props",void 0),sw(aw(o),"children",void 0),o.props=new cw((i=r)===null||i===void 0?void 0:i.props),o}return n}(be);sw(k2,"controlType","approval-status-column");var D2={Designer:vr,Runtime:k2,Property:cw},Bve=Object.freeze({__proto__:null,VarcharColumn:bM,TextColumn:RM,DecimalColumn:MM,TimescopeColumn:CM,TimestampColumn:qM,ArrayColumn:QM,DepartmentColumn:r2,AutoNumberColumn:l2,FileColumn:p2,ImageColumn:v2,PeopleColumn:b2,LocationColumn:$2,CustomColumn:E2,OrderColumn:rM,OperationColumn:cM,EmployeeColumn:A2,ApprovalStatusColumn:D2});function $t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d_(e){return d_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},d_(e)}function j2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nve(e,t){return t&&(Mve(t)==="object"||typeof t=="function")?t:$t(e)}function _w(e,t){return _w=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},_w(e,t)}function Mve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ave(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function F2(e){var t=Ave();return function(){var r=d_(e),o;if(t){var i=d_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Nve(this,o)}}var kve=function(e){j2(n,e);var t=F2(n);function n(r){L2(this,n);var o;return o=t.call(this,r),o.push({type:"object",fields:{}}),o}return n}(fn),h_=function(e){j2(n,e);var t=F2(n);function n(r){L2(this,n);var o,i,u,f,a,l,s,p,_,y,d;o=t.call(this,r),Rt($t(o),"search",void 0),Rt($t(o),"cancel",void 0),Rt($t(o),"searchType",void 0),Rt($t(o),"labelPosition",void 0),Rt($t(o),"viewType",void 0),Rt($t(o),"isLoading",void 0),Rt($t(o),"custom",void 0),Rt($t(o),"queryTypeMap",void 0),Rt($t(o),"childMinWidth",void 0),Rt($t(o),"colGap",void 0);var h;o.searchType=(h=(i=r)===null||i===void 0?void 0:i.searchType)!==null&&h!==void 0?h:"model";var b;o.labelPosition=(b=(u=r)===null||u===void 0?void 0:u.labelPosition)!==null&&b!==void 0?b:"top";var v;o.viewType=(v=(f=r)===null||f===void 0?void 0:f.viewType)!==null&&v!==void 0?v:"mini";var g;o.search=new Yt((g=(a=r)===null||a===void 0?void 0:a.search)!==null&&g!==void 0?g:{content:"\u67E5\u8BE2",isShow:!0});var m;o.cancel=new Yt((m=(l=r)===null||l===void 0?void 0:l.cancel)!==null&&m!==void 0?m:{content:"\u91CD\u7F6E",isShow:!0});var O;o.isLoading=(O=(s=r)===null||s===void 0?void 0:s.isLoading)!==null&&O!==void 0?O:!1;var $;o.custom=(($=(p=r)===null||p===void 0?void 0:p.custom)!==null&&$!==void 0?$:[]).map(function(I){return new Yt(I)});var T;o.queryTypeMap=(T=(_=r)===null||_===void 0?void 0:_.queryTypeMap)!==null&&T!==void 0?T:[];var R;o.childMinWidth=(R=(y=r)===null||y===void 0?void 0:y.childMinWidth)!==null&&R!==void 0?R:230;var S;return o.colGap=(S=(d=r)===null||d===void 0?void 0:d.colGap)!==null&&S!==void 0?S:24,o}return n}(wu);Rt(h_,"RuntimeRules",kve);function C2(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 yw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b_(e){return b_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},b_(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&&vw(e,t)}function jve(e,t){return t&&(Fve(t)==="object"||typeof t=="function")?t:C2(e)}function vw(e,t){return vw=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},vw(e,t)}function Fve(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 r=b_(e),o;if(t){var i=b_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return jve(this,o)}}var dw=function(e){Lve(n,e);var t=xve(n);function n(r){Dve(this,n);var o,i;return o=t.call(this,r),yw(C2(o),"props",void 0),o.props=new h_((i=r)===null||i===void 0?void 0:i.props),o}return n}(T$);yw(dw,"controlType","simple-search"),yw(dw,"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 hw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g_(e){return g_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},g_(e)}function zve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gve(e,t){return t&&(Yve(t)==="object"||typeof t=="function")?t:hw(e)}function gw(e,t){return gw=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},gw(e,t)}function Yve(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 qve(e){var t=Hve();return function(){var r=g_(e),o;if(t){var i=g_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Gve(this,o)}}var x2=function(e){zve(n,e);var t=qve(n);function n(r){Vve(this,n);var o,i,u;o=t.call(this,r),bw(hw(o),"props",void 0),bw(hw(o),"children",void 0),o.props=new h_((i=r)===null||i===void 0?void 0:i.props);var f;return o.children=(f=(u=r)===null||u===void 0?void 0:u.children)!==null&&f!==void 0?f:[],o}return n}(E$);bw(x2,"controlType","simple-search");var V2={Designer:dw,Runtime:x2,Property:h_},Uve=Object.freeze({__proto__:null,SimpleSearch:V2});function z2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m_(e){return m_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},m_(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&&mw(e,t)}function Jve(e,t){return t&&(Qve(t)==="object"||typeof t=="function")?t:z2(e)}function mw(e,t){return mw=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},mw(e,t)}function Qve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ede(e){var t=Zve();return function(){var r=m_(e),o;if(t){var i=m_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return Jve(this,o)}}var Ow=function(e){Xve(n,e);var t=ede(n);function n(r){Wve(this,n);var o,i;o=t.call(this,r),Kve(z2(o),"wholeRow",void 0);var u;return o.wholeRow=(u=(i=r)===null||i===void 0?void 0:i.wholeRow)!==null&&u!==void 0?u:!1,o}return n}(Tu);function G2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Y2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nde(e,t,n){return t&&Y2(e.prototype,t),n&&Y2(e,n),e}function rde(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O_(e){return O_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},O_(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&&ww(e,t)}function ide(e,t){return t&&(ude(t)==="object"||typeof t=="function")?t:G2(e)}function ww(e,t){return ww=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ww(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 fde(e){var t=cde();return function(){var r=O_(e),o;if(t){var i=O_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return ide(this,o)}}var lde=function(e){ode(n,e);var t=fde(n);function n(r){tde(this,n);var o,i;return o=t.call(this,r),rde(G2(o),"props",void 0),o.props=new Ow((i=r)===null||i===void 0?void 0:i.props),o}return nde(n,null,[{key:"controlName",get:function(){return"\u6362\u884C\u5BB9\u5668Wrap"}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"grid-layout-wrap"}}]),n}(B$);function H2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ade(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q2(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sde(e,t,n){return t&&q2(e.prototype,t),n&&q2(e,n),e}function pde(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w_(e){return w_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},w_(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&&Pw(e,t)}function yde(e,t){return t&&(vde(t)==="object"||typeof t=="function")?t:H2(e)}function Pw(e,t){return Pw=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Pw(e,t)}function vde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hde(e){var t=dde();return function(){var r=w_(e),o;if(t){var i=w_(this).constructor;o=Reflect.construct(r,arguments,i)}else o=r.apply(this,arguments);return yde(this,o)}}var bde=function(e){_de(n,e);var t=hde(n);function n(r){ade(this,n);var o,i;return o=t.call(this,r),pde(H2(o),"props",void 0),o.props=new Ow((i=r)===null||i===void 0?void 0:i.props),o}return sde(n,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),n}(M$);function Ihe(e){return e}var gde={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},U2={Designer:lde,Runtime:bde,Property:Ow,Setting:gde},mde=Object.freeze({__proto__:null,GridLayoutWrap:U2});function $w(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ode(e){if(Array.isArray(e))return e}function wde(e){if(Array.isArray(e))return $w(e)}function Pde(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $de(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,i=!1,u,f;try{for(n=n.call(e);!(o=(u=n.next()).done)&&(r.push(u.value),!(t&&r.length===t));o=!0);}catch(a){i=!0,f=a}finally{try{!o&&n.return!=null&&n.return()}finally{if(i)throw f}}return r}}function Rde(){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 Tde(){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 Sde(e,t){return Ode(e)||$de(e,t)||K2(e,t)||Rde()}function W2(e){return wde(e)||Pde(e)||K2(e)||Tde()}function K2(e,t){if(!!e){if(typeof e=="string")return $w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $w(e,t)}}var Ede=function(e,t){var n,r=Array.isArray(e),o=r?e:[e];xde((n=t)===null||n===void 0?void 0:n.events),kde(o),Dde(o);var i=Ade(o),u=Lde(i,t),f=Dn(Ee(u,function(a){return Mde(a,t)}));return r?f:f[0]},Ide=[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"],Bde=["subtable","grid-table"],Nde=["simple-search"];function Mde(e,t){var n,r,o,i,u,f,a,l=e;if(l.controlType||(l.is_layout_control===!0?l.controlType="layout":Ide.includes(l.type)?l.controlType="base":l.controlType="form",Bde.includes(l.type)&&(l.controlType="list"),Nde.includes(l.type)&&(l.controlType="search-view")),delete l.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),Se((r=e)===null||r===void 0||(n=r.props)===null||n===void 0?void 0:n.caption)&&(l.props.caption=e.props.caption.zh),Se((i=e)===null||i===void 0||(o=i.props)===null||o===void 0?void 0:o.placeholder)&&(l.props.placeholder=e.props.placeholder.zh),Se((f=e)===null||f===void 0||(u=f.props)===null||u===void 0?void 0:u.placeholder_end)&&(l.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(l.type="department",e.props.value.length&&(l.props.default_value=e.props.value),l.props.showType=e.props.show_tree?"tree":"default",l.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(l.type="auto-number",l.props.defaultValue=e.props.value),e.type==="file"){var s;l.type="attachment",l.props.attachmentAccept=(s=e.attachment_format)===null||s===void 0?void 0:s.split(","),l.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var p;l.props.attachmentAccept=(p=e.attachment_format)===null||p===void 0?void 0:p.split(",")}if(e.type==="date-pick"&&(l.type="date-picker"),e.type==="rich-text"&&(Se(e.props.value)?l.props.defaultValue=e.props.value.zh:l.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(Se(e.props.value)?l.props.content=e.props.value.zh:l.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(l.props.showState="image"),e.type==="user-search"&&(l.type="employee",l.props.defaultValue=e.props.value),e.type==="address"&&(l.props.addressType=e.props.address_type_value),l.type==="subtable"){var _,y=l.props.entry_type||l.props.entryType;l.props.openType=y==="subpage"?"modal":"default",((_=l.children[0])===null||_===void 0?void 0:_.type)==="subtable-row"&&l.props.headers&&(l.props.headers=l.props.headers.map(function(D,Y){var U=new om.Designer;U.props.caption=Se(D.field_name)?D.field_name.zh:D.field_name;var K=U.toSchema();K.id=D.header_id;var ie=l.children[0].children[Y].children[0];return ie&&(K.children=[ie]),K}),l.children=[])}l.type==="subtable-cell"&&(l.type="subtable-column");var d=["radio","checkbox","select","select-multiple"];if(d.includes(e.type)&&(e.props.options.map(function(D){D.label=Se(D.text)?D.text.zh:D.text,D.id=D.id||D.opt_id||D.optId||D.data_id}),l=e),e.type==="grid-row"){var h=24/l.children.length;l.children=l.children.map(function(D){var Y=new Da.Designer;Y.props.span=h;var U=Y.toSchema();return U.children.push(D),U})}if(e.type==="grid-layout-row"&&(l.type="row"),e.type==="grid-layout-col"&&(l.type="col"),e.type==="group-panel"&&(l.type="card-group",l.props.collapse=l.props.flod==="no"?"none":l.props.flod),e.type==="tabs-pane"&&(l.type="tab-pane"),e.type==="calc"){var b,v,g=(b=l)===null||b===void 0?void 0:b.children[0],m=(v=l)===null||v===void 0?void 0:v.children[1],O={};g&&(X2(l,t),O.result=g.props.data_bind,l.id=g.id,l.props=g.props,l.props.script_src=g.props.script_src,l.props.script_echo=g.props.script_echo,l.props.precision=g.props.precision,l.props.micrometer=g.props.is_show_money,l.props.showUpperCase=g.props.is_show_chn),m&&(O.unit=m.props.data_bind,l.props.default_value={unit:m.props.value}),l.props.dataBind=O,delete l.children}if(e.type==="amount-currency"){var $,T;l.type="amount",l.controlType="form";var R=($=l)===null||$===void 0?void 0:$.children[0],S=(T=l)===null||T===void 0?void 0:T.children[1],I={},E={};R&&(X2(l,t),l.id=R.id,I.amount=R.props.data_bind,l.props.range_min=kn(R.props.range_min),l.props.range_max=kn(R.props.range_max),E.amount=kn(R.props.value),l.props.required=R.props.required,l.props.is_hide=R.props.is_hide,l.props.default_state=R.props.default_state,l.props.caption=Se(R.props.caption)?R.props.caption.zh:R.props.caption,l.props.is_hide_caption=R.props.is_hide_caption,l.props.showUpperCase=R.props.is_show_chn),S&&(I.currency=S.props.data_bind,E.currency=S.props.value,l.props.datasourceBind=S.props.datasource_bind,l.props.options=S.props.options.map(function(D){return{label:D.text,value:D.value}})),l.props.dataBind=I,l.props.defaultValue=E,delete l.children}if(e.type==="date-range"){var N,B;l.controlType="form";var A=(N=l)===null||N===void 0?void 0:N.children[0],M=(B=l)===null||B===void 0?void 0:B.children[1];l.props.placeholderStart=Se(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,l.props.caption=Se(e.props.caption)?e.props.caption.zh:e.props.caption;var j={};A&&(j.min=A.props.data_bind),M&&(j.max=M.props.data_bind),l.props.dataBind=j,delete l.children}return e.type==="score"&&(l.props.defaultValue=l.props.value*1),["input","textarea"].includes(e.type)&&(l.props.defaultValue=Se(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(l.props.range_min=kn(e.props.range_min),l.props.range_max=kn(e.props.range_max),l.props.defaultValue=kn(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(l.props.buttonType="default"),Vde(l,(a=t)===null||a===void 0?void 0:a.control_events),l}function X2(e,t){if(!!t){var n=t.displayBoList,r=n===void 0?[]:n,o=t.behaviors,i=o===void 0?[]:o,u=e.id,f=e.children[0].id;r.forEach(function(a){a.id===u&&(a.id=f);var l=a.show_controls.findIndex(function(p){return p===u}),s=a.hide_controls.findIndex(function(p){return p===u});l>-1&&a.show_controls.splice(l,1,f),s>-1&&a.hide_controls.splice(s,1,f)}),i.forEach(function(a){a.ctrl_id===u&&(a.id=f)})}}function Ade(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var n=new Gm.Designer,r=n.toSchema();return r.children=e,[r]}function kde(e){e.forEach(function(t){t.children&&Cde(t.children)})}function Dde(e){e.forEach(function(t){if(!!(t&&t.children))for(var n=t.children,r=0;r<n.length;r++){var o,i,u=n[r],f=(i=n[r])===null||i===void 0||(o=i.children)===null||o===void 0?void 0:o[0];u.type==="grid-row"&&f&&["group-panel","subtable","tab"].includes(f.type)&&n.splice(r,1,f)}})}function Lde(e,t){var n,r,o,i,u,f,a,l,s,p,_;if(!(Array.isArray(e)&&e.length===1))return e;var y=e[0];if(y.type!=="list-page")return e;var d=y.props,h=y.children,b=Sde(h,3),v=b[0],g=b[1],m=b[2];jde(v),m.props.is_fixed_header=(r=d)===null||r===void 0||(n=r.source_config)===null||n===void 0?void 0:n.is_fixed_header,Fde(m,g);var O,$=(O=(i=d)===null||i===void 0||(o=i.source_config)===null||o===void 0?void 0:o.data_code)!==null&&O!==void 0?O:(u=t)===null||u===void 0?void 0:u.dataCode,T,R=((T=(a=d)===null||a===void 0||(f=a.source_config)===null||f===void 0?void 0:f.svc_code)!==null&&T!==void 0?T:$)?"".concat($,"_selectMore"):void 0,S,I=(S=(s=d)===null||s===void 0||(l=s.source_config)===null||l===void 0?void 0:l.orders)!==null&&S!==void 0?S:[],E=new Cm.Designer;E.props.datasourceBind=new ve({dataCode:$,svcCode:R,orders:cP(I)}),E.props.isShowSubList=d.is_show_sublist,E.props.triggerType=d.timing_type,E.props.triggerFieldCode=d.ctrl_field_code,(_=d)===null||_===void 0||(p=_.sublist_page)===null||p===void 0||p.sublists.forEach(function(B){B.title=Se(B.title)?B.title.zh:B.title}),E.props.sublistPage=d.sublist_page;var N=E.toSchema();return N.children.push(v,m),[N]}function jde(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var n=Se(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=n,t.placeholderEnd=n),t.type==="date-pick"){var r,o;t.type="search-date-range",t.placeholderStart=n,t.placeholderEnd=n,t.dateType=(o=t.dateType)===null||o===void 0||(r=o.replace)===null||r===void 0?void 0:r.call(o,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Fde(e,t){e.children=t.children.filter(function(n){return n.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(n){var r={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:Se(n.field_name)?n.field_name.zh:n.field_name}};if(r.props.caption=Se(n.field_name)?n.field_name.zh:n.field_name,r.props.filter_tags=n.is_filter_tags,r.props.fixed=n.fixed,r.props.display_bo_list=n.display_bo_list,r.props.date_type=n.date_type,r.props.optionConfig="none",n.header_width_config&&(r.props.widthType=n.header_width_config==="1"?"auto":"px"),r.props.widthType==="px"&&n.header_width&&(r.props.width=Number(n.header_width)),n.table_header_type==="order")r.type="order-column",r.props.fixed=!0;else if(n.table_header_type==="operation"){r.type="operation-column";var o;r.props.check=(o=n.check)!==null&&o!==void 0?o:{},r.props.check.openType="window";var i;r.props.delete=(i=n.delete)!==null&&i!==void 0?i:{},r.props.delete.openType="window";var u;r.props.edit=(u=n.edit)!==null&&u!==void 0?u:{},r.props.edit.openType="window",r.props.fixed=!0}else r.type=n.field_type+"-column",n.field_type==="auto_number"&&(r.type="auto-number-column"),n.field_type==="relation"&&(r.type="varchar-column");return n.convert_switch&&(r.props.optionConfig=n.convert_type===1?"datasource":"custom"),r.props.optionConfig==="datasource"?r.props.datasource_bind=new ve({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):r.props.optionConfig==="custom"&&(r.props.options=n.custom_match_bo_list),r}))}function Cde(e){for(var t=null,n=0;n<e.length;n++){var r,o=e[n];if(!!o){if(o.children&&((r=o.children[0])===null||r===void 0?void 0:r.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(n,1),n--)}}}function xde(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 Vde(e,t){var n;if(!(!t||!e.props.events)){var r=Object.keys(e.props.events);if(!!r.length&&(r.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,W2(e.props.events[i].map(function(f){return f.name}))))}),!((n=t[e.id])===null||n===void 0)&&n.on_blur)){var o;t[e.id].on_change||(t[e.id].on_change=[]),(o=t[e.id].on_change).push.apply(o,W2(t[e.id].on_blur))}}}var zde=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Dn(Ee(r,function(i){return Gde(i)}));return n?o:o[0]};function Gde(e,t){if(e.type===c.CONTROL_TYPE.LIST_VIEW){var n=e.children.find(function(r){return r.type===c.CONTROL_TYPE.GRID_TABLE});n.props.headers.forEach(function(r){!r.props.data_bind&&r.props.field_code&&(r.props.data_bind=new ot({dataCode:e.props.datasource_bind.data_code,fieldCode:r.props.field_code}))})}return e}var Yde=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Dn(Ee(r,function(i){return Hde(i)}));return n?o:o[0]};function Hde(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 qde=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Dn(Ee(r,function(i){return Ude(i)}));return n?o:o[0]};function Ude(e,t){if(e.props.icon){var n=e.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}e.props.icon=n}return e}var Wde=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Dn(Ee(r,function(i){return Xde(i)}));return n?o:o[0]},Kde=[c.CONTROL_TYPE.ROW,c.CONTROL_TYPE.TAB,c.CONTROL_TYPE.SUBTABLE,c.CONTROL_TYPE.GRID_ROW,c.CONTROL_TYPE.CARD_GROUP];function Xde(e,t){return e.type===c.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(n){if(Kde.includes(n.type))return n;var r=new Kg.Designer,o=new Da.Designer;r.children.push(o);var i=r.toSchema();return i.children[0].children.push(n),i})),e}var Jde=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Dn(Ee(r,function(i){return Qde(i)}));return n?o:o[0]};function Qde(e,t){return e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(n){n.type===c.CONTROL_TYPE.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),e}var Zde=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Ee(r,function(i){return ehe(i)});return n?o:o[0]};function ehe(e,t){return e.type===c.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var the=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Ee(r,function(i){return nhe(i)});return n?o:o[0]};function Bn(e,t){e.field_code&&(e.field_type=t)}function nhe(e,t){var n,r=(n={},oe(n,c.CONTROL_TYPE.TITLE,c.FieldTypes.AUTO_NUMBER),oe(n,c.CONTROL_TYPE.ADDRESS,c.FieldTypes.ADDRESS),oe(n,c.CONTROL_TYPE.ATTACHMENT,c.FieldTypes.FILE),oe(n,c.CONTROL_TYPE.AUTO_NUMBER,c.FieldTypes.AUTO_NUMBER),oe(n,c.CONTROL_TYPE.CHECKBOX,c.FieldTypes.ARRAY),oe(n,c.CONTROL_TYPE.DATE_PICKER,c.FieldTypes.TIMESTAMP),oe(n,c.CONTROL_TYPE.DEPARTMENT,c.FieldTypes.DEPARTMENTS),oe(n,c.CONTROL_TYPE.EMPLOYEE,c.FieldTypes.EMPLOYEES),oe(n,c.CONTROL_TYPE.EMPLOYEE2,c.FieldTypes.EMPLOYEES),oe(n,c.CONTROL_TYPE.IMAGE,c.FieldTypes.IMAGE),oe(n,c.CONTROL_TYPE.INPUT,c.FieldTypes.VARCHAR),oe(n,c.CONTROL_TYPE.NUMBER,c.FieldTypes.DECIMAL),oe(n,c.CONTROL_TYPE.RADIO,c.FieldTypes.VARCHAR),oe(n,c.CONTROL_TYPE.RICH_TEXT,c.FieldTypes.TEXT),oe(n,c.CONTROL_TYPE.SCORE,c.FieldTypes.DECIMAL),oe(n,c.CONTROL_TYPE.SELECT,c.FieldTypes.VARCHAR),oe(n,c.CONTROL_TYPE.SELECT_MULTIPLE,c.FieldTypes.ARRAY),oe(n,c.CONTROL_TYPE.SELECT_RELATION,c.FieldTypes.VARCHAR),oe(n,c.CONTROL_TYPE.TEXTAREA,c.FieldTypes.TEXT),oe(n,c.CONTROL_TYPE.TREE,c.FieldTypes.ARRAY),oe(n,c.CONTROL_TYPE.SEARCH_DATE_RANGE,c.FieldTypes.ARRAY),oe(n,c.CONTROL_TYPE.SEARCH_INPUT,c.FieldTypes.VARCHAR),oe(n,c.CONTROL_TYPE.SEARCH_NUMBER_RANGE,c.FieldTypes.ARRAY),n);if(r.hasOwnProperty(e.type)&&Bn(e.props.data_bind,r[e.type]),e.type===c.CONTROL_TYPE.AMOUNT&&(Bn(e.props.data_bind.amount,c.FieldTypes.DECIMAL),Bn(e.props.data_bind.currency,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.CALC&&(Bn(e.props.data_bind.result,c.FieldTypes.DECIMAL),Bn(e.props.data_bind.unit,c.FieldTypes.VARCHAR)),e.type===c.CONTROL_TYPE.DATE_RANGE&&(Bn(e.props.data_bind.min,c.FieldTypes.TIMESTAMP),Bn(e.props.data_bind.max,c.FieldTypes.TIMESTAMP)),e.type===c.CONTROL_TYPE.VUE_FORM_ITEM){var o;Bn(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:c.FieldTypes.ANY)}return e}var rhe=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Ee(r,function(i){return ohe(i)});return n?o:o[0]};function ohe(e,t){return e.type===c.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(n){n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===c.CONTROL_TYPE.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),e}var ihe=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Ee(r,function(i){return uhe(i)});return n?o:o[0]};function uhe(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(n){var r,o;[c.FieldTypes.VARCHAR,c.FieldTypes.TEXT,c.FieldTypes.AUTO_NUMBER].includes((o=n.props)===null||o===void 0||(r=o.data_bind)===null||r===void 0?void 0:r.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),e}var che=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Ee(r,function(i){return fhe(i)});return n?o:o[0]};function fhe(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(n){[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(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}var lhe=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Ee(r,function(i){return ahe(i)});return n?o:o[0]};function ahe(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(n){[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(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}var she=function(e,t){var n=Array.isArray(e),r=n?e:[e],o=Ee(r,function(i){return phe(i)});return n?o:o[0]};function phe(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(n){if(n.type===c.CONTROL_TYPE.OPERATION_COLUMN){var r,o,i,u;n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto";var f;if(n.children=(f=(r=n)===null||r===void 0?void 0:r.children)!==null&&f!==void 0?f:[],delete n.props.custom,((o=n.props)===null||o===void 0?void 0:o.check)!==void 0){var a,l,s,p,_,y,d=new Uo.Designer;Object.defineProperty(d,"id",{value:"listPageCheckBtnId"}),d.props.code="view",d.props.icon="iconliulan1",d.props.command="view",d.props.content=(a=n.props)===null||a===void 0?void 0:a.check.content,d.props.priorityProcess=(l=n.props)===null||l===void 0?void 0:l.check.priority_process,d.props.openType=(s=n.props)===null||s===void 0?void 0:s.check.open_type,d.props.formKey=(p=n.props)===null||p===void 0?void 0:p.check.form_key,!((_=n.props)===null||_===void 0)&&_.check.is_show&&n.children.push(d.toSchema()),(y=n.props)===null||y===void 0||delete y.check}if(((i=n.props)===null||i===void 0?void 0:i.edit)!==void 0){var h,b,v,g,m,O,$=new Uo.Designer;Object.defineProperty($,"id",{value:"listPageEditBtnId"}),$.props.code="edit",$.props.icon="iconbianji1",$.props.command="edit",$.props.content=(h=n.props)===null||h===void 0?void 0:h.edit.content,$.props.priorityProcess=(b=n.props)===null||b===void 0?void 0:b.edit.priority_process,$.props.openType=(v=n.props)===null||v===void 0?void 0:v.edit.open_type,$.props.formKey=(g=n.props)===null||g===void 0?void 0:g.edit.form_key,!((m=n.props)===null||m===void 0)&&m.edit.is_show&&n.children.push($.toSchema()),(O=n.props)===null||O===void 0||delete O.edit}if(((u=n.props)===null||u===void 0?void 0:u.delete)!==void 0){var T,R,S,I,E,N,B=new Uo.Designer;Object.defineProperty(B,"id",{value:"listPageDeleteBtnId"}),B.props.code="delete",B.props.icon="iconlajitong",B.props.command="delete",B.props.content=(T=n.props)===null||T===void 0?void 0:T.delete.content,B.props.priorityProcess=(R=n.props)===null||R===void 0?void 0:R.delete.priority_process,B.props.openType=(S=n.props)===null||S===void 0?void 0:S.delete.open_type,B.props.formKey=(I=n.props)===null||I===void 0?void 0:I.delete.form_key,B.props.needConfirm=!0,B.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((E=n.props)===null||E===void 0)&&E.delete.is_show&&n.children.push(B.toSchema()),(N=n.props)===null||N===void 0||delete N.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(n){[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(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}var J2={"v1.0":Ede,"v2.0":zde,"v2.1":Yde,"v2.2":qde,"v2.3":Wde,"v2.4":Jde,"v2.5":Zde,"v2.6":the,"v2.7":rhe,"v2.8":ihe,"v2.9":che,"v2.10":lhe,"v3.0":she,"v3.1":function(){}};const Q2=(e,t)=>{const n=Z2(e),r=Z2(t),o=n.pop(),i=r.pop(),u=nA(n,r);return u!==0?u:o&&i?nA(o.split("."),i.split(".")):o||i?o?-1:1:0},P_=(e,t,n)=>{dhe(n);const r=Q2(e,t);return rA[n].includes(r)},_he=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Z2=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(_he);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},eA=e=>e==="*"||e==="x"||e==="X",tA=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},yhe=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],vhe=(e,t)=>{if(eA(e)||eA(t))return 0;const[n,r]=yhe(tA(e),tA(t));return n>r?1:n<r?-1:0},nA=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const r=vhe(e[n]||"0",t[n]||"0");if(r!==0)return r}return 0},rA={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},oA=Object.keys(rA),dhe=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(oA.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${oA.join("|")}`)};function hhe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iA(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bhe(e,t,n){return t&&iA(e.prototype,t),n&&iA(e,n),e}function uA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rw(e){return e.replace(/^v/,"")}var ho=Object.keys(J2).map(function(e){return Rw(e)}).sort(Q2),Ci=ho[ho.length-1],ghe=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ci;hhe(this,e),uA(this,"toVersion",void 0),uA(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=n,P_(n,Ci,">")?cn("Version Builder: The specified ".concat(n," is an undefined version, and the current latest version is ").concat(Ci)):(!ho.includes(Rw(n))||!ho.includes(Rw(t)))&&cn("Version Builder: Please give me a valid version number, The valid version is: ".concat(ho.join(","),", But give me a ").concat(t))}return bhe(e,[{key:"dataCleaner",value:function(n,r){var o=this;if(P_(this.toVersion,this.schemaVersion,"="))return n;var i=this.callDataCleanerKeys.reduce(function(u,f,a,l){var s,p=(s=l[a+1])!==null&&s!==void 0?s:o.toVersion;wo("Version Builder: current version: ".concat(f,", nextVersion: ").concat(p));var _=J2[f],y=u;if(typeof _=="function"){var d=_(u,r);d&&(y=d)}return y},n);return wo("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var n=this;return ho.filter(function(r){return P_(r,n.schemaVersion,">=")&&P_(r,n.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(n){return"v"+n})}},{key:"version",get:function(){return Ci}}],[{key:"version",get:function(){return Ci}}]),e}();const $_=[],Tw={exports:{}};let Sw=!1;const mhe=window.module,Ohe=window.exports,whe=window.require;function Phe(e){return Sw||(window.module=Tw,window.exports=Tw.exports,window.require=function(t){return e[t]},Sw=!0),function(){window.module=mhe,window.exports=Ohe,window.require=whe,Sw=!1}}function $he(e,t){const n=new Promise((r,o)=>{const i=document.createElement("script"),u=Phe(t);i.src=e,i.type="text/javascript";const f=()=>{document.head.removeChild(i);const a=$_.findIndex(l=>l===n);$_.splice(a,1),$_.length===0&&u()};i.onerror=function(a){f(),o(a)},i.onload=function(){r(Tw.exports),f()},document.head.appendChild(i)});return $_.push(n),n}function Ew(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 cA(e,t,n={fetch:Ew}){return new Promise((r,o)=>{n.fetch(e).then(i=>{const u={exports:{}};new Function("module","exports","require",i)(u,u.exports,function(f){return t[f]}),r(u.exports)}).catch(i=>{o(i)})})}function R_(e,t){return cA(e,t)}function Rhe(e,t){return Vi(this,null,function*(){return yield Promise.all(e.map(n=>R_(n,t)))})}function T_(e,t,n){let r;t==="runtime"?r=class extends ye{constructor(a){super(a),this.props={}}static get controlType(){return e}}:r=class extends W{constructor(a){super(a),this.props={}}static get controlType(){return e}};class o extends _e{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="low-code iconshibaimian" style="margin-right:4px"></i>${n}</div>`;return{Runtime:r,Designer:r,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{error:{template:i}}},upgrade:f=>f}}function The(e,t,n,r){return Vi(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>Vi(this,null,function*(){let u=!0,f;try{u=!0;let a="";r.type==="runtime"?a=i.runtime:a=i.designer,a+="?v="+i.version,f=yield R_(a,n)}catch(a){u=!1,Mn("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,a),f=T_(i.id,r.type,r.tipMessage)}if(u){let a="";if(r.type==="runtime"&&i.runtimecss!==void 0){const l=new RegExp(i.id+"-runtime-.*?$");a=i.runtime.replace(l,i.runtimecss)}else if(r.type==="designer"&&i.designercss!==void 0){const l=new RegExp(i.id+"-designer-.*?$");a=i.designer.replace(l,i.designercss)}if(a!==""){const l=document.createElement("link");l.href=a,l.rel="stylesheet",document.head.appendChild(l)}}fA(r.type,f,o,u,i)}))),e==null||e.map(i=>{const[u,f]=i.split(":");if(o.has(u)===!1){const l=T_(u,r.type,r.tipMessage);fA(r.type,l,o,!1,{fieldType:"",id:u,name:"",runtime:"",designer:"",type:"",version:f})}})),o})}function fA(e,t,n,r,o){e==="runtime"?(n.has(t.Runtime.controlType)&&Mn(`repeat register ${t.Runtime.controlType}`),n.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:r,control:t})):(n.has(t.Designer.controlType)&&Mn(`repeat register ${t.Designer.controlType}`),n.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:r,control:t}))}function She(e,t,n,r){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";n==null||n.map(u=>{const[f,a]=u.split(":");o.props.id===f&&(i=a!=null?a:"")}),e=o.control.upgrade(e,o.version,i,r)}return e}function Ehe(e,t){return Vi(this,null,function*(){let n=t.version;t.version==="random"&&(n=new Date().valueOf().toString());let r=new Map;const o=yield Ew(`${e}/component.json?v=${n}`);let i=[];if(o!==void 0){i=JSON.parse(o);const u=yield R_(`${e}/${t.type}.js?v=${n}`,t.globalModules);i.map(f=>{let a=u.find(l=>t.type==="runtime"?l.Runtime.controlType===f.id:l.Designer.controlType===f.id);a===void 0&&(a=T_(f.id,t.type,"\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF")),r.set(f.id,{props:f,version:f.version,isLoaded:!0,control:a})})}return r})}c.ActionBar=WN,c.Address=WI,c.AddressValue=AP,c.AdvancedContainer=jN,c.Amount=NI,c.AmountDataBind=IP,c.AmountValue=BP,c.ApprovalStatusColumn=D2,c.ArrayColumn=QM,c.Attachment=mI,c.AutoNumber=p3,c.AutoNumberColumn=l2,c.AutoWidth=V_,c.BaseControlProperty=V,c.BaseControlPropertyRules=Oe,c.BaseControlPropertyRuntimeRules=J,c.BaseStyle=jP,c.BatchDeleteButton=AS,c.BatchPrintListButton=dS,c.BatchPrintRecordListButton=OS,c.BatchSubmissionListButton=MR,c.Button=K$,c.Calc=g3,c.CalcDataBind=kP,c.CalcScriptEchoItem=fj,c.CalcValue=DP,c.CardGroup=EB,c.Checkbox=US,c.Col=Da,c.ColumnControlProperty=ce,c.ColumnControlPropertyRules=Nt,c.ColumnOptionAndDataSourcePropertyRules=By,c.CreateFormListButton=$R,c.CustomAttributeItem=H_,c.CustomColumn=E2,c.CustomPermissionItem=cF,c.DEFAULT_LOCALE=Uw,c.Dashboard=LT,c.DataBind=ot,c.DataSourceBind=ve,c.DataSourceDataSetValue=RP,c.DataSourceOrderItem=G_,c.DataSourceParamItem=oF,c.DataStorageDoc=hP,c.DataView=Gm,c.DatePicker=hE,c.DateRange=SE,c.DecimalColumn=MM,c.Department=o3,c.Department2=K1,c.DepartmentColumn=r2,c.DepartmentEntity=S_,c.DesignerColumnControl=he,c.DesignerControl=W,c.DesignerFormControl=z,c.DesignerLayoutControl=te,c.DesignerListControl=du,c.DesignerSearchControl=T$,c.DesignerWrapControl=B$,c.DisplayBoListItem=Xi,c.Divider=fR,c.ElectronicSignature=D1,c.ElectronicSignatureConfig=X$,c.Employee=yI,c.Employee2=R1,c.EmployeeColumn=A2,c.EventLogic=_P,c.Explain=xu,c.ExportListButton=GR,c.ExportRecordListButton=WR,c.ExportTemplate=cv,c.FieldBindItem=mP,c.FieldFilterCondition=Ki,c.FieldFilterConditions=z_,c.FieldTypeToColumnType=aj,c.FileColumn=p2,c.FillBackBind=W_,c.FillPayloadBind=U_,c.FlexStyleConfig=eR,c.FormBind=jn,c.FormSelectBind=bP,c.FormSelectButton=lT,c.Grid=uB,c.GridLayoutContainer=XB,c.GridLayoutWrap=U2,c.GridRow=Kg,c.GridTable=pM,c.GridTableColumn=YB,c.Image=$I,c.ImageColumn=v2,c.ImageOptionSetting=EP,c.ImportRecordListButton=eT,c.Input=xS,c.InvoiceCheckButton=fS,c.JSONCopy=zt,c.JoinRelation=$P,c.Language=iF,c.LayoutControlProperty=Q,c.LeftVariable=PP,c.LimitDate=Cu,c.Link=Y$,c.LinkOperationOption=Gt,c.ListBind=Wi,c.ListControlProperty=No,c.ListSelectButton=bT,c.ListView=Cm,c.ListViewSelect=qT,c.LocationColumn=$2,c.MetaAutoWidth=dP,c.MetaWidth=Ui,c.MultistageFillingItem=De,c.Number=aE,c.ObjectDataBind=Qi,c.OperationButton=Uo,c.OperationColumn=cM,c.OperationItem=Yt,c.OptObject=FP,c.OptionAndDataSourcePropertyRules=Cn,c.OptionSetting=X_,c.OrderColumn=rM,c.OrganizationDataSourceBind=TP,c.OrganizationSelection=nB,c.Page=AN,c.Pagination=TT,c.PeopleColumn=b2,c.Position=GN,c.PositioningContainer=xN,c.PrintTemplate=Z$,c.Property=_e,c.PropertyRules=pe,c.PropertyRuntimeRules=fn,c.Radio=rE,c.RangeDataBind=NP,c.RangeDateValue=MP,c.RegisterControls=Hi,c.RegularRules=K_,c.RichText=VE,c.RightVariable=mr,c.Row=bB,c.RulesMessage=w,c.RuntimeColumnControl=be,c.RuntimeControl=ye,c.RuntimeFormControl=G,c.RuntimeLayoutControl=ue,c.RuntimeListControl=Ry,c.RuntimeSearchControl=E$,c.RuntimeWrapControl=M$,c.SUBTABLE_DEFAULT_MAX_HEIGHT=Q$,c.Score=FI,c.SearchControlProperty=wu,c.SearchDateRange=C3,c.SearchInput=s1,c.SearchNumberRange=I3,c.Select=JE,c.SelectMultiple=oI,c.SelectRelation=n1,c.SelectedContentConfig=Ji,c.SimpleSearch=V2,c.SubListItem=OP,c.SubListPageConfig=wP,c.SubTable=JN,c.SubTableColumn=om,c.SubTableRow=CB,c.SubmissionRecordListButton=jR,c.SuperDataSourceBind=Po,c.Tab=aN,c.TabPane=iN,c.Text=C$,c.TextColumn=RM,c.TextOcrButton=eS,c.Textarea=kE,c.TimescopeColumn=CM,c.TimestampColumn=qM,c.Title=dR,c.Toolbox=hN,c.Tree=b1,c.TreeDataSourceBind=q_,c.UndersignedPerson=uv,c.UserEntity=E_,c.VarcharColumn=bM,c.VersionBuilder=ghe,c.ViewOperationItem=LP,c.VueFormItem=q3,c.WPS=z1,c.WPSSetting=J$,c.Watcher=sP,c.WpsOperationItem=fv,c.WrapControlProperty=Tu,c.baseControls=tY,c.camelizeKeys=cP,c.columnControls=Bve,c.controlHooksEmitter=UP,c.createValidator=qP,c.debounce=Fj,c.decamelizeKeys=Dn,c.defineArrayParent=f$,c.defineControlArrayToProperty=vt,c.defineParent=vy,c.error=cn,c.formControls=Zee,c.genNonDuplicateId=yt,c.getHackerControl=T_,c.getNotRepeatItems=uP,c.initExpression=Ao,c.initImageOptions=uF,c.initLinkOperationRules=_n,c.initOptionAndDataSourceRules=nu,c.initOptions=It,c.initSuperDataSourceRules=Eo,c.isArray=An,c.isBuiltInControls=xj,c.isDataBind=i$,c.isFunction=Mj,c.isJSONArray=Lj,c.isJSONObject=jj,c.isLanguageObject=Se,c.isNumber=j_,c.isNumberAndEmptyStringArray=Dj,c.isNumberArray=kj,c.isObject=Nj,c.isPlainObject=L_,c.isString=iP,c.isStringArray=Aj,c.layoutControls=jfe,c.listControls=wae,c.loadRemoteControl=R_,c.loadRemoteControls=Rhe,c.loadScriptFromFetch=cA,c.loadScriptFromTag=$he,c.log=wo,c.logerror=eP,c.loop=Ee,c.loopFormSchema=Yi,c.nativeFetch=Ew,c.noop=lj,c.referenceError=A_,c.registerByteluckControls=Ehe,c.registerCustomControls=The,c.searchControls=Uve,c.setPropertyDontEnum=c$,c.toNumberOrEmpty=kn,c.updateValueFromKeys=rP,c.upgradeCustomControlSchema=She,c.wait=Cj,c.warn=Mn,c.wrapControls=mde,Object.defineProperty(c,"__esModule",{value:!0})});
|